Interface SourceOrBuilder (1.43.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
Name Description
key String
Returns
Type Description
boolean

getAws()

public abstract AwsSourceDetails getAws()

AWS type source details.

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

Returns
Type Description
AwsSourceDetails

The aws.

getAwsOrBuilder()

public abstract AwsSourceDetailsOrBuilder getAwsOrBuilder()

AWS type source details.

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

Returns
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

User-provided description of the source.

string description = 6;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

User-provided description of the source.

string description = 6;

Returns
Type Description
ByteString

The bytes for description.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

The labels of the source.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

The labels of the source.

map<string, string> labels = 4;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

The labels of the source.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Output only. The Source name.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The Source name.

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

Returns
Type Description
ByteString

The bytes for name.

getSourceDetailsCase()

public abstract Source.SourceDetailsCase getSourceDetailsCase()
Returns
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getVmware()

public abstract VmwareSourceDetails getVmware()

Vmware type source details.

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

Returns
Type Description
VmwareSourceDetails

The vmware.

getVmwareOrBuilder()

public abstract VmwareSourceDetailsOrBuilder getVmwareOrBuilder()

Vmware type source details.

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

Returns
Type Description
VmwareSourceDetailsOrBuilder

hasAws()

public abstract boolean hasAws()

AWS type source details.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

hasVmware()

public abstract boolean hasVmware()

Vmware type source details.

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

Returns
Type Description
boolean

Whether the vmware field is set.