Interface AwsSourceDiskDetailsOrBuilder (1.74.0)

public interface AwsSourceDiskDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsTags(String key)

public abstract boolean containsTags(String key)

Optional. Output only. A map of AWS volume tags.

map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

getDiskType()

public abstract AwsSourceDiskDetails.Type getDiskType()

Optional. Output only. Disk type.

.google.cloud.vmmigration.v1.AwsSourceDiskDetails.Type disk_type = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AwsSourceDiskDetails.Type

The diskType.

getDiskTypeValue()

public abstract int getDiskTypeValue()

Optional. Output only. Disk type.

.google.cloud.vmmigration.v1.AwsSourceDiskDetails.Type disk_type = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for diskType.

getSizeGib()

public abstract long getSizeGib()

Output only. Size in GiB.

int64 size_gib = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The sizeGib.

getTags() (deprecated)

public abstract Map<String,String> getTags()

Use #getTagsMap() instead.

Returns
Type Description
Map<String,String>

getTagsCount()

public abstract int getTagsCount()

Optional. Output only. A map of AWS volume tags.

map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getTagsMap()

public abstract Map<String,String> getTagsMap()

Optional. Output only. A map of AWS volume tags.

map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,String>

getTagsOrDefault(String key, String defaultValue)

public abstract String getTagsOrDefault(String key, String defaultValue)

Optional. Output only. A map of AWS volume tags.

map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getTagsOrThrow(String key)

public abstract String getTagsOrThrow(String key)

Optional. Output only. A map of AWS volume tags.

map<string, string> tags = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
String

getVolumeId()

public abstract String getVolumeId()

Required. AWS volume ID.

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

Returns
Type Description
String

The volumeId.

getVolumeIdBytes()

public abstract ByteString getVolumeIdBytes()

Required. AWS volume ID.

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

Returns
Type Description
ByteString

The bytes for volumeId.