Class LookupContextRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.LookupContextRequest
All Implemented Interfaces:
LookupContextRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class LookupContextRequest extends com.google.protobuf.GeneratedMessage implements LookupContextRequestOrBuilder
 Lookup Context using permissions in the source system.
 
Protobuf type google.cloud.dataplex.v1.LookupContextRequest
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public 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];
      Specified by:
      getName in interface LookupContextRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public 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];
      Specified by:
      getNameBytes in interface LookupContextRequestOrBuilder
      Returns:
      The bytes for name.
    • getResourcesList

      public com.google.protobuf.ProtocolStringList 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) = { ... }
      Specified by:
      getResourcesList in interface LookupContextRequestOrBuilder
      Returns:
      A list containing the resources.
    • getResourcesCount

      public 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) = { ... }
      Specified by:
      getResourcesCount in interface LookupContextRequestOrBuilder
      Returns:
      The count of resources.
    • getResources

      public 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) = { ... }
      Specified by:
      getResources in interface LookupContextRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The resources at the given index.
    • getResourcesBytes

      public 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) = { ... }
      Specified by:
      getResourcesBytes in interface LookupContextRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the resources at the given index.
    • getOptionsCount

      public int getOptionsCount()
      Description copied from interface: LookupContextRequestOrBuilder
       Optional. Allows to configure the context.
       
      map<string, string> options = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOptionsCount in interface LookupContextRequestOrBuilder
    • containsOptions

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

      @Deprecated public Map<String,String> getOptions()
      Deprecated.
      Use getOptionsMap() instead.
      Specified by:
      getOptions in interface LookupContextRequestOrBuilder
    • getOptionsMap

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

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

      public String getOptionsOrThrow(String key)
       Optional. Allows to configure the context.
       
      map<string, string> options = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOptionsOrThrow in interface LookupContextRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static LookupContextRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LookupContextRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LookupContextRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LookupContextRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LookupContextRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LookupContextRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LookupContextRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LookupContextRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LookupContextRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LookupContextRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LookupContextRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LookupContextRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public LookupContextRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static LookupContextRequest.Builder newBuilder()
    • newBuilder

      public static LookupContextRequest.Builder newBuilder(LookupContextRequest prototype)
    • toBuilder

      public LookupContextRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected LookupContextRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static LookupContextRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LookupContextRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<LookupContextRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public LookupContextRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder