Class Service.ClusterIstio (3.4.0)

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

CLUSTER_NAME_FIELD_NUMBER

public static final int CLUSTER_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_NAMESPACE_FIELD_NUMBER

public static final int SERVICE_NAMESPACE_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Service.ClusterIstio getDefaultInstance()
Returns
TypeDescription
Service.ClusterIstio

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Service.ClusterIstio.Builder newBuilder()
Returns
TypeDescription
Service.ClusterIstio.Builder

newBuilder(Service.ClusterIstio prototype)

public static Service.ClusterIstio.Builder newBuilder(Service.ClusterIstio prototype)
Parameter
NameDescription
prototypeService.ClusterIstio
Returns
TypeDescription
Service.ClusterIstio.Builder

parseDelimitedFrom(InputStream input)

public static Service.ClusterIstio parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Service.ClusterIstio
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Service.ClusterIstio parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service.ClusterIstio
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Service.ClusterIstio parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Service.ClusterIstio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Service.ClusterIstio parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service.ClusterIstio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Service.ClusterIstio parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Service.ClusterIstio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Service.ClusterIstio parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service.ClusterIstio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Service.ClusterIstio parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Service.ClusterIstio
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Service.ClusterIstio parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service.ClusterIstio
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Service.ClusterIstio parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Service.ClusterIstio
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Service.ClusterIstio parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service.ClusterIstio
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Service.ClusterIstio parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Service.ClusterIstio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Service.ClusterIstio parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service.ClusterIstio
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Service.ClusterIstio> parser()
Returns
TypeDescription
Parser<ClusterIstio>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<Service.ClusterIstio> getParserForType()
Returns
TypeDescription
Parser<ClusterIstio>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Service.ClusterIstio.Builder newBuilderForType()
Returns
TypeDescription
Service.ClusterIstio.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Service.ClusterIstio.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Service.ClusterIstio.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Service.ClusterIstio.Builder toBuilder()
Returns
TypeDescription
Service.ClusterIstio.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException