Class LookupEntryLinksRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LookupEntryLinksRequest.Builder>
com.google.cloud.dataplex.v1.LookupEntryLinksRequest.Builder
All Implemented Interfaces:
LookupEntryLinksRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
LookupEntryLinksRequest

public static final class LookupEntryLinksRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<LookupEntryLinksRequest.Builder> implements LookupEntryLinksRequestOrBuilder
 Request message for LookupEntryLinks.
 
Protobuf type google.cloud.dataplex.v1.LookupEntryLinksRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<LookupEntryLinksRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<LookupEntryLinksRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<LookupEntryLinksRequest.Builder>
    • getDefaultInstanceForType

      public LookupEntryLinksRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public LookupEntryLinksRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public LookupEntryLinksRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public LookupEntryLinksRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LookupEntryLinksRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<LookupEntryLinksRequest.Builder>
    • mergeFrom

      public LookupEntryLinksRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LookupEntryLinksRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The project to which the request should be attributed to
       Format: `projects/{project_id_or_number}/locations/{location_id}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface LookupEntryLinksRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The project to which the request should be attributed to
       Format: `projects/{project_id_or_number}/locations/{location_id}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface LookupEntryLinksRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public LookupEntryLinksRequest.Builder setName(String value)
       Required. The project to which the request should be attributed to
       Format: `projects/{project_id_or_number}/locations/{location_id}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public LookupEntryLinksRequest.Builder clearName()
       Required. The project to which the request should be attributed to
       Format: `projects/{project_id_or_number}/locations/{location_id}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNameBytes

      public LookupEntryLinksRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The project to which the request should be attributed to
       Format: `projects/{project_id_or_number}/locations/{location_id}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getEntry

      public String getEntry()
       Required. The resource name of the referred Entry.
       Format:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`.
       Entry Links which references this entry will be returned in the response.
       
      string entry = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntry in interface LookupEntryLinksRequestOrBuilder
      Returns:
      The entry.
    • getEntryBytes

      public com.google.protobuf.ByteString getEntryBytes()
       Required. The resource name of the referred Entry.
       Format:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`.
       Entry Links which references this entry will be returned in the response.
       
      string entry = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryBytes in interface LookupEntryLinksRequestOrBuilder
      Returns:
      The bytes for entry.
    • setEntry

      public LookupEntryLinksRequest.Builder setEntry(String value)
       Required. The resource name of the referred Entry.
       Format:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`.
       Entry Links which references this entry will be returned in the response.
       
      string entry = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The entry to set.
      Returns:
      This builder for chaining.
    • clearEntry

      public LookupEntryLinksRequest.Builder clearEntry()
       Required. The resource name of the referred Entry.
       Format:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`.
       Entry Links which references this entry will be returned in the response.
       
      string entry = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setEntryBytes

      public LookupEntryLinksRequest.Builder setEntryBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the referred Entry.
       Format:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`.
       Entry Links which references this entry will be returned in the response.
       
      string entry = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for entry to set.
      Returns:
      This builder for chaining.
    • getEntryModeValue

      public int getEntryModeValue()
       Mode of entry reference.
       
      .google.cloud.dataplex.v1.LookupEntryLinksRequest.EntryMode entry_mode = 3;
      Specified by:
      getEntryModeValue in interface LookupEntryLinksRequestOrBuilder
      Returns:
      The enum numeric value on the wire for entryMode.
    • setEntryModeValue

      public LookupEntryLinksRequest.Builder setEntryModeValue(int value)
       Mode of entry reference.
       
      .google.cloud.dataplex.v1.LookupEntryLinksRequest.EntryMode entry_mode = 3;
      Parameters:
      value - The enum numeric value on the wire for entryMode to set.
      Returns:
      This builder for chaining.
    • getEntryMode

      public LookupEntryLinksRequest.EntryMode getEntryMode()
       Mode of entry reference.
       
      .google.cloud.dataplex.v1.LookupEntryLinksRequest.EntryMode entry_mode = 3;
      Specified by:
      getEntryMode in interface LookupEntryLinksRequestOrBuilder
      Returns:
      The entryMode.
    • setEntryMode

       Mode of entry reference.
       
      .google.cloud.dataplex.v1.LookupEntryLinksRequest.EntryMode entry_mode = 3;
      Parameters:
      value - The entryMode to set.
      Returns:
      This builder for chaining.
    • clearEntryMode

      public LookupEntryLinksRequest.Builder clearEntryMode()
       Mode of entry reference.
       
      .google.cloud.dataplex.v1.LookupEntryLinksRequest.EntryMode entry_mode = 3;
      Returns:
      This builder for chaining.
    • getEntryLinkTypesList

      public com.google.protobuf.ProtocolStringList getEntryLinkTypesList()
       Entry link types to filter the response by. If empty, all entry link types
       will be returned. At most 10 entry link types can be specified.
       
      repeated string entry_link_types = 4;
      Specified by:
      getEntryLinkTypesList in interface LookupEntryLinksRequestOrBuilder
      Returns:
      A list containing the entryLinkTypes.
    • getEntryLinkTypesCount

      public int getEntryLinkTypesCount()
       Entry link types to filter the response by. If empty, all entry link types
       will be returned. At most 10 entry link types can be specified.
       
      repeated string entry_link_types = 4;
      Specified by:
      getEntryLinkTypesCount in interface LookupEntryLinksRequestOrBuilder
      Returns:
      The count of entryLinkTypes.
    • getEntryLinkTypes

      public String getEntryLinkTypes(int index)
       Entry link types to filter the response by. If empty, all entry link types
       will be returned. At most 10 entry link types can be specified.
       
      repeated string entry_link_types = 4;
      Specified by:
      getEntryLinkTypes in interface LookupEntryLinksRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The entryLinkTypes at the given index.
    • getEntryLinkTypesBytes

      public com.google.protobuf.ByteString getEntryLinkTypesBytes(int index)
       Entry link types to filter the response by. If empty, all entry link types
       will be returned. At most 10 entry link types can be specified.
       
      repeated string entry_link_types = 4;
      Specified by:
      getEntryLinkTypesBytes in interface LookupEntryLinksRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the entryLinkTypes at the given index.
    • setEntryLinkTypes

      public LookupEntryLinksRequest.Builder setEntryLinkTypes(int index, String value)
       Entry link types to filter the response by. If empty, all entry link types
       will be returned. At most 10 entry link types can be specified.
       
      repeated string entry_link_types = 4;
      Parameters:
      index - The index to set the value at.
      value - The entryLinkTypes to set.
      Returns:
      This builder for chaining.
    • addEntryLinkTypes

      public LookupEntryLinksRequest.Builder addEntryLinkTypes(String value)
       Entry link types to filter the response by. If empty, all entry link types
       will be returned. At most 10 entry link types can be specified.
       
      repeated string entry_link_types = 4;
      Parameters:
      value - The entryLinkTypes to add.
      Returns:
      This builder for chaining.
    • addAllEntryLinkTypes

      public LookupEntryLinksRequest.Builder addAllEntryLinkTypes(Iterable<String> values)
       Entry link types to filter the response by. If empty, all entry link types
       will be returned. At most 10 entry link types can be specified.
       
      repeated string entry_link_types = 4;
      Parameters:
      values - The entryLinkTypes to add.
      Returns:
      This builder for chaining.
    • clearEntryLinkTypes

      public LookupEntryLinksRequest.Builder clearEntryLinkTypes()
       Entry link types to filter the response by. If empty, all entry link types
       will be returned. At most 10 entry link types can be specified.
       
      repeated string entry_link_types = 4;
      Returns:
      This builder for chaining.
    • addEntryLinkTypesBytes

      public LookupEntryLinksRequest.Builder addEntryLinkTypesBytes(com.google.protobuf.ByteString value)
       Entry link types to filter the response by. If empty, all entry link types
       will be returned. At most 10 entry link types can be specified.
       
      repeated string entry_link_types = 4;
      Parameters:
      value - The bytes of the entryLinkTypes to add.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Maximum number of EntryLinks to return. The service may return fewer
       than this value. If unspecified, at most 10 EntryLinks will be returned.
       The maximum value is 10; values above 10 will be coerced to 10.
       
      int32 page_size = 5;
      Specified by:
      getPageSize in interface LookupEntryLinksRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public LookupEntryLinksRequest.Builder setPageSize(int value)
       Maximum number of EntryLinks to return. The service may return fewer
       than this value. If unspecified, at most 10 EntryLinks will be returned.
       The maximum value is 10; values above 10 will be coerced to 10.
       
      int32 page_size = 5;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public LookupEntryLinksRequest.Builder clearPageSize()
       Maximum number of EntryLinks to return. The service may return fewer
       than this value. If unspecified, at most 10 EntryLinks will be returned.
       The maximum value is 10; values above 10 will be coerced to 10.
       
      int32 page_size = 5;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       Page token received from a previous `LookupEntryLinks` call. Provide this
       to retrieve the subsequent page. When paginating, all other parameters that
       are provided to the `LookupEntryLinks` request must match the call that
       provided the page token.
       
      string page_token = 6;
      Specified by:
      getPageToken in interface LookupEntryLinksRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Page token received from a previous `LookupEntryLinks` call. Provide this
       to retrieve the subsequent page. When paginating, all other parameters that
       are provided to the `LookupEntryLinks` request must match the call that
       provided the page token.
       
      string page_token = 6;
      Specified by:
      getPageTokenBytes in interface LookupEntryLinksRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public LookupEntryLinksRequest.Builder setPageToken(String value)
       Page token received from a previous `LookupEntryLinks` call. Provide this
       to retrieve the subsequent page. When paginating, all other parameters that
       are provided to the `LookupEntryLinks` request must match the call that
       provided the page token.
       
      string page_token = 6;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public LookupEntryLinksRequest.Builder clearPageToken()
       Page token received from a previous `LookupEntryLinks` call. Provide this
       to retrieve the subsequent page. When paginating, all other parameters that
       are provided to the `LookupEntryLinks` request must match the call that
       provided the page token.
       
      string page_token = 6;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public LookupEntryLinksRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Page token received from a previous `LookupEntryLinks` call. Provide this
       to retrieve the subsequent page. When paginating, all other parameters that
       are provided to the `LookupEntryLinks` request must match the call that
       provided the page token.
       
      string page_token = 6;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.