Class UpdateConfigRequest.Builder (4.50.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateConfigRequest.Builder
Overrides

build()

public UpdateConfigRequest build()
Returns
Type Description
UpdateConfigRequest

buildPartial()

public UpdateConfigRequest buildPartial()
Returns
Type Description
UpdateConfigRequest

clear()

public UpdateConfigRequest.Builder clear()
Returns
Type Description
UpdateConfigRequest.Builder
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
Type Description
UpdateConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateConfigRequest.Builder
Overrides

clearUpdateMask()

public UpdateConfigRequest.Builder clearUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateConfigRequest.Builder

clone()

public UpdateConfigRequest.Builder clone()
Returns
Type Description
UpdateConfigRequest.Builder
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
Type Description
Config.Builder

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
Type Description
ConfigOrBuilder

getDefaultInstanceForType()

public UpdateConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Name Description
value Config
Returns
Type Description
UpdateConfigRequest.Builder

mergeFrom(UpdateConfigRequest other)

public UpdateConfigRequest.Builder mergeFrom(UpdateConfigRequest other)
Parameter
Name Description
other UpdateConfigRequest
Returns
Type Description
UpdateConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateConfigRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateConfigRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateConfigRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateConfigRequest.Builder

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
Name Description
value Config
Returns
Type Description
UpdateConfigRequest.Builder

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
Name Description
builderForValue Config.Builder
Returns
Type Description
UpdateConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateConfigRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateConfigRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateConfigRequest.Builder setUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateConfigRequest.Builder

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
Type Description
UpdateConfigRequest.Builder