Class FetchFeatureValuesRequest.Builder

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

public static final class FetchFeatureValuesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<FetchFeatureValuesRequest.Builder> implements FetchFeatureValuesRequestOrBuilder
 Request message for
 [FeatureOnlineStoreService.FetchFeatureValues][google.cloud.aiplatform.v1.FeatureOnlineStoreService.FetchFeatureValues].
 All the features under the requested feature view will be returned.
 
Protobuf type google.cloud.aiplatform.v1.FetchFeatureValuesRequest
  • 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<FetchFeatureValuesRequest.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<FetchFeatureValuesRequest.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<FetchFeatureValuesRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public FetchFeatureValuesRequest.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<FetchFeatureValuesRequest.Builder>
      Throws:
      IOException
    • getFeatureView

      public String getFeatureView()
       Required. FeatureView resource format
       `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`
       
      string feature_view = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getFeatureView in interface FetchFeatureValuesRequestOrBuilder
      Returns:
      The featureView.
    • getFeatureViewBytes

      public com.google.protobuf.ByteString getFeatureViewBytes()
       Required. FeatureView resource format
       `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`
       
      string feature_view = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getFeatureViewBytes in interface FetchFeatureValuesRequestOrBuilder
      Returns:
      The bytes for featureView.
    • setFeatureView

      public FetchFeatureValuesRequest.Builder setFeatureView(String value)
       Required. FeatureView resource format
       `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`
       
      string feature_view = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The featureView to set.
      Returns:
      This builder for chaining.
    • clearFeatureView

      public FetchFeatureValuesRequest.Builder clearFeatureView()
       Required. FeatureView resource format
       `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`
       
      string feature_view = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setFeatureViewBytes

      public FetchFeatureValuesRequest.Builder setFeatureViewBytes(com.google.protobuf.ByteString value)
       Required. FeatureView resource format
       `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`
       
      string feature_view = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for featureView to set.
      Returns:
      This builder for chaining.
    • hasDataKey

      public boolean hasDataKey()
       Optional. The request key to fetch feature values for.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDataKey in interface FetchFeatureValuesRequestOrBuilder
      Returns:
      Whether the dataKey field is set.
    • getDataKey

      public FeatureViewDataKey getDataKey()
       Optional. The request key to fetch feature values for.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataKey in interface FetchFeatureValuesRequestOrBuilder
      Returns:
      The dataKey.
    • setDataKey

       Optional. The request key to fetch feature values for.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL];
    • setDataKey

       Optional. The request key to fetch feature values for.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDataKey

       Optional. The request key to fetch feature values for.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL];
    • clearDataKey

      public FetchFeatureValuesRequest.Builder clearDataKey()
       Optional. The request key to fetch feature values for.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getDataKeyBuilder

      public FeatureViewDataKey.Builder getDataKeyBuilder()
       Optional. The request key to fetch feature values for.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getDataKeyOrBuilder

      public FeatureViewDataKeyOrBuilder getDataKeyOrBuilder()
       Optional. The request key to fetch feature values for.
       
      .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataKeyOrBuilder in interface FetchFeatureValuesRequestOrBuilder
    • getDataFormatValue

      public int getDataFormatValue()
       Optional. Response data format. If not set,
       [FeatureViewDataFormat.KEY_VALUE][google.cloud.aiplatform.v1.FeatureViewDataFormat.KEY_VALUE]
       will be used.
       
      .google.cloud.aiplatform.v1.FeatureViewDataFormat data_format = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataFormatValue in interface FetchFeatureValuesRequestOrBuilder
      Returns:
      The enum numeric value on the wire for dataFormat.
    • setDataFormatValue

      public FetchFeatureValuesRequest.Builder setDataFormatValue(int value)
       Optional. Response data format. If not set,
       [FeatureViewDataFormat.KEY_VALUE][google.cloud.aiplatform.v1.FeatureViewDataFormat.KEY_VALUE]
       will be used.
       
      .google.cloud.aiplatform.v1.FeatureViewDataFormat data_format = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for dataFormat to set.
      Returns:
      This builder for chaining.
    • getDataFormat

      public FeatureViewDataFormat getDataFormat()
       Optional. Response data format. If not set,
       [FeatureViewDataFormat.KEY_VALUE][google.cloud.aiplatform.v1.FeatureViewDataFormat.KEY_VALUE]
       will be used.
       
      .google.cloud.aiplatform.v1.FeatureViewDataFormat data_format = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataFormat in interface FetchFeatureValuesRequestOrBuilder
      Returns:
      The dataFormat.
    • setDataFormat

       Optional. Response data format. If not set,
       [FeatureViewDataFormat.KEY_VALUE][google.cloud.aiplatform.v1.FeatureViewDataFormat.KEY_VALUE]
       will be used.
       
      .google.cloud.aiplatform.v1.FeatureViewDataFormat data_format = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The dataFormat to set.
      Returns:
      This builder for chaining.
    • clearDataFormat

      public FetchFeatureValuesRequest.Builder clearDataFormat()
       Optional. Response data format. If not set,
       [FeatureViewDataFormat.KEY_VALUE][google.cloud.aiplatform.v1.FeatureViewDataFormat.KEY_VALUE]
       will be used.
       
      .google.cloud.aiplatform.v1.FeatureViewDataFormat data_format = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.