Class AwsSourceDetails.Tag.Builder (1.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsSourceDetails.Tag build()
Returns
TypeDescription
AwsSourceDetails.Tag

buildPartial()

public AwsSourceDetails.Tag buildPartial()
Returns
TypeDescription
AwsSourceDetails.Tag

clear()

public AwsSourceDetails.Tag.Builder clear()
Returns
TypeDescription
AwsSourceDetails.Tag.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearKey()

public AwsSourceDetails.Tag.Builder clearKey()

Key of tag.

string key = 1;

Returns
TypeDescription
AwsSourceDetails.Tag.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public AwsSourceDetails.Tag.Builder clearValue()

Value of tag.

string value = 2;

Returns
TypeDescription
AwsSourceDetails.Tag.Builder

This builder for chaining.

clone()

public AwsSourceDetails.Tag.Builder clone()
Returns
TypeDescription
AwsSourceDetails.Tag.Builder
Overrides

getDefaultInstanceForType()

public AwsSourceDetails.Tag getDefaultInstanceForType()
Returns
TypeDescription
AwsSourceDetails.Tag

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKey()

public String getKey()

Key of tag.

string key = 1;

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Key of tag.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getValue()

public String getValue()

Value of tag.

string value = 2;

Returns
TypeDescription
String

The value.

getValueBytes()

public ByteString getValueBytes()

Value of tag.

string value = 2;

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

public AwsSourceDetails.Tag.Builder mergeFrom(AwsSourceDetails.Tag other)
Parameter
NameDescription
otherAwsSourceDetails.Tag
Returns
TypeDescription
AwsSourceDetails.Tag.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKey(String value)

public AwsSourceDetails.Tag.Builder setKey(String value)

Key of tag.

string key = 1;

Parameter
NameDescription
valueString

The key to set.

Returns
TypeDescription
AwsSourceDetails.Tag.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public AwsSourceDetails.Tag.Builder setKeyBytes(ByteString value)

Key of tag.

string key = 1;

Parameter
NameDescription
valueByteString

The bytes for key to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AwsSourceDetails.Tag.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsSourceDetails.Tag.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsSourceDetails.Tag.Builder
Overrides

setValue(String value)

public AwsSourceDetails.Tag.Builder setValue(String value)

Value of tag.

string value = 2;

Parameter
NameDescription
valueString

The value to set.

Returns
TypeDescription
AwsSourceDetails.Tag.Builder

This builder for chaining.

setValueBytes(ByteString value)

public AwsSourceDetails.Tag.Builder setValueBytes(ByteString value)

Value of tag.

string value = 2;

Parameter
NameDescription
valueByteString

The bytes for value to set.

Returns
TypeDescription
AwsSourceDetails.Tag.Builder

This builder for chaining.