Interface GetInventoryRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GetInventoryRequest, GetInventoryRequest.Builder

@Generated public interface GetInventoryRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Inventory view indicating what information should be included in the inventory resource.
    int
    Inventory view indicating what information should be included in the inventory resource.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.