Class Hub.ExportPscConfig.Builder (1.94.0)

public static final class Hub.ExportPscConfig.Builder extends GeneratedMessage.Builder<Hub.ExportPscConfig.Builder> implements Hub.ExportPscConfigOrBuilder

Configuration 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

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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 boolean

The 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 boolean

The publishedServicesAndRegionalGoogleApis to set.

Returns
Type Description
Hub.ExportPscConfig.Builder

This builder for chaining.