Class Service.ClusterIstio.Builder (3.54.0)

public static final class Service.ClusterIstio.Builder extends GeneratedMessageV3.Builder<Service.ClusterIstio.Builder> implements Service.ClusterIstioOrBuilder

Istio service scoped to a single Kubernetes cluster. Learn more at https://istio.io. Clusters running OSS Istio will have their services ingested as this type.

Protobuf type google.monitoring.v3.Service.ClusterIstio

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Service.ClusterIstio build()
Returns
Type Description
Service.ClusterIstio

buildPartial()

public Service.ClusterIstio buildPartial()
Returns
Type Description
Service.ClusterIstio

clear()

public Service.ClusterIstio.Builder clear()
Returns
Type Description
Service.ClusterIstio.Builder
Overrides

clearClusterName()

public Service.ClusterIstio.Builder clearClusterName()

The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the cluster_name resource label in k8s_cluster resources.

string cluster_name = 2;

Returns
Type Description
Service.ClusterIstio.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLocation()

public Service.ClusterIstio.Builder clearLocation()

The location of the Kubernetes cluster in which this Istio service is defined. Corresponds to the location resource label in k8s_cluster resources.

string location = 1;

Returns
Type Description
Service.ClusterIstio.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceName()

public Service.ClusterIstio.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.ClusterIstio.Builder

This builder for chaining.

clearServiceNamespace()

public Service.ClusterIstio.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.ClusterIstio.Builder

This builder for chaining.

clone()

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

getClusterName()

public String getClusterName()

The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the cluster_name resource label in k8s_cluster resources.

string cluster_name = 2;

Returns
Type Description
String

The clusterName.

getClusterNameBytes()

public ByteString getClusterNameBytes()

The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the cluster_name resource label in k8s_cluster resources.

string cluster_name = 2;

Returns
Type Description
ByteString

The bytes for clusterName.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getLocation()

public String getLocation()

The location of the Kubernetes cluster in which this Istio service is defined. Corresponds to the location resource label in k8s_cluster resources.

string location = 1;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The location of the Kubernetes cluster in which this Istio service is defined. Corresponds to the location resource label in k8s_cluster resources.

string location = 1;

Returns
Type Description
ByteString

The bytes for location.

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.ClusterIstio other)

public Service.ClusterIstio.Builder mergeFrom(Service.ClusterIstio other)
Parameter
Name Description
other Service.ClusterIstio
Returns
Type Description
Service.ClusterIstio.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Service.ClusterIstio.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Service.ClusterIstio.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Service.ClusterIstio.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Service.ClusterIstio.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setClusterName(String value)

public Service.ClusterIstio.Builder setClusterName(String value)

The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the cluster_name resource label in k8s_cluster resources.

string cluster_name = 2;

Parameter
Name Description
value String

The clusterName to set.

Returns
Type Description
Service.ClusterIstio.Builder

This builder for chaining.

setClusterNameBytes(ByteString value)

public Service.ClusterIstio.Builder setClusterNameBytes(ByteString value)

The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the cluster_name resource label in k8s_cluster resources.

string cluster_name = 2;

Parameter
Name Description
value ByteString

The bytes for clusterName to set.

Returns
Type Description
Service.ClusterIstio.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocation(String value)

public Service.ClusterIstio.Builder setLocation(String value)

The location of the Kubernetes cluster in which this Istio service is defined. Corresponds to the location resource label in k8s_cluster resources.

string location = 1;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
Service.ClusterIstio.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public Service.ClusterIstio.Builder setLocationBytes(ByteString value)

The location of the Kubernetes cluster in which this Istio service is defined. Corresponds to the location resource label in k8s_cluster resources.

string location = 1;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
Service.ClusterIstio.Builder

This builder for chaining.

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

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

setServiceName(String value)

public Service.ClusterIstio.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.ClusterIstio.Builder

This builder for chaining.

setServiceNameBytes(ByteString value)

public Service.ClusterIstio.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.ClusterIstio.Builder

This builder for chaining.

setServiceNamespace(String value)

public Service.ClusterIstio.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.ClusterIstio.Builder

This builder for chaining.

setServiceNamespaceBytes(ByteString value)

public Service.ClusterIstio.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.ClusterIstio.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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