Class Service.ClusterIstio

  • All Implemented Interfaces:
    Service.ClusterIstioOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    Enclosing class:
    Service

    public static final class Service.ClusterIstio
    extends com.google.protobuf.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
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Service.ClusterIstio.Builder
      Istio service scoped to a single Kubernetes cluster.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Detail

      • CLUSTER_NAME_FIELD_NUMBER

        public static final int CLUSTER_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICE_NAMESPACE_FIELD_NUMBER

        public static final int SERVICE_NAMESPACE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICE_NAME_FIELD_NUMBER

        public static final int SERVICE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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;
        Specified by:
        getLocation in interface Service.ClusterIstioOrBuilder
        Returns:
        The location.
      • getLocationBytes

        public com.google.protobuf.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;
        Specified by:
        getLocationBytes in interface Service.ClusterIstioOrBuilder
        Returns:
        The bytes for location.
      • 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;
        Specified by:
        getClusterName in interface Service.ClusterIstioOrBuilder
        Returns:
        The clusterName.
      • getClusterNameBytes

        public com.google.protobuf.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;
        Specified by:
        getClusterNameBytes in interface Service.ClusterIstioOrBuilder
        Returns:
        The bytes for clusterName.
      • 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;
        Specified by:
        getServiceNamespace in interface Service.ClusterIstioOrBuilder
        Returns:
        The serviceNamespace.
      • getServiceNamespaceBytes

        public com.google.protobuf.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;
        Specified by:
        getServiceNamespaceBytes in interface Service.ClusterIstioOrBuilder
        Returns:
        The bytes for serviceNamespace.
      • 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;
        Specified by:
        getServiceName in interface Service.ClusterIstioOrBuilder
        Returns:
        The serviceName.
      • getServiceNameBytes

        public com.google.protobuf.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;
        Specified by:
        getServiceNameBytes in interface Service.ClusterIstioOrBuilder
        Returns:
        The bytes for serviceName.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Service.ClusterIstio parseFrom​(ByteBuffer data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.ClusterIstio parseFrom​(ByteBuffer data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.ClusterIstio parseFrom​(com.google.protobuf.ByteString data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.ClusterIstio parseFrom​(com.google.protobuf.ByteString data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.ClusterIstio parseFrom​(byte[] data)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.ClusterIstio parseFrom​(byte[] data,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public Service.ClusterIstio.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Service.ClusterIstio.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Service.ClusterIstio.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Service.ClusterIstio> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Service.ClusterIstio getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder