Class ServiceConnectionMap.Builder (0.15.0)

public static final class ServiceConnectionMap.Builder extends GeneratedMessageV3.Builder<ServiceConnectionMap.Builder> implements ServiceConnectionMapOrBuilder

The ServiceConnectionMap resource. Next id: 14

Protobuf type google.events.cloud.networkconnectivity.v1.ServiceConnectionMap

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllConsumerPscConfigs(Iterable<? extends ServiceConnectionMap.ConsumerPscConfig> values)

public ServiceConnectionMap.Builder addAllConsumerPscConfigs(Iterable<? extends ServiceConnectionMap.ConsumerPscConfig> values)

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Parameter
Name Description
values Iterable<? extends com.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig>
Returns
Type Description
ServiceConnectionMap.Builder

addAllConsumerPscConnections(Iterable<? extends ServiceConnectionMap.ConsumerPscConnection> values)

public ServiceConnectionMap.Builder addAllConsumerPscConnections(Iterable<? extends ServiceConnectionMap.ConsumerPscConnection> values)

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Parameter
Name Description
values Iterable<? extends com.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection>
Returns
Type Description
ServiceConnectionMap.Builder

addAllProducerPscConfigs(Iterable<? extends ServiceConnectionMap.ProducerPscConfig> values)

public ServiceConnectionMap.Builder addAllProducerPscConfigs(Iterable<? extends ServiceConnectionMap.ProducerPscConfig> values)

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Parameter
Name Description
values Iterable<? extends com.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig>
Returns
Type Description
ServiceConnectionMap.Builder

addConsumerPscConfigs(ServiceConnectionMap.ConsumerPscConfig value)

public ServiceConnectionMap.Builder addConsumerPscConfigs(ServiceConnectionMap.ConsumerPscConfig value)

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Parameter
Name Description
value ServiceConnectionMap.ConsumerPscConfig
Returns
Type Description
ServiceConnectionMap.Builder

addConsumerPscConfigs(ServiceConnectionMap.ConsumerPscConfig.Builder builderForValue)

public ServiceConnectionMap.Builder addConsumerPscConfigs(ServiceConnectionMap.ConsumerPscConfig.Builder builderForValue)

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Parameter
Name Description
builderForValue ServiceConnectionMap.ConsumerPscConfig.Builder
Returns
Type Description
ServiceConnectionMap.Builder

addConsumerPscConfigs(int index, ServiceConnectionMap.ConsumerPscConfig value)

public ServiceConnectionMap.Builder addConsumerPscConfigs(int index, ServiceConnectionMap.ConsumerPscConfig value)

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Parameters
Name Description
index int
value ServiceConnectionMap.ConsumerPscConfig
Returns
Type Description
ServiceConnectionMap.Builder

addConsumerPscConfigs(int index, ServiceConnectionMap.ConsumerPscConfig.Builder builderForValue)

public ServiceConnectionMap.Builder addConsumerPscConfigs(int index, ServiceConnectionMap.ConsumerPscConfig.Builder builderForValue)

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Parameters
Name Description
index int
builderForValue ServiceConnectionMap.ConsumerPscConfig.Builder
Returns
Type Description
ServiceConnectionMap.Builder

addConsumerPscConfigsBuilder()

public ServiceConnectionMap.ConsumerPscConfig.Builder addConsumerPscConfigsBuilder()

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Returns
Type Description
ServiceConnectionMap.ConsumerPscConfig.Builder

addConsumerPscConfigsBuilder(int index)

public ServiceConnectionMap.ConsumerPscConfig.Builder addConsumerPscConfigsBuilder(int index)

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.ConsumerPscConfig.Builder

addConsumerPscConnections(ServiceConnectionMap.ConsumerPscConnection value)

public ServiceConnectionMap.Builder addConsumerPscConnections(ServiceConnectionMap.ConsumerPscConnection value)

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Parameter
Name Description
value ServiceConnectionMap.ConsumerPscConnection
Returns
Type Description
ServiceConnectionMap.Builder

addConsumerPscConnections(ServiceConnectionMap.ConsumerPscConnection.Builder builderForValue)

public ServiceConnectionMap.Builder addConsumerPscConnections(ServiceConnectionMap.ConsumerPscConnection.Builder builderForValue)

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Parameter
Name Description
builderForValue ServiceConnectionMap.ConsumerPscConnection.Builder
Returns
Type Description
ServiceConnectionMap.Builder

addConsumerPscConnections(int index, ServiceConnectionMap.ConsumerPscConnection value)

public ServiceConnectionMap.Builder addConsumerPscConnections(int index, ServiceConnectionMap.ConsumerPscConnection value)

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Parameters
Name Description
index int
value ServiceConnectionMap.ConsumerPscConnection
Returns
Type Description
ServiceConnectionMap.Builder

addConsumerPscConnections(int index, ServiceConnectionMap.ConsumerPscConnection.Builder builderForValue)

public ServiceConnectionMap.Builder addConsumerPscConnections(int index, ServiceConnectionMap.ConsumerPscConnection.Builder builderForValue)

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Parameters
Name Description
index int
builderForValue ServiceConnectionMap.ConsumerPscConnection.Builder
Returns
Type Description
ServiceConnectionMap.Builder

addConsumerPscConnectionsBuilder()

public ServiceConnectionMap.ConsumerPscConnection.Builder addConsumerPscConnectionsBuilder()

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Returns
Type Description
ServiceConnectionMap.ConsumerPscConnection.Builder

addConsumerPscConnectionsBuilder(int index)

public ServiceConnectionMap.ConsumerPscConnection.Builder addConsumerPscConnectionsBuilder(int index)

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.ConsumerPscConnection.Builder

addProducerPscConfigs(ServiceConnectionMap.ProducerPscConfig value)

public ServiceConnectionMap.Builder addProducerPscConfigs(ServiceConnectionMap.ProducerPscConfig value)

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Parameter
Name Description
value ServiceConnectionMap.ProducerPscConfig
Returns
Type Description
ServiceConnectionMap.Builder

addProducerPscConfigs(ServiceConnectionMap.ProducerPscConfig.Builder builderForValue)

public ServiceConnectionMap.Builder addProducerPscConfigs(ServiceConnectionMap.ProducerPscConfig.Builder builderForValue)

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Parameter
Name Description
builderForValue ServiceConnectionMap.ProducerPscConfig.Builder
Returns
Type Description
ServiceConnectionMap.Builder

addProducerPscConfigs(int index, ServiceConnectionMap.ProducerPscConfig value)

public ServiceConnectionMap.Builder addProducerPscConfigs(int index, ServiceConnectionMap.ProducerPscConfig value)

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Parameters
Name Description
index int
value ServiceConnectionMap.ProducerPscConfig
Returns
Type Description
ServiceConnectionMap.Builder

addProducerPscConfigs(int index, ServiceConnectionMap.ProducerPscConfig.Builder builderForValue)

public ServiceConnectionMap.Builder addProducerPscConfigs(int index, ServiceConnectionMap.ProducerPscConfig.Builder builderForValue)

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Parameters
Name Description
index int
builderForValue ServiceConnectionMap.ProducerPscConfig.Builder
Returns
Type Description
ServiceConnectionMap.Builder

addProducerPscConfigsBuilder()

public ServiceConnectionMap.ProducerPscConfig.Builder addProducerPscConfigsBuilder()

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder

addProducerPscConfigsBuilder(int index)

public ServiceConnectionMap.ProducerPscConfig.Builder addProducerPscConfigsBuilder(int index)

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServiceConnectionMap.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ServiceConnectionMap.Builder
Overrides

build()

public ServiceConnectionMap build()
Returns
Type Description
ServiceConnectionMap

buildPartial()

public ServiceConnectionMap buildPartial()
Returns
Type Description
ServiceConnectionMap

clear()

public ServiceConnectionMap.Builder clear()
Returns
Type Description
ServiceConnectionMap.Builder
Overrides

clearConsumerPscConfigs()

public ServiceConnectionMap.Builder clearConsumerPscConfigs()

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Returns
Type Description
ServiceConnectionMap.Builder

clearConsumerPscConnections()

public ServiceConnectionMap.Builder clearConsumerPscConnections()

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Returns
Type Description
ServiceConnectionMap.Builder

clearCreateTime()

public ServiceConnectionMap.Builder clearCreateTime()

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
ServiceConnectionMap.Builder

clearDescription()

public ServiceConnectionMap.Builder clearDescription()

A description of this resource.

string description = 5;

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ServiceConnectionMap.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ServiceConnectionMap.Builder
Overrides

clearInfrastructure()

public ServiceConnectionMap.Builder clearInfrastructure()

Output only. The infrastructure used for connections between consumers/producers.

.google.events.cloud.networkconnectivity.v1.Infrastructure infrastructure = 8;

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

clearLabels()

public ServiceConnectionMap.Builder clearLabels()
Returns
Type Description
ServiceConnectionMap.Builder

clearName()

public ServiceConnectionMap.Builder clearName()

Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names

string name = 1;

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceConnectionMap.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ServiceConnectionMap.Builder
Overrides

clearProducerPscConfigs()

public ServiceConnectionMap.Builder clearProducerPscConfigs()

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Returns
Type Description
ServiceConnectionMap.Builder

clearServiceClass()

public ServiceConnectionMap.Builder clearServiceClass()

The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.

string service_class = 7;

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

clearServiceClassUri()

public ServiceConnectionMap.Builder clearServiceClassUri()

Output only. The service class uri this ServiceConnectionMap is for.

string service_class_uri = 12;

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

clearUpdateTime()

public ServiceConnectionMap.Builder clearUpdateTime()

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
ServiceConnectionMap.Builder

clone()

public ServiceConnectionMap.Builder clone()
Returns
Type Description
ServiceConnectionMap.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

User-defined labels.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getConsumerPscConfigs(int index)

public ServiceConnectionMap.ConsumerPscConfig getConsumerPscConfigs(int index)

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.ConsumerPscConfig

getConsumerPscConfigsBuilder(int index)

public ServiceConnectionMap.ConsumerPscConfig.Builder getConsumerPscConfigsBuilder(int index)

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.ConsumerPscConfig.Builder

getConsumerPscConfigsBuilderList()

public List<ServiceConnectionMap.ConsumerPscConfig.Builder> getConsumerPscConfigsBuilderList()

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Returns
Type Description
List<Builder>

getConsumerPscConfigsCount()

public int getConsumerPscConfigsCount()

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Returns
Type Description
int

getConsumerPscConfigsList()

public List<ServiceConnectionMap.ConsumerPscConfig> getConsumerPscConfigsList()

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Returns
Type Description
List<ConsumerPscConfig>

getConsumerPscConfigsOrBuilder(int index)

public ServiceConnectionMap.ConsumerPscConfigOrBuilder getConsumerPscConfigsOrBuilder(int index)

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.ConsumerPscConfigOrBuilder

getConsumerPscConfigsOrBuilderList()

public List<? extends ServiceConnectionMap.ConsumerPscConfigOrBuilder> getConsumerPscConfigsOrBuilderList()

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Returns
Type Description
List<? extends com.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfigOrBuilder>

getConsumerPscConnections(int index)

public ServiceConnectionMap.ConsumerPscConnection getConsumerPscConnections(int index)

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.ConsumerPscConnection

getConsumerPscConnectionsBuilder(int index)

public ServiceConnectionMap.ConsumerPscConnection.Builder getConsumerPscConnectionsBuilder(int index)

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.ConsumerPscConnection.Builder

getConsumerPscConnectionsBuilderList()

public List<ServiceConnectionMap.ConsumerPscConnection.Builder> getConsumerPscConnectionsBuilderList()

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Returns
Type Description
List<Builder>

getConsumerPscConnectionsCount()

public int getConsumerPscConnectionsCount()

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Returns
Type Description
int

getConsumerPscConnectionsList()

public List<ServiceConnectionMap.ConsumerPscConnection> getConsumerPscConnectionsList()

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Returns
Type Description
List<ConsumerPscConnection>

getConsumerPscConnectionsOrBuilder(int index)

public ServiceConnectionMap.ConsumerPscConnectionOrBuilder getConsumerPscConnectionsOrBuilder(int index)

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.ConsumerPscConnectionOrBuilder

getConsumerPscConnectionsOrBuilderList()

public List<? extends ServiceConnectionMap.ConsumerPscConnectionOrBuilder> getConsumerPscConnectionsOrBuilderList()

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Returns
Type Description
List<? extends com.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnectionOrBuilder>

getCreateTime()

public Timestamp getCreateTime()

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ServiceConnectionMap getDefaultInstanceForType()
Returns
Type Description
ServiceConnectionMap

getDescription()

public String getDescription()

A description of this resource.

string description = 5;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description of this resource.

string description = 5;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInfrastructure()

public Infrastructure getInfrastructure()

Output only. The infrastructure used for connections between consumers/producers.

.google.events.cloud.networkconnectivity.v1.Infrastructure infrastructure = 8;

Returns
Type Description
Infrastructure

The infrastructure.

getInfrastructureValue()

public int getInfrastructureValue()

Output only. The infrastructure used for connections between consumers/producers.

.google.events.cloud.networkconnectivity.v1.Infrastructure infrastructure = 8;

Returns
Type Description
int

The enum numeric value on the wire for infrastructure.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

User-defined labels.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

User-defined labels.

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

User-defined labels.

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

User-defined labels.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getProducerPscConfigs(int index)

public ServiceConnectionMap.ProducerPscConfig getProducerPscConfigs(int index)

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig

getProducerPscConfigsBuilder(int index)

public ServiceConnectionMap.ProducerPscConfig.Builder getProducerPscConfigsBuilder(int index)

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder

getProducerPscConfigsBuilderList()

public List<ServiceConnectionMap.ProducerPscConfig.Builder> getProducerPscConfigsBuilderList()

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Returns
Type Description
List<Builder>

getProducerPscConfigsCount()

public int getProducerPscConfigsCount()

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Returns
Type Description
int

getProducerPscConfigsList()

public List<ServiceConnectionMap.ProducerPscConfig> getProducerPscConfigsList()

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Returns
Type Description
List<ProducerPscConfig>

getProducerPscConfigsOrBuilder(int index)

public ServiceConnectionMap.ProducerPscConfigOrBuilder getProducerPscConfigsOrBuilder(int index)

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.ProducerPscConfigOrBuilder

getProducerPscConfigsOrBuilderList()

public List<? extends ServiceConnectionMap.ProducerPscConfigOrBuilder> getProducerPscConfigsOrBuilderList()

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Returns
Type Description
List<? extends com.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfigOrBuilder>

getServiceClass()

public String getServiceClass()

The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.

string service_class = 7;

Returns
Type Description
String

The serviceClass.

getServiceClassBytes()

public ByteString getServiceClassBytes()

The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.

string service_class = 7;

Returns
Type Description
ByteString

The bytes for serviceClass.

getServiceClassUri()

public String getServiceClassUri()

Output only. The service class uri this ServiceConnectionMap is for.

string service_class_uri = 12;

Returns
Type Description
String

The serviceClassUri.

getServiceClassUriBytes()

public ByteString getServiceClassUriBytes()

Output only. The service class uri this ServiceConnectionMap is for.

string service_class_uri = 12;

Returns
Type Description
ByteString

The bytes for serviceClassUri.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public ServiceConnectionMap.Builder mergeCreateTime(Timestamp value)

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ServiceConnectionMap.Builder

mergeFrom(ServiceConnectionMap other)

public ServiceConnectionMap.Builder mergeFrom(ServiceConnectionMap other)
Parameter
Name Description
other ServiceConnectionMap
Returns
Type Description
ServiceConnectionMap.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ServiceConnectionMap.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceConnectionMap.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ServiceConnectionMap.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ServiceConnectionMap.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServiceConnectionMap.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ServiceConnectionMap.Builder
Overrides

mergeUpdateTime(Timestamp value)

public ServiceConnectionMap.Builder mergeUpdateTime(Timestamp value)

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ServiceConnectionMap.Builder

putAllLabels(Map<String,String> values)

public ServiceConnectionMap.Builder putAllLabels(Map<String,String> values)

User-defined labels.

map<string, string> labels = 4;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
ServiceConnectionMap.Builder

putLabels(String key, String value)

public ServiceConnectionMap.Builder putLabels(String key, String value)

User-defined labels.

map<string, string> labels = 4;

Parameters
Name Description
key String
value String
Returns
Type Description
ServiceConnectionMap.Builder

removeConsumerPscConfigs(int index)

public ServiceConnectionMap.Builder removeConsumerPscConfigs(int index)

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.Builder

removeConsumerPscConnections(int index)

public ServiceConnectionMap.Builder removeConsumerPscConnections(int index)

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.Builder

removeLabels(String key)

public ServiceConnectionMap.Builder removeLabels(String key)

User-defined labels.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
ServiceConnectionMap.Builder

removeProducerPscConfigs(int index)

public ServiceConnectionMap.Builder removeProducerPscConfigs(int index)

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Parameter
Name Description
index int
Returns
Type Description
ServiceConnectionMap.Builder

setConsumerPscConfigs(int index, ServiceConnectionMap.ConsumerPscConfig value)

public ServiceConnectionMap.Builder setConsumerPscConfigs(int index, ServiceConnectionMap.ConsumerPscConfig value)

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Parameters
Name Description
index int
value ServiceConnectionMap.ConsumerPscConfig
Returns
Type Description
ServiceConnectionMap.Builder

setConsumerPscConfigs(int index, ServiceConnectionMap.ConsumerPscConfig.Builder builderForValue)

public ServiceConnectionMap.Builder setConsumerPscConfigs(int index, ServiceConnectionMap.ConsumerPscConfig.Builder builderForValue)

The PSC configurations on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig consumer_psc_configs = 10;

Parameters
Name Description
index int
builderForValue ServiceConnectionMap.ConsumerPscConfig.Builder
Returns
Type Description
ServiceConnectionMap.Builder

setConsumerPscConnections(int index, ServiceConnectionMap.ConsumerPscConnection value)

public ServiceConnectionMap.Builder setConsumerPscConnections(int index, ServiceConnectionMap.ConsumerPscConnection value)

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Parameters
Name Description
index int
value ServiceConnectionMap.ConsumerPscConnection
Returns
Type Description
ServiceConnectionMap.Builder

setConsumerPscConnections(int index, ServiceConnectionMap.ConsumerPscConnection.Builder builderForValue)

public ServiceConnectionMap.Builder setConsumerPscConnections(int index, ServiceConnectionMap.ConsumerPscConnection.Builder builderForValue)

Output only. PSC connection details on consumer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection consumer_psc_connections = 11;

Parameters
Name Description
index int
builderForValue ServiceConnectionMap.ConsumerPscConnection.Builder
Returns
Type Description
ServiceConnectionMap.Builder

setCreateTime(Timestamp value)

public ServiceConnectionMap.Builder setCreateTime(Timestamp value)

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ServiceConnectionMap.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ServiceConnectionMap.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ServiceConnectionMap.Builder

setDescription(String value)

public ServiceConnectionMap.Builder setDescription(String value)

A description of this resource.

string description = 5;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ServiceConnectionMap.Builder setDescriptionBytes(ByteString value)

A description of this resource.

string description = 5;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceConnectionMap.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ServiceConnectionMap.Builder
Overrides

setInfrastructure(Infrastructure value)

public ServiceConnectionMap.Builder setInfrastructure(Infrastructure value)

Output only. The infrastructure used for connections between consumers/producers.

.google.events.cloud.networkconnectivity.v1.Infrastructure infrastructure = 8;

Parameter
Name Description
value Infrastructure

The infrastructure to set.

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

setInfrastructureValue(int value)

public ServiceConnectionMap.Builder setInfrastructureValue(int value)

Output only. The infrastructure used for connections between consumers/producers.

.google.events.cloud.networkconnectivity.v1.Infrastructure infrastructure = 8;

Parameter
Name Description
value int

The enum numeric value on the wire for infrastructure to set.

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

setName(String value)

public ServiceConnectionMap.Builder setName(String value)

Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ServiceConnectionMap.Builder setNameBytes(ByteString value)

Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

setProducerPscConfigs(int index, ServiceConnectionMap.ProducerPscConfig value)

public ServiceConnectionMap.Builder setProducerPscConfigs(int index, ServiceConnectionMap.ProducerPscConfig value)

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Parameters
Name Description
index int
value ServiceConnectionMap.ProducerPscConfig
Returns
Type Description
ServiceConnectionMap.Builder

setProducerPscConfigs(int index, ServiceConnectionMap.ProducerPscConfig.Builder builderForValue)

public ServiceConnectionMap.Builder setProducerPscConfigs(int index, ServiceConnectionMap.ProducerPscConfig.Builder builderForValue)

The PSC configurations on producer side.

repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig producer_psc_configs = 9;

Parameters
Name Description
index int
builderForValue ServiceConnectionMap.ProducerPscConfig.Builder
Returns
Type Description
ServiceConnectionMap.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ServiceConnectionMap.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ServiceConnectionMap.Builder
Overrides

setServiceClass(String value)

public ServiceConnectionMap.Builder setServiceClass(String value)

The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.

string service_class = 7;

Parameter
Name Description
value String

The serviceClass to set.

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

setServiceClassBytes(ByteString value)

public ServiceConnectionMap.Builder setServiceClassBytes(ByteString value)

The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.

string service_class = 7;

Parameter
Name Description
value ByteString

The bytes for serviceClass to set.

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

setServiceClassUri(String value)

public ServiceConnectionMap.Builder setServiceClassUri(String value)

Output only. The service class uri this ServiceConnectionMap is for.

string service_class_uri = 12;

Parameter
Name Description
value String

The serviceClassUri to set.

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

setServiceClassUriBytes(ByteString value)

public ServiceConnectionMap.Builder setServiceClassUriBytes(ByteString value)

Output only. The service class uri this ServiceConnectionMap is for.

string service_class_uri = 12;

Parameter
Name Description
value ByteString

The bytes for serviceClassUri to set.

Returns
Type Description
ServiceConnectionMap.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ServiceConnectionMap.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ServiceConnectionMap.Builder
Overrides

setUpdateTime(Timestamp value)

public ServiceConnectionMap.Builder setUpdateTime(Timestamp value)

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ServiceConnectionMap.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ServiceConnectionMap.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ServiceConnectionMap.Builder