public static final class AwsSourceDetails.Tag.Builder extends GeneratedMessage.Builder<AwsSourceDetails.Tag.Builder> implements AwsSourceDetails.TagOrBuilderTag is an AWS tag representation.
Protobuf type google.cloud.vmmigration.v1.AwsSourceDetails.Tag
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AwsSourceDetails.Tag.BuilderImplements
AwsSourceDetails.TagOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearKey()
public AwsSourceDetails.Tag.Builder clearKey()Required. Key of tag.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AwsSourceDetails.Tag.Builder |
This builder for chaining. |
clearValue()
public AwsSourceDetails.Tag.Builder clearValue()Required. Value of tag.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AwsSourceDetails.Tag.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AwsSourceDetails.Tag getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AwsSourceDetails.Tag |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKey()
public String getKey()Required. Key of tag.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public ByteString getKeyBytes()Required. Key of tag.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
getValue()
public String getValue()Required. Value of tag.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()Required. Value of tag.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
setKey(String value)
public AwsSourceDetails.Tag.Builder setKey(String value)Required. Key of tag.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe key to set. |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDetails.Tag.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public AwsSourceDetails.Tag.Builder setKeyBytes(ByteString value)Required. Key of tag.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for key to set. |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDetails.Tag.Builder |
This builder for chaining. |
setValue(String value)
public AwsSourceDetails.Tag.Builder setValue(String value)Required. Value of tag.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDetails.Tag.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public AwsSourceDetails.Tag.Builder setValueBytes(ByteString value)Required. Value of tag.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
AwsSourceDetails.Tag.Builder |
This builder for chaining. |