public static final class FetchInventoryResponse.Builder extends GeneratedMessageV3.Builder<FetchInventoryResponse.Builder> implements FetchInventoryResponseOrBuilder
Response message for
fetchInventory.
Protobuf type google.cloud.vmmigration.v1.FetchInventoryResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchInventoryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public FetchInventoryResponse build()
Returns
buildPartial()
public FetchInventoryResponse buildPartial()
Returns
clear()
public FetchInventoryResponse.Builder clear()
Returns
Overrides
clearAwsVms()
public FetchInventoryResponse.Builder clearAwsVms()
The description of the VMs in a Source of type AWS.
.google.cloud.vmmigration.v1.AwsVmsDetails aws_vms = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public FetchInventoryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchInventoryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSourceVms()
public FetchInventoryResponse.Builder clearSourceVms()
Returns
clearUpdateTime()
public FetchInventoryResponse.Builder clearUpdateTime()
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearVmwareVms()
public FetchInventoryResponse.Builder clearVmwareVms()
The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;
Returns
clone()
public FetchInventoryResponse.Builder clone()
Returns
Overrides
getAwsVms()
public AwsVmsDetails getAwsVms()
The description of the VMs in a Source of type AWS.
.google.cloud.vmmigration.v1.AwsVmsDetails aws_vms = 3;
Returns
getAwsVmsBuilder()
public AwsVmsDetails.Builder getAwsVmsBuilder()
The description of the VMs in a Source of type AWS.
.google.cloud.vmmigration.v1.AwsVmsDetails aws_vms = 3;
Returns
getAwsVmsOrBuilder()
public AwsVmsDetailsOrBuilder getAwsVmsOrBuilder()
The description of the VMs in a Source of type AWS.
.google.cloud.vmmigration.v1.AwsVmsDetails aws_vms = 3;
Returns
getDefaultInstanceForType()
public FetchInventoryResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSourceVmsCase()
public FetchInventoryResponse.SourceVmsCase getSourceVmsCase()
Returns
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getVmwareVms()
public VmwareVmsDetails getVmwareVms()
The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;
Returns
getVmwareVmsBuilder()
public VmwareVmsDetails.Builder getVmwareVmsBuilder()
The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;
Returns
getVmwareVmsOrBuilder()
public VmwareVmsDetailsOrBuilder getVmwareVmsOrBuilder()
The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;
Returns
hasAwsVms()
public boolean hasAwsVms()
The description of the VMs in a Source of type AWS.
.google.cloud.vmmigration.v1.AwsVmsDetails aws_vms = 3;
Returns
Type | Description |
boolean | Whether the awsVms field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the updateTime field is set.
|
hasVmwareVms()
public boolean hasVmwareVms()
The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;
Returns
Type | Description |
boolean | Whether the vmwareVms field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAwsVms(AwsVmsDetails value)
public FetchInventoryResponse.Builder mergeAwsVms(AwsVmsDetails value)
The description of the VMs in a Source of type AWS.
.google.cloud.vmmigration.v1.AwsVmsDetails aws_vms = 3;
Parameter
Returns
mergeFrom(FetchInventoryResponse other)
public FetchInventoryResponse.Builder mergeFrom(FetchInventoryResponse other)
Parameter
Returns
public FetchInventoryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FetchInventoryResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchInventoryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateTime(Timestamp value)
public FetchInventoryResponse.Builder mergeUpdateTime(Timestamp value)
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
mergeVmwareVms(VmwareVmsDetails value)
public FetchInventoryResponse.Builder mergeVmwareVms(VmwareVmsDetails value)
The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;
Parameter
Returns
setAwsVms(AwsVmsDetails value)
public FetchInventoryResponse.Builder setAwsVms(AwsVmsDetails value)
The description of the VMs in a Source of type AWS.
.google.cloud.vmmigration.v1.AwsVmsDetails aws_vms = 3;
Parameter
Returns
setAwsVms(AwsVmsDetails.Builder builderForValue)
public FetchInventoryResponse.Builder setAwsVms(AwsVmsDetails.Builder builderForValue)
The description of the VMs in a Source of type AWS.
.google.cloud.vmmigration.v1.AwsVmsDetails aws_vms = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public FetchInventoryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchInventoryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchInventoryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateTime(Timestamp value)
public FetchInventoryResponse.Builder setUpdateTime(Timestamp value)
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setUpdateTime(Timestamp.Builder builderForValue)
public FetchInventoryResponse.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The timestamp when the source was last queried (if the result
is from the cache).
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setVmwareVms(VmwareVmsDetails value)
public FetchInventoryResponse.Builder setVmwareVms(VmwareVmsDetails value)
The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;
Parameter
Returns
setVmwareVms(VmwareVmsDetails.Builder builderForValue)
public FetchInventoryResponse.Builder setVmwareVms(VmwareVmsDetails.Builder builderForValue)
The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;
Parameter
Returns