Class FetchInventoryResponse.Builder (1.52.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchInventoryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchInventoryResponse.Builder
Overrides

build()

public FetchInventoryResponse build()
Returns
Type Description
FetchInventoryResponse

buildPartial()

public FetchInventoryResponse buildPartial()
Returns
Type Description
FetchInventoryResponse

clear()

public FetchInventoryResponse.Builder clear()
Returns
Type Description
FetchInventoryResponse.Builder
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
Type Description
FetchInventoryResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public FetchInventoryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchInventoryResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchInventoryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchInventoryResponse.Builder
Overrides

clearSourceVms()

public FetchInventoryResponse.Builder clearSourceVms()
Returns
Type Description
FetchInventoryResponse.Builder

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
Type Description
FetchInventoryResponse.Builder

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
Type Description
FetchInventoryResponse.Builder

clone()

public FetchInventoryResponse.Builder clone()
Returns
Type Description
FetchInventoryResponse.Builder
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
Type Description
AwsVmsDetails

The awsVms.

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
Type Description
AwsVmsDetails.Builder

getAwsVmsOrBuilder()

public AwsVmsDetailsOrBuilder getAwsVmsOrBuilder()

The description of the VMs in a Source of type AWS.

.google.cloud.vmmigration.v1.AwsVmsDetails aws_vms = 3;

Returns
Type Description
AwsVmsDetailsOrBuilder

getDefaultInstanceForType()

public FetchInventoryResponse getDefaultInstanceForType()
Returns
Type Description
FetchInventoryResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSourceVmsCase()

public FetchInventoryResponse.SourceVmsCase getSourceVmsCase()
Returns
Type Description
FetchInventoryResponse.SourceVmsCase

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
Type Description
Timestamp

The updateTime.

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
Type Description
Builder

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

getVmwareVms()

public VmwareVmsDetails getVmwareVms()

The description of the VMs in a Source of type Vmware.

.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;

Returns
Type Description
VmwareVmsDetails

The vmwareVms.

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
Type Description
VmwareVmsDetails.Builder

getVmwareVmsOrBuilder()

public VmwareVmsDetailsOrBuilder getVmwareVmsOrBuilder()

The description of the VMs in a Source of type Vmware.

.google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1;

Returns
Type Description
VmwareVmsDetailsOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Name Description
value AwsVmsDetails
Returns
Type Description
FetchInventoryResponse.Builder

mergeFrom(FetchInventoryResponse other)

public FetchInventoryResponse.Builder mergeFrom(FetchInventoryResponse other)
Parameter
Name Description
other FetchInventoryResponse
Returns
Type Description
FetchInventoryResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchInventoryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchInventoryResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FetchInventoryResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchInventoryResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchInventoryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchInventoryResponse.Builder
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
Name Description
value Timestamp
Returns
Type Description
FetchInventoryResponse.Builder

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
Name Description
value VmwareVmsDetails
Returns
Type Description
FetchInventoryResponse.Builder

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
Name Description
value AwsVmsDetails
Returns
Type Description
FetchInventoryResponse.Builder

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
Name Description
builderForValue AwsVmsDetails.Builder
Returns
Type Description
FetchInventoryResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FetchInventoryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchInventoryResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FetchInventoryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchInventoryResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchInventoryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchInventoryResponse.Builder
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
Name Description
value Timestamp
Returns
Type Description
FetchInventoryResponse.Builder

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
Type Description
FetchInventoryResponse.Builder

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
Name Description
value VmwareVmsDetails
Returns
Type Description
FetchInventoryResponse.Builder

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
Name Description
builderForValue VmwareVmsDetails.Builder
Returns
Type Description
FetchInventoryResponse.Builder