public final class Service extends com.google.protobuf.GeneratedMessageV3 implements ServiceOrBuilder
A `Service` is a discrete, autonomous, and network-accessible unit, designed to solve an individual concern ([Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)). In Cloud Monitoring, a `Service` acts as the root resource under which operational aspects of the service are accessible.Protobuf type
google.monitoring.v3.Service| Modifier and Type | Class and Description |
|---|---|
static class |
Service.AppEngine
App Engine service.
|
static interface |
Service.AppEngineOrBuilder |
static class |
Service.BasicService
A well-known service type, defined by its service type and service labels.
|
static interface |
Service.BasicServiceOrBuilder |
static class |
Service.Builder
A `Service` is a discrete, autonomous, and network-accessible unit, designed
to solve an individual concern
([Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)).
|
static class |
Service.CloudEndpoints
Cloud Endpoints service.
|
static interface |
Service.CloudEndpointsOrBuilder |
static class |
Service.CloudRun
Cloud Run service.
|
static interface |
Service.CloudRunOrBuilder |
static class |
Service.ClusterIstio
Istio service scoped to a single Kubernetes cluster.
|
static interface |
Service.ClusterIstioOrBuilder |
static class |
Service.Custom
Use a custom service to designate a service that you want to monitor
when none of the other service types (like App Engine, Cloud Run, or
a GKE type) matches your intended service.
|
static interface |
Service.CustomOrBuilder |
static class |
Service.GkeNamespace
GKE Namespace.
|
static interface |
Service.GkeNamespaceOrBuilder |
static class |
Service.GkeService
GKE Service.
|
static interface |
Service.GkeServiceOrBuilder |
static class |
Service.GkeWorkload
A GKE Workload (Deployment, StatefulSet, etc).
|
static interface |
Service.GkeWorkloadOrBuilder |
static class |
Service.IdentifierCase |
static class |
Service.IstioCanonicalService
Canonical service scoped to an Istio mesh.
|
static interface |
Service.IstioCanonicalServiceOrBuilder |
static class |
Service.MeshIstio
Istio service scoped to an Istio mesh.
|
static interface |
Service.MeshIstioOrBuilder |
static class |
Service.Telemetry
Configuration for how to query telemetry on a Service.
|
static interface |
Service.TelemetryOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
APP_ENGINE_FIELD_NUMBER |
static int |
BASIC_SERVICE_FIELD_NUMBER |
static int |
CLOUD_ENDPOINTS_FIELD_NUMBER |
static int |
CLOUD_RUN_FIELD_NUMBER |
static int |
CLUSTER_ISTIO_FIELD_NUMBER |
static int |
CUSTOM_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
GKE_NAMESPACE_FIELD_NUMBER |
static int |
GKE_SERVICE_FIELD_NUMBER |
static int |
GKE_WORKLOAD_FIELD_NUMBER |
static int |
ISTIO_CANONICAL_SERVICE_FIELD_NUMBER |
static int |
MESH_ISTIO_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
TELEMETRY_FIELD_NUMBER |
static int |
USER_LABELS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsUserLabels(String key)
Labels which have been used to annotate the service.
|
boolean |
equals(Object obj) |
Service.AppEngine |
getAppEngine()
Type used for App Engine services.
|
Service.AppEngineOrBuilder |
getAppEngineOrBuilder()
Type used for App Engine services.
|
Service.BasicService |
getBasicService()
Message that contains the service type and service labels of this service
if it is a basic service.
|
Service.BasicServiceOrBuilder |
getBasicServiceOrBuilder()
Message that contains the service type and service labels of this service
if it is a basic service.
|
Service.CloudEndpoints |
getCloudEndpoints()
Type used for Cloud Endpoints services.
|
Service.CloudEndpointsOrBuilder |
getCloudEndpointsOrBuilder()
Type used for Cloud Endpoints services.
|
Service.CloudRun |
getCloudRun()
Type used for Cloud Run services.
|
Service.CloudRunOrBuilder |
getCloudRunOrBuilder()
Type used for Cloud Run services.
|
Service.ClusterIstio |
getClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
|
Service.ClusterIstioOrBuilder |
getClusterIstioOrBuilder()
Type used for Istio services that live in a Kubernetes cluster.
|
Service.Custom |
getCustom()
Custom service type.
|
Service.CustomOrBuilder |
getCustomOrBuilder()
Custom service type.
|
static Service |
getDefaultInstance() |
Service |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Name used for UI elements listing this Service.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Name used for UI elements listing this Service.
|
Service.GkeNamespace |
getGkeNamespace()
Type used for GKE Namespaces.
|
Service.GkeNamespaceOrBuilder |
getGkeNamespaceOrBuilder()
Type used for GKE Namespaces.
|
Service.GkeService |
getGkeService()
Type used for GKE Services (the Kubernetes concept of a service).
|
Service.GkeServiceOrBuilder |
getGkeServiceOrBuilder()
Type used for GKE Services (the Kubernetes concept of a service).
|
Service.GkeWorkload |
getGkeWorkload()
Type used for GKE Workloads.
|
Service.GkeWorkloadOrBuilder |
getGkeWorkloadOrBuilder()
Type used for GKE Workloads.
|
Service.IdentifierCase |
getIdentifierCase() |
Service.IstioCanonicalService |
getIstioCanonicalService()
Type used for canonical services scoped to an Istio mesh.
|
Service.IstioCanonicalServiceOrBuilder |
getIstioCanonicalServiceOrBuilder()
Type used for canonical services scoped to an Istio mesh.
|
Service.MeshIstio |
getMeshIstio()
Type used for Istio services scoped to an Istio mesh.
|
Service.MeshIstioOrBuilder |
getMeshIstioOrBuilder()
Type used for Istio services scoped to an Istio mesh.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
com.google.protobuf.Parser<Service> |
getParserForType() |
int |
getSerializedSize() |
Service.Telemetry |
getTelemetry()
Configuration for how to query telemetry on a Service.
|
Service.TelemetryOrBuilder |
getTelemetryOrBuilder()
Configuration for how to query telemetry on a Service.
|
Map<String,String> |
getUserLabels()
Deprecated.
|
int |
getUserLabelsCount()
Labels which have been used to annotate the service.
|
Map<String,String> |
getUserLabelsMap()
Labels which have been used to annotate the service.
|
String |
getUserLabelsOrDefault(String key,
String defaultValue)
Labels which have been used to annotate the service.
|
String |
getUserLabelsOrThrow(String key)
Labels which have been used to annotate the service.
|
boolean |
hasAppEngine()
Type used for App Engine services.
|
boolean |
hasBasicService()
Message that contains the service type and service labels of this service
if it is a basic service.
|
boolean |
hasCloudEndpoints()
Type used for Cloud Endpoints services.
|
boolean |
hasCloudRun()
Type used for Cloud Run services.
|
boolean |
hasClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
|
boolean |
hasCustom()
Custom service type.
|
boolean |
hasGkeNamespace()
Type used for GKE Namespaces.
|
boolean |
hasGkeService()
Type used for GKE Services (the Kubernetes concept of a service).
|
boolean |
hasGkeWorkload()
Type used for GKE Workloads.
|
int |
hashCode() |
boolean |
hasIstioCanonicalService()
Type used for canonical services scoped to an Istio mesh.
|
boolean |
hasMeshIstio()
Type used for Istio services scoped to an Istio mesh.
|
boolean |
hasTelemetry()
Configuration for how to query telemetry on a Service.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static Service.Builder |
newBuilder() |
static Service.Builder |
newBuilder(Service prototype) |
Service.Builder |
newBuilderForType() |
protected Service.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Service |
parseDelimitedFrom(InputStream input) |
static Service |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Service |
parseFrom(byte[] data) |
static Service |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Service |
parseFrom(ByteBuffer data) |
static Service |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Service |
parseFrom(com.google.protobuf.ByteString data) |
static Service |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Service |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Service |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Service |
parseFrom(InputStream input) |
static Service |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Service> |
parser() |
Service.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int CUSTOM_FIELD_NUMBER
public static final int APP_ENGINE_FIELD_NUMBER
public static final int CLOUD_ENDPOINTS_FIELD_NUMBER
public static final int CLUSTER_ISTIO_FIELD_NUMBER
public static final int MESH_ISTIO_FIELD_NUMBER
public static final int ISTIO_CANONICAL_SERVICE_FIELD_NUMBER
public static final int CLOUD_RUN_FIELD_NUMBER
public static final int GKE_NAMESPACE_FIELD_NUMBER
public static final int GKE_WORKLOAD_FIELD_NUMBER
public static final int GKE_SERVICE_FIELD_NUMBER
public static final int BASIC_SERVICE_FIELD_NUMBER
public static final int TELEMETRY_FIELD_NUMBER
public static final int USER_LABELS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Service.IdentifierCase getIdentifierCase()
getIdentifierCase in interface ServiceOrBuilderpublic String getName()
Identifier. Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];getName in interface ServiceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Identifier. Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];getNameBytes in interface ServiceOrBuilderpublic String getDisplayName()
Name used for UI elements listing this Service.
string display_name = 2;getDisplayName in interface ServiceOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Name used for UI elements listing this Service.
string display_name = 2;getDisplayNameBytes in interface ServiceOrBuilderpublic boolean hasCustom()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;hasCustom in interface ServiceOrBuilderpublic Service.Custom getCustom()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;getCustom in interface ServiceOrBuilderpublic Service.CustomOrBuilder getCustomOrBuilder()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;getCustomOrBuilder in interface ServiceOrBuilderpublic boolean hasAppEngine()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;hasAppEngine in interface ServiceOrBuilderpublic Service.AppEngine getAppEngine()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;getAppEngine in interface ServiceOrBuilderpublic Service.AppEngineOrBuilder getAppEngineOrBuilder()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;getAppEngineOrBuilder in interface ServiceOrBuilderpublic boolean hasCloudEndpoints()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;hasCloudEndpoints in interface ServiceOrBuilderpublic Service.CloudEndpoints getCloudEndpoints()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;getCloudEndpoints in interface ServiceOrBuilderpublic Service.CloudEndpointsOrBuilder getCloudEndpointsOrBuilder()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;getCloudEndpointsOrBuilder in interface ServiceOrBuilderpublic boolean hasClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;hasClusterIstio in interface ServiceOrBuilderpublic Service.ClusterIstio getClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;getClusterIstio in interface ServiceOrBuilderpublic Service.ClusterIstioOrBuilder getClusterIstioOrBuilder()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;getClusterIstioOrBuilder in interface ServiceOrBuilderpublic boolean hasMeshIstio()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;hasMeshIstio in interface ServiceOrBuilderpublic Service.MeshIstio getMeshIstio()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;getMeshIstio in interface ServiceOrBuilderpublic Service.MeshIstioOrBuilder getMeshIstioOrBuilder()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;getMeshIstioOrBuilder in interface ServiceOrBuilderpublic boolean hasIstioCanonicalService()
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are [documented here](https://istio.io/latest/docs/reference/config/metrics/)
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;hasIstioCanonicalService in interface ServiceOrBuilderpublic Service.IstioCanonicalService getIstioCanonicalService()
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are [documented here](https://istio.io/latest/docs/reference/config/metrics/)
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;getIstioCanonicalService in interface ServiceOrBuilderpublic Service.IstioCanonicalServiceOrBuilder getIstioCanonicalServiceOrBuilder()
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are [documented here](https://istio.io/latest/docs/reference/config/metrics/)
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;getIstioCanonicalServiceOrBuilder in interface ServiceOrBuilderpublic boolean hasCloudRun()
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12;hasCloudRun in interface ServiceOrBuilderpublic Service.CloudRun getCloudRun()
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12;getCloudRun in interface ServiceOrBuilderpublic Service.CloudRunOrBuilder getCloudRunOrBuilder()
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12;getCloudRunOrBuilder in interface ServiceOrBuilderpublic boolean hasGkeNamespace()
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15;hasGkeNamespace in interface ServiceOrBuilderpublic Service.GkeNamespace getGkeNamespace()
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15;getGkeNamespace in interface ServiceOrBuilderpublic Service.GkeNamespaceOrBuilder getGkeNamespaceOrBuilder()
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15;getGkeNamespaceOrBuilder in interface ServiceOrBuilderpublic boolean hasGkeWorkload()
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16;hasGkeWorkload in interface ServiceOrBuilderpublic Service.GkeWorkload getGkeWorkload()
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16;getGkeWorkload in interface ServiceOrBuilderpublic Service.GkeWorkloadOrBuilder getGkeWorkloadOrBuilder()
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16;getGkeWorkloadOrBuilder in interface ServiceOrBuilderpublic boolean hasGkeService()
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17;hasGkeService in interface ServiceOrBuilderpublic Service.GkeService getGkeService()
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17;getGkeService in interface ServiceOrBuilderpublic Service.GkeServiceOrBuilder getGkeServiceOrBuilder()
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17;getGkeServiceOrBuilder in interface ServiceOrBuilderpublic boolean hasBasicService()
Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
.google.monitoring.v3.Service.BasicService basic_service = 19;hasBasicService in interface ServiceOrBuilderpublic Service.BasicService getBasicService()
Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
.google.monitoring.v3.Service.BasicService basic_service = 19;getBasicService in interface ServiceOrBuilderpublic Service.BasicServiceOrBuilder getBasicServiceOrBuilder()
Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
.google.monitoring.v3.Service.BasicService basic_service = 19;getBasicServiceOrBuilder in interface ServiceOrBuilderpublic boolean hasTelemetry()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;hasTelemetry in interface ServiceOrBuilderpublic Service.Telemetry getTelemetry()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;getTelemetry in interface ServiceOrBuilderpublic Service.TelemetryOrBuilder getTelemetryOrBuilder()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;getTelemetryOrBuilder in interface ServiceOrBuilderpublic int getUserLabelsCount()
ServiceOrBuilderLabels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14;getUserLabelsCount in interface ServiceOrBuilderpublic boolean containsUserLabels(String key)
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14;containsUserLabels in interface ServiceOrBuilder@Deprecated public Map<String,String> getUserLabels()
getUserLabelsMap() instead.getUserLabels in interface ServiceOrBuilderpublic Map<String,String> getUserLabelsMap()
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14;getUserLabelsMap in interface ServiceOrBuilderpublic String getUserLabelsOrDefault(String key, String defaultValue)
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14;getUserLabelsOrDefault in interface ServiceOrBuilderpublic String getUserLabelsOrThrow(String key)
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 14;getUserLabelsOrThrow in interface ServiceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Service parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Service parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Service parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Service parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Service parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Service parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Service parseFrom(InputStream input) throws IOException
IOExceptionpublic static Service parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Service parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Service parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Service parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Service parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Service.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Service.Builder newBuilder()
public static Service.Builder newBuilder(Service prototype)
public Service.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Service.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Service getDefaultInstance()
public static com.google.protobuf.Parser<Service> parser()
public com.google.protobuf.Parser<Service> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Service getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.