Class ListInventoriesResponse (2.44.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.v1.ListInventoriesResponse

Static Fields

INVENTORIES_FIELD_NUMBER

public static final int INVENTORIES_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListInventoriesResponse getDefaultInstance()
Returns
Type Description
ListInventoriesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListInventoriesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListInventoriesResponse getDefaultInstanceForType()
Returns
Type Description
ListInventoriesResponse

getInventories(int index)

public Inventory getInventories(int index)

List of inventory objects.

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

Parameter
Name Description
index int
Returns
Type Description
Inventory

getInventoriesCount()

public int getInventoriesCount()

List of inventory objects.

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

Returns
Type Description
int

getInventoriesList()

public List<Inventory> getInventoriesList()

List of inventory objects.

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

Returns
Type Description
List<Inventory>

getInventoriesOrBuilder(int index)

public InventoryOrBuilder getInventoriesOrBuilder(int index)

List of inventory objects.

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

Parameter
Name Description
index int
Returns
Type Description
InventoryOrBuilder

getInventoriesOrBuilderList()

public List<? extends InventoryOrBuilder> getInventoriesOrBuilderList()

List of inventory objects.

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

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1.InventoryOrBuilder>

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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