Class FetchInventoryResponse (1.0.5)

public final class FetchInventoryResponse extends GeneratedMessageV3 implements FetchInventoryResponseOrBuilder

Response message for fetchInventory.

Protobuf type google.cloud.vmmigration.v1.FetchInventoryResponse

Static Fields

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

VMWARE_VMS_FIELD_NUMBER

public static final int VMWARE_VMS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FetchInventoryResponse getDefaultInstance()
Returns
TypeDescription
FetchInventoryResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static FetchInventoryResponse.Builder newBuilder()
Returns
TypeDescription
FetchInventoryResponse.Builder

newBuilder(FetchInventoryResponse prototype)

public static FetchInventoryResponse.Builder newBuilder(FetchInventoryResponse prototype)
Parameter
NameDescription
prototypeFetchInventoryResponse
Returns
TypeDescription
FetchInventoryResponse.Builder

parseDelimitedFrom(InputStream input)

public static FetchInventoryResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FetchInventoryResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchInventoryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchInventoryResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FetchInventoryResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FetchInventoryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FetchInventoryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchInventoryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FetchInventoryResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FetchInventoryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FetchInventoryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchInventoryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FetchInventoryResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FetchInventoryResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchInventoryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchInventoryResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FetchInventoryResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FetchInventoryResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchInventoryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchInventoryResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FetchInventoryResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FetchInventoryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FetchInventoryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchInventoryResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FetchInventoryResponse> parser()
Returns
TypeDescription
Parser<FetchInventoryResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public FetchInventoryResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchInventoryResponse

getParserForType()

public Parser<FetchInventoryResponse> getParserForType()
Returns
TypeDescription
Parser<FetchInventoryResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceVmsCase()

public FetchInventoryResponse.SourceVmsCase getSourceVmsCase()
Returns
TypeDescription
FetchInventoryResponse.SourceVmsCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FetchInventoryResponse.Builder newBuilderForType()
Returns
TypeDescription
FetchInventoryResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FetchInventoryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FetchInventoryResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FetchInventoryResponse.Builder toBuilder()
Returns
TypeDescription
FetchInventoryResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException