Class Service.IstioCanonicalService.Builder

    • Method Detail

      • 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.Builder<Service.IstioCanonicalService.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Service.IstioCanonicalService.Builder>
      • getDefaultInstanceForType

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

        public Service.IstioCanonicalService build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Service.IstioCanonicalService buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Service.IstioCanonicalService.Builder>
      • mergeFrom

        public Service.IstioCanonicalService.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.IstioCanonicalService.Builder>
        Throws:
        IOException
      • 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](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string mesh_uid = 1;
        Specified by:
        getMeshUid in interface Service.IstioCanonicalServiceOrBuilder
        Returns:
        The meshUid.
      • getMeshUidBytes

        public com.google.protobuf.ByteString getMeshUidBytes()
         Identifier for the Istio mesh in which this canonical service is defined.
         Corresponds to the `mesh_uid` metric label in
         [Istio metrics](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string mesh_uid = 1;
        Specified by:
        getMeshUidBytes in interface Service.IstioCanonicalServiceOrBuilder
        Returns:
        The bytes for meshUid.
      • setMeshUid

        public Service.IstioCanonicalService.Builder setMeshUid​(String value)
         Identifier for the Istio mesh in which this canonical service is defined.
         Corresponds to the `mesh_uid` metric label in
         [Istio metrics](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string mesh_uid = 1;
        Parameters:
        value - The meshUid to set.
        Returns:
        This builder for chaining.
      • clearMeshUid

        public Service.IstioCanonicalService.Builder clearMeshUid()
         Identifier for the Istio mesh in which this canonical service is defined.
         Corresponds to the `mesh_uid` metric label in
         [Istio metrics](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string mesh_uid = 1;
        Returns:
        This builder for chaining.
      • setMeshUidBytes

        public Service.IstioCanonicalService.Builder setMeshUidBytes​(com.google.protobuf.ByteString value)
         Identifier for the Istio mesh in which this canonical service is defined.
         Corresponds to the `mesh_uid` metric label in
         [Istio metrics](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string mesh_uid = 1;
        Parameters:
        value - The bytes for meshUid to set.
        Returns:
        This builder for chaining.
      • 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](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string canonical_service_namespace = 3;
        Specified by:
        getCanonicalServiceNamespace in interface Service.IstioCanonicalServiceOrBuilder
        Returns:
        The canonicalServiceNamespace.
      • getCanonicalServiceNamespaceBytes

        public com.google.protobuf.ByteString getCanonicalServiceNamespaceBytes()
         The namespace of the canonical service underlying this service.
         Corresponds to the `destination_canonical_service_namespace` metric
         label in [Istio
         metrics](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string canonical_service_namespace = 3;
        Specified by:
        getCanonicalServiceNamespaceBytes in interface Service.IstioCanonicalServiceOrBuilder
        Returns:
        The bytes for canonicalServiceNamespace.
      • setCanonicalServiceNamespace

        public Service.IstioCanonicalService.Builder setCanonicalServiceNamespace​(String value)
         The namespace of the canonical service underlying this service.
         Corresponds to the `destination_canonical_service_namespace` metric
         label in [Istio
         metrics](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string canonical_service_namespace = 3;
        Parameters:
        value - The canonicalServiceNamespace to set.
        Returns:
        This builder for chaining.
      • clearCanonicalServiceNamespace

        public Service.IstioCanonicalService.Builder clearCanonicalServiceNamespace()
         The namespace of the canonical service underlying this service.
         Corresponds to the `destination_canonical_service_namespace` metric
         label in [Istio
         metrics](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string canonical_service_namespace = 3;
        Returns:
        This builder for chaining.
      • setCanonicalServiceNamespaceBytes

        public Service.IstioCanonicalService.Builder setCanonicalServiceNamespaceBytes​(com.google.protobuf.ByteString value)
         The namespace of the canonical service underlying this service.
         Corresponds to the `destination_canonical_service_namespace` metric
         label in [Istio
         metrics](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string canonical_service_namespace = 3;
        Parameters:
        value - The bytes for canonicalServiceNamespace to set.
        Returns:
        This builder for chaining.
      • 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](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string canonical_service = 4;
        Specified by:
        getCanonicalService in interface Service.IstioCanonicalServiceOrBuilder
        Returns:
        The canonicalService.
      • getCanonicalServiceBytes

        public com.google.protobuf.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](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string canonical_service = 4;
        Specified by:
        getCanonicalServiceBytes in interface Service.IstioCanonicalServiceOrBuilder
        Returns:
        The bytes for canonicalService.
      • setCanonicalService

        public Service.IstioCanonicalService.Builder setCanonicalService​(String value)
         The name of the canonical service underlying this service.
         Corresponds to the `destination_canonical_service_name` metric label in
         label in [Istio
         metrics](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string canonical_service = 4;
        Parameters:
        value - The canonicalService to set.
        Returns:
        This builder for chaining.
      • clearCanonicalService

        public Service.IstioCanonicalService.Builder clearCanonicalService()
         The name of the canonical service underlying this service.
         Corresponds to the `destination_canonical_service_name` metric label in
         label in [Istio
         metrics](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string canonical_service = 4;
        Returns:
        This builder for chaining.
      • setCanonicalServiceBytes

        public Service.IstioCanonicalService.Builder setCanonicalServiceBytes​(com.google.protobuf.ByteString value)
         The name of the canonical service underlying this service.
         Corresponds to the `destination_canonical_service_name` metric label in
         label in [Istio
         metrics](https://cloud.google.com/monitoring/api/metrics_istio).
         
        string canonical_service = 4;
        Parameters:
        value - The bytes for canonicalService to set.
        Returns:
        This builder for chaining.