Class ServiceConfig.Builder

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

    public static final class ServiceConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceConfig.Builder>
    implements ServiceConfigOrBuilder
     The configuration of the service.
     
    Protobuf type google.api.serviceusage.v1beta1.ServiceConfig
    • 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<ServiceConfig.Builder>
      • clear

        public ServiceConfig.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<ServiceConfig.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<ServiceConfig.Builder>
      • getDefaultInstanceForType

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

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

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

        public ServiceConfig.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<ServiceConfig.Builder>
      • setField

        public ServiceConfig.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<ServiceConfig.Builder>
      • clearField

        public ServiceConfig.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<ServiceConfig.Builder>
      • clearOneof

        public ServiceConfig.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<ServiceConfig.Builder>
      • setRepeatedField

        public ServiceConfig.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<ServiceConfig.Builder>
      • addRepeatedField

        public ServiceConfig.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<ServiceConfig.Builder>
      • mergeFrom

        public ServiceConfig.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<ServiceConfig.Builder>
      • isInitialized

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

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

        public String getName()
         The DNS address at which this service is available.
        
         An example DNS address would be:
         `calendar.googleapis.com`.
         
        string name = 1;
        Specified by:
        getName in interface ServiceConfigOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The DNS address at which this service is available.
        
         An example DNS address would be:
         `calendar.googleapis.com`.
         
        string name = 1;
        Specified by:
        getNameBytes in interface ServiceConfigOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ServiceConfig.Builder setName​(String value)
         The DNS address at which this service is available.
        
         An example DNS address would be:
         `calendar.googleapis.com`.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ServiceConfig.Builder clearName()
         The DNS address at which this service is available.
        
         An example DNS address would be:
         `calendar.googleapis.com`.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public ServiceConfig.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The DNS address at which this service is available.
        
         An example DNS address would be:
         `calendar.googleapis.com`.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getTitleBytes

        public com.google.protobuf.ByteString getTitleBytes()
         The product title for this service.
         
        string title = 2;
        Specified by:
        getTitleBytes in interface ServiceConfigOrBuilder
        Returns:
        The bytes for title.
      • setTitle

        public ServiceConfig.Builder setTitle​(String value)
         The product title for this service.
         
        string title = 2;
        Parameters:
        value - The title to set.
        Returns:
        This builder for chaining.
      • clearTitle

        public ServiceConfig.Builder clearTitle()
         The product title for this service.
         
        string title = 2;
        Returns:
        This builder for chaining.
      • setTitleBytes

        public ServiceConfig.Builder setTitleBytes​(com.google.protobuf.ByteString value)
         The product title for this service.
         
        string title = 2;
        Parameters:
        value - The bytes for title to set.
        Returns:
        This builder for chaining.
      • getApisList

        public List<com.google.protobuf.Api> getApisList()
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
        Specified by:
        getApisList in interface ServiceConfigOrBuilder
      • getApisCount

        public int getApisCount()
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
        Specified by:
        getApisCount in interface ServiceConfigOrBuilder
      • getApis

        public com.google.protobuf.Api getApis​(int index)
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
        Specified by:
        getApis in interface ServiceConfigOrBuilder
      • setApis

        public ServiceConfig.Builder setApis​(int index,
                                             com.google.protobuf.Api value)
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • setApis

        public ServiceConfig.Builder setApis​(int index,
                                             com.google.protobuf.Api.Builder builderForValue)
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • addApis

        public ServiceConfig.Builder addApis​(com.google.protobuf.Api value)
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • addApis

        public ServiceConfig.Builder addApis​(int index,
                                             com.google.protobuf.Api value)
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • addApis

        public ServiceConfig.Builder addApis​(com.google.protobuf.Api.Builder builderForValue)
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • addApis

        public ServiceConfig.Builder addApis​(int index,
                                             com.google.protobuf.Api.Builder builderForValue)
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • addAllApis

        public ServiceConfig.Builder addAllApis​(Iterable<? extends com.google.protobuf.Api> values)
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • clearApis

        public ServiceConfig.Builder clearApis()
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • removeApis

        public ServiceConfig.Builder removeApis​(int index)
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • getApisBuilder

        public com.google.protobuf.Api.Builder getApisBuilder​(int index)
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • getApisOrBuilder

        public com.google.protobuf.ApiOrBuilder getApisOrBuilder​(int index)
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
        Specified by:
        getApisOrBuilder in interface ServiceConfigOrBuilder
      • getApisOrBuilderList

        public List<? extends com.google.protobuf.ApiOrBuilder> getApisOrBuilderList()
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
        Specified by:
        getApisOrBuilderList in interface ServiceConfigOrBuilder
      • addApisBuilder

        public com.google.protobuf.Api.Builder addApisBuilder()
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • addApisBuilder

        public com.google.protobuf.Api.Builder addApisBuilder​(int index)
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • getApisBuilderList

        public List<com.google.protobuf.Api.Builder> getApisBuilderList()
         A list of API interfaces exported by this service. Contains only the names,
         versions, and method names of the interfaces.
         
        repeated .google.protobuf.Api apis = 3;
      • hasDocumentation

        public boolean hasDocumentation()
         Additional API documentation. Contains only the summary and the
         documentation URL.
         
        .google.api.Documentation documentation = 6;
        Specified by:
        hasDocumentation in interface ServiceConfigOrBuilder
        Returns:
        Whether the documentation field is set.
      • getDocumentation

        public com.google.api.Documentation getDocumentation()
         Additional API documentation. Contains only the summary and the
         documentation URL.
         
        .google.api.Documentation documentation = 6;
        Specified by:
        getDocumentation in interface ServiceConfigOrBuilder
        Returns:
        The documentation.
      • setDocumentation

        public ServiceConfig.Builder setDocumentation​(com.google.api.Documentation value)
         Additional API documentation. Contains only the summary and the
         documentation URL.
         
        .google.api.Documentation documentation = 6;
      • setDocumentation

        public ServiceConfig.Builder setDocumentation​(com.google.api.Documentation.Builder builderForValue)
         Additional API documentation. Contains only the summary and the
         documentation URL.
         
        .google.api.Documentation documentation = 6;
      • mergeDocumentation

        public ServiceConfig.Builder mergeDocumentation​(com.google.api.Documentation value)
         Additional API documentation. Contains only the summary and the
         documentation URL.
         
        .google.api.Documentation documentation = 6;
      • clearDocumentation

        public ServiceConfig.Builder clearDocumentation()
         Additional API documentation. Contains only the summary and the
         documentation URL.
         
        .google.api.Documentation documentation = 6;
      • getDocumentationBuilder

        public com.google.api.Documentation.Builder getDocumentationBuilder()
         Additional API documentation. Contains only the summary and the
         documentation URL.
         
        .google.api.Documentation documentation = 6;
      • getDocumentationOrBuilder

        public com.google.api.DocumentationOrBuilder getDocumentationOrBuilder()
         Additional API documentation. Contains only the summary and the
         documentation URL.
         
        .google.api.Documentation documentation = 6;
        Specified by:
        getDocumentationOrBuilder in interface ServiceConfigOrBuilder
      • hasQuota

        public boolean hasQuota()
         Quota configuration.
         
        .google.api.Quota quota = 10;
        Specified by:
        hasQuota in interface ServiceConfigOrBuilder
        Returns:
        Whether the quota field is set.
      • getQuota

        public com.google.api.Quota getQuota()
         Quota configuration.
         
        .google.api.Quota quota = 10;
        Specified by:
        getQuota in interface ServiceConfigOrBuilder
        Returns:
        The quota.
      • setQuota

        public ServiceConfig.Builder setQuota​(com.google.api.Quota value)
         Quota configuration.
         
        .google.api.Quota quota = 10;
      • setQuota

        public ServiceConfig.Builder setQuota​(com.google.api.Quota.Builder builderForValue)
         Quota configuration.
         
        .google.api.Quota quota = 10;
      • mergeQuota

        public ServiceConfig.Builder mergeQuota​(com.google.api.Quota value)
         Quota configuration.
         
        .google.api.Quota quota = 10;
      • clearQuota

        public ServiceConfig.Builder clearQuota()
         Quota configuration.
         
        .google.api.Quota quota = 10;
      • getQuotaBuilder

        public com.google.api.Quota.Builder getQuotaBuilder()
         Quota configuration.
         
        .google.api.Quota quota = 10;
      • getQuotaOrBuilder

        public com.google.api.QuotaOrBuilder getQuotaOrBuilder()
         Quota configuration.
         
        .google.api.Quota quota = 10;
        Specified by:
        getQuotaOrBuilder in interface ServiceConfigOrBuilder
      • hasAuthentication

        public boolean hasAuthentication()
         Auth configuration. Contains only the OAuth rules.
         
        .google.api.Authentication authentication = 11;
        Specified by:
        hasAuthentication in interface ServiceConfigOrBuilder
        Returns:
        Whether the authentication field is set.
      • getAuthentication

        public com.google.api.Authentication getAuthentication()
         Auth configuration. Contains only the OAuth rules.
         
        .google.api.Authentication authentication = 11;
        Specified by:
        getAuthentication in interface ServiceConfigOrBuilder
        Returns:
        The authentication.
      • setAuthentication

        public ServiceConfig.Builder setAuthentication​(com.google.api.Authentication value)
         Auth configuration. Contains only the OAuth rules.
         
        .google.api.Authentication authentication = 11;
      • setAuthentication

        public ServiceConfig.Builder setAuthentication​(com.google.api.Authentication.Builder builderForValue)
         Auth configuration. Contains only the OAuth rules.
         
        .google.api.Authentication authentication = 11;
      • mergeAuthentication

        public ServiceConfig.Builder mergeAuthentication​(com.google.api.Authentication value)
         Auth configuration. Contains only the OAuth rules.
         
        .google.api.Authentication authentication = 11;
      • clearAuthentication

        public ServiceConfig.Builder clearAuthentication()
         Auth configuration. Contains only the OAuth rules.
         
        .google.api.Authentication authentication = 11;
      • getAuthenticationBuilder

        public com.google.api.Authentication.Builder getAuthenticationBuilder()
         Auth configuration. Contains only the OAuth rules.
         
        .google.api.Authentication authentication = 11;
      • getAuthenticationOrBuilder

        public com.google.api.AuthenticationOrBuilder getAuthenticationOrBuilder()
         Auth configuration. Contains only the OAuth rules.
         
        .google.api.Authentication authentication = 11;
        Specified by:
        getAuthenticationOrBuilder in interface ServiceConfigOrBuilder
      • hasUsage

        public boolean hasUsage()
         Configuration controlling usage of this service.
         
        .google.api.Usage usage = 15;
        Specified by:
        hasUsage in interface ServiceConfigOrBuilder
        Returns:
        Whether the usage field is set.
      • getUsage

        public com.google.api.Usage getUsage()
         Configuration controlling usage of this service.
         
        .google.api.Usage usage = 15;
        Specified by:
        getUsage in interface ServiceConfigOrBuilder
        Returns:
        The usage.
      • setUsage

        public ServiceConfig.Builder setUsage​(com.google.api.Usage value)
         Configuration controlling usage of this service.
         
        .google.api.Usage usage = 15;
      • setUsage

        public ServiceConfig.Builder setUsage​(com.google.api.Usage.Builder builderForValue)
         Configuration controlling usage of this service.
         
        .google.api.Usage usage = 15;
      • mergeUsage

        public ServiceConfig.Builder mergeUsage​(com.google.api.Usage value)
         Configuration controlling usage of this service.
         
        .google.api.Usage usage = 15;
      • clearUsage

        public ServiceConfig.Builder clearUsage()
         Configuration controlling usage of this service.
         
        .google.api.Usage usage = 15;
      • getUsageBuilder

        public com.google.api.Usage.Builder getUsageBuilder()
         Configuration controlling usage of this service.
         
        .google.api.Usage usage = 15;
      • getUsageOrBuilder

        public com.google.api.UsageOrBuilder getUsageOrBuilder()
         Configuration controlling usage of this service.
         
        .google.api.Usage usage = 15;
        Specified by:
        getUsageOrBuilder in interface ServiceConfigOrBuilder
      • getEndpointsList

        public List<com.google.api.Endpoint> getEndpointsList()
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
        Specified by:
        getEndpointsList in interface ServiceConfigOrBuilder
      • getEndpointsCount

        public int getEndpointsCount()
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
        Specified by:
        getEndpointsCount in interface ServiceConfigOrBuilder
      • getEndpoints

        public com.google.api.Endpoint getEndpoints​(int index)
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
        Specified by:
        getEndpoints in interface ServiceConfigOrBuilder
      • setEndpoints

        public ServiceConfig.Builder setEndpoints​(int index,
                                                  com.google.api.Endpoint value)
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • setEndpoints

        public ServiceConfig.Builder setEndpoints​(int index,
                                                  com.google.api.Endpoint.Builder builderForValue)
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • addEndpoints

        public ServiceConfig.Builder addEndpoints​(com.google.api.Endpoint value)
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • addEndpoints

        public ServiceConfig.Builder addEndpoints​(int index,
                                                  com.google.api.Endpoint value)
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • addEndpoints

        public ServiceConfig.Builder addEndpoints​(com.google.api.Endpoint.Builder builderForValue)
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • addEndpoints

        public ServiceConfig.Builder addEndpoints​(int index,
                                                  com.google.api.Endpoint.Builder builderForValue)
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • addAllEndpoints

        public ServiceConfig.Builder addAllEndpoints​(Iterable<? extends com.google.api.Endpoint> values)
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • clearEndpoints

        public ServiceConfig.Builder clearEndpoints()
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • removeEndpoints

        public ServiceConfig.Builder removeEndpoints​(int index)
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • getEndpointsBuilder

        public com.google.api.Endpoint.Builder getEndpointsBuilder​(int index)
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • getEndpointsOrBuilder

        public com.google.api.EndpointOrBuilder getEndpointsOrBuilder​(int index)
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
        Specified by:
        getEndpointsOrBuilder in interface ServiceConfigOrBuilder
      • getEndpointsOrBuilderList

        public List<? extends com.google.api.EndpointOrBuilder> getEndpointsOrBuilderList()
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
        Specified by:
        getEndpointsOrBuilderList in interface ServiceConfigOrBuilder
      • addEndpointsBuilder

        public com.google.api.Endpoint.Builder addEndpointsBuilder()
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • addEndpointsBuilder

        public com.google.api.Endpoint.Builder addEndpointsBuilder​(int index)
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • getEndpointsBuilderList

        public List<com.google.api.Endpoint.Builder> getEndpointsBuilderList()
         Configuration for network endpoints. Contains only the names and aliases
         of the endpoints.
         
        repeated .google.api.Endpoint endpoints = 18;
      • getMonitoredResourcesList

        public List<com.google.api.MonitoredResourceDescriptor> getMonitoredResourcesList()
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
        Specified by:
        getMonitoredResourcesList in interface ServiceConfigOrBuilder
      • getMonitoredResourcesCount

        public int getMonitoredResourcesCount()
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
        Specified by:
        getMonitoredResourcesCount in interface ServiceConfigOrBuilder
      • getMonitoredResources

        public com.google.api.MonitoredResourceDescriptor getMonitoredResources​(int index)
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
        Specified by:
        getMonitoredResources in interface ServiceConfigOrBuilder
      • setMonitoredResources

        public ServiceConfig.Builder setMonitoredResources​(int index,
                                                           com.google.api.MonitoredResourceDescriptor value)
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • setMonitoredResources

        public ServiceConfig.Builder setMonitoredResources​(int index,
                                                           com.google.api.MonitoredResourceDescriptor.Builder builderForValue)
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • addMonitoredResources

        public ServiceConfig.Builder addMonitoredResources​(com.google.api.MonitoredResourceDescriptor value)
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • addMonitoredResources

        public ServiceConfig.Builder addMonitoredResources​(int index,
                                                           com.google.api.MonitoredResourceDescriptor value)
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • addMonitoredResources

        public ServiceConfig.Builder addMonitoredResources​(com.google.api.MonitoredResourceDescriptor.Builder builderForValue)
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • addMonitoredResources

        public ServiceConfig.Builder addMonitoredResources​(int index,
                                                           com.google.api.MonitoredResourceDescriptor.Builder builderForValue)
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • addAllMonitoredResources

        public ServiceConfig.Builder addAllMonitoredResources​(Iterable<? extends com.google.api.MonitoredResourceDescriptor> values)
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • clearMonitoredResources

        public ServiceConfig.Builder clearMonitoredResources()
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • removeMonitoredResources

        public ServiceConfig.Builder removeMonitoredResources​(int index)
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • getMonitoredResourcesBuilder

        public com.google.api.MonitoredResourceDescriptor.Builder getMonitoredResourcesBuilder​(int index)
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • getMonitoredResourcesOrBuilder

        public com.google.api.MonitoredResourceDescriptorOrBuilder getMonitoredResourcesOrBuilder​(int index)
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
        Specified by:
        getMonitoredResourcesOrBuilder in interface ServiceConfigOrBuilder
      • getMonitoredResourcesOrBuilderList

        public List<? extends com.google.api.MonitoredResourceDescriptorOrBuilder> getMonitoredResourcesOrBuilderList()
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
        Specified by:
        getMonitoredResourcesOrBuilderList in interface ServiceConfigOrBuilder
      • addMonitoredResourcesBuilder

        public com.google.api.MonitoredResourceDescriptor.Builder addMonitoredResourcesBuilder()
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • addMonitoredResourcesBuilder

        public com.google.api.MonitoredResourceDescriptor.Builder addMonitoredResourcesBuilder​(int index)
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • getMonitoredResourcesBuilderList

        public List<com.google.api.MonitoredResourceDescriptor.Builder> getMonitoredResourcesBuilderList()
         Defines the monitored resources used by this service. This is required
         by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
         
        repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
      • hasMonitoring

        public boolean hasMonitoring()
         Monitoring configuration.
         This should not include the 'producer_destinations' field.
         
        .google.api.Monitoring monitoring = 28;
        Specified by:
        hasMonitoring in interface ServiceConfigOrBuilder
        Returns:
        Whether the monitoring field is set.
      • getMonitoring

        public com.google.api.Monitoring getMonitoring()
         Monitoring configuration.
         This should not include the 'producer_destinations' field.
         
        .google.api.Monitoring monitoring = 28;
        Specified by:
        getMonitoring in interface ServiceConfigOrBuilder
        Returns:
        The monitoring.
      • setMonitoring

        public ServiceConfig.Builder setMonitoring​(com.google.api.Monitoring value)
         Monitoring configuration.
         This should not include the 'producer_destinations' field.
         
        .google.api.Monitoring monitoring = 28;
      • setMonitoring

        public ServiceConfig.Builder setMonitoring​(com.google.api.Monitoring.Builder builderForValue)
         Monitoring configuration.
         This should not include the 'producer_destinations' field.
         
        .google.api.Monitoring monitoring = 28;
      • mergeMonitoring

        public ServiceConfig.Builder mergeMonitoring​(com.google.api.Monitoring value)
         Monitoring configuration.
         This should not include the 'producer_destinations' field.
         
        .google.api.Monitoring monitoring = 28;
      • clearMonitoring

        public ServiceConfig.Builder clearMonitoring()
         Monitoring configuration.
         This should not include the 'producer_destinations' field.
         
        .google.api.Monitoring monitoring = 28;
      • getMonitoringBuilder

        public com.google.api.Monitoring.Builder getMonitoringBuilder()
         Monitoring configuration.
         This should not include the 'producer_destinations' field.
         
        .google.api.Monitoring monitoring = 28;
      • getMonitoringOrBuilder

        public com.google.api.MonitoringOrBuilder getMonitoringOrBuilder()
         Monitoring configuration.
         This should not include the 'producer_destinations' field.
         
        .google.api.Monitoring monitoring = 28;
        Specified by:
        getMonitoringOrBuilder in interface ServiceConfigOrBuilder
      • setUnknownFields

        public final ServiceConfig.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<ServiceConfig.Builder>
      • mergeUnknownFields

        public final ServiceConfig.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<ServiceConfig.Builder>