public static final class FetchInventoryResponse.Builder extends GeneratedMessageV3.Builder<FetchInventoryResponse.Builder> implements FetchInventoryResponseOrBuilder
Response message for
fetchInventory.
Protobuf type google.cloud.vmmigration.v1.FetchInventoryResponse
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
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()
Output only. The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clone()
public FetchInventoryResponse.Builder clone()
Returns
Overrides
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()
Output only. The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getVmwareVmsBuilder()
public VmwareVmsDetails.Builder getVmwareVmsBuilder()
Output only. The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getVmwareVmsOrBuilder()
public VmwareVmsDetailsOrBuilder getVmwareVmsOrBuilder()
Output only. The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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()
Output only. The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the vmwareVms field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
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)
Output only. The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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)
Output only. The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setVmwareVms(VmwareVmsDetails.Builder builderForValue)
public FetchInventoryResponse.Builder setVmwareVms(VmwareVmsDetails.Builder builderForValue)
Output only. The description of the VMs in a Source of type Vmware.
.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns