Class FetchInventoryResponse (1.44.0)

public final class FetchInventoryResponse extends GeneratedMessageV3 implements FetchInventoryResponseOrBuilder

Response message for fetchInventory.

Protobuf type google.cloud.vmmigration.v1.FetchInventoryResponse

Static Fields

AWS_VMS_FIELD_NUMBER

public static final int AWS_VMS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

VMWARE_VMS_FIELD_NUMBER

public static final int VMWARE_VMS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FetchInventoryResponse getDefaultInstance()
Returns
Type Description
FetchInventoryResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FetchInventoryResponse.Builder newBuilder()
Returns
Type Description
FetchInventoryResponse.Builder

newBuilder(FetchInventoryResponse prototype)

public static FetchInventoryResponse.Builder newBuilder(FetchInventoryResponse prototype)
Parameter
Name Description
prototype FetchInventoryResponse
Returns
Type Description
FetchInventoryResponse.Builder

parseDelimitedFrom(InputStream input)

public static FetchInventoryResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchInventoryResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchInventoryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchInventoryResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FetchInventoryResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FetchInventoryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FetchInventoryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchInventoryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FetchInventoryResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FetchInventoryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FetchInventoryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchInventoryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FetchInventoryResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FetchInventoryResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchInventoryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchInventoryResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FetchInventoryResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchInventoryResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchInventoryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchInventoryResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FetchInventoryResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FetchInventoryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FetchInventoryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchInventoryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FetchInventoryResponse> parser()
Returns
Type Description
Parser<FetchInventoryResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

getParserForType()

public Parser<FetchInventoryResponse> getParserForType()
Returns
Type Description
Parser<FetchInventoryResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FetchInventoryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FetchInventoryResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException