Class Service.MeshIstio.Builder (3.53.0)

public static final class Service.MeshIstio.Builder extends GeneratedMessageV3.Builder<Service.MeshIstio.Builder> implements Service.MeshIstioOrBuilder

Istio 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Service.MeshIstio.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Service.MeshIstio.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public Service.MeshIstio.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Service.MeshIstio.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public Service.MeshIstio.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Service.MeshIstio.Builder
Overrides

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.

clone()

public Service.MeshIstio.Builder clone()
Returns
Type Description
Service.MeshIstio.Builder
Overrides

getDefaultInstanceForType()

public Service.MeshIstio getDefaultInstanceForType()
Returns
Type Description
Service.MeshIstio

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Service.MeshIstio.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Service.MeshIstio.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Service.MeshIstio.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Service.MeshIstio.Builder
Overrides

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 String

The 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 ByteString

The bytes for meshUid to set.

Returns
Type Description
Service.MeshIstio.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Service.MeshIstio.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Service.MeshIstio.Builder
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for serviceNamespace to set.

Returns
Type Description
Service.MeshIstio.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Service.MeshIstio.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Service.MeshIstio.Builder
Overrides