public static final class Hub.ExportPscConfig.Builder extends GeneratedMessage.Builder<Hub.ExportPscConfig.Builder> 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Hub.ExportPscConfig.BuilderImplements
Hub.ExportPscConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Hub.ExportPscConfig build()| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
buildPartial()
public Hub.ExportPscConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
clear()
public Hub.ExportPscConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig.Builder |
|
clearGlobalGoogleApis()
public Hub.ExportPscConfig.Builder clearGlobalGoogleApis()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 |
Hub.ExportPscConfig.Builder |
This builder for chaining. |
clearPublishedServicesAndRegionalGoogleApis()
public Hub.ExportPscConfig.Builder clearPublishedServicesAndRegionalGoogleApis()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 |
Hub.ExportPscConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Hub.ExportPscConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Hub.ExportPscConfig other)
public Hub.ExportPscConfig.Builder mergeFrom(Hub.ExportPscConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
Hub.ExportPscConfig |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Hub.ExportPscConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Hub.ExportPscConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig.Builder |
|
setGlobalGoogleApis(boolean value)
public Hub.ExportPscConfig.Builder setGlobalGoogleApis(boolean value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe globalGoogleApis to set. |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig.Builder |
This builder for chaining. |
setPublishedServicesAndRegionalGoogleApis(boolean value)
public Hub.ExportPscConfig.Builder setPublishedServicesAndRegionalGoogleApis(boolean value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe publishedServicesAndRegionalGoogleApis to set. |
| Returns | |
|---|---|
| Type | Description |
Hub.ExportPscConfig.Builder |
This builder for chaining. |