Class Service.ClusterIstio.Builder (3.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public Service.ClusterIstio.Builder clear()
Returns
TypeDescription
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
TypeDescription
Service.ClusterIstio.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public Service.ClusterIstio.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for clusterName.

getDefaultInstanceForType()

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

getDescriptorForType()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Service.ClusterIstio.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The clusterName to set.

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

The bytes for clusterName to set.

Returns
TypeDescription
Service.ClusterIstio.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The location to set.

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

The bytes for location to set.

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

The serviceName to set.

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

The bytes for serviceName to set.

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

The serviceNamespace to set.

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

The bytes for serviceNamespace to set.

Returns
TypeDescription
Service.ClusterIstio.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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