Class ServiceConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.api.serviceusage.v1beta1.ServiceConfig
All Implemented Interfaces:
ServiceConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ServiceConfig extends com.google.protobuf.GeneratedMessage implements ServiceConfigOrBuilder
 The configuration of the service.
 
Protobuf type google.api.serviceusage.v1beta1.ServiceConfig
See Also:
  • Field Details

  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.
    • getTitle

      public String getTitle()
       The product title for this service.
       
      string title = 2;
      Specified by:
      getTitle in interface ServiceConfigOrBuilder
      Returns:
      The title.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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 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.
    • getDocumentationOrBuilder

      public 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 Quota getQuota()
       Quota configuration.
       
      .google.api.Quota quota = 10;
      Specified by:
      getQuota in interface ServiceConfigOrBuilder
      Returns:
      The quota.
    • getQuotaOrBuilder

      public 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 Authentication getAuthentication()
       Auth configuration. Contains only the OAuth rules.
       
      .google.api.Authentication authentication = 11;
      Specified by:
      getAuthentication in interface ServiceConfigOrBuilder
      Returns:
      The authentication.
    • getAuthenticationOrBuilder

      public 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 Usage getUsage()
       Configuration controlling usage of this service.
       
      .google.api.Usage usage = 15;
      Specified by:
      getUsage in interface ServiceConfigOrBuilder
      Returns:
      The usage.
    • getUsageOrBuilder

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

      public List<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
    • getEndpointsOrBuilderList

      public List<? extends 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
    • 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 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
    • getEndpointsOrBuilder

      public 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
    • getMonitoredResourcesList

      public List<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
    • getMonitoredResourcesOrBuilderList

      public List<? extends 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
    • 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 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
    • getMonitoredResourcesOrBuilder

      public 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
    • 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 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.
    • getMonitoringOrBuilder

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 ServiceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static ServiceConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServiceConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServiceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ServiceConfig.Builder newBuilder()
    • newBuilder

      public static ServiceConfig.Builder newBuilder(ServiceConfig prototype)
    • toBuilder

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

      protected ServiceConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ServiceConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ServiceConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<ServiceConfig> 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.GeneratedMessage
    • getDefaultInstanceForType

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