Class UpdateConfigRequest.Builder (3.0.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateConfigRequest.Builder
Overrides

build()

public UpdateConfigRequest build()
Returns
TypeDescription
UpdateConfigRequest

buildPartial()

public UpdateConfigRequest buildPartial()
Returns
TypeDescription
UpdateConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateConfigRequest.Builder
Overrides

clearUpdateMask()

public UpdateConfigRequest.Builder clearUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateConfigRequest.Builder

clone()

public UpdateConfigRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConfigOrBuilder

getDefaultInstanceForType()

public UpdateConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueConfig
Returns
TypeDescription
UpdateConfigRequest.Builder

mergeFrom(UpdateConfigRequest other)

public UpdateConfigRequest.Builder mergeFrom(UpdateConfigRequest other)
Parameter
NameDescription
otherUpdateConfigRequest
Returns
TypeDescription
UpdateConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConfigRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueConfig
Returns
TypeDescription
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
NameDescription
builderForValueConfig.Builder
Returns
TypeDescription
UpdateConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateConfigRequest.Builder
Overrides

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

public UpdateConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateConfigRequest.Builder