- 3.48.0 (latest)
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
public static final class Service.Builder extends GeneratedMessageV3.Builder<Service.Builder> implements ServiceOrBuilder
A Service
is a discrete, autonomous, and network-accessible unit, designed
to solve an individual concern
(Wikipedia). 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Service.BuilderImplements
ServiceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Service.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Service.Builder |
build()
public Service build()
Returns | |
---|---|
Type | Description |
Service |
buildPartial()
public Service buildPartial()
Returns | |
---|---|
Type | Description |
Service |
clear()
public Service.Builder clear()
Returns | |
---|---|
Type | Description |
Service.Builder |
clearAppEngine()
public Service.Builder clearAppEngine()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearCloudEndpoints()
public Service.Builder clearCloudEndpoints()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearClusterIstio()
public Service.Builder clearClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearCustom()
public Service.Builder clearCustom()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearDisplayName()
public Service.Builder clearDisplayName()
Name used for UI elements listing this Service.
string display_name = 2;
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Service.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Service.Builder |
clearIdentifier()
public Service.Builder clearIdentifier()
Returns | |
---|---|
Type | Description |
Service.Builder |
clearIstioCanonicalService()
public Service.Builder clearIstioCanonicalService()
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearMeshIstio()
public Service.Builder clearMeshIstio()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearName()
public Service.Builder clearName()
Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1;
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Service.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Service.Builder |
clearTelemetry()
public Service.Builder clearTelemetry()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;
Returns | |
---|---|
Type | Description |
Service.Builder |
clearUserLabels()
public Service.Builder clearUserLabels()
Returns | |
---|---|
Type | Description |
Service.Builder |
clone()
public Service.Builder clone()
Returns | |
---|---|
Type | Description |
Service.Builder |
containsUserLabels(String key)
public 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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAppEngine()
public Service.AppEngine getAppEngine()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;
Returns | |
---|---|
Type | Description |
Service.AppEngine | The appEngine. |
getAppEngineBuilder()
public Service.AppEngine.Builder getAppEngineBuilder()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;
Returns | |
---|---|
Type | Description |
Service.AppEngine.Builder |
getAppEngineOrBuilder()
public Service.AppEngineOrBuilder getAppEngineOrBuilder()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;
Returns | |
---|---|
Type | Description |
Service.AppEngineOrBuilder |
getCloudEndpoints()
public Service.CloudEndpoints getCloudEndpoints()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
Returns | |
---|---|
Type | Description |
Service.CloudEndpoints | The cloudEndpoints. |
getCloudEndpointsBuilder()
public Service.CloudEndpoints.Builder getCloudEndpointsBuilder()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
Returns | |
---|---|
Type | Description |
Service.CloudEndpoints.Builder |
getCloudEndpointsOrBuilder()
public Service.CloudEndpointsOrBuilder getCloudEndpointsOrBuilder()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
Returns | |
---|---|
Type | Description |
Service.CloudEndpointsOrBuilder |
getClusterIstio()
public Service.ClusterIstio getClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
Returns | |
---|---|
Type | Description |
Service.ClusterIstio | The clusterIstio. |
getClusterIstioBuilder()
public Service.ClusterIstio.Builder getClusterIstioBuilder()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
Returns | |
---|---|
Type | Description |
Service.ClusterIstio.Builder |
getClusterIstioOrBuilder()
public Service.ClusterIstioOrBuilder getClusterIstioOrBuilder()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
Returns | |
---|---|
Type | Description |
Service.ClusterIstioOrBuilder |
getCustom()
public Service.Custom getCustom()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;
Returns | |
---|---|
Type | Description |
Service.Custom | The custom. |
getCustomBuilder()
public Service.Custom.Builder getCustomBuilder()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;
Returns | |
---|---|
Type | Description |
Service.Custom.Builder |
getCustomOrBuilder()
public Service.CustomOrBuilder getCustomOrBuilder()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;
Returns | |
---|---|
Type | Description |
Service.CustomOrBuilder |
getDefaultInstanceForType()
public Service getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Service |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Name used for UI elements listing this Service.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Name used for UI elements listing this Service.
string display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getIdentifierCase()
public Service.IdentifierCase getIdentifierCase()
Returns | |
---|---|
Type | Description |
Service.IdentifierCase |
getIstioCanonicalService()
public Service.IstioCanonicalService getIstioCanonicalService()
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
Returns | |
---|---|
Type | Description |
Service.IstioCanonicalService | The istioCanonicalService. |
getIstioCanonicalServiceBuilder()
public Service.IstioCanonicalService.Builder getIstioCanonicalServiceBuilder()
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
Returns | |
---|---|
Type | Description |
Service.IstioCanonicalService.Builder |
getIstioCanonicalServiceOrBuilder()
public Service.IstioCanonicalServiceOrBuilder getIstioCanonicalServiceOrBuilder()
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
Returns | |
---|---|
Type | Description |
Service.IstioCanonicalServiceOrBuilder |
getMeshIstio()
public Service.MeshIstio getMeshIstio()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
Returns | |
---|---|
Type | Description |
Service.MeshIstio | The meshIstio. |
getMeshIstioBuilder()
public Service.MeshIstio.Builder getMeshIstioBuilder()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
Returns | |
---|---|
Type | Description |
Service.MeshIstio.Builder |
getMeshIstioOrBuilder()
public Service.MeshIstioOrBuilder getMeshIstioOrBuilder()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
Returns | |
---|---|
Type | Description |
Service.MeshIstioOrBuilder |
getMutableUserLabels() (deprecated)
public Map<String,String> getMutableUserLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getTelemetry()
public Service.Telemetry getTelemetry()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;
Returns | |
---|---|
Type | Description |
Service.Telemetry | The telemetry. |
getTelemetryBuilder()
public Service.Telemetry.Builder getTelemetryBuilder()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;
Returns | |
---|---|
Type | Description |
Service.Telemetry.Builder |
getTelemetryOrBuilder()
public Service.TelemetryOrBuilder getTelemetryOrBuilder()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;
Returns | |
---|---|
Type | Description |
Service.TelemetryOrBuilder |
getUserLabels() (deprecated)
public Map<String,String> getUserLabels()
Use #getUserLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getUserLabelsCount()
public int getUserLabelsCount()
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;
Returns | |
---|---|
Type | Description |
int |
getUserLabelsMap()
public 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;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getUserLabelsOrDefault(String key, String defaultValue)
public 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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getUserLabelsOrThrow(String key)
public 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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
hasAppEngine()
public boolean hasAppEngine()
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the appEngine field is set. |
hasCloudEndpoints()
public boolean hasCloudEndpoints()
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
Returns | |
---|---|
Type | Description |
boolean | Whether the cloudEndpoints field is set. |
hasClusterIstio()
public boolean hasClusterIstio()
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
Returns | |
---|---|
Type | Description |
boolean | Whether the clusterIstio field is set. |
hasCustom()
public boolean hasCustom()
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the custom field is set. |
hasIstioCanonicalService()
public boolean hasIstioCanonicalService()
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
Returns | |
---|---|
Type | Description |
boolean | Whether the istioCanonicalService field is set. |
hasMeshIstio()
public boolean hasMeshIstio()
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
Returns | |
---|---|
Type | Description |
boolean | Whether the meshIstio field is set. |
hasTelemetry()
public boolean hasTelemetry()
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;
Returns | |
---|---|
Type | Description |
boolean | Whether the telemetry field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAppEngine(Service.AppEngine value)
public Service.Builder mergeAppEngine(Service.AppEngine value)
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;
Parameter | |
---|---|
Name | Description |
value | Service.AppEngine |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeCloudEndpoints(Service.CloudEndpoints value)
public Service.Builder mergeCloudEndpoints(Service.CloudEndpoints value)
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
Parameter | |
---|---|
Name | Description |
value | Service.CloudEndpoints |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeClusterIstio(Service.ClusterIstio value)
public Service.Builder mergeClusterIstio(Service.ClusterIstio value)
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
Parameter | |
---|---|
Name | Description |
value | Service.ClusterIstio |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeCustom(Service.Custom value)
public Service.Builder mergeCustom(Service.Custom value)
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;
Parameter | |
---|---|
Name | Description |
value | Service.Custom |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeFrom(Service other)
public Service.Builder mergeFrom(Service other)
Parameter | |
---|---|
Name | Description |
other | Service |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Service.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Service.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Service.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeIstioCanonicalService(Service.IstioCanonicalService value)
public Service.Builder mergeIstioCanonicalService(Service.IstioCanonicalService value)
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
Parameter | |
---|---|
Name | Description |
value | Service.IstioCanonicalService |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeMeshIstio(Service.MeshIstio value)
public Service.Builder mergeMeshIstio(Service.MeshIstio value)
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
Parameter | |
---|---|
Name | Description |
value | Service.MeshIstio |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeTelemetry(Service.Telemetry value)
public Service.Builder mergeTelemetry(Service.Telemetry value)
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;
Parameter | |
---|---|
Name | Description |
value | Service.Telemetry |
Returns | |
---|---|
Type | Description |
Service.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Service.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Service.Builder |
putAllUserLabels(Map<String,String> values)
public Service.Builder putAllUserLabels(Map<String,String> values)
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;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Service.Builder |
putUserLabels(String key, String value)
public Service.Builder putUserLabels(String key, String value)
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;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Service.Builder |
removeUserLabels(String key)
public Service.Builder removeUserLabels(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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Service.Builder |
setAppEngine(Service.AppEngine value)
public Service.Builder setAppEngine(Service.AppEngine value)
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;
Parameter | |
---|---|
Name | Description |
value | Service.AppEngine |
Returns | |
---|---|
Type | Description |
Service.Builder |
setAppEngine(Service.AppEngine.Builder builderForValue)
public Service.Builder setAppEngine(Service.AppEngine.Builder builderForValue)
Type used for App Engine services.
.google.monitoring.v3.Service.AppEngine app_engine = 7;
Parameter | |
---|---|
Name | Description |
builderForValue | Service.AppEngine.Builder |
Returns | |
---|---|
Type | Description |
Service.Builder |
setCloudEndpoints(Service.CloudEndpoints value)
public Service.Builder setCloudEndpoints(Service.CloudEndpoints value)
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
Parameter | |
---|---|
Name | Description |
value | Service.CloudEndpoints |
Returns | |
---|---|
Type | Description |
Service.Builder |
setCloudEndpoints(Service.CloudEndpoints.Builder builderForValue)
public Service.Builder setCloudEndpoints(Service.CloudEndpoints.Builder builderForValue)
Type used for Cloud Endpoints services.
.google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
Parameter | |
---|---|
Name | Description |
builderForValue | Service.CloudEndpoints.Builder |
Returns | |
---|---|
Type | Description |
Service.Builder |
setClusterIstio(Service.ClusterIstio value)
public Service.Builder setClusterIstio(Service.ClusterIstio value)
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
Parameter | |
---|---|
Name | Description |
value | Service.ClusterIstio |
Returns | |
---|---|
Type | Description |
Service.Builder |
setClusterIstio(Service.ClusterIstio.Builder builderForValue)
public Service.Builder setClusterIstio(Service.ClusterIstio.Builder builderForValue)
Type used for Istio services that live in a Kubernetes cluster.
.google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
Parameter | |
---|---|
Name | Description |
builderForValue | Service.ClusterIstio.Builder |
Returns | |
---|---|
Type | Description |
Service.Builder |
setCustom(Service.Custom value)
public Service.Builder setCustom(Service.Custom value)
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;
Parameter | |
---|---|
Name | Description |
value | Service.Custom |
Returns | |
---|---|
Type | Description |
Service.Builder |
setCustom(Service.Custom.Builder builderForValue)
public Service.Builder setCustom(Service.Custom.Builder builderForValue)
Custom service type.
.google.monitoring.v3.Service.Custom custom = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | Service.Custom.Builder |
Returns | |
---|---|
Type | Description |
Service.Builder |
setDisplayName(String value)
public Service.Builder setDisplayName(String value)
Name used for UI elements listing this Service.
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Service.Builder setDisplayNameBytes(ByteString value)
Name used for UI elements listing this Service.
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Service.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Service.Builder |
setIstioCanonicalService(Service.IstioCanonicalService value)
public Service.Builder setIstioCanonicalService(Service.IstioCanonicalService value)
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
Parameter | |
---|---|
Name | Description |
value | Service.IstioCanonicalService |
Returns | |
---|---|
Type | Description |
Service.Builder |
setIstioCanonicalService(Service.IstioCanonicalService.Builder builderForValue)
public Service.Builder setIstioCanonicalService(Service.IstioCanonicalService.Builder builderForValue)
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here
.google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
Parameter | |
---|---|
Name | Description |
builderForValue | Service.IstioCanonicalService.Builder |
Returns | |
---|---|
Type | Description |
Service.Builder |
setMeshIstio(Service.MeshIstio value)
public Service.Builder setMeshIstio(Service.MeshIstio value)
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
Parameter | |
---|---|
Name | Description |
value | Service.MeshIstio |
Returns | |
---|---|
Type | Description |
Service.Builder |
setMeshIstio(Service.MeshIstio.Builder builderForValue)
public Service.Builder setMeshIstio(Service.MeshIstio.Builder builderForValue)
Type used for Istio services scoped to an Istio mesh.
.google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
Parameter | |
---|---|
Name | Description |
builderForValue | Service.MeshIstio.Builder |
Returns | |
---|---|
Type | Description |
Service.Builder |
setName(String value)
public Service.Builder setName(String value)
Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Service.Builder setNameBytes(ByteString value)
Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Service.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Service.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Service.Builder |
setTelemetry(Service.Telemetry value)
public Service.Builder setTelemetry(Service.Telemetry value)
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;
Parameter | |
---|---|
Name | Description |
value | Service.Telemetry |
Returns | |
---|---|
Type | Description |
Service.Builder |
setTelemetry(Service.Telemetry.Builder builderForValue)
public Service.Builder setTelemetry(Service.Telemetry.Builder builderForValue)
Configuration for how to query telemetry on a Service.
.google.monitoring.v3.Service.Telemetry telemetry = 13;
Parameter | |
---|---|
Name | Description |
builderForValue | Service.Telemetry.Builder |
Returns | |
---|---|
Type | Description |
Service.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Service.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Service.Builder |