Interface ServiceClassOrBuilder (0.14.1)

public interface ServiceClassOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

User-defined labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Time when the ServiceClass was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the ServiceClass was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDescription()

public abstract String getDescription()

A description of this resource.

string description = 5;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

A description of this resource.

string description = 5;

Returns
TypeDescription
ByteString

The bytes for description.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

User-defined labels.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

User-defined labels.

map<string, string> labels = 4;

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

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

User-defined labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getName()

public abstract String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getServiceClass()

public abstract String getServiceClass()

Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.

string service_class = 7;

Returns
TypeDescription
String

The serviceClass.

getServiceClassBytes()

public abstract ByteString getServiceClassBytes()

Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.

string service_class = 7;

Returns
TypeDescription
ByteString

The bytes for serviceClass.

getServiceConnectionMaps(int index)

public abstract String getServiceConnectionMaps(int index)

Output only. URIs of all Service Connection Maps using this service class.

repeated string service_connection_maps = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The serviceConnectionMaps at the given index.

getServiceConnectionMapsBytes(int index)

public abstract ByteString getServiceConnectionMapsBytes(int index)

Output only. URIs of all Service Connection Maps using this service class.

repeated string service_connection_maps = 6;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the serviceConnectionMaps at the given index.

getServiceConnectionMapsCount()

public abstract int getServiceConnectionMapsCount()

Output only. URIs of all Service Connection Maps using this service class.

repeated string service_connection_maps = 6;

Returns
TypeDescription
int

The count of serviceConnectionMaps.

getServiceConnectionMapsList()

public abstract List<String> getServiceConnectionMapsList()

Output only. URIs of all Service Connection Maps using this service class.

repeated string service_connection_maps = 6;

Returns
TypeDescription
List<String>

A list containing the serviceConnectionMaps.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Time when the ServiceClass was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when the ServiceClass was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Time when the ServiceClass was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Time when the ServiceClass was updated.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
boolean

Whether the updateTime field is set.