Class Service.MeshIstio.Builder (3.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Service.MeshIstio.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Service.MeshIstio.Builder
Overrides

build()

public Service.MeshIstio build()
Returns
TypeDescription
Service.MeshIstio

buildPartial()

public Service.MeshIstio buildPartial()
Returns
TypeDescription
Service.MeshIstio

clear()

public Service.MeshIstio.Builder clear()
Returns
TypeDescription
Service.MeshIstio.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Service.MeshIstio.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Service.MeshIstio.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Service.MeshIstio.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Service.MeshIstio.Builder

This builder for chaining.

clone()

public Service.MeshIstio.Builder clone()
Returns
TypeDescription
Service.MeshIstio.Builder
Overrides

getDefaultInstanceForType()

public Service.MeshIstio getDefaultInstanceForType()
Returns
TypeDescription
Service.MeshIstio

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for serviceNamespace.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Service.MeshIstio other)

public Service.MeshIstio.Builder mergeFrom(Service.MeshIstio other)
Parameter
NameDescription
otherService.MeshIstio
Returns
TypeDescription
Service.MeshIstio.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Service.MeshIstio.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service.MeshIstio.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Service.MeshIstio.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Service.MeshIstio.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Service.MeshIstio.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Service.MeshIstio.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Service.MeshIstio.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The meshUid to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for meshUid to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The serviceName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceName to set.

Returns
TypeDescription
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
NameDescription
valueString

The serviceNamespace to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceNamespace to set.

Returns
TypeDescription
Service.MeshIstio.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Service.MeshIstio.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Service.MeshIstio.Builder
Overrides