Class BatchCreateFeaturesRequest.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

      public String getParent()
       Required. The resource name of the EntityType/FeatureGroup to create the
       batch of Features under. Format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
       `projects/{project}/locations/{location}/featureGroups/{feature_group}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface BatchCreateFeaturesRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the EntityType/FeatureGroup to create the
       batch of Features under. Format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
       `projects/{project}/locations/{location}/featureGroups/{feature_group}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface BatchCreateFeaturesRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public BatchCreateFeaturesRequest.Builder setParent(String value)
       Required. The resource name of the EntityType/FeatureGroup to create the
       batch of Features under. Format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
       `projects/{project}/locations/{location}/featureGroups/{feature_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 BatchCreateFeaturesRequest.Builder clearParent()
       Required. The resource name of the EntityType/FeatureGroup to create the
       batch of Features under. Format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
       `projects/{project}/locations/{location}/featureGroups/{feature_group}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public BatchCreateFeaturesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the EntityType/FeatureGroup to create the
       batch of Features under. Format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
       `projects/{project}/locations/{location}/featureGroups/{feature_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.
    • getRequestsList

      public List<CreateFeatureRequest> getRequestsList()
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsList in interface BatchCreateFeaturesRequestOrBuilder
    • getRequestsCount

      public int getRequestsCount()
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsCount in interface BatchCreateFeaturesRequestOrBuilder
    • getRequests

      public CreateFeatureRequest getRequests(int index)
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequests in interface BatchCreateFeaturesRequestOrBuilder
    • setRequests

      public BatchCreateFeaturesRequest.Builder setRequests(int index, CreateFeatureRequest value)
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • setRequests

      public BatchCreateFeaturesRequest.Builder setRequests(int index, CreateFeatureRequest.Builder builderForValue)
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

      public BatchCreateFeaturesRequest.Builder addRequests(int index, CreateFeatureRequest value)
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

      public BatchCreateFeaturesRequest.Builder addRequests(int index, CreateFeatureRequest.Builder builderForValue)
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllRequests

      public BatchCreateFeaturesRequest.Builder addAllRequests(Iterable<? extends CreateFeatureRequest> values)
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearRequests

      public BatchCreateFeaturesRequest.Builder clearRequests()
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeRequests

      public BatchCreateFeaturesRequest.Builder removeRequests(int index)
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilder

      public CreateFeatureRequest.Builder getRequestsBuilder(int index)
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilder

      public CreateFeatureRequestOrBuilder getRequestsOrBuilder(int index)
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilder in interface BatchCreateFeaturesRequestOrBuilder
    • getRequestsOrBuilderList

      public List<? extends CreateFeatureRequestOrBuilder> getRequestsOrBuilderList()
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilderList in interface BatchCreateFeaturesRequestOrBuilder
    • addRequestsBuilder

      public CreateFeatureRequest.Builder addRequestsBuilder()
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequestsBuilder

      public CreateFeatureRequest.Builder addRequestsBuilder(int index)
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilderList

      public List<CreateFeatureRequest.Builder> getRequestsBuilderList()
       Required. The request message specifying the Features to create. All
       Features must be created under the same parent EntityType / FeatureGroup.
       The `parent` field in each child request message can be omitted. If
       `parent` is set in a child request, then the value must match the `parent`
       value in this request message.
       
      repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];