Class FetchInventoryRequest (1.33.0)

public final class FetchInventoryRequest extends GeneratedMessageV3 implements FetchInventoryRequestOrBuilder

Request message for fetchInventory.

Protobuf type google.cloud.vmmigration.v1.FetchInventoryRequest

Static Fields

FORCE_REFRESH_FIELD_NUMBER

public static final int FORCE_REFRESH_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FetchInventoryRequest getDefaultInstance()
Returns
TypeDescription
FetchInventoryRequest

getDescriptor()

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

newBuilder()

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

newBuilder(FetchInventoryRequest prototype)

public static FetchInventoryRequest.Builder newBuilder(FetchInventoryRequest prototype)
Parameter
NameDescription
prototypeFetchInventoryRequest
Returns
TypeDescription
FetchInventoryRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FetchInventoryRequest getDefaultInstanceForType()
Returns
TypeDescription
FetchInventoryRequest

getForceRefresh()

public boolean getForceRefresh()

If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.

bool force_refresh = 2;

Returns
TypeDescription
boolean

The forceRefresh.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSource()

public String getSource()

Required. The name of the Source.

string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

Required. The name of the Source.

string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for source.

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 FetchInventoryRequest.Builder newBuilderForType()
Returns
TypeDescription
FetchInventoryRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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