Interface SourceOrBuilder (1.28.0)

public interface SourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

The labels of the source.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAws()

public abstract AwsSourceDetails getAws()

AWS type source details.

.google.cloud.vmmigration.v1.AwsSourceDetails aws = 12;

Returns
TypeDescription
AwsSourceDetails

The aws.

getAwsOrBuilder()

public abstract AwsSourceDetailsOrBuilder getAwsOrBuilder()

AWS type source details.

.google.cloud.vmmigration.v1.AwsSourceDetails aws = 12;

Returns
TypeDescription
AwsSourceDetailsOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The create time timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The create time timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDescription()

public abstract String getDescription()

User-provided description of the source.

string description = 6;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

User-provided description of the source.

string description = 6;

Returns
TypeDescription
ByteString

The bytes for description.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

The labels of the source.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

The labels of the source.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

The labels of the source.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

The labels of the source.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getName()

public abstract String getName()

Output only. The Source name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The Source name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getSourceDetailsCase()

public abstract Source.SourceDetailsCase getSourceDetailsCase()
Returns
TypeDescription
Source.SourceDetailsCase

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The update time timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update time timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getVmware()

public abstract VmwareSourceDetails getVmware()

Vmware type source details.

.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;

Returns
TypeDescription
VmwareSourceDetails

The vmware.

getVmwareOrBuilder()

public abstract VmwareSourceDetailsOrBuilder getVmwareOrBuilder()

Vmware type source details.

.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;

Returns
TypeDescription
VmwareSourceDetailsOrBuilder

hasAws()

public abstract boolean hasAws()

AWS type source details.

.google.cloud.vmmigration.v1.AwsSourceDetails aws = 12;

Returns
TypeDescription
boolean

Whether the aws field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The create time timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The update time timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hasVmware()

public abstract boolean hasVmware()

Vmware type source details.

.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;

Returns
TypeDescription
boolean

Whether the vmware field is set.