public static final class SubmitConfigSourceRequest.Builder extends GeneratedMessageV3.Builder<SubmitConfigSourceRequest.Builder> implements SubmitConfigSourceRequestOrBuilder
Request message for SubmitConfigSource method.
Protobuf type google.api.servicemanagement.v1.SubmitConfigSourceRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubmitConfigSourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SubmitConfigSourceRequest build()
Returns
buildPartial()
public SubmitConfigSourceRequest buildPartial()
Returns
clear()
public SubmitConfigSourceRequest.Builder clear()
Returns
Overrides
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];
Returns
clearField(Descriptors.FieldDescriptor field)
public SubmitConfigSourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SubmitConfigSourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServiceName()
public SubmitConfigSourceRequest.Builder clearServiceName()
Required. The name of the service. See the
overview for naming requirements. For
example: example.googleapis.com
.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
clone()
public SubmitConfigSourceRequest.Builder clone()
Returns
Overrides
getConfigSource()
public ConfigSource getConfigSource()
Required. The source configuration for the service.
.google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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];
Returns
getConfigSourceOrBuilder()
public ConfigSourceOrBuilder getConfigSourceOrBuilder()
Required. The source configuration for the service.
.google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public SubmitConfigSourceRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getServiceName()
public String getServiceName()
Required. The name of the service. See the
overview for naming requirements. For
example: example.googleapis.com
.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The serviceName.
|
getServiceNameBytes()
public ByteString getServiceNameBytes()
Required. The name of the service. See the
overview for naming requirements. For
example: example.googleapis.com
.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for serviceName.
|
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];
Returns
Type | Description |
boolean | The validateOnly.
|
hasConfigSource()
public boolean hasConfigSource()
Required. The source configuration for the service.
.google.api.servicemanagement.v1.ConfigSource config_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the configSource field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConfigSource(ConfigSource value)
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];
Parameter
Returns
mergeFrom(SubmitConfigSourceRequest other)
public SubmitConfigSourceRequest.Builder mergeFrom(SubmitConfigSourceRequest other)
Parameter
Returns
public SubmitConfigSourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SubmitConfigSourceRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubmitConfigSourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setConfigSource(ConfigSource value)
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];
Parameter
Returns
setConfigSource(ConfigSource.Builder builderForValue)
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];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SubmitConfigSourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubmitConfigSourceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setServiceName(String value)
public SubmitConfigSourceRequest.Builder setServiceName(String value)
Required. The name of the service. See the
overview for naming requirements. For
example: example.googleapis.com
.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The serviceName to set.
|
Returns
setServiceNameBytes(ByteString value)
public SubmitConfigSourceRequest.Builder setServiceNameBytes(ByteString value)
Required. The name of the service. See the
overview for naming requirements. For
example: example.googleapis.com
.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for serviceName to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SubmitConfigSourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setValidateOnly(boolean value)
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];
Parameter
Name | Description |
value | boolean
The validateOnly to set.
|
Returns