Class FetchInventoryResponse.Builder (1.1.1)

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

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()

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
TypeDescription
FetchInventoryResponse.Builder

clone()

public FetchInventoryResponse.Builder clone()
Returns
TypeDescription
FetchInventoryResponse.Builder
Overrides

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()

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
TypeDescription
VmwareVmsDetails

The vmwareVms.

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
TypeDescription
VmwareVmsDetails.Builder

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
TypeDescription
VmwareVmsDetailsOrBuilder

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()

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
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

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)

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
NameDescription
valueVmwareVmsDetails
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)

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
NameDescription
valueVmwareVmsDetails
Returns
TypeDescription
FetchInventoryResponse.Builder

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
NameDescription
builderForValueVmwareVmsDetails.Builder
Returns
TypeDescription
FetchInventoryResponse.Builder