Class Service.IstioCanonicalService (3.15.0)

public static final class Service.IstioCanonicalService extends GeneratedMessageV3 implements Service.IstioCanonicalServiceOrBuilder

Canonical 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.IstioCanonicalService

Static Fields

CANONICAL_SERVICE_FIELD_NUMBER

public static final int CANONICAL_SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

CANONICAL_SERVICE_NAMESPACE_FIELD_NUMBER

public static final int CANONICAL_SERVICE_NAMESPACE_FIELD_NUMBER
Field Value
TypeDescription
int

MESH_UID_FIELD_NUMBER

public static final int MESH_UID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Service.IstioCanonicalService prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCanonicalService()

public String getCanonicalService()

The name of the canonical service underlying this service. Corresponds to the destination_canonical_service_name metric label in label in Istio metrics.

string canonical_service = 4;

Returns
TypeDescription
String

The canonicalService.

getCanonicalServiceBytes()

public ByteString getCanonicalServiceBytes()

The name of the canonical service underlying this service. Corresponds to the destination_canonical_service_name metric label in label in Istio metrics.

string canonical_service = 4;

Returns
TypeDescription
ByteString

The bytes for canonicalService.

getCanonicalServiceNamespace()

public String getCanonicalServiceNamespace()

The namespace of the canonical service underlying this service. Corresponds to the destination_canonical_service_namespace metric label in Istio metrics.

string canonical_service_namespace = 3;

Returns
TypeDescription
String

The canonicalServiceNamespace.

getCanonicalServiceNamespaceBytes()

public ByteString getCanonicalServiceNamespaceBytes()

The namespace of the canonical service underlying this service. Corresponds to the destination_canonical_service_namespace metric label in Istio metrics.

string canonical_service_namespace = 3;

Returns
TypeDescription
ByteString

The bytes for canonicalServiceNamespace.

getDefaultInstanceForType()

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

getMeshUid()

public String getMeshUid()

Identifier for the Istio mesh in which this canonical 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 Istio mesh in which this canonical service is defined. Corresponds to the mesh_uid metric label in Istio metrics.

string mesh_uid = 1;

Returns
TypeDescription
ByteString

The bytes for meshUid.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.IstioCanonicalService.Builder newBuilderForType()
Returns
TypeDescription
Service.IstioCanonicalService.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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