Class AssignSpecificValue.Builder (2.41.0)

public static final class AssignSpecificValue.Builder extends GeneratedMessageV3.Builder<AssignSpecificValue.Builder> implements AssignSpecificValueOrBuilder

Set to a specific value (value is converted to fit the target data type)

Protobuf type google.cloud.clouddms.v1.AssignSpecificValue

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AssignSpecificValue build()
Returns
Type Description
AssignSpecificValue

buildPartial()

public AssignSpecificValue buildPartial()
Returns
Type Description
AssignSpecificValue

clear()

public AssignSpecificValue.Builder clear()
Returns
Type Description
AssignSpecificValue.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public AssignSpecificValue.Builder clearValue()

Required. Specific value to be assigned

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AssignSpecificValue.Builder

This builder for chaining.

clone()

public AssignSpecificValue.Builder clone()
Returns
Type Description
AssignSpecificValue.Builder
Overrides

getDefaultInstanceForType()

public AssignSpecificValue getDefaultInstanceForType()
Returns
Type Description
AssignSpecificValue

getDescriptorForType()

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

getValue()

public String getValue()

Required. Specific value to be assigned

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

Required. Specific value to be assigned

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AssignSpecificValue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(String value)

public AssignSpecificValue.Builder setValue(String value)

Required. Specific value to be assigned

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The value to set.

Returns
Type Description
AssignSpecificValue.Builder

This builder for chaining.

setValueBytes(ByteString value)

public AssignSpecificValue.Builder setValueBytes(ByteString value)

Required. Specific value to be assigned

string value = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
AssignSpecificValue.Builder

This builder for chaining.