Interface GetInventoryRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetInventoryRequest,GetInventoryRequest.Builder
public interface GetInventoryRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.InventoryViewgetView()Inventory view indicating what information should be included in the inventory resource.intgetViewValue()Inventory view indicating what information should be included in the inventory resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. API resource name for inventory resource. Format: `projects/{project}/locations/{location}/instances/{instance}/inventory` For `{project}`, either `project-number` or `project-id` can be provided. For `{instance}`, either Compute Engine `instance-id` or `instance-name` can be provided.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. API resource name for inventory resource. Format: `projects/{project}/locations/{location}/instances/{instance}/inventory` For `{project}`, either `project-number` or `project-id` can be provided. For `{instance}`, either Compute Engine `instance-id` or `instance-name` can be provided.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
getViewValue
int getViewValue()
Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
.google.cloud.osconfig.v1alpha.InventoryView view = 2;- Returns:
- The enum numeric value on the wire for view.
-
getView
InventoryView getView()
Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
.google.cloud.osconfig.v1alpha.InventoryView view = 2;- Returns:
- The view.
-
-