Package com.google.cloud.vmmigration.v1
Interface SourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Source
,Source.Builder
public interface SourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
The labels of the source.AwsSourceDetails
getAws()
AWS type source details.AwsSourceDetailsOrBuilder
getAwsOrBuilder()
AWS type source details.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDescription()
User-provided description of the source.com.google.protobuf.ByteString
getDescriptionBytes()
User-provided description of the source.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
The labels of the source.Map<String,String>
getLabelsMap()
The labels of the source.String
getLabelsOrDefault(String key, String defaultValue)
The labels of the source.String
getLabelsOrThrow(String key)
The labels of the source.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.Source.SourceDetailsCase
getSourceDetailsCase()
com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.VmwareSourceDetails
getVmware()
Vmware type source details.VmwareSourceDetailsOrBuilder
getVmwareOrBuilder()
Vmware type source details.boolean
hasAws()
AWS type source details.boolean
hasCreateTime()
Output only.boolean
hasUpdateTime()
Output only.boolean
hasVmware()
Vmware type source details.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasVmware
boolean hasVmware()
Vmware type source details.
.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;
- Returns:
- Whether the vmware field is set.
-
getVmware
VmwareSourceDetails getVmware()
Vmware type source details.
.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;
- Returns:
- The vmware.
-
getVmwareOrBuilder
VmwareSourceDetailsOrBuilder getVmwareOrBuilder()
Vmware type source details.
.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;
-
hasAws
boolean hasAws()
AWS type source details.
.google.cloud.vmmigration.v1.AwsSourceDetails aws = 12;
- Returns:
- Whether the aws field is set.
-
getAws
AwsSourceDetails getAws()
AWS type source details.
.google.cloud.vmmigration.v1.AwsSourceDetails aws = 12;
- Returns:
- The aws.
-
getAwsOrBuilder
AwsSourceDetailsOrBuilder getAwsOrBuilder()
AWS type source details.
.google.cloud.vmmigration.v1.AwsSourceDetails aws = 12;
-
getName
String getName()
Output only. The Source name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The Source name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabelsCount
int getLabelsCount()
The labels of the source.
map<string, string> labels = 4;
-
containsLabels
boolean containsLabels(String key)
The labels of the source.
map<string, string> labels = 4;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
The labels of the source.
map<string, string> labels = 4;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
The labels of the source.
map<string, string> labels = 4;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
The labels of the source.
map<string, string> labels = 4;
-
getDescription
String getDescription()
User-provided description of the source.
string description = 6;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of the source.
string description = 6;
- Returns:
- The bytes for description.
-
getSourceDetailsCase
Source.SourceDetailsCase getSourceDetailsCase()
-
-