Package com.google.monitoring.v3
Class Service
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.monitoring.v3.Service
- All Implemented Interfaces:
ServiceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Service
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classApp Engine service.static interfacestatic final classA well-known service type, defined by its service type and service labels.static interfacestatic final classA `Service` is a discrete, autonomous, and network-accessible unit, designed to solve an individual concern ([Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)).static final classCloud Endpoints service.static interfacestatic final classCloud Run service.static interfacestatic final classIstio service scoped to a single Kubernetes cluster.static interfacestatic final classUse 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 interfacestatic final classGKE Namespace.static interfacestatic final classGKE Service.static interfacestatic final classA GKE Workload (Deployment, StatefulSet, etc).static interfacestatic enumstatic final classCanonical service scoped to an Istio mesh.static interfacestatic final classIstio service scoped to an Istio mesh.static interfacestatic final classConfiguration for how to query telemetry on a Service.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsUserLabels(String key) Labels which have been used to annotate the service.booleanType used for App Engine services.Type used for App Engine services.Message that contains the service type and service labels of this service if it is a basic service.Message that contains the service type and service labels of this service if it is a basic service.Type used for Cloud Endpoints services.Type used for Cloud Endpoints services.Type used for Cloud Run services.Type used for Cloud Run services.Type used for Istio services that live in a Kubernetes cluster.Type used for Istio services that live in a Kubernetes cluster.Custom service type.Custom service type.static Servicestatic final com.google.protobuf.Descriptors.DescriptorName used for UI elements listing this Service.com.google.protobuf.ByteStringName used for UI elements listing this Service.Type used for GKE Namespaces.Type used for GKE Namespaces.Type used for GKE Services (the Kubernetes concept of a service).Type used for GKE Services (the Kubernetes concept of a service).Type used for GKE Workloads.Type used for GKE Workloads.Type used for canonical services scoped to an Istio mesh.Type used for canonical services scoped to an Istio mesh.Type used for Istio services scoped to an Istio mesh.Type used for Istio services scoped to an Istio mesh.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<Service>intConfiguration for how to query telemetry on a Service.Configuration for how to query telemetry on a Service.Deprecated.intLabels which have been used to annotate the service.Labels which have been used to annotate the service.getUserLabelsOrDefault(String key, String defaultValue) Labels which have been used to annotate the service.Labels which have been used to annotate the service.booleanType used for App Engine services.booleanMessage that contains the service type and service labels of this service if it is a basic service.booleanType used for Cloud Endpoints services.booleanType used for Cloud Run services.booleanType used for Istio services that live in a Kubernetes cluster.booleanCustom service type.booleanType used for GKE Namespaces.booleanType used for GKE Services (the Kubernetes concept of a service).booleanType used for GKE Workloads.inthashCode()booleanType used for canonical services scoped to an Istio mesh.booleanType used for Istio services scoped to an Istio mesh.booleanConfiguration for how to query telemetry on a Service.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Service.Builderstatic Service.BuildernewBuilder(Service prototype) protected Service.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ServiceparseDelimitedFrom(InputStream input) static ServiceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceparseFrom(byte[] data) static ServiceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceparseFrom(com.google.protobuf.ByteString data) static ServiceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceparseFrom(com.google.protobuf.CodedInputStream input) static ServiceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceparseFrom(InputStream input) static ServiceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceparseFrom(ByteBuffer data) static ServiceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Service>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
CUSTOM_FIELD_NUMBER
public static final int CUSTOM_FIELD_NUMBER- See Also:
-
APP_ENGINE_FIELD_NUMBER
public static final int APP_ENGINE_FIELD_NUMBER- See Also:
-
CLOUD_ENDPOINTS_FIELD_NUMBER
public static final int CLOUD_ENDPOINTS_FIELD_NUMBER- See Also:
-
CLUSTER_ISTIO_FIELD_NUMBER
public static final int CLUSTER_ISTIO_FIELD_NUMBER- See Also:
-
MESH_ISTIO_FIELD_NUMBER
public static final int MESH_ISTIO_FIELD_NUMBER- See Also:
-
ISTIO_CANONICAL_SERVICE_FIELD_NUMBER
public static final int ISTIO_CANONICAL_SERVICE_FIELD_NUMBER- See Also:
-
CLOUD_RUN_FIELD_NUMBER
public static final int CLOUD_RUN_FIELD_NUMBER- See Also:
-
GKE_NAMESPACE_FIELD_NUMBER
public static final int GKE_NAMESPACE_FIELD_NUMBER- See Also:
-
GKE_WORKLOAD_FIELD_NUMBER
public static final int GKE_WORKLOAD_FIELD_NUMBER- See Also:
-
GKE_SERVICE_FIELD_NUMBER
public static final int GKE_SERVICE_FIELD_NUMBER- See Also:
-
BASIC_SERVICE_FIELD_NUMBER
public static final int BASIC_SERVICE_FIELD_NUMBER- See Also:
-
TELEMETRY_FIELD_NUMBER
public static final int TELEMETRY_FIELD_NUMBER- See Also:
-
USER_LABELS_FIELD_NUMBER
public static final int USER_LABELS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getIdentifierCase
- Specified by:
getIdentifierCasein interfaceServiceOrBuilder
-
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];- Specified by:
getNamein interfaceServiceOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceServiceOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
Name used for UI elements listing this Service.
string display_name = 2;- Specified by:
getDisplayNamein interfaceServiceOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Name used for UI elements listing this Service.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceServiceOrBuilder- Returns:
- The bytes for displayName.
-
hasCustom
public boolean hasCustom()Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;- Specified by:
hasCustomin interfaceServiceOrBuilder- Returns:
- Whether the custom field is set.
-
getCustom
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;- Specified by:
getCustomin interfaceServiceOrBuilder- Returns:
- The custom.
-
getCustomOrBuilder
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;- Specified by:
getCustomOrBuilderin interfaceServiceOrBuilder
-
hasAppEngine
public boolean hasAppEngine()Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;- Specified by:
hasAppEnginein interfaceServiceOrBuilder- Returns:
- Whether the appEngine field is set.
-
getAppEngine
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;- Specified by:
getAppEnginein interfaceServiceOrBuilder- Returns:
- The appEngine.
-
getAppEngineOrBuilder
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;- Specified by:
getAppEngineOrBuilderin interfaceServiceOrBuilder
-
hasCloudEndpoints
public boolean hasCloudEndpoints()Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;- Specified by:
hasCloudEndpointsin interfaceServiceOrBuilder- Returns:
- Whether the cloudEndpoints field is set.
-
getCloudEndpoints
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;- Specified by:
getCloudEndpointsin interfaceServiceOrBuilder- Returns:
- The cloudEndpoints.
-
getCloudEndpointsOrBuilder
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;- Specified by:
getCloudEndpointsOrBuilderin interfaceServiceOrBuilder
-
hasClusterIstio
public boolean hasClusterIstio()Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;- Specified by:
hasClusterIstioin interfaceServiceOrBuilder- Returns:
- Whether the clusterIstio field is set.
-
getClusterIstio
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;- Specified by:
getClusterIstioin interfaceServiceOrBuilder- Returns:
- The clusterIstio.
-
getClusterIstioOrBuilder
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;- Specified by:
getClusterIstioOrBuilderin interfaceServiceOrBuilder
-
hasMeshIstio
public boolean hasMeshIstio()Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;- Specified by:
hasMeshIstioin interfaceServiceOrBuilder- Returns:
- Whether the meshIstio field is set.
-
getMeshIstio
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;- Specified by:
getMeshIstioin interfaceServiceOrBuilder- Returns:
- The meshIstio.
-
getMeshIstioOrBuilder
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;- Specified by:
getMeshIstioOrBuilderin interfaceServiceOrBuilder
-
hasIstioCanonicalService
public 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;- Specified by:
hasIstioCanonicalServicein interfaceServiceOrBuilder- Returns:
- Whether the istioCanonicalService field is set.
-
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;- Specified by:
getIstioCanonicalServicein interfaceServiceOrBuilder- Returns:
- The istioCanonicalService.
-
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;- Specified by:
getIstioCanonicalServiceOrBuilderin interfaceServiceOrBuilder
-
hasCloudRun
public boolean hasCloudRun()Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12;- Specified by:
hasCloudRunin interfaceServiceOrBuilder- Returns:
- Whether the cloudRun field is set.
-
getCloudRun
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12;- Specified by:
getCloudRunin interfaceServiceOrBuilder- Returns:
- The cloudRun.
-
getCloudRunOrBuilder
Type used for Cloud Run services.
.google.monitoring.v3.Service.CloudRun cloud_run = 12;- Specified by:
getCloudRunOrBuilderin interfaceServiceOrBuilder
-
hasGkeNamespace
public boolean hasGkeNamespace()Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15;- Specified by:
hasGkeNamespacein interfaceServiceOrBuilder- Returns:
- Whether the gkeNamespace field is set.
-
getGkeNamespace
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15;- Specified by:
getGkeNamespacein interfaceServiceOrBuilder- Returns:
- The gkeNamespace.
-
getGkeNamespaceOrBuilder
Type used for GKE Namespaces.
.google.monitoring.v3.Service.GkeNamespace gke_namespace = 15;- Specified by:
getGkeNamespaceOrBuilderin interfaceServiceOrBuilder
-
hasGkeWorkload
public boolean hasGkeWorkload()Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16;- Specified by:
hasGkeWorkloadin interfaceServiceOrBuilder- Returns:
- Whether the gkeWorkload field is set.
-
getGkeWorkload
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16;- Specified by:
getGkeWorkloadin interfaceServiceOrBuilder- Returns:
- The gkeWorkload.
-
getGkeWorkloadOrBuilder
Type used for GKE Workloads.
.google.monitoring.v3.Service.GkeWorkload gke_workload = 16;- Specified by:
getGkeWorkloadOrBuilderin interfaceServiceOrBuilder
-
hasGkeService
public boolean hasGkeService()Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17;- Specified by:
hasGkeServicein interfaceServiceOrBuilder- Returns:
- Whether the gkeService field is set.
-
getGkeService
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17;- Specified by:
getGkeServicein interfaceServiceOrBuilder- Returns:
- The gkeService.
-
getGkeServiceOrBuilder
Type used for GKE Services (the Kubernetes concept of a service).
.google.monitoring.v3.Service.GkeService gke_service = 17;- Specified by:
getGkeServiceOrBuilderin interfaceServiceOrBuilder
-
hasBasicService
public 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;- Specified by:
hasBasicServicein interfaceServiceOrBuilder- Returns:
- Whether the basicService field is set.
-
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;- Specified by:
getBasicServicein interfaceServiceOrBuilder- Returns:
- The basicService.
-
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;- Specified by:
getBasicServiceOrBuilderin interfaceServiceOrBuilder
-
hasTelemetry
public boolean hasTelemetry()Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;- Specified by:
hasTelemetryin interfaceServiceOrBuilder- Returns:
- Whether the telemetry field is set.
-
getTelemetry
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;- Specified by:
getTelemetryin interfaceServiceOrBuilder- Returns:
- The telemetry.
-
getTelemetryOrBuilder
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;- Specified by:
getTelemetryOrBuilderin interfaceServiceOrBuilder
-
getUserLabelsCount
public int getUserLabelsCount()Description copied from interface: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;- Specified by:
getUserLabelsCountin interfaceServiceOrBuilder
-
containsUserLabels
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;- Specified by:
containsUserLabelsin interfaceServiceOrBuilder
-
getUserLabels
Deprecated.UsegetUserLabelsMap()instead.- Specified by:
getUserLabelsin interfaceServiceOrBuilder
-
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;- Specified by:
getUserLabelsMapin interfaceServiceOrBuilder
-
getUserLabelsOrDefault
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;- Specified by:
getUserLabelsOrDefaultin interfaceServiceOrBuilder
-
getUserLabelsOrThrow
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;- Specified by:
getUserLabelsOrThrowin interfaceServiceOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Service parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Service parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Service parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Service parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Service.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-