Class CreateEntryTypeRequest.Builder

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

public static final class CreateEntryTypeRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateEntryTypeRequest.Builder> implements CreateEntryTypeRequestOrBuilder
 Create EntryType Request.
 
Protobuf type google.cloud.dataplex.v1.CreateEntryTypeRequest
  • 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<CreateEntryTypeRequest.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<CreateEntryTypeRequest.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<CreateEntryTypeRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. The resource name of the EntryType, of the form:
       projects/{project_number}/locations/{location_id}
       where `location_id` refers to a Google Cloud region.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateEntryTypeRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the EntryType, of the form:
       projects/{project_number}/locations/{location_id}
       where `location_id` refers to a Google Cloud region.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateEntryTypeRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateEntryTypeRequest.Builder setParent(String value)
       Required. The resource name of the EntryType, of the form:
       projects/{project_number}/locations/{location_id}
       where `location_id` refers to a Google Cloud region.
       
      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 CreateEntryTypeRequest.Builder clearParent()
       Required. The resource name of the EntryType, of the form:
       projects/{project_number}/locations/{location_id}
       where `location_id` refers to a Google Cloud region.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateEntryTypeRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the EntryType, of the form:
       projects/{project_number}/locations/{location_id}
       where `location_id` refers to a Google Cloud region.
       
      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.
    • getEntryTypeId

      public String getEntryTypeId()
       Required. EntryType identifier.
       
      string entry_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryTypeId in interface CreateEntryTypeRequestOrBuilder
      Returns:
      The entryTypeId.
    • getEntryTypeIdBytes

      public com.google.protobuf.ByteString getEntryTypeIdBytes()
       Required. EntryType identifier.
       
      string entry_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryTypeIdBytes in interface CreateEntryTypeRequestOrBuilder
      Returns:
      The bytes for entryTypeId.
    • setEntryTypeId

      public CreateEntryTypeRequest.Builder setEntryTypeId(String value)
       Required. EntryType identifier.
       
      string entry_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The entryTypeId to set.
      Returns:
      This builder for chaining.
    • clearEntryTypeId

      public CreateEntryTypeRequest.Builder clearEntryTypeId()
       Required. EntryType identifier.
       
      string entry_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setEntryTypeIdBytes

      public CreateEntryTypeRequest.Builder setEntryTypeIdBytes(com.google.protobuf.ByteString value)
       Required. EntryType identifier.
       
      string entry_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for entryTypeId to set.
      Returns:
      This builder for chaining.
    • hasEntryType

      public boolean hasEntryType()
       Required. EntryType Resource.
       
      .google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasEntryType in interface CreateEntryTypeRequestOrBuilder
      Returns:
      Whether the entryType field is set.
    • getEntryType

      public EntryType getEntryType()
       Required. EntryType Resource.
       
      .google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryType in interface CreateEntryTypeRequestOrBuilder
      Returns:
      The entryType.
    • setEntryType

      public CreateEntryTypeRequest.Builder setEntryType(EntryType value)
       Required. EntryType Resource.
       
      .google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];
    • setEntryType

      public CreateEntryTypeRequest.Builder setEntryType(EntryType.Builder builderForValue)
       Required. EntryType Resource.
       
      .google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeEntryType

      public CreateEntryTypeRequest.Builder mergeEntryType(EntryType value)
       Required. EntryType Resource.
       
      .google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearEntryType

      public CreateEntryTypeRequest.Builder clearEntryType()
       Required. EntryType Resource.
       
      .google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];
    • getEntryTypeBuilder

      public EntryType.Builder getEntryTypeBuilder()
       Required. EntryType Resource.
       
      .google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];
    • getEntryTypeOrBuilder

      public EntryTypeOrBuilder getEntryTypeOrBuilder()
       Required. EntryType Resource.
       
      .google.cloud.dataplex.v1.EntryType entry_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntryTypeOrBuilder in interface CreateEntryTypeRequestOrBuilder
    • getValidateOnly

      public boolean getValidateOnly()
       Optional. The service validates the request without performing any
       mutations. The default is false.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValidateOnly in interface CreateEntryTypeRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public CreateEntryTypeRequest.Builder setValidateOnly(boolean value)
       Optional. The service validates the request without performing any
       mutations. The default is false.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public CreateEntryTypeRequest.Builder clearValidateOnly()
       Optional. The service validates the request without performing any
       mutations. The default is false.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.