- 1.48.0 (latest)
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class Source.Builder extends GeneratedMessageV3.Builder<Source.Builder> implements SourceOrBuilder
Source message describes a specific vm migration Source resource. It contains the source environment information.
Protobuf type google.cloud.vmmigration.v1.Source
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Source.BuilderImplements
SourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Source.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Source.Builder |
build()
public Source build()
Type | Description |
Source |
buildPartial()
public Source buildPartial()
Type | Description |
Source |
clear()
public Source.Builder clear()
Type | Description |
Source.Builder |
clearCreateTime()
public Source.Builder clearCreateTime()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Source.Builder |
clearDescription()
public Source.Builder clearDescription()
User-provided description of the source.
string description = 6;
Type | Description |
Source.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Source.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Source.Builder |
clearLabels()
public Source.Builder clearLabels()
Type | Description |
Source.Builder |
clearName()
public Source.Builder clearName()
Output only. The Source name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Source.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Source.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Source.Builder |
clearSourceDetails()
public Source.Builder clearSourceDetails()
Type | Description |
Source.Builder |
clearUpdateTime()
public Source.Builder clearUpdateTime()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Source.Builder |
clearVmware()
public Source.Builder clearVmware()
Vmware type source details.
.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;
Type | Description |
Source.Builder |
clone()
public Source.Builder clone()
Type | Description |
Source.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
The labels of the source.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Source getDefaultInstanceForType()
Type | Description |
Source |
getDescription()
public String getDescription()
User-provided description of the source.
string description = 6;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
User-provided description of the source.
string description = 6;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
The labels of the source.
map<string, string> labels = 4;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
The labels of the source.
map<string, string> labels = 4;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
The labels of the source.
map<string, string> labels = 4;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
The labels of the source.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Output only. The Source name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The Source name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getSourceDetailsCase()
public Source.SourceDetailsCase getSourceDetailsCase()
Type | Description |
Source.SourceDetailsCase |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getVmware()
public VmwareSourceDetails getVmware()
Vmware type source details.
.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;
Type | Description |
VmwareSourceDetails | The vmware. |
getVmwareBuilder()
public VmwareSourceDetails.Builder getVmwareBuilder()
Vmware type source details.
.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;
Type | Description |
VmwareSourceDetails.Builder |
getVmwareOrBuilder()
public VmwareSourceDetailsOrBuilder getVmwareOrBuilder()
Vmware type source details.
.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;
Type | Description |
VmwareSourceDetailsOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
hasVmware()
public boolean hasVmware()
Vmware type source details.
.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;
Type | Description |
boolean | Whether the vmware field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Source.Builder mergeCreateTime(Timestamp value)
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Source.Builder |
mergeFrom(Source other)
public Source.Builder mergeFrom(Source other)
Name | Description |
other | Source |
Type | Description |
Source.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Source.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Source.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Source.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Source.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Source.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Source.Builder |
mergeUpdateTime(Timestamp value)
public Source.Builder mergeUpdateTime(Timestamp value)
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Source.Builder |
mergeVmware(VmwareSourceDetails value)
public Source.Builder mergeVmware(VmwareSourceDetails value)
Vmware type source details.
.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;
Name | Description |
value | VmwareSourceDetails |
Type | Description |
Source.Builder |
putAllLabels(Map<String,String> values)
public Source.Builder putAllLabels(Map<String,String> values)
The labels of the source.
map<string, string> labels = 4;
Name | Description |
values | Map<String,String> |
Type | Description |
Source.Builder |
putLabels(String key, String value)
public Source.Builder putLabels(String key, String value)
The labels of the source.
map<string, string> labels = 4;
Name | Description |
key | String |
value | String |
Type | Description |
Source.Builder |
removeLabels(String key)
public Source.Builder removeLabels(String key)
The labels of the source.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
Source.Builder |
setCreateTime(Timestamp value)
public Source.Builder setCreateTime(Timestamp value)
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Source.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Source.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The create time timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Source.Builder |
setDescription(String value)
public Source.Builder setDescription(String value)
User-provided description of the source.
string description = 6;
Name | Description |
value | String The description to set. |
Type | Description |
Source.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Source.Builder setDescriptionBytes(ByteString value)
User-provided description of the source.
string description = 6;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Source.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Source.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Source.Builder |
setName(String value)
public Source.Builder setName(String value)
Output only. The Source name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
Source.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Source.Builder setNameBytes(ByteString value)
Output only. The Source name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Source.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Source.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Source.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Source.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Source.Builder |
setUpdateTime(Timestamp value)
public Source.Builder setUpdateTime(Timestamp value)
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Source.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Source.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The update time timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Source.Builder |
setVmware(VmwareSourceDetails value)
public Source.Builder setVmware(VmwareSourceDetails value)
Vmware type source details.
.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;
Name | Description |
value | VmwareSourceDetails |
Type | Description |
Source.Builder |
setVmware(VmwareSourceDetails.Builder builderForValue)
public Source.Builder setVmware(VmwareSourceDetails.Builder builderForValue)
Vmware type source details.
.google.cloud.vmmigration.v1.VmwareSourceDetails vmware = 10;
Name | Description |
builderForValue | VmwareSourceDetails.Builder |
Type | Description |
Source.Builder |