Class CreateEntityTypeRequest.Builder

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

public static final class CreateEntityTypeRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateEntityTypeRequest.Builder> implements CreateEntityTypeRequestOrBuilder
 Request message for
 [FeaturestoreService.CreateEntityType][google.cloud.aiplatform.v1.FeaturestoreService.CreateEntityType].
 
Protobuf type google.cloud.aiplatform.v1.CreateEntityTypeRequest
  • 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<CreateEntityTypeRequest.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<CreateEntityTypeRequest.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<CreateEntityTypeRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. The resource name of the Featurestore to create EntityTypes.
       Format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateEntityTypeRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the Featurestore to create EntityTypes.
       Format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateEntityTypeRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateEntityTypeRequest.Builder setParent(String value)
       Required. The resource name of the Featurestore to create EntityTypes.
       Format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}`
       
      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 CreateEntityTypeRequest.Builder clearParent()
       Required. The resource name of the Featurestore to create EntityTypes.
       Format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateEntityTypeRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the Featurestore to create EntityTypes.
       Format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}`
       
      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.
    • hasEntityType

      public boolean hasEntityType()
       The EntityType to create.
       
      .google.cloud.aiplatform.v1.EntityType entity_type = 2;
      Specified by:
      hasEntityType in interface CreateEntityTypeRequestOrBuilder
      Returns:
      Whether the entityType field is set.
    • getEntityType

      public EntityType getEntityType()
       The EntityType to create.
       
      .google.cloud.aiplatform.v1.EntityType entity_type = 2;
      Specified by:
      getEntityType in interface CreateEntityTypeRequestOrBuilder
      Returns:
      The entityType.
    • setEntityType

      public CreateEntityTypeRequest.Builder setEntityType(EntityType value)
       The EntityType to create.
       
      .google.cloud.aiplatform.v1.EntityType entity_type = 2;
    • setEntityType

      public CreateEntityTypeRequest.Builder setEntityType(EntityType.Builder builderForValue)
       The EntityType to create.
       
      .google.cloud.aiplatform.v1.EntityType entity_type = 2;
    • mergeEntityType

      public CreateEntityTypeRequest.Builder mergeEntityType(EntityType value)
       The EntityType to create.
       
      .google.cloud.aiplatform.v1.EntityType entity_type = 2;
    • clearEntityType

      public CreateEntityTypeRequest.Builder clearEntityType()
       The EntityType to create.
       
      .google.cloud.aiplatform.v1.EntityType entity_type = 2;
    • getEntityTypeBuilder

      public EntityType.Builder getEntityTypeBuilder()
       The EntityType to create.
       
      .google.cloud.aiplatform.v1.EntityType entity_type = 2;
    • getEntityTypeOrBuilder

      public EntityTypeOrBuilder getEntityTypeOrBuilder()
       The EntityType to create.
       
      .google.cloud.aiplatform.v1.EntityType entity_type = 2;
      Specified by:
      getEntityTypeOrBuilder in interface CreateEntityTypeRequestOrBuilder
    • getEntityTypeId

      public String getEntityTypeId()
       Required. The ID to use for the EntityType, which will become the final
       component of the EntityType's resource name.
      
       This value may be up to 60 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within a featurestore.
       
      string entity_type_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntityTypeId in interface CreateEntityTypeRequestOrBuilder
      Returns:
      The entityTypeId.
    • getEntityTypeIdBytes

      public com.google.protobuf.ByteString getEntityTypeIdBytes()
       Required. The ID to use for the EntityType, which will become the final
       component of the EntityType's resource name.
      
       This value may be up to 60 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within a featurestore.
       
      string entity_type_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEntityTypeIdBytes in interface CreateEntityTypeRequestOrBuilder
      Returns:
      The bytes for entityTypeId.
    • setEntityTypeId

      public CreateEntityTypeRequest.Builder setEntityTypeId(String value)
       Required. The ID to use for the EntityType, which will become the final
       component of the EntityType's resource name.
      
       This value may be up to 60 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within a featurestore.
       
      string entity_type_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The entityTypeId to set.
      Returns:
      This builder for chaining.
    • clearEntityTypeId

      public CreateEntityTypeRequest.Builder clearEntityTypeId()
       Required. The ID to use for the EntityType, which will become the final
       component of the EntityType's resource name.
      
       This value may be up to 60 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within a featurestore.
       
      string entity_type_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setEntityTypeIdBytes

      public CreateEntityTypeRequest.Builder setEntityTypeIdBytes(com.google.protobuf.ByteString value)
       Required. The ID to use for the EntityType, which will become the final
       component of the EntityType's resource name.
      
       This value may be up to 60 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within a featurestore.
       
      string entity_type_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for entityTypeId to set.
      Returns:
      This builder for chaining.