Interface Service.BasicServiceOrBuilder (3.45.0)

public static interface Service.BasicServiceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsServiceLabels(String key)

public abstract boolean containsServiceLabels(String key)

Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this Service. Documentation and valid values for given service types here.

map<string, string> service_labels = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getServiceLabels() (deprecated)

public abstract Map<String,String> getServiceLabels()
Returns
Type Description
Map<String,String>

getServiceLabelsCount()

public abstract int getServiceLabelsCount()

Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this Service. Documentation and valid values for given service types here.

map<string, string> service_labels = 2;

Returns
Type Description
int

getServiceLabelsMap()

public abstract Map<String,String> getServiceLabelsMap()

Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this Service. Documentation and valid values for given service types here.

map<string, string> service_labels = 2;

Returns
Type Description
Map<String,String>

getServiceLabelsOrDefault(String key, String defaultValue)

public abstract String getServiceLabelsOrDefault(String key, String defaultValue)

Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this Service. Documentation and valid values for given service types here.

map<string, string> service_labels = 2;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getServiceLabelsOrThrow(String key)

public abstract String getServiceLabelsOrThrow(String key)

Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this Service. Documentation and valid values for given service types here.

map<string, string> service_labels = 2;

Parameter
Name Description
key String
Returns
Type Description
String

getServiceType()

public abstract String getServiceType()

The type of service that this basic service defines, e.g. APP_ENGINE service type. Documentation and valid values here.

string service_type = 1;

Returns
Type Description
String

The serviceType.

getServiceTypeBytes()

public abstract ByteString getServiceTypeBytes()

The type of service that this basic service defines, e.g. APP_ENGINE service type. Documentation and valid values here.

string service_type = 1;

Returns
Type Description
ByteString

The bytes for serviceType.