Class ServiceConnectionMap.Builder (0.14.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig>
Returns
TypeDescription
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
NameDescription
valueServiceConnectionMap.ConsumerPscConfig
Returns
TypeDescription
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
NameDescription
builderForValueServiceConnectionMap.ConsumerPscConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueServiceConnectionMap.ConsumerPscConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServiceConnectionMap.ConsumerPscConfig.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueServiceConnectionMap.ConsumerPscConnection
Returns
TypeDescription
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
NameDescription
builderForValueServiceConnectionMap.ConsumerPscConnection.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueServiceConnectionMap.ConsumerPscConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServiceConnectionMap.ConsumerPscConnection.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueServiceConnectionMap.ProducerPscConfig
Returns
TypeDescription
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
NameDescription
builderForValueServiceConnectionMap.ProducerPscConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueServiceConnectionMap.ProducerPscConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServiceConnectionMap.ProducerPscConfig.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServiceConnectionMap.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ServiceConnectionMap.Builder
Overrides

build()

public ServiceConnectionMap build()
Returns
TypeDescription
ServiceConnectionMap

buildPartial()

public ServiceConnectionMap buildPartial()
Returns
TypeDescription
ServiceConnectionMap

clear()

public ServiceConnectionMap.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ServiceConnectionMap.Builder

clearCreateTime()

public ServiceConnectionMap.Builder clearCreateTime()

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
ServiceConnectionMap.Builder

clearDescription()

public ServiceConnectionMap.Builder clearDescription()

A description of this resource.

string description = 5;

Returns
TypeDescription
ServiceConnectionMap.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ServiceConnectionMap.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ServiceConnectionMap.Builder

This builder for chaining.

clearLabels()

public ServiceConnectionMap.Builder clearLabels()
Returns
TypeDescription
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
TypeDescription
ServiceConnectionMap.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceConnectionMap.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ServiceConnectionMap.Builder

clone()

public ServiceConnectionMap.Builder clone()
Returns
TypeDescription
ServiceConnectionMap.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

User-defined labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ServiceConnectionMap getDefaultInstanceForType()
Returns
TypeDescription
ServiceConnectionMap

getDescription()

public String getDescription()

A description of this resource.

string description = 5;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description of this resource.

string description = 5;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for infrastructure.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

User-defined labels.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

User-defined labels.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

User-defined labels.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

User-defined labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The serviceClassUri.

getServiceClassUriBytes()

public ByteString getServiceClassUriBytes()

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

string service_class_uri = 12;

Returns
TypeDescription
ByteString

The bytes for serviceClassUri.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ServiceConnectionMap.Builder

mergeFrom(ServiceConnectionMap other)

public ServiceConnectionMap.Builder mergeFrom(ServiceConnectionMap other)
Parameter
NameDescription
otherServiceConnectionMap
Returns
TypeDescription
ServiceConnectionMap.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ServiceConnectionMap.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceConnectionMap.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ServiceConnectionMap.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ServiceConnectionMap.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServiceConnectionMap.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ServiceConnectionMap.Builder

putAllLabels(Map<String,String> values)

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

User-defined labels.

map<string, string> labels = 4;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
ServiceConnectionMap.Builder

putLabels(String key, String value)

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

User-defined labels.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ServiceConnectionMap.Builder

removeLabels(String key)

public ServiceConnectionMap.Builder removeLabels(String key)

User-defined labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueServiceConnectionMap.ConsumerPscConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServiceConnectionMap.ConsumerPscConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueServiceConnectionMap.ConsumerPscConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServiceConnectionMap.ConsumerPscConnection.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ServiceConnectionMap.Builder

setDescription(String value)

public ServiceConnectionMap.Builder setDescription(String value)

A description of this resource.

string description = 5;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
ServiceConnectionMap.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ServiceConnectionMap.Builder setDescriptionBytes(ByteString value)

A description of this resource.

string description = 5;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
ServiceConnectionMap.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceConnectionMap.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueInfrastructure

The infrastructure to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
indexint
valueServiceConnectionMap.ProducerPscConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServiceConnectionMap.ProducerPscConfig.Builder
Returns
TypeDescription
ServiceConnectionMap.Builder

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

public ServiceConnectionMap.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The serviceClass to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceClass to set.

Returns
TypeDescription
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
NameDescription
valueString

The serviceClassUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceClassUri to set.

Returns
TypeDescription
ServiceConnectionMap.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ServiceConnectionMap.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ServiceConnectionMap.Builder