public static final class ListInventoriesResponse.Builder extends GeneratedMessageV3.Builder<ListInventoriesResponse.Builder> implements ListInventoriesResponseOrBuilder
A response message for listing inventory data for all VMs in a specified
location.
Protobuf type google.cloud.osconfig.v1alpha.ListInventoriesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllInventories(Iterable<? extends Inventory> values)
public ListInventoriesResponse.Builder addAllInventories(Iterable<? extends Inventory> values)
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1alpha.Inventory>
|
addInventories(Inventory value)
public ListInventoriesResponse.Builder addInventories(Inventory value)
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
addInventories(Inventory.Builder builderForValue)
public ListInventoriesResponse.Builder addInventories(Inventory.Builder builderForValue)
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
addInventories(int index, Inventory value)
public ListInventoriesResponse.Builder addInventories(int index, Inventory value)
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
addInventories(int index, Inventory.Builder builderForValue)
public ListInventoriesResponse.Builder addInventories(int index, Inventory.Builder builderForValue)
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
addInventoriesBuilder()
public Inventory.Builder addInventoriesBuilder()
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
addInventoriesBuilder(int index)
public Inventory.Builder addInventoriesBuilder(int index)
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListInventoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListInventoriesResponse build()
buildPartial()
public ListInventoriesResponse buildPartial()
clear()
public ListInventoriesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListInventoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInventories()
public ListInventoriesResponse.Builder clearInventories()
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
clearNextPageToken()
public ListInventoriesResponse.Builder clearNextPageToken()
The pagination token to retrieve the next page of inventory objects.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListInventoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListInventoriesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListInventoriesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInventories(int index)
public Inventory getInventories(int index)
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
Parameter |
---|
Name | Description |
index | int
|
getInventoriesBuilder(int index)
public Inventory.Builder getInventoriesBuilder(int index)
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
Parameter |
---|
Name | Description |
index | int
|
getInventoriesBuilderList()
public List<Inventory.Builder> getInventoriesBuilderList()
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
getInventoriesCount()
public int getInventoriesCount()
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
Returns |
---|
Type | Description |
int | |
getInventoriesList()
public List<Inventory> getInventoriesList()
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
getInventoriesOrBuilder(int index)
public InventoryOrBuilder getInventoriesOrBuilder(int index)
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
Parameter |
---|
Name | Description |
index | int
|
getInventoriesOrBuilderList()
public List<? extends InventoryOrBuilder> getInventoriesOrBuilderList()
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
Returns |
---|
Type | Description |
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 |
---|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListInventoriesResponse other)
public ListInventoriesResponse.Builder mergeFrom(ListInventoriesResponse other)
public ListInventoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListInventoriesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListInventoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeInventories(int index)
public ListInventoriesResponse.Builder removeInventories(int index)
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListInventoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInventories(int index, Inventory value)
public ListInventoriesResponse.Builder setInventories(int index, Inventory value)
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
setInventories(int index, Inventory.Builder builderForValue)
public ListInventoriesResponse.Builder setInventories(int index, Inventory.Builder builderForValue)
List of inventory objects.
repeated .google.cloud.osconfig.v1alpha.Inventory inventories = 1;
setNextPageToken(String value)
public ListInventoriesResponse.Builder setNextPageToken(String value)
The pagination token to retrieve the next page of inventory objects.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListInventoriesResponse.Builder setNextPageTokenBytes(ByteString value)
The pagination token to retrieve the next page of inventory objects.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListInventoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListInventoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides