Class FetchInventoryResponse.Builder (1.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchInventoryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FetchInventoryResponse.Builder
Overrides

build()

public FetchInventoryResponse build()
Returns
TypeDescription
FetchInventoryResponse

buildPartial()

public FetchInventoryResponse buildPartial()
Returns
TypeDescription
FetchInventoryResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public FetchInventoryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FetchInventoryResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchInventoryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FetchInventoryResponse.Builder
Overrides

clearSourceVms()

public FetchInventoryResponse.Builder clearSourceVms()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FetchInventoryResponse.Builder

clone()

public FetchInventoryResponse.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AwsVmsDetailsOrBuilder

getDefaultInstanceForType()

public FetchInventoryResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchInventoryResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSourceVmsCase()

public FetchInventoryResponse.SourceVmsCase getSourceVmsCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the vmwareVms field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAwsVmsDetails
Returns
TypeDescription
FetchInventoryResponse.Builder

mergeFrom(FetchInventoryResponse other)

public FetchInventoryResponse.Builder mergeFrom(FetchInventoryResponse other)
Parameter
NameDescription
otherFetchInventoryResponse
Returns
TypeDescription
FetchInventoryResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchInventoryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchInventoryResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FetchInventoryResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FetchInventoryResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchInventoryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueVmwareVmsDetails
Returns
TypeDescription
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
NameDescription
valueAwsVmsDetails
Returns
TypeDescription
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
NameDescription
builderForValueAwsVmsDetails.Builder
Returns
TypeDescription
FetchInventoryResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FetchInventoryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FetchInventoryResponse.Builder
Overrides

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

public FetchInventoryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FetchInventoryResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchInventoryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueVmwareVmsDetails
Returns
TypeDescription
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
NameDescription
builderForValueVmwareVmsDetails.Builder
Returns
TypeDescription
FetchInventoryResponse.Builder