Class SubmitConfigSourceRequest.Builder

    • Method Detail

      • getDescriptor

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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];
      • 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.
      • setUnknownFields

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

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