public static final class Hub.ExportPscConfig extends GeneratedMessage implements Hub.ExportPscConfigOrBuilderConfiguration for more granular control of Private Service Connect connection propagation. This allows enabling or disabling connection propagation for specific types of Private Service Connect endpoints.
Protobuf type google.cloud.networkconnectivity.v1beta.Hub.ExportPscConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Hub.ExportPscConfigImplements
Hub.ExportPscConfigOrBuilderStatic Fields
GLOBAL_GOOGLE_APIS_FIELD_NUMBER
public static final int GLOBAL_GOOGLE_APIS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PUBLISHED_SERVICES_AND_REGIONAL_GOOGLE_APIS_FIELD_NUMBER
public static final int PUBLISHED_SERVICES_AND_REGIONAL_GOOGLE_APIS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Hub.ExportPscConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Hub.ExportPscConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig.Builder |
|
newBuilder(Hub.ExportPscConfig prototype)
public static Hub.ExportPscConfig.Builder newBuilder(Hub.ExportPscConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Hub.ExportPscConfig |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig.Builder |
|
parseDelimitedFrom(InputStream input)
public static Hub.ExportPscConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Hub.ExportPscConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Hub.ExportPscConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Hub.ExportPscConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Hub.ExportPscConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Hub.ExportPscConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Hub.ExportPscConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Hub.ExportPscConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Hub.ExportPscConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Hub.ExportPscConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Hub.ExportPscConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Hub.ExportPscConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Hub.ExportPscConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ExportPscConfig> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Hub.ExportPscConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
getGlobalGoogleApis()
public boolean getGlobalGoogleApis()Optional. Controls whether Private Service Connect endpoints for global Google APIs should be propagated. The default value is false.
optional bool global_google_apis = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The globalGoogleApis. |
getParserForType()
public Parser<Hub.ExportPscConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ExportPscConfig> |
|
getPublishedServicesAndRegionalGoogleApis()
public boolean getPublishedServicesAndRegionalGoogleApis()Optional. Controls whether Private Service Connect endpoints for regional ILBs and regional Google APIs should be propagated. Default value is true if export_psc is true. Otherwise, the default value is false.
optional bool published_services_and_regional_google_apis = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The publishedServicesAndRegionalGoogleApis. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasGlobalGoogleApis()
public boolean hasGlobalGoogleApis()Optional. Controls whether Private Service Connect endpoints for global Google APIs should be propagated. The default value is false.
optional bool global_google_apis = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the globalGoogleApis field is set. |
hasPublishedServicesAndRegionalGoogleApis()
public boolean hasPublishedServicesAndRegionalGoogleApis()Optional. Controls whether Private Service Connect endpoints for regional ILBs and regional Google APIs should be propagated. Default value is true if export_psc is true. Otherwise, the default value is false.
optional bool published_services_and_regional_google_apis = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the publishedServicesAndRegionalGoogleApis field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Hub.ExportPscConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Hub.ExportPscConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig.Builder |
|
toBuilder()
public Hub.ExportPscConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|