Class AssignSpecificValue.Builder (2.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AssignSpecificValue build()
Returns
TypeDescription
AssignSpecificValue

buildPartial()

public AssignSpecificValue buildPartial()
Returns
TypeDescription
AssignSpecificValue

clear()

public AssignSpecificValue.Builder clear()
Returns
TypeDescription
AssignSpecificValue.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public AssignSpecificValue.Builder clearValue()

Required. Specific value to be assigned

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

Returns
TypeDescription
AssignSpecificValue.Builder

This builder for chaining.

clone()

public AssignSpecificValue.Builder clone()
Returns
TypeDescription
AssignSpecificValue.Builder
Overrides

getDefaultInstanceForType()

public AssignSpecificValue getDefaultInstanceForType()
Returns
TypeDescription
AssignSpecificValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValue()

public String getValue()

Required. Specific value to be assigned

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

Returns
TypeDescription
String

The value.

getValueBytes()

public ByteString getValueBytes()

Required. Specific value to be assigned

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

Returns
TypeDescription
ByteString

The bytes for value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AssignSpecificValue other)

public AssignSpecificValue.Builder mergeFrom(AssignSpecificValue other)
Parameter
NameDescription
otherAssignSpecificValue
Returns
TypeDescription
AssignSpecificValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AssignSpecificValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AssignSpecificValue.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The value to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for value to set.

Returns
TypeDescription
AssignSpecificValue.Builder

This builder for chaining.