public static final class UpdateConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateConfigRequest.Builder> implements UpdateConfigRequestOrBuilder
Request message for the
UpdateConfig method.
Protobuf type google.cloud.speech.v2.UpdateConfigRequest
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 UpdateConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateConfigRequest build()
Returns
buildPartial()
public UpdateConfigRequest buildPartial()
Returns
clear()
public UpdateConfigRequest.Builder clear()
Returns
Overrides
clearConfig()
public UpdateConfigRequest.Builder clearConfig()
Required. The config to update.
The config's name
field is used to identify the config to be updated.
The expected format is projects/{project}/locations/{location}/config
.
.google.cloud.speech.v2.Config config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateConfigRequest.Builder clearUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateConfigRequest.Builder clone()
Returns
Overrides
getConfig()
public Config getConfig()
Required. The config to update.
The config's name
field is used to identify the config to be updated.
The expected format is projects/{project}/locations/{location}/config
.
.google.cloud.speech.v2.Config config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
Config | The config.
|
getConfigBuilder()
public Config.Builder getConfigBuilder()
Required. The config to update.
The config's name
field is used to identify the config to be updated.
The expected format is projects/{project}/locations/{location}/config
.
.google.cloud.speech.v2.Config config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getConfigOrBuilder()
public ConfigOrBuilder getConfigOrBuilder()
Required. The config to update.
The config's name
field is used to identify the config to be updated.
The expected format is projects/{project}/locations/{location}/config
.
.google.cloud.speech.v2.Config config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateConfigRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasConfig()
public boolean hasConfig()
Required. The config to update.
The config's name
field is used to identify the config to be updated.
The expected format is projects/{project}/locations/{location}/config
.
.google.cloud.speech.v2.Config config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the config field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConfig(Config value)
public UpdateConfigRequest.Builder mergeConfig(Config value)
Required. The config to update.
The config's name
field is used to identify the config to be updated.
The expected format is projects/{project}/locations/{location}/config
.
.google.cloud.speech.v2.Config config = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateConfigRequest other)
public UpdateConfigRequest.Builder mergeFrom(UpdateConfigRequest other)
Parameter
Returns
public UpdateConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateConfigRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateConfigRequest.Builder mergeUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setConfig(Config value)
public UpdateConfigRequest.Builder setConfig(Config value)
Required. The config to update.
The config's name
field is used to identify the config to be updated.
The expected format is projects/{project}/locations/{location}/config
.
.google.cloud.speech.v2.Config config = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setConfig(Config.Builder builderForValue)
public UpdateConfigRequest.Builder setConfig(Config.Builder builderForValue)
Required. The config to update.
The config's name
field is used to identify the config to be updated.
The expected format is projects/{project}/locations/{location}/config
.
.google.cloud.speech.v2.Config config = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateConfigRequest.Builder setUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns