Class AwsSourceDetails.Tag (1.30.0)

public static final class AwsSourceDetails.Tag extends GeneratedMessageV3 implements AwsSourceDetails.TagOrBuilder

Tag is an AWS tag representation.

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

Static Fields

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsSourceDetails.Tag getDefaultInstance()
Returns
TypeDescription
AwsSourceDetails.Tag

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AwsSourceDetails.Tag.Builder newBuilder()
Returns
TypeDescription
AwsSourceDetails.Tag.Builder

newBuilder(AwsSourceDetails.Tag prototype)

public static AwsSourceDetails.Tag.Builder newBuilder(AwsSourceDetails.Tag prototype)
Parameter
NameDescription
prototypeAwsSourceDetails.Tag
Returns
TypeDescription
AwsSourceDetails.Tag.Builder

parseDelimitedFrom(InputStream input)

public static AwsSourceDetails.Tag parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsSourceDetails.Tag
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsSourceDetails.Tag parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsSourceDetails.Tag
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AwsSourceDetails.Tag parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AwsSourceDetails.Tag
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AwsSourceDetails.Tag parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsSourceDetails.Tag
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AwsSourceDetails.Tag parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AwsSourceDetails.Tag
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AwsSourceDetails.Tag parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsSourceDetails.Tag
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AwsSourceDetails.Tag parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AwsSourceDetails.Tag
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsSourceDetails.Tag parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsSourceDetails.Tag
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AwsSourceDetails.Tag parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsSourceDetails.Tag
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsSourceDetails.Tag parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsSourceDetails.Tag
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AwsSourceDetails.Tag parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AwsSourceDetails.Tag
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AwsSourceDetails.Tag parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsSourceDetails.Tag
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AwsSourceDetails.Tag> parser()
Returns
TypeDescription
Parser<Tag>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<AwsSourceDetails.Tag> getParserForType()
Returns
TypeDescription
Parser<Tag>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AwsSourceDetails.Tag.Builder newBuilderForType()
Returns
TypeDescription
AwsSourceDetails.Tag.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AwsSourceDetails.Tag.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AwsSourceDetails.Tag.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AwsSourceDetails.Tag.Builder toBuilder()
Returns
TypeDescription
AwsSourceDetails.Tag.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException