Class SubmitConfigSourceRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SubmitConfigSourceRequest.Builder>
com.google.api.servicemanagement.v1.SubmitConfigSourceRequest.Builder
All Implemented Interfaces:
SubmitConfigSourceRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SubmitConfigSourceRequest

public static final class SubmitConfigSourceRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<SubmitConfigSourceRequest.Builder> implements SubmitConfigSourceRequestOrBuilder
 Request message for SubmitConfigSource method.
 
Protobuf type google.api.servicemanagement.v1.SubmitConfigSourceRequest
  • 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.Builder<SubmitConfigSourceRequest.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.GeneratedMessage.Builder<SubmitConfigSourceRequest.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.GeneratedMessage.Builder<SubmitConfigSourceRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public SubmitConfigSourceRequest.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<SubmitConfigSourceRequest.Builder>
      Throws:
      IOException
    • getServiceName

      public String getServiceName()
       Required. The name of the service.  See the
       [overview](https://cloud.google.com/service-management/overview) for naming
       requirements.  For example: `example.googleapis.com`.
       
      string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServiceName in interface SubmitConfigSourceRequestOrBuilder
      Returns:
      The serviceName.
    • getServiceNameBytes

      public com.google.protobuf.ByteString getServiceNameBytes()
       Required. The name of the service.  See the
       [overview](https://cloud.google.com/service-management/overview) for naming
       requirements.  For example: `example.googleapis.com`.
       
      string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServiceNameBytes in interface SubmitConfigSourceRequestOrBuilder
      Returns:
      The bytes for serviceName.
    • setServiceName

      public SubmitConfigSourceRequest.Builder setServiceName(String value)
       Required. The name of the service.  See the
       [overview](https://cloud.google.com/service-management/overview) for naming
       requirements.  For example: `example.googleapis.com`.
       
      string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The serviceName to set.
      Returns:
      This builder for chaining.
    • clearServiceName

      public SubmitConfigSourceRequest.Builder clearServiceName()
       Required. The name of the service.  See the
       [overview](https://cloud.google.com/service-management/overview) for naming
       requirements.  For example: `example.googleapis.com`.
       
      string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setServiceNameBytes

      public SubmitConfigSourceRequest.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the service.  See the
       [overview](https://cloud.google.com/service-management/overview) for naming
       requirements.  For example: `example.googleapis.com`.
       
      string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for serviceName to set.
      Returns:
      This builder for chaining.
    • hasConfigSource

      public boolean hasConfigSource()
       Required. The source configuration for the service.
       
      .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasConfigSource in interface SubmitConfigSourceRequestOrBuilder
      Returns:
      Whether the configSource field is set.
    • getConfigSource

      public ConfigSource getConfigSource()
       Required. The source configuration for the service.
       
      .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getConfigSource in interface SubmitConfigSourceRequestOrBuilder
      Returns:
      The configSource.
    • setConfigSource

      public SubmitConfigSourceRequest.Builder setConfigSource(ConfigSource value)
       Required. The source configuration for the service.
       
      .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];
    • setConfigSource

      public SubmitConfigSourceRequest.Builder setConfigSource(ConfigSource.Builder builderForValue)
       Required. The source configuration for the service.
       
      .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeConfigSource

      public SubmitConfigSourceRequest.Builder mergeConfigSource(ConfigSource value)
       Required. The source configuration for the service.
       
      .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearConfigSource

      public SubmitConfigSourceRequest.Builder clearConfigSource()
       Required. The source configuration for the service.
       
      .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];
    • getConfigSourceBuilder

      public ConfigSource.Builder getConfigSourceBuilder()
       Required. The source configuration for the service.
       
      .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];
    • getConfigSourceOrBuilder

      public ConfigSourceOrBuilder getConfigSourceOrBuilder()
       Required. The source configuration for the service.
       
      .google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getConfigSourceOrBuilder in interface SubmitConfigSourceRequestOrBuilder
    • getValidateOnly

      public boolean getValidateOnly()
       Optional. If set, this will result in the generation of a
       `google.api.Service` configuration based on the `ConfigSource` provided,
       but the generated config and the sources will NOT be persisted.
       
      bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValidateOnly in interface SubmitConfigSourceRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public SubmitConfigSourceRequest.Builder setValidateOnly(boolean value)
       Optional. If set, this will result in the generation of a
       `google.api.Service` configuration based on the `ConfigSource` provided,
       but the generated config and the sources will NOT be persisted.
       
      bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public SubmitConfigSourceRequest.Builder clearValidateOnly()
       Optional. If set, this will result in the generation of a
       `google.api.Service` configuration based on the `ConfigSource` provided,
       but the generated config and the sources will NOT be persisted.
       
      bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.