Class CreateEntryLinkRequest.Builder

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

public static final class CreateEntryLinkRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateEntryLinkRequest.Builder> implements CreateEntryLinkRequestOrBuilder
 Request message for CreateEntryLink.
 
Protobuf type google.cloud.dataplex.v1.CreateEntryLinkRequest
  • 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<CreateEntryLinkRequest.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<CreateEntryLinkRequest.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<CreateEntryLinkRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public CreateEntryLinkRequest.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<CreateEntryLinkRequest.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<CreateEntryLinkRequest.Builder>
    • mergeFrom

      public CreateEntryLinkRequest.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<CreateEntryLinkRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The resource name of the parent Entry Group:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateEntryLinkRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the parent Entry Group:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateEntryLinkRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateEntryLinkRequest.Builder setParent(String value)
       Required. The resource name of the parent Entry Group:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateEntryLinkRequest.Builder clearParent()
       Required. The resource name of the parent Entry Group:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateEntryLinkRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the parent Entry Group:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getEntryLinkId

      public String getEntryLinkId()
       Required. Entry Link identifier
       * Must contain only lowercase letters, numbers and hyphens.
       * Must start with a letter.
       * Must be between 1-63 characters.
       * Must end with a number or a letter.
       * Must be unique within the EntryGroup.
       
      string entry_link_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryLinkId in interface CreateEntryLinkRequestOrBuilder
      Returns:
      The entryLinkId.
    • getEntryLinkIdBytes

      public com.google.protobuf.ByteString getEntryLinkIdBytes()
       Required. Entry Link identifier
       * Must contain only lowercase letters, numbers and hyphens.
       * Must start with a letter.
       * Must be between 1-63 characters.
       * Must end with a number or a letter.
       * Must be unique within the EntryGroup.
       
      string entry_link_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryLinkIdBytes in interface CreateEntryLinkRequestOrBuilder
      Returns:
      The bytes for entryLinkId.
    • setEntryLinkId

      public CreateEntryLinkRequest.Builder setEntryLinkId(String value)
       Required. Entry Link identifier
       * Must contain only lowercase letters, numbers and hyphens.
       * Must start with a letter.
       * Must be between 1-63 characters.
       * Must end with a number or a letter.
       * Must be unique within the EntryGroup.
       
      string entry_link_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The entryLinkId to set.
      Returns:
      This builder for chaining.
    • clearEntryLinkId

      public CreateEntryLinkRequest.Builder clearEntryLinkId()
       Required. Entry Link identifier
       * Must contain only lowercase letters, numbers and hyphens.
       * Must start with a letter.
       * Must be between 1-63 characters.
       * Must end with a number or a letter.
       * Must be unique within the EntryGroup.
       
      string entry_link_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setEntryLinkIdBytes

      public CreateEntryLinkRequest.Builder setEntryLinkIdBytes(com.google.protobuf.ByteString value)
       Required. Entry Link identifier
       * Must contain only lowercase letters, numbers and hyphens.
       * Must start with a letter.
       * Must be between 1-63 characters.
       * Must end with a number or a letter.
       * Must be unique within the EntryGroup.
       
      string entry_link_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for entryLinkId to set.
      Returns:
      This builder for chaining.
    • hasEntryLink

      public boolean hasEntryLink()
       Required. Entry Link resource.
       
      .google.cloud.dataplex.v1.EntryLink entry_link = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasEntryLink in interface CreateEntryLinkRequestOrBuilder
      Returns:
      Whether the entryLink field is set.
    • getEntryLink

      public EntryLink getEntryLink()
       Required. Entry Link resource.
       
      .google.cloud.dataplex.v1.EntryLink entry_link = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryLink in interface CreateEntryLinkRequestOrBuilder
      Returns:
      The entryLink.
    • setEntryLink

      public CreateEntryLinkRequest.Builder setEntryLink(EntryLink value)
       Required. Entry Link resource.
       
      .google.cloud.dataplex.v1.EntryLink entry_link = 3 [(.google.api.field_behavior) = REQUIRED];
    • setEntryLink

      public CreateEntryLinkRequest.Builder setEntryLink(EntryLink.Builder builderForValue)
       Required. Entry Link resource.
       
      .google.cloud.dataplex.v1.EntryLink entry_link = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeEntryLink

      public CreateEntryLinkRequest.Builder mergeEntryLink(EntryLink value)
       Required. Entry Link resource.
       
      .google.cloud.dataplex.v1.EntryLink entry_link = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearEntryLink

      public CreateEntryLinkRequest.Builder clearEntryLink()
       Required. Entry Link resource.
       
      .google.cloud.dataplex.v1.EntryLink entry_link = 3 [(.google.api.field_behavior) = REQUIRED];
    • getEntryLinkBuilder

      public EntryLink.Builder getEntryLinkBuilder()
       Required. Entry Link resource.
       
      .google.cloud.dataplex.v1.EntryLink entry_link = 3 [(.google.api.field_behavior) = REQUIRED];
    • getEntryLinkOrBuilder

      public EntryLinkOrBuilder getEntryLinkOrBuilder()
       Required. Entry Link resource.
       
      .google.cloud.dataplex.v1.EntryLink entry_link = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryLinkOrBuilder in interface CreateEntryLinkRequestOrBuilder