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.datacatalog.v1beta1.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
 Request message for
 [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry].
 
Protobuf type google.cloud.datacatalog.v1beta1.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 name of the entry group this entry is in. Example:
      
       * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      
       Note that this Entry and its child resources may not actually be stored in
       the location in this name.
       
      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 name of the entry group this entry is in. Example:
      
       * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      
       Note that this Entry and its child resources may not actually be stored in
       the location in this name.
       
      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 name of the entry group this entry is in. Example:
      
       * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      
       Note that this Entry and its child resources may not actually be stored in
       the location in this name.
       
      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 name of the entry group this entry is in. Example:
      
       * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      
       Note that this Entry and its child resources may not actually be stored in
       the location in this name.
       
      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 name of the entry group this entry is in. Example:
      
       * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
      
       Note that this Entry and its child resources may not actually be stored in
       the location in this name.
       
      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. The id of the entry to create.
       
      string entry_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryId in interface CreateEntryRequestOrBuilder
      Returns:
      The entryId.
    • getEntryIdBytes

      public com.google.protobuf.ByteString getEntryIdBytes()
       Required. The id of the entry to create.
       
      string entry_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryIdBytes in interface CreateEntryRequestOrBuilder
      Returns:
      The bytes for entryId.
    • setEntryId

      public CreateEntryRequest.Builder setEntryId(String value)
       Required. The id of the entry to create.
       
      string entry_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The entryId to set.
      Returns:
      This builder for chaining.
    • clearEntryId

      public CreateEntryRequest.Builder clearEntryId()
       Required. The id of the entry to create.
       
      string entry_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setEntryIdBytes

      public CreateEntryRequest.Builder setEntryIdBytes(com.google.protobuf.ByteString value)
       Required. The id of the entry to create.
       
      string entry_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for entryId to set.
      Returns:
      This builder for chaining.
    • hasEntry

      public boolean hasEntry()
       Required. The entry to create.
       
      .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasEntry in interface CreateEntryRequestOrBuilder
      Returns:
      Whether the entry field is set.
    • getEntry

      public Entry getEntry()
       Required. The entry to create.
       
      .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntry in interface CreateEntryRequestOrBuilder
      Returns:
      The entry.
    • setEntry

      public CreateEntryRequest.Builder setEntry(Entry value)
       Required. The entry to create.
       
      .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];
    • setEntry

      public CreateEntryRequest.Builder setEntry(Entry.Builder builderForValue)
       Required. The entry to create.
       
      .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeEntry

      public CreateEntryRequest.Builder mergeEntry(Entry value)
       Required. The entry to create.
       
      .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearEntry

      public CreateEntryRequest.Builder clearEntry()
       Required. The entry to create.
       
      .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];
    • getEntryBuilder

      public Entry.Builder getEntryBuilder()
       Required. The entry to create.
       
      .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];
    • getEntryOrBuilder

      public EntryOrBuilder getEntryOrBuilder()
       Required. The entry to create.
       
      .google.cloud.datacatalog.v1beta1.Entry entry = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryOrBuilder in interface CreateEntryRequestOrBuilder