public static final class Service.MeshIstio.Builder extends GeneratedMessage.Builder<Service.MeshIstio.Builder> implements Service.MeshIstioOrBuilderIstio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8 will have their services ingested as this type.
Protobuf type google.monitoring.v3.Service.MeshIstio
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Service.MeshIstio.BuilderImplements
Service.MeshIstioOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Service.MeshIstio build()| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio |
|
buildPartial()
public Service.MeshIstio buildPartial()| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio |
|
clear()
public Service.MeshIstio.Builder clear()| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
|
clearMeshUid()
public Service.MeshIstio.Builder clearMeshUid() Identifier for the mesh in which this Istio service is defined.
Corresponds to the mesh_uid metric label in Istio metrics.
string mesh_uid = 1;
| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
This builder for chaining. |
clearServiceName()
public Service.MeshIstio.Builder clearServiceName() The name of the Istio service underlying this service. Corresponds to the
destination_service_name metric label in Istio metrics.
string service_name = 4;
| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
This builder for chaining. |
clearServiceNamespace()
public Service.MeshIstio.Builder clearServiceNamespace() The namespace of the Istio service underlying this service. Corresponds
to the destination_service_namespace metric label in Istio metrics.
string service_namespace = 3;
| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Service.MeshIstio getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMeshUid()
public String getMeshUid() Identifier for the mesh in which this Istio service is defined.
Corresponds to the mesh_uid metric label in Istio metrics.
string mesh_uid = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The meshUid. |
getMeshUidBytes()
public ByteString getMeshUidBytes() Identifier for the mesh in which this Istio service is defined.
Corresponds to the mesh_uid metric label in Istio metrics.
string mesh_uid = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for meshUid. |
getServiceName()
public String getServiceName() The name of the Istio service underlying this service. Corresponds to the
destination_service_name metric label in Istio metrics.
string service_name = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The serviceName. |
getServiceNameBytes()
public ByteString getServiceNameBytes() The name of the Istio service underlying this service. Corresponds to the
destination_service_name metric label in Istio metrics.
string service_name = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceName. |
getServiceNamespace()
public String getServiceNamespace() The namespace of the Istio service underlying this service. Corresponds
to the destination_service_namespace metric label in Istio metrics.
string service_namespace = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The serviceNamespace. |
getServiceNamespaceBytes()
public ByteString getServiceNamespaceBytes() The namespace of the Istio service underlying this service. Corresponds
to the destination_service_namespace metric label in Istio metrics.
string service_namespace = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceNamespace. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Service.MeshIstio other)
public Service.MeshIstio.Builder mergeFrom(Service.MeshIstio other)| Parameter | |
|---|---|
| Name | Description |
other |
Service.MeshIstio |
| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Service.MeshIstio.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Service.MeshIstio.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
|
setMeshUid(String value)
public Service.MeshIstio.Builder setMeshUid(String value) Identifier for the mesh in which this Istio service is defined.
Corresponds to the mesh_uid metric label in Istio metrics.
string mesh_uid = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe meshUid to set. |
| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
This builder for chaining. |
setMeshUidBytes(ByteString value)
public Service.MeshIstio.Builder setMeshUidBytes(ByteString value) Identifier for the mesh in which this Istio service is defined.
Corresponds to the mesh_uid metric label in Istio metrics.
string mesh_uid = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for meshUid to set. |
| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
This builder for chaining. |
setServiceName(String value)
public Service.MeshIstio.Builder setServiceName(String value) The name of the Istio service underlying this service. Corresponds to the
destination_service_name metric label in Istio metrics.
string service_name = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceName to set. |
| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
This builder for chaining. |
setServiceNameBytes(ByteString value)
public Service.MeshIstio.Builder setServiceNameBytes(ByteString value) The name of the Istio service underlying this service. Corresponds to the
destination_service_name metric label in Istio metrics.
string service_name = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceName to set. |
| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
This builder for chaining. |
setServiceNamespace(String value)
public Service.MeshIstio.Builder setServiceNamespace(String value) The namespace of the Istio service underlying this service. Corresponds
to the destination_service_namespace metric label in Istio metrics.
string service_namespace = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceNamespace to set. |
| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
This builder for chaining. |
setServiceNamespaceBytes(ByteString value)
public Service.MeshIstio.Builder setServiceNamespaceBytes(ByteString value) The namespace of the Istio service underlying this service. Corresponds
to the destination_service_namespace metric label in Istio metrics.
string service_namespace = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceNamespace to set. |
| Returns | |
|---|---|
| Type | Description |
Service.MeshIstio.Builder |
This builder for chaining. |