public static final class ListInventoriesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder> implements ListInventoriesRequestOrBuilder
A request message for listing inventory data for all VMs in the specified location.Protobuf type
google.cloud.osconfig.v1.ListInventoriesRequest| Modifier and Type | Method and Description |
|---|---|
ListInventoriesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListInventoriesRequest |
build() |
ListInventoriesRequest |
buildPartial() |
ListInventoriesRequest.Builder |
clear() |
ListInventoriesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListInventoriesRequest.Builder |
clearFilter()
If provided, this field specifies the criteria that must be met by a
`Inventory` API resource to be included in the response.
|
ListInventoriesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListInventoriesRequest.Builder |
clearPageSize()
The maximum number of results to return.
|
ListInventoriesRequest.Builder |
clearPageToken()
A pagination token returned from a previous call to
`ListInventories` that indicates where this listing
should continue from.
|
ListInventoriesRequest.Builder |
clearParent()
Required.
|
ListInventoriesRequest.Builder |
clearView()
Inventory view indicating what information should be included in the
inventory resource.
|
ListInventoriesRequest.Builder |
clone() |
ListInventoriesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
If provided, this field specifies the criteria that must be met by a
`Inventory` API resource to be included in the response.
|
com.google.protobuf.ByteString |
getFilterBytes()
If provided, this field specifies the criteria that must be met by a
`Inventory` API resource to be included in the response.
|
int |
getPageSize()
The maximum number of results to return.
|
String |
getPageToken()
A pagination token returned from a previous call to
`ListInventories` that indicates where this listing
should continue from.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
A pagination token returned from a previous call to
`ListInventories` that indicates where this listing
should continue from.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
InventoryView |
getView()
Inventory view indicating what information should be included in the
inventory resource.
|
int |
getViewValue()
Inventory view indicating what information should be included in the
inventory resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListInventoriesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListInventoriesRequest.Builder |
mergeFrom(ListInventoriesRequest other) |
ListInventoriesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListInventoriesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListInventoriesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListInventoriesRequest.Builder |
setFilter(String value)
If provided, this field specifies the criteria that must be met by a
`Inventory` API resource to be included in the response.
|
ListInventoriesRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
If provided, this field specifies the criteria that must be met by a
`Inventory` API resource to be included in the response.
|
ListInventoriesRequest.Builder |
setPageSize(int value)
The maximum number of results to return.
|
ListInventoriesRequest.Builder |
setPageToken(String value)
A pagination token returned from a previous call to
`ListInventories` that indicates where this listing
should continue from.
|
ListInventoriesRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
A pagination token returned from a previous call to
`ListInventories` that indicates where this listing
should continue from.
|
ListInventoriesRequest.Builder |
setParent(String value)
Required.
|
ListInventoriesRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListInventoriesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListInventoriesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListInventoriesRequest.Builder |
setView(InventoryView value)
Inventory view indicating what information should be included in the
inventory resource.
|
ListInventoriesRequest.Builder |
setViewValue(int value)
Inventory view indicating what information should be included in the
inventory resource.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder>public ListInventoriesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder>public ListInventoriesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListInventoriesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListInventoriesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListInventoriesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder>public ListInventoriesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder>public ListInventoriesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder>public ListInventoriesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder>public ListInventoriesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder>public ListInventoriesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder>public ListInventoriesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListInventoriesRequest.Builder>public ListInventoriesRequest.Builder mergeFrom(ListInventoriesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder>public ListInventoriesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListInventoriesRequest.Builder>IOExceptionpublic String getParent()
Required. The parent resource name.
Format: `projects/{project}/locations/{location}/instances/-`
For `{project}`, either `project-number` or `project-id` can be provided.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListInventoriesRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent resource name.
Format: `projects/{project}/locations/{location}/instances/-`
For `{project}`, either `project-number` or `project-id` can be provided.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListInventoriesRequestOrBuilderpublic ListInventoriesRequest.Builder setParent(String value)
Required. The parent resource name.
Format: `projects/{project}/locations/{location}/instances/-`
For `{project}`, either `project-number` or `project-id` can be provided.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListInventoriesRequest.Builder clearParent()
Required. The parent resource name.
Format: `projects/{project}/locations/{location}/instances/-`
For `{project}`, either `project-number` or `project-id` can be provided.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListInventoriesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent resource name.
Format: `projects/{project}/locations/{location}/instances/-`
For `{project}`, either `project-number` or `project-id` can be provided.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public int getViewValue()
Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
.google.cloud.osconfig.v1.InventoryView view = 2;getViewValue in interface ListInventoriesRequestOrBuilderpublic ListInventoriesRequest.Builder setViewValue(int value)
Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
.google.cloud.osconfig.v1.InventoryView view = 2;value - The enum numeric value on the wire for view to set.public InventoryView getView()
Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
.google.cloud.osconfig.v1.InventoryView view = 2;getView in interface ListInventoriesRequestOrBuilderpublic ListInventoriesRequest.Builder setView(InventoryView value)
Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
.google.cloud.osconfig.v1.InventoryView view = 2;value - The view to set.public ListInventoriesRequest.Builder clearView()
Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
.google.cloud.osconfig.v1.InventoryView view = 2;public int getPageSize()
The maximum number of results to return.
int32 page_size = 3;getPageSize in interface ListInventoriesRequestOrBuilderpublic ListInventoriesRequest.Builder setPageSize(int value)
The maximum number of results to return.
int32 page_size = 3;value - The pageSize to set.public ListInventoriesRequest.Builder clearPageSize()
The maximum number of results to return.
int32 page_size = 3;public String getPageToken()
A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from.
string page_token = 4;getPageToken in interface ListInventoriesRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from.
string page_token = 4;getPageTokenBytes in interface ListInventoriesRequestOrBuilderpublic ListInventoriesRequest.Builder setPageToken(String value)
A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from.
string page_token = 4;value - The pageToken to set.public ListInventoriesRequest.Builder clearPageToken()
A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from.
string page_token = 4;public ListInventoriesRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from.
string page_token = 4;value - The bytes for pageToken to set.public String getFilter()
If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response.
string filter = 5;getFilter in interface ListInventoriesRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response.
string filter = 5;getFilterBytes in interface ListInventoriesRequestOrBuilderpublic ListInventoriesRequest.Builder setFilter(String value)
If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response.
string filter = 5;value - The filter to set.public ListInventoriesRequest.Builder clearFilter()
If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response.
string filter = 5;public ListInventoriesRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response.
string filter = 5;value - The bytes for filter to set.public final ListInventoriesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder>public final ListInventoriesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListInventoriesRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.