Interface ServiceConnectionMapOrBuilder (0.16.0)

public interface ServiceConnectionMapOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract 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 abstract 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

getConsumerPscConfigsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getConsumerPscConnectionsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract Timestamp getCreateTime()

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the ServiceConnectionMap was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

A description of this resource.

string description = 5;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

A description of this resource.

string description = 5;

Returns
Type Description
ByteString

The bytes for description.

getInfrastructure()

public abstract 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 abstract 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 abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

User-defined labels.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

User-defined labels.

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract 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 abstract String getLabelsOrThrow(String key)

User-defined labels.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract 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 abstract 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 abstract 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

getProducerPscConfigsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract Timestamp getUpdateTime()

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when the ServiceConnectionMap was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract 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 abstract 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.