Class Service.Builder

  • All Implemented Interfaces:
    ServiceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Service

    public static final class Service.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
    implements ServiceOrBuilder
     A `Service` is a discrete, autonomous, and network-accessible unit, designed
     to solve an individual concern
     ([Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)). In
     Cloud Monitoring, a `Service` acts as the root resource under which
     operational aspects of the service are accessible.
     
    Protobuf type google.monitoring.v3.Service
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • clear

        public Service.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Service.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.Builder>
      • getDefaultInstanceForType

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

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

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

        public Service.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • setField

        public Service.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                        Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • clearField

        public Service.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • clearOneof

        public Service.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • setRepeatedField

        public Service.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                int index,
                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • addRepeatedField

        public Service.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • mergeFrom

        public Service.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.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.Builder>
      • mergeFrom

        public Service.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.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Resource name for this Service. The format is:
        
             projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
         
        string name = 1;
        Specified by:
        getName in interface ServiceOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Resource name for this Service. The format is:
        
             projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
         
        string name = 1;
        Specified by:
        getNameBytes in interface ServiceOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Service.Builder setName​(String value)
         Resource name for this Service. The format is:
        
             projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Service.Builder clearName()
         Resource name for this Service. The format is:
        
             projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Service.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Resource name for this Service. The format is:
        
             projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDisplayName

        public String getDisplayName()
         Name used for UI elements listing this Service.
         
        string display_name = 2;
        Specified by:
        getDisplayName in interface ServiceOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Name used for UI elements listing this Service.
         
        string display_name = 2;
        Specified by:
        getDisplayNameBytes in interface ServiceOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public Service.Builder setDisplayName​(String value)
         Name used for UI elements listing this Service.
         
        string display_name = 2;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public Service.Builder clearDisplayName()
         Name used for UI elements listing this Service.
         
        string display_name = 2;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public Service.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         Name used for UI elements listing this Service.
         
        string display_name = 2;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • hasCustom

        public boolean hasCustom()
         Custom service type.
         
        .google.monitoring.v3.Service.Custom custom = 6;
        Specified by:
        hasCustom in interface ServiceOrBuilder
        Returns:
        Whether the custom field is set.
      • mergeCustom

        public Service.Builder mergeCustom​(Service.Custom value)
         Custom service type.
         
        .google.monitoring.v3.Service.Custom custom = 6;
      • clearCustom

        public Service.Builder clearCustom()
         Custom service type.
         
        .google.monitoring.v3.Service.Custom custom = 6;
      • getCustomBuilder

        public Service.Custom.Builder getCustomBuilder()
         Custom service type.
         
        .google.monitoring.v3.Service.Custom custom = 6;
      • hasAppEngine

        public boolean hasAppEngine()
         Type used for App Engine services.
         
        .google.monitoring.v3.Service.AppEngine app_engine = 7;
        Specified by:
        hasAppEngine in interface ServiceOrBuilder
        Returns:
        Whether the appEngine field is set.
      • getAppEngine

        public Service.AppEngine getAppEngine()
         Type used for App Engine services.
         
        .google.monitoring.v3.Service.AppEngine app_engine = 7;
        Specified by:
        getAppEngine in interface ServiceOrBuilder
        Returns:
        The appEngine.
      • setAppEngine

        public Service.Builder setAppEngine​(Service.AppEngine value)
         Type used for App Engine services.
         
        .google.monitoring.v3.Service.AppEngine app_engine = 7;
      • mergeAppEngine

        public Service.Builder mergeAppEngine​(Service.AppEngine value)
         Type used for App Engine services.
         
        .google.monitoring.v3.Service.AppEngine app_engine = 7;
      • clearAppEngine

        public Service.Builder clearAppEngine()
         Type used for App Engine services.
         
        .google.monitoring.v3.Service.AppEngine app_engine = 7;
      • getAppEngineBuilder

        public Service.AppEngine.Builder getAppEngineBuilder()
         Type used for App Engine services.
         
        .google.monitoring.v3.Service.AppEngine app_engine = 7;
      • hasCloudEndpoints

        public boolean hasCloudEndpoints()
         Type used for Cloud Endpoints services.
         
        .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
        Specified by:
        hasCloudEndpoints in interface ServiceOrBuilder
        Returns:
        Whether the cloudEndpoints field is set.
      • setCloudEndpoints

        public Service.Builder setCloudEndpoints​(Service.CloudEndpoints value)
         Type used for Cloud Endpoints services.
         
        .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
      • mergeCloudEndpoints

        public Service.Builder mergeCloudEndpoints​(Service.CloudEndpoints value)
         Type used for Cloud Endpoints services.
         
        .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
      • clearCloudEndpoints

        public Service.Builder clearCloudEndpoints()
         Type used for Cloud Endpoints services.
         
        .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
      • getCloudEndpointsBuilder

        public Service.CloudEndpoints.Builder getCloudEndpointsBuilder()
         Type used for Cloud Endpoints services.
         
        .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8;
      • hasClusterIstio

        public boolean hasClusterIstio()
         Type used for Istio services that live in a Kubernetes cluster.
         
        .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
        Specified by:
        hasClusterIstio in interface ServiceOrBuilder
        Returns:
        Whether the clusterIstio field is set.
      • getClusterIstio

        public Service.ClusterIstio getClusterIstio()
         Type used for Istio services that live in a Kubernetes cluster.
         
        .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
        Specified by:
        getClusterIstio in interface ServiceOrBuilder
        Returns:
        The clusterIstio.
      • setClusterIstio

        public Service.Builder setClusterIstio​(Service.ClusterIstio value)
         Type used for Istio services that live in a Kubernetes cluster.
         
        .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
      • setClusterIstio

        public Service.Builder setClusterIstio​(Service.ClusterIstio.Builder builderForValue)
         Type used for Istio services that live in a Kubernetes cluster.
         
        .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
      • mergeClusterIstio

        public Service.Builder mergeClusterIstio​(Service.ClusterIstio value)
         Type used for Istio services that live in a Kubernetes cluster.
         
        .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
      • clearClusterIstio

        public Service.Builder clearClusterIstio()
         Type used for Istio services that live in a Kubernetes cluster.
         
        .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
      • getClusterIstioBuilder

        public Service.ClusterIstio.Builder getClusterIstioBuilder()
         Type used for Istio services that live in a Kubernetes cluster.
         
        .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9;
      • hasMeshIstio

        public boolean hasMeshIstio()
         Type used for Istio services scoped to an Istio mesh.
         
        .google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
        Specified by:
        hasMeshIstio in interface ServiceOrBuilder
        Returns:
        Whether the meshIstio field is set.
      • getMeshIstio

        public Service.MeshIstio getMeshIstio()
         Type used for Istio services scoped to an Istio mesh.
         
        .google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
        Specified by:
        getMeshIstio in interface ServiceOrBuilder
        Returns:
        The meshIstio.
      • setMeshIstio

        public Service.Builder setMeshIstio​(Service.MeshIstio value)
         Type used for Istio services scoped to an Istio mesh.
         
        .google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
      • setMeshIstio

        public Service.Builder setMeshIstio​(Service.MeshIstio.Builder builderForValue)
         Type used for Istio services scoped to an Istio mesh.
         
        .google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
      • mergeMeshIstio

        public Service.Builder mergeMeshIstio​(Service.MeshIstio value)
         Type used for Istio services scoped to an Istio mesh.
         
        .google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
      • clearMeshIstio

        public Service.Builder clearMeshIstio()
         Type used for Istio services scoped to an Istio mesh.
         
        .google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
      • getMeshIstioBuilder

        public Service.MeshIstio.Builder getMeshIstioBuilder()
         Type used for Istio services scoped to an Istio mesh.
         
        .google.monitoring.v3.Service.MeshIstio mesh_istio = 10;
      • hasIstioCanonicalService

        public boolean hasIstioCanonicalService()
         Type used for canonical services scoped to an Istio mesh.
         Metrics for Istio are
         [documented here](https://istio.io/latest/docs/reference/config/metrics/)
         
        .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
        Specified by:
        hasIstioCanonicalService in interface ServiceOrBuilder
        Returns:
        Whether the istioCanonicalService field is set.
      • getIstioCanonicalService

        public Service.IstioCanonicalService getIstioCanonicalService()
         Type used for canonical services scoped to an Istio mesh.
         Metrics for Istio are
         [documented here](https://istio.io/latest/docs/reference/config/metrics/)
         
        .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
        Specified by:
        getIstioCanonicalService in interface ServiceOrBuilder
        Returns:
        The istioCanonicalService.
      • setIstioCanonicalService

        public Service.Builder setIstioCanonicalService​(Service.IstioCanonicalService value)
         Type used for canonical services scoped to an Istio mesh.
         Metrics for Istio are
         [documented here](https://istio.io/latest/docs/reference/config/metrics/)
         
        .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
      • setIstioCanonicalService

        public Service.Builder setIstioCanonicalService​(Service.IstioCanonicalService.Builder builderForValue)
         Type used for canonical services scoped to an Istio mesh.
         Metrics for Istio are
         [documented here](https://istio.io/latest/docs/reference/config/metrics/)
         
        .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
      • mergeIstioCanonicalService

        public Service.Builder mergeIstioCanonicalService​(Service.IstioCanonicalService value)
         Type used for canonical services scoped to an Istio mesh.
         Metrics for Istio are
         [documented here](https://istio.io/latest/docs/reference/config/metrics/)
         
        .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
      • clearIstioCanonicalService

        public Service.Builder clearIstioCanonicalService()
         Type used for canonical services scoped to an Istio mesh.
         Metrics for Istio are
         [documented here](https://istio.io/latest/docs/reference/config/metrics/)
         
        .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
      • getIstioCanonicalServiceBuilder

        public Service.IstioCanonicalService.Builder getIstioCanonicalServiceBuilder()
         Type used for canonical services scoped to an Istio mesh.
         Metrics for Istio are
         [documented here](https://istio.io/latest/docs/reference/config/metrics/)
         
        .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
      • getIstioCanonicalServiceOrBuilder

        public Service.IstioCanonicalServiceOrBuilder getIstioCanonicalServiceOrBuilder()
         Type used for canonical services scoped to an Istio mesh.
         Metrics for Istio are
         [documented here](https://istio.io/latest/docs/reference/config/metrics/)
         
        .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
        Specified by:
        getIstioCanonicalServiceOrBuilder in interface ServiceOrBuilder
      • hasTelemetry

        public boolean hasTelemetry()
         Configuration for how to query telemetry on a Service.
         
        .google.monitoring.v3.Service.Telemetry telemetry = 13;
        Specified by:
        hasTelemetry in interface ServiceOrBuilder
        Returns:
        Whether the telemetry field is set.
      • getTelemetry

        public Service.Telemetry getTelemetry()
         Configuration for how to query telemetry on a Service.
         
        .google.monitoring.v3.Service.Telemetry telemetry = 13;
        Specified by:
        getTelemetry in interface ServiceOrBuilder
        Returns:
        The telemetry.
      • setTelemetry

        public Service.Builder setTelemetry​(Service.Telemetry value)
         Configuration for how to query telemetry on a Service.
         
        .google.monitoring.v3.Service.Telemetry telemetry = 13;
      • setTelemetry

        public Service.Builder setTelemetry​(Service.Telemetry.Builder builderForValue)
         Configuration for how to query telemetry on a Service.
         
        .google.monitoring.v3.Service.Telemetry telemetry = 13;
      • mergeTelemetry

        public Service.Builder mergeTelemetry​(Service.Telemetry value)
         Configuration for how to query telemetry on a Service.
         
        .google.monitoring.v3.Service.Telemetry telemetry = 13;
      • clearTelemetry

        public Service.Builder clearTelemetry()
         Configuration for how to query telemetry on a Service.
         
        .google.monitoring.v3.Service.Telemetry telemetry = 13;
      • getTelemetryBuilder

        public Service.Telemetry.Builder getTelemetryBuilder()
         Configuration for how to query telemetry on a Service.
         
        .google.monitoring.v3.Service.Telemetry telemetry = 13;
      • getUserLabelsCount

        public int getUserLabelsCount()
        Description copied from interface: ServiceOrBuilder
         Labels which have been used to annotate the service. Label keys must start
         with a letter. Label keys and values may contain lowercase letters,
         numbers, underscores, and dashes. Label keys and values have a maximum
         length of 63 characters, and must be less than 128 bytes in size. Up to 64
         label entries may be stored. For labels which do not have a semantic value,
         the empty string may be supplied for the label value.
         
        map<string, string> user_labels = 14;
        Specified by:
        getUserLabelsCount in interface ServiceOrBuilder
      • containsUserLabels

        public boolean containsUserLabels​(String key)
         Labels which have been used to annotate the service. Label keys must start
         with a letter. Label keys and values may contain lowercase letters,
         numbers, underscores, and dashes. Label keys and values have a maximum
         length of 63 characters, and must be less than 128 bytes in size. Up to 64
         label entries may be stored. For labels which do not have a semantic value,
         the empty string may be supplied for the label value.
         
        map<string, string> user_labels = 14;
        Specified by:
        containsUserLabels in interface ServiceOrBuilder
      • getUserLabelsMap

        public Map<String,​String> getUserLabelsMap()
         Labels which have been used to annotate the service. Label keys must start
         with a letter. Label keys and values may contain lowercase letters,
         numbers, underscores, and dashes. Label keys and values have a maximum
         length of 63 characters, and must be less than 128 bytes in size. Up to 64
         label entries may be stored. For labels which do not have a semantic value,
         the empty string may be supplied for the label value.
         
        map<string, string> user_labels = 14;
        Specified by:
        getUserLabelsMap in interface ServiceOrBuilder
      • getUserLabelsOrDefault

        public String getUserLabelsOrDefault​(String key,
                                             String defaultValue)
         Labels which have been used to annotate the service. Label keys must start
         with a letter. Label keys and values may contain lowercase letters,
         numbers, underscores, and dashes. Label keys and values have a maximum
         length of 63 characters, and must be less than 128 bytes in size. Up to 64
         label entries may be stored. For labels which do not have a semantic value,
         the empty string may be supplied for the label value.
         
        map<string, string> user_labels = 14;
        Specified by:
        getUserLabelsOrDefault in interface ServiceOrBuilder
      • getUserLabelsOrThrow

        public String getUserLabelsOrThrow​(String key)
         Labels which have been used to annotate the service. Label keys must start
         with a letter. Label keys and values may contain lowercase letters,
         numbers, underscores, and dashes. Label keys and values have a maximum
         length of 63 characters, and must be less than 128 bytes in size. Up to 64
         label entries may be stored. For labels which do not have a semantic value,
         the empty string may be supplied for the label value.
         
        map<string, string> user_labels = 14;
        Specified by:
        getUserLabelsOrThrow in interface ServiceOrBuilder
      • removeUserLabels

        public Service.Builder removeUserLabels​(String key)
         Labels which have been used to annotate the service. Label keys must start
         with a letter. Label keys and values may contain lowercase letters,
         numbers, underscores, and dashes. Label keys and values have a maximum
         length of 63 characters, and must be less than 128 bytes in size. Up to 64
         label entries may be stored. For labels which do not have a semantic value,
         the empty string may be supplied for the label value.
         
        map<string, string> user_labels = 14;
      • getMutableUserLabels

        @Deprecated
        public Map<String,​String> getMutableUserLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putUserLabels

        public Service.Builder putUserLabels​(String key,
                                             String value)
         Labels which have been used to annotate the service. Label keys must start
         with a letter. Label keys and values may contain lowercase letters,
         numbers, underscores, and dashes. Label keys and values have a maximum
         length of 63 characters, and must be less than 128 bytes in size. Up to 64
         label entries may be stored. For labels which do not have a semantic value,
         the empty string may be supplied for the label value.
         
        map<string, string> user_labels = 14;
      • putAllUserLabels

        public Service.Builder putAllUserLabels​(Map<String,​String> values)
         Labels which have been used to annotate the service. Label keys must start
         with a letter. Label keys and values may contain lowercase letters,
         numbers, underscores, and dashes. Label keys and values have a maximum
         length of 63 characters, and must be less than 128 bytes in size. Up to 64
         label entries may be stored. For labels which do not have a semantic value,
         the empty string may be supplied for the label value.
         
        map<string, string> user_labels = 14;
      • setUnknownFields

        public final Service.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
      • mergeUnknownFields

        public final Service.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>