Class AwsSourceDetails.Tag.Builder (1.51.0)

public static final class AwsSourceDetails.Tag.Builder extends GeneratedMessageV3.Builder<AwsSourceDetails.Tag.Builder> implements AwsSourceDetails.TagOrBuilder

Tag is an AWS tag representation.

Protobuf type google.cloud.vmmigration.v1.AwsSourceDetails.Tag

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsSourceDetails.Tag build()
Returns
Type Description
AwsSourceDetails.Tag

buildPartial()

public AwsSourceDetails.Tag buildPartial()
Returns
Type Description
AwsSourceDetails.Tag

clear()

public AwsSourceDetails.Tag.Builder clear()
Returns
Type Description
AwsSourceDetails.Tag.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearKey()

public AwsSourceDetails.Tag.Builder clearKey()

Key of tag.

string key = 1;

Returns
Type Description
AwsSourceDetails.Tag.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public AwsSourceDetails.Tag.Builder clearValue()

Value of tag.

string value = 2;

Returns
Type Description
AwsSourceDetails.Tag.Builder

This builder for chaining.

clone()

public AwsSourceDetails.Tag.Builder clone()
Returns
Type Description
AwsSourceDetails.Tag.Builder
Overrides

getDefaultInstanceForType()

public AwsSourceDetails.Tag getDefaultInstanceForType()
Returns
Type Description
AwsSourceDetails.Tag

getDescriptorForType()

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

getKey()

public String getKey()

Key of tag.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Key of tag.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getValue()

public String getValue()

Value of tag.

string value = 2;

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

Value of tag.

string value = 2;

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(AwsSourceDetails.Tag other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKey(String value)

public AwsSourceDetails.Tag.Builder setKey(String value)

Key of tag.

string key = 1;

Parameter
Name Description
value String

The key to set.

Returns
Type Description
AwsSourceDetails.Tag.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public AwsSourceDetails.Tag.Builder setKeyBytes(ByteString value)

Key of tag.

string key = 1;

Parameter
Name Description
value ByteString

The bytes for key to set.

Returns
Type Description
AwsSourceDetails.Tag.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(String value)

public AwsSourceDetails.Tag.Builder setValue(String value)

Value of tag.

string value = 2;

Parameter
Name Description
value String

The value to set.

Returns
Type Description
AwsSourceDetails.Tag.Builder

This builder for chaining.

setValueBytes(ByteString value)

public AwsSourceDetails.Tag.Builder setValueBytes(ByteString value)

Value of tag.

string value = 2;

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
AwsSourceDetails.Tag.Builder

This builder for chaining.