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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 UpdateConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateConfigRequest build()
buildPartial()
public UpdateConfigRequest buildPartial()
clear()
public UpdateConfigRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateConfigRequest.Builder clearUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
clone()
public UpdateConfigRequest.Builder clone()
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];
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];
getDefaultInstanceForType()
public UpdateConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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
|
mergeFrom(UpdateConfigRequest other)
public UpdateConfigRequest.Builder mergeFrom(UpdateConfigRequest other)
public UpdateConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateConfigRequest.Builder mergeUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
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
|
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateConfigRequest.Builder setUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
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
|