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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubmitConfigSourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SubmitConfigSourceRequest build()
buildPartial()
public SubmitConfigSourceRequest buildPartial()
clear()
public SubmitConfigSourceRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public SubmitConfigSourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SubmitConfigSourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public SubmitConfigSourceRequest.Builder clone()
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];
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];
getDefaultInstanceForType()
public SubmitConfigSourceRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(SubmitConfigSourceRequest other)
public SubmitConfigSourceRequest.Builder mergeFrom(SubmitConfigSourceRequest other)
public SubmitConfigSourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SubmitConfigSourceRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubmitConfigSourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public SubmitConfigSourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubmitConfigSourceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SubmitConfigSourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|