Class Service.ClusterIstio.Builder (3.84.0)

public static final class Service.ClusterIstio.Builder extends GeneratedMessage.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

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.

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.

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.

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 GeneratedMessage.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

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.

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.

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.