Class CreateEntryRequest.Builder

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

public static final class CreateEntryRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateEntryRequest.Builder> implements CreateEntryRequestOrBuilder
 Create Entry request.
 
Protobuf type google.cloud.dataplex.v1.CreateEntryRequest
  • 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<CreateEntryRequest.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<CreateEntryRequest.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<CreateEntryRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

      public CreateEntryRequest.Builder setParent(String value)
       Required. The resource name of the parent Entry Group:
       `projects/{project}/locations/{location}/entryGroups/{entry_group}`.
       
      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 CreateEntryRequest.Builder clearParent()
       Required. The resource name of the parent Entry Group:
       `projects/{project}/locations/{location}/entryGroups/{entry_group}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateEntryRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the parent Entry Group:
       `projects/{project}/locations/{location}/entryGroups/{entry_group}`.
       
      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.
    • getEntryId

      public String getEntryId()
       Required. Entry identifier. It has to be unique within an Entry Group.
      
       Entries corresponding to Google Cloud resources use an Entry ID format
       based on [full resource
       names](https://cloud.google.com/apis/design/resource_names#full_resource_name).
       The format is a full resource name of the resource without the
       prefix double slashes in the API service name part of the full resource
       name. This allows retrieval of entries using their associated resource
       name.
      
       For example, if the full resource name of a resource is
       `//library.googleapis.com/shelves/shelf1/books/book2`,
       then the suggested entry_id is
       `library.googleapis.com/shelves/shelf1/books/book2`.
      
       It is also suggested to follow the same convention for entries
       corresponding to resources from providers or systems other than Google
       Cloud.
      
       The maximum size of the field is 4000 characters.
       
      string entry_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryId in interface CreateEntryRequestOrBuilder
      Returns:
      The entryId.
    • getEntryIdBytes

      public com.google.protobuf.ByteString getEntryIdBytes()
       Required. Entry identifier. It has to be unique within an Entry Group.
      
       Entries corresponding to Google Cloud resources use an Entry ID format
       based on [full resource
       names](https://cloud.google.com/apis/design/resource_names#full_resource_name).
       The format is a full resource name of the resource without the
       prefix double slashes in the API service name part of the full resource
       name. This allows retrieval of entries using their associated resource
       name.
      
       For example, if the full resource name of a resource is
       `//library.googleapis.com/shelves/shelf1/books/book2`,
       then the suggested entry_id is
       `library.googleapis.com/shelves/shelf1/books/book2`.
      
       It is also suggested to follow the same convention for entries
       corresponding to resources from providers or systems other than Google
       Cloud.
      
       The maximum size of the field is 4000 characters.
       
      string entry_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryIdBytes in interface CreateEntryRequestOrBuilder
      Returns:
      The bytes for entryId.
    • setEntryId

      public CreateEntryRequest.Builder setEntryId(String value)
       Required. Entry identifier. It has to be unique within an Entry Group.
      
       Entries corresponding to Google Cloud resources use an Entry ID format
       based on [full resource
       names](https://cloud.google.com/apis/design/resource_names#full_resource_name).
       The format is a full resource name of the resource without the
       prefix double slashes in the API service name part of the full resource
       name. This allows retrieval of entries using their associated resource
       name.
      
       For example, if the full resource name of a resource is
       `//library.googleapis.com/shelves/shelf1/books/book2`,
       then the suggested entry_id is
       `library.googleapis.com/shelves/shelf1/books/book2`.
      
       It is also suggested to follow the same convention for entries
       corresponding to resources from providers or systems other than Google
       Cloud.
      
       The maximum size of the field is 4000 characters.
       
      string entry_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The entryId to set.
      Returns:
      This builder for chaining.
    • clearEntryId

      public CreateEntryRequest.Builder clearEntryId()
       Required. Entry identifier. It has to be unique within an Entry Group.
      
       Entries corresponding to Google Cloud resources use an Entry ID format
       based on [full resource
       names](https://cloud.google.com/apis/design/resource_names#full_resource_name).
       The format is a full resource name of the resource without the
       prefix double slashes in the API service name part of the full resource
       name. This allows retrieval of entries using their associated resource
       name.
      
       For example, if the full resource name of a resource is
       `//library.googleapis.com/shelves/shelf1/books/book2`,
       then the suggested entry_id is
       `library.googleapis.com/shelves/shelf1/books/book2`.
      
       It is also suggested to follow the same convention for entries
       corresponding to resources from providers or systems other than Google
       Cloud.
      
       The maximum size of the field is 4000 characters.
       
      string entry_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setEntryIdBytes

      public CreateEntryRequest.Builder setEntryIdBytes(com.google.protobuf.ByteString value)
       Required. Entry identifier. It has to be unique within an Entry Group.
      
       Entries corresponding to Google Cloud resources use an Entry ID format
       based on [full resource
       names](https://cloud.google.com/apis/design/resource_names#full_resource_name).
       The format is a full resource name of the resource without the
       prefix double slashes in the API service name part of the full resource
       name. This allows retrieval of entries using their associated resource
       name.
      
       For example, if the full resource name of a resource is
       `//library.googleapis.com/shelves/shelf1/books/book2`,
       then the suggested entry_id is
       `library.googleapis.com/shelves/shelf1/books/book2`.
      
       It is also suggested to follow the same convention for entries
       corresponding to resources from providers or systems other than Google
       Cloud.
      
       The maximum size of the field is 4000 characters.
       
      string entry_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for entryId to set.
      Returns:
      This builder for chaining.
    • hasEntry

      public boolean hasEntry()
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasEntry in interface CreateEntryRequestOrBuilder
      Returns:
      Whether the entry field is set.
    • getEntry

      public Entry getEntry()
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntry in interface CreateEntryRequestOrBuilder
      Returns:
      The entry.
    • setEntry

      public CreateEntryRequest.Builder setEntry(Entry value)
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];
    • setEntry

      public CreateEntryRequest.Builder setEntry(Entry.Builder builderForValue)
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeEntry

      public CreateEntryRequest.Builder mergeEntry(Entry value)
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearEntry

      public CreateEntryRequest.Builder clearEntry()
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];
    • getEntryBuilder

      public Entry.Builder getEntryBuilder()
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];
    • getEntryOrBuilder

      public EntryOrBuilder getEntryOrBuilder()
       Required. Entry resource.
       
      .google.cloud.dataplex.v1.Entry entry = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryOrBuilder in interface CreateEntryRequestOrBuilder