Interface CollectApiDataRequestOrBuilder

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

@Generated public interface CollectApiDataRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getLocation

      String getLocation()
       Required. The regional location of the API hub instance and its resources.
       Format: `projects/{project}/locations/{location}`
       
      string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The location.
    • getLocationBytes

      com.google.protobuf.ByteString getLocationBytes()
       Required. The regional location of the API hub instance and its resources.
       Format: `projects/{project}/locations/{location}`
       
      string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for location.
    • getCollectionTypeValue

      int getCollectionTypeValue()
       Required. The type of collection. Applies to all entries in
       [api_data][google.cloud.apihub.v1.CollectApiDataRequest.api_data].
       
      .google.cloud.apihub.v1.CollectionType collection_type = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for collectionType.
    • getCollectionType

      CollectionType getCollectionType()
       Required. The type of collection. Applies to all entries in
       [api_data][google.cloud.apihub.v1.CollectApiDataRequest.api_data].
       
      .google.cloud.apihub.v1.CollectionType collection_type = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The collectionType.
    • getPluginInstance

      String getPluginInstance()
       Required. The plugin instance collecting the API data.
       Format:
       `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`.
       
      string plugin_instance = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The pluginInstance.
    • getPluginInstanceBytes

      com.google.protobuf.ByteString getPluginInstanceBytes()
       Required. The plugin instance collecting the API data.
       Format:
       `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`.
       
      string plugin_instance = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for pluginInstance.
    • getActionId

      String getActionId()
       Required. The action ID to be used for collecting the API data.
       This should map to one of the action IDs specified
       in action configs in the plugin.
       
      string action_id = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The actionId.
    • getActionIdBytes

      com.google.protobuf.ByteString getActionIdBytes()
       Required. The action ID to be used for collecting the API data.
       This should map to one of the action IDs specified
       in action configs in the plugin.
       
      string action_id = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for actionId.
    • hasApiData

      boolean hasApiData()
       Required. The API data to be collected.
       
      .google.cloud.apihub.v1.ApiData api_data = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the apiData field is set.
    • getApiData

      ApiData getApiData()
       Required. The API data to be collected.
       
      .google.cloud.apihub.v1.ApiData api_data = 5 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The apiData.
    • getApiDataOrBuilder

      ApiDataOrBuilder getApiDataOrBuilder()
       Required. The API data to be collected.
       
      .google.cloud.apihub.v1.ApiData api_data = 5 [(.google.api.field_behavior) = REQUIRED];