Class FeatureViewDataKey.Builder

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

public static final class FeatureViewDataKey.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeatureViewDataKey.Builder> implements FeatureViewDataKeyOrBuilder
 Lookup key for a feature view.
 
Protobuf type google.cloud.aiplatform.v1.FeatureViewDataKey
  • 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.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.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.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public FeatureViewDataKey.KeyOneofCase getKeyOneofCase()
      Specified by:
      getKeyOneofCase in interface FeatureViewDataKeyOrBuilder
    • clearKeyOneof

      public FeatureViewDataKey.Builder clearKeyOneof()
    • hasKey

      public boolean hasKey()
       String key to use for lookup.
       
      string key = 1;
      Specified by:
      hasKey in interface FeatureViewDataKeyOrBuilder
      Returns:
      Whether the key field is set.
    • getKey

      public String getKey()
       String key to use for lookup.
       
      string key = 1;
      Specified by:
      getKey in interface FeatureViewDataKeyOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       String key to use for lookup.
       
      string key = 1;
      Specified by:
      getKeyBytes in interface FeatureViewDataKeyOrBuilder
      Returns:
      The bytes for key.
    • setKey

      public FeatureViewDataKey.Builder setKey(String value)
       String key to use for lookup.
       
      string key = 1;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public FeatureViewDataKey.Builder clearKey()
       String key to use for lookup.
       
      string key = 1;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public FeatureViewDataKey.Builder setKeyBytes(com.google.protobuf.ByteString value)
       String key to use for lookup.
       
      string key = 1;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • hasCompositeKey

      public boolean hasCompositeKey()
       The actual Entity ID will be composed from this struct. This should match
       with the way ID is defined in the FeatureView spec.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey composite_key = 2;
      Specified by:
      hasCompositeKey in interface FeatureViewDataKeyOrBuilder
      Returns:
      Whether the compositeKey field is set.
    • getCompositeKey

      public FeatureViewDataKey.CompositeKey getCompositeKey()
       The actual Entity ID will be composed from this struct. This should match
       with the way ID is defined in the FeatureView spec.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey composite_key = 2;
      Specified by:
      getCompositeKey in interface FeatureViewDataKeyOrBuilder
      Returns:
      The compositeKey.
    • setCompositeKey

       The actual Entity ID will be composed from this struct. This should match
       with the way ID is defined in the FeatureView spec.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey composite_key = 2;
    • setCompositeKey

      public FeatureViewDataKey.Builder setCompositeKey(FeatureViewDataKey.CompositeKey.Builder builderForValue)
       The actual Entity ID will be composed from this struct. This should match
       with the way ID is defined in the FeatureView spec.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey composite_key = 2;
    • mergeCompositeKey

       The actual Entity ID will be composed from this struct. This should match
       with the way ID is defined in the FeatureView spec.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey composite_key = 2;
    • clearCompositeKey

      public FeatureViewDataKey.Builder clearCompositeKey()
       The actual Entity ID will be composed from this struct. This should match
       with the way ID is defined in the FeatureView spec.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey composite_key = 2;
    • getCompositeKeyBuilder

      public FeatureViewDataKey.CompositeKey.Builder getCompositeKeyBuilder()
       The actual Entity ID will be composed from this struct. This should match
       with the way ID is defined in the FeatureView spec.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey composite_key = 2;
    • getCompositeKeyOrBuilder

      public FeatureViewDataKey.CompositeKeyOrBuilder getCompositeKeyOrBuilder()
       The actual Entity ID will be composed from this struct. This should match
       with the way ID is defined in the FeatureView spec.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey composite_key = 2;
      Specified by:
      getCompositeKeyOrBuilder in interface FeatureViewDataKeyOrBuilder