Class FeatureViewDataKey.CompositeKey.Builder

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

public static final class FeatureViewDataKey.CompositeKey.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeatureViewDataKey.CompositeKey.Builder> implements FeatureViewDataKey.CompositeKeyOrBuilder
 ID that is comprised from several parts (columns).
 
Protobuf type google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey
  • 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<FeatureViewDataKey.CompositeKey.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<FeatureViewDataKey.CompositeKey.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<FeatureViewDataKey.CompositeKey.Builder>
    • getDefaultInstanceForType

      public FeatureViewDataKey.CompositeKey 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 FeatureViewDataKey.CompositeKey buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public FeatureViewDataKey.CompositeKey.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<FeatureViewDataKey.CompositeKey.Builder>
      Throws:
      IOException
    • getPartsList

      public com.google.protobuf.ProtocolStringList getPartsList()
       Parts to construct Entity ID. Should match with the same ID columns as
       defined in FeatureView in the same order.
       
      repeated string parts = 1;
      Specified by:
      getPartsList in interface FeatureViewDataKey.CompositeKeyOrBuilder
      Returns:
      A list containing the parts.
    • getPartsCount

      public int getPartsCount()
       Parts to construct Entity ID. Should match with the same ID columns as
       defined in FeatureView in the same order.
       
      repeated string parts = 1;
      Specified by:
      getPartsCount in interface FeatureViewDataKey.CompositeKeyOrBuilder
      Returns:
      The count of parts.
    • getParts

      public String getParts(int index)
       Parts to construct Entity ID. Should match with the same ID columns as
       defined in FeatureView in the same order.
       
      repeated string parts = 1;
      Specified by:
      getParts in interface FeatureViewDataKey.CompositeKeyOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The parts at the given index.
    • getPartsBytes

      public com.google.protobuf.ByteString getPartsBytes(int index)
       Parts to construct Entity ID. Should match with the same ID columns as
       defined in FeatureView in the same order.
       
      repeated string parts = 1;
      Specified by:
      getPartsBytes in interface FeatureViewDataKey.CompositeKeyOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the parts at the given index.
    • setParts

      public FeatureViewDataKey.CompositeKey.Builder setParts(int index, String value)
       Parts to construct Entity ID. Should match with the same ID columns as
       defined in FeatureView in the same order.
       
      repeated string parts = 1;
      Parameters:
      index - The index to set the value at.
      value - The parts to set.
      Returns:
      This builder for chaining.
    • addParts

       Parts to construct Entity ID. Should match with the same ID columns as
       defined in FeatureView in the same order.
       
      repeated string parts = 1;
      Parameters:
      value - The parts to add.
      Returns:
      This builder for chaining.
    • addAllParts

       Parts to construct Entity ID. Should match with the same ID columns as
       defined in FeatureView in the same order.
       
      repeated string parts = 1;
      Parameters:
      values - The parts to add.
      Returns:
      This builder for chaining.
    • clearParts

       Parts to construct Entity ID. Should match with the same ID columns as
       defined in FeatureView in the same order.
       
      repeated string parts = 1;
      Returns:
      This builder for chaining.
    • addPartsBytes

      public FeatureViewDataKey.CompositeKey.Builder addPartsBytes(com.google.protobuf.ByteString value)
       Parts to construct Entity ID. Should match with the same ID columns as
       defined in FeatureView in the same order.
       
      repeated string parts = 1;
      Parameters:
      value - The bytes of the parts to add.
      Returns:
      This builder for chaining.