Class FeatureGroup.Builder

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

public static final class FeatureGroup.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeatureGroup.Builder> implements FeatureGroupOrBuilder
 Vertex AI Feature Group.
 
Protobuf type google.cloud.aiplatform.v1.FeatureGroup
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<FeatureGroup.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<FeatureGroup.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FeatureGroup.Builder>
    • clear

      public FeatureGroup.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<FeatureGroup.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<FeatureGroup.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public FeatureGroup.Builder mergeFrom(FeatureGroup other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FeatureGroup.Builder>
    • mergeFrom

      public FeatureGroup.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<FeatureGroup.Builder>
      Throws:
      IOException
    • getSourceCase

      public FeatureGroup.SourceCase getSourceCase()
      Specified by:
      getSourceCase in interface FeatureGroupOrBuilder
    • clearSource

      public FeatureGroup.Builder clearSource()
    • hasBigQuery

      public boolean hasBigQuery()
       Indicates that features for this group come from BigQuery Table/View.
       By default treats the source as a sparse time series source. The BigQuery
       source table or view must have at least one entity ID column and a column
       named `feature_timestamp`.
       
      .google.cloud.aiplatform.v1.FeatureGroup.BigQuery big_query = 7;
      Specified by:
      hasBigQuery in interface FeatureGroupOrBuilder
      Returns:
      Whether the bigQuery field is set.
    • getBigQuery

      public FeatureGroup.BigQuery getBigQuery()
       Indicates that features for this group come from BigQuery Table/View.
       By default treats the source as a sparse time series source. The BigQuery
       source table or view must have at least one entity ID column and a column
       named `feature_timestamp`.
       
      .google.cloud.aiplatform.v1.FeatureGroup.BigQuery big_query = 7;
      Specified by:
      getBigQuery in interface FeatureGroupOrBuilder
      Returns:
      The bigQuery.
    • setBigQuery

      public FeatureGroup.Builder setBigQuery(FeatureGroup.BigQuery value)
       Indicates that features for this group come from BigQuery Table/View.
       By default treats the source as a sparse time series source. The BigQuery
       source table or view must have at least one entity ID column and a column
       named `feature_timestamp`.
       
      .google.cloud.aiplatform.v1.FeatureGroup.BigQuery big_query = 7;
    • setBigQuery

      public FeatureGroup.Builder setBigQuery(FeatureGroup.BigQuery.Builder builderForValue)
       Indicates that features for this group come from BigQuery Table/View.
       By default treats the source as a sparse time series source. The BigQuery
       source table or view must have at least one entity ID column and a column
       named `feature_timestamp`.
       
      .google.cloud.aiplatform.v1.FeatureGroup.BigQuery big_query = 7;
    • mergeBigQuery

      public FeatureGroup.Builder mergeBigQuery(FeatureGroup.BigQuery value)
       Indicates that features for this group come from BigQuery Table/View.
       By default treats the source as a sparse time series source. The BigQuery
       source table or view must have at least one entity ID column and a column
       named `feature_timestamp`.
       
      .google.cloud.aiplatform.v1.FeatureGroup.BigQuery big_query = 7;
    • clearBigQuery

      public FeatureGroup.Builder clearBigQuery()
       Indicates that features for this group come from BigQuery Table/View.
       By default treats the source as a sparse time series source. The BigQuery
       source table or view must have at least one entity ID column and a column
       named `feature_timestamp`.
       
      .google.cloud.aiplatform.v1.FeatureGroup.BigQuery big_query = 7;
    • getBigQueryBuilder

      public FeatureGroup.BigQuery.Builder getBigQueryBuilder()
       Indicates that features for this group come from BigQuery Table/View.
       By default treats the source as a sparse time series source. The BigQuery
       source table or view must have at least one entity ID column and a column
       named `feature_timestamp`.
       
      .google.cloud.aiplatform.v1.FeatureGroup.BigQuery big_query = 7;
    • getBigQueryOrBuilder

      public FeatureGroup.BigQueryOrBuilder getBigQueryOrBuilder()
       Indicates that features for this group come from BigQuery Table/View.
       By default treats the source as a sparse time series source. The BigQuery
       source table or view must have at least one entity ID column and a column
       named `feature_timestamp`.
       
      .google.cloud.aiplatform.v1.FeatureGroup.BigQuery big_query = 7;
      Specified by:
      getBigQueryOrBuilder in interface FeatureGroupOrBuilder
    • getName

      public String getName()
       Identifier. Name of the FeatureGroup. Format:
       `projects/{project}/locations/{location}/featureGroups/{featureGroup}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface FeatureGroupOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the FeatureGroup. Format:
       `projects/{project}/locations/{location}/featureGroups/{featureGroup}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface FeatureGroupOrBuilder
      Returns:
      The bytes for name.
    • setName

      public FeatureGroup.Builder setName(String value)
       Identifier. Name of the FeatureGroup. Format:
       `projects/{project}/locations/{location}/featureGroups/{featureGroup}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public FeatureGroup.Builder clearName()
       Identifier. Name of the FeatureGroup. Format:
       `projects/{project}/locations/{location}/featureGroups/{featureGroup}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public FeatureGroup.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Name of the FeatureGroup. Format:
       `projects/{project}/locations/{location}/featureGroups/{featureGroup}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Timestamp when this FeatureGroup was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface FeatureGroupOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp when this FeatureGroup was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface FeatureGroupOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public FeatureGroup.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this FeatureGroup was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public FeatureGroup.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this FeatureGroup was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public FeatureGroup.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this FeatureGroup was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public FeatureGroup.Builder clearCreateTime()
       Output only. Timestamp when this FeatureGroup was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Timestamp when this FeatureGroup was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when this FeatureGroup was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface FeatureGroupOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Timestamp when this FeatureGroup was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface FeatureGroupOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Timestamp when this FeatureGroup was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface FeatureGroupOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public FeatureGroup.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this FeatureGroup was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public FeatureGroup.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this FeatureGroup was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public FeatureGroup.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this FeatureGroup was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public FeatureGroup.Builder clearUpdateTime()
       Output only. Timestamp when this FeatureGroup was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Timestamp when this FeatureGroup was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp when this FeatureGroup was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface FeatureGroupOrBuilder
    • getEtag

      public String getEtag()
       Optional. Used to perform consistent read-modify-write updates. If not set,
       a blind "overwrite" update happens.
       
      string etag = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtag in interface FeatureGroupOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Optional. Used to perform consistent read-modify-write updates. If not set,
       a blind "overwrite" update happens.
       
      string etag = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtagBytes in interface FeatureGroupOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public FeatureGroup.Builder setEtag(String value)
       Optional. Used to perform consistent read-modify-write updates. If not set,
       a blind "overwrite" update happens.
       
      string etag = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public FeatureGroup.Builder clearEtag()
       Optional. Used to perform consistent read-modify-write updates. If not set,
       a blind "overwrite" update happens.
       
      string etag = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public FeatureGroup.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Optional. Used to perform consistent read-modify-write updates. If not set,
       a blind "overwrite" update happens.
       
      string etag = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: FeatureGroupOrBuilder
       Optional. The labels with user-defined metadata to organize your
       FeatureGroup.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       No more than 64 user labels can be associated with one
       FeatureGroup(System labels are excluded)." System reserved label keys
       are prefixed with "aiplatform.googleapis.com/" and are immutable.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface FeatureGroupOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. The labels with user-defined metadata to organize your
       FeatureGroup.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       No more than 64 user labels can be associated with one
       FeatureGroup(System labels are excluded)." System reserved label keys
       are prefixed with "aiplatform.googleapis.com/" and are immutable.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface FeatureGroupOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface FeatureGroupOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. The labels with user-defined metadata to organize your
       FeatureGroup.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       No more than 64 user labels can be associated with one
       FeatureGroup(System labels are excluded)." System reserved label keys
       are prefixed with "aiplatform.googleapis.com/" and are immutable.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface FeatureGroupOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. The labels with user-defined metadata to organize your
       FeatureGroup.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       No more than 64 user labels can be associated with one
       FeatureGroup(System labels are excluded)." System reserved label keys
       are prefixed with "aiplatform.googleapis.com/" and are immutable.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface FeatureGroupOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. The labels with user-defined metadata to organize your
       FeatureGroup.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       No more than 64 user labels can be associated with one
       FeatureGroup(System labels are excluded)." System reserved label keys
       are prefixed with "aiplatform.googleapis.com/" and are immutable.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface FeatureGroupOrBuilder
    • clearLabels

      public FeatureGroup.Builder clearLabels()
    • removeLabels

      public FeatureGroup.Builder removeLabels(String key)
       Optional. The labels with user-defined metadata to organize your
       FeatureGroup.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       No more than 64 user labels can be associated with one
       FeatureGroup(System labels are excluded)." System reserved label keys
       are prefixed with "aiplatform.googleapis.com/" and are immutable.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public FeatureGroup.Builder putLabels(String key, String value)
       Optional. The labels with user-defined metadata to organize your
       FeatureGroup.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       No more than 64 user labels can be associated with one
       FeatureGroup(System labels are excluded)." System reserved label keys
       are prefixed with "aiplatform.googleapis.com/" and are immutable.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public FeatureGroup.Builder putAllLabels(Map<String,String> values)
       Optional. The labels with user-defined metadata to organize your
       FeatureGroup.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information on and examples of labels.
       No more than 64 user labels can be associated with one
       FeatureGroup(System labels are excluded)." System reserved label keys
       are prefixed with "aiplatform.googleapis.com/" and are immutable.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getDescription

      public String getDescription()
       Optional. Description of the FeatureGroup.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface FeatureGroupOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the FeatureGroup.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface FeatureGroupOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public FeatureGroup.Builder setDescription(String value)
       Optional. Description of the FeatureGroup.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public FeatureGroup.Builder clearDescription()
       Optional. Description of the FeatureGroup.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public FeatureGroup.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Description of the FeatureGroup.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.