Interface LookupContextRequestOrBuilder

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

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

    • getName

      String getName()
       Required. The project to which the request should be attributed in the
       following form: `projects/{project}/locations/{location}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The project to which the request should be attributed in the
       following form: `projects/{project}/locations/{location}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for name.
    • getResourcesList

      List<String> getResourcesList()
       Required. The entry names to lookup context for. The request should have
       max 10 of those.
      
       ## Examples:
      
       projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}
       
      repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the resources.
    • getResourcesCount

      int getResourcesCount()
       Required. The entry names to lookup context for. The request should have
       max 10 of those.
      
       ## Examples:
      
       projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}
       
      repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The count of resources.
    • getResources

      String getResources(int index)
       Required. The entry names to lookup context for. The request should have
       max 10 of those.
      
       ## Examples:
      
       projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}
       
      repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The resources at the given index.
    • getResourcesBytes

      com.google.protobuf.ByteString getResourcesBytes(int index)
       Required. The entry names to lookup context for. The request should have
       max 10 of those.
      
       ## Examples:
      
       projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}
       
      repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the resources at the given index.
    • getOptionsCount

      int getOptionsCount()
       Optional. Allows to configure the context.
       
      map<string, string> options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • containsOptions

      boolean containsOptions(String key)
       Optional. Allows to configure the context.
       
      map<string, string> options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getOptions

      @Deprecated Map<String,String> getOptions()
      Deprecated.
      Use getOptionsMap() instead.
    • getOptionsMap

      Map<String,String> getOptionsMap()
       Optional. Allows to configure the context.
       
      map<string, string> options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getOptionsOrDefault

      String getOptionsOrDefault(String key, String defaultValue)
       Optional. Allows to configure the context.
       
      map<string, string> options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getOptionsOrThrow

      String getOptionsOrThrow(String key)
       Optional. Allows to configure the context.
       
      map<string, string> options = 4 [(.google.api.field_behavior) = OPTIONAL];