Class ListInventoriesResponse (2.21.0)

public final class ListInventoriesResponse extends GeneratedMessageV3 implements ListInventoriesResponseOrBuilder

A response message for listing inventory data for all VMs in a specified location.

Protobuf type google.cloud.osconfig.v1alpha.ListInventoriesResponse

Static Fields

INVENTORIES_FIELD_NUMBER

public static final int INVENTORIES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListInventoriesResponse getDefaultInstance()
Returns
TypeDescription
ListInventoriesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListInventoriesResponse prototype)

public static ListInventoriesResponse.Builder newBuilder(ListInventoriesResponse prototype)
Parameter
NameDescription
prototypeListInventoriesResponse
Returns
TypeDescription
ListInventoriesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListInventoriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListInventoriesResponse

getInventories(int index)

public Inventory getInventories(int index)

List of inventory objects.

repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Inventory

getInventoriesCount()

public int getInventoriesCount()

List of inventory objects.

repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;

Returns
TypeDescription
int

getInventoriesList()

public List<Inventory> getInventoriesList()

List of inventory objects.

repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;

Returns
TypeDescription
List<Inventory>

getInventoriesOrBuilder(int index)

public InventoryOrBuilder getInventoriesOrBuilder(int index)

List of inventory objects.

repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InventoryOrBuilder

getInventoriesOrBuilderList()

public List<? extends InventoryOrBuilder> getInventoriesOrBuilderList()

List of inventory objects.

repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1alpha.InventoryOrBuilder>

getNextPageToken()

public String getNextPageToken()

The pagination token to retrieve the next page of inventory objects.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The pagination token to retrieve the next page of inventory objects.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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