Class CreateFeatureViewRequest.Builder

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

public static final class CreateFeatureViewRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateFeatureViewRequest.Builder> implements CreateFeatureViewRequestOrBuilder
 Request message for
 [FeatureOnlineStoreAdminService.CreateFeatureView][google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.CreateFeatureView].
 
Protobuf type google.cloud.aiplatform.v1.CreateFeatureViewRequest
  • 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<CreateFeatureViewRequest.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<CreateFeatureViewRequest.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<CreateFeatureViewRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. The resource name of the FeatureOnlineStore to create
       FeatureViews. Format:
       `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateFeatureViewRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the FeatureOnlineStore to create
       FeatureViews. Format:
       `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateFeatureViewRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateFeatureViewRequest.Builder setParent(String value)
       Required. The resource name of the FeatureOnlineStore to create
       FeatureViews. Format:
       `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
       
      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 CreateFeatureViewRequest.Builder clearParent()
       Required. The resource name of the FeatureOnlineStore to create
       FeatureViews. Format:
       `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateFeatureViewRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the FeatureOnlineStore to create
       FeatureViews. Format:
       `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
       
      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.
    • hasFeatureView

      public boolean hasFeatureView()
       Required. The FeatureView to create.
       
      .google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasFeatureView in interface CreateFeatureViewRequestOrBuilder
      Returns:
      Whether the featureView field is set.
    • getFeatureView

      public FeatureView getFeatureView()
       Required. The FeatureView to create.
       
      .google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFeatureView in interface CreateFeatureViewRequestOrBuilder
      Returns:
      The featureView.
    • setFeatureView

      public CreateFeatureViewRequest.Builder setFeatureView(FeatureView value)
       Required. The FeatureView to create.
       
      .google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];
    • setFeatureView

      public CreateFeatureViewRequest.Builder setFeatureView(FeatureView.Builder builderForValue)
       Required. The FeatureView to create.
       
      .google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeFeatureView

      public CreateFeatureViewRequest.Builder mergeFeatureView(FeatureView value)
       Required. The FeatureView to create.
       
      .google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearFeatureView

      public CreateFeatureViewRequest.Builder clearFeatureView()
       Required. The FeatureView to create.
       
      .google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];
    • getFeatureViewBuilder

      public FeatureView.Builder getFeatureViewBuilder()
       Required. The FeatureView to create.
       
      .google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];
    • getFeatureViewOrBuilder

      public FeatureViewOrBuilder getFeatureViewOrBuilder()
       Required. The FeatureView to create.
       
      .google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFeatureViewOrBuilder in interface CreateFeatureViewRequestOrBuilder
    • getFeatureViewId

      public String getFeatureViewId()
       Required. The ID to use for the FeatureView, which will become the final
       component of the FeatureView's resource name.
      
       This value may be up to 60 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within a FeatureOnlineStore.
       
      string feature_view_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFeatureViewId in interface CreateFeatureViewRequestOrBuilder
      Returns:
      The featureViewId.
    • getFeatureViewIdBytes

      public com.google.protobuf.ByteString getFeatureViewIdBytes()
       Required. The ID to use for the FeatureView, which will become the final
       component of the FeatureView's resource name.
      
       This value may be up to 60 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within a FeatureOnlineStore.
       
      string feature_view_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFeatureViewIdBytes in interface CreateFeatureViewRequestOrBuilder
      Returns:
      The bytes for featureViewId.
    • setFeatureViewId

      public CreateFeatureViewRequest.Builder setFeatureViewId(String value)
       Required. The ID to use for the FeatureView, which will become the final
       component of the FeatureView's resource name.
      
       This value may be up to 60 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within a FeatureOnlineStore.
       
      string feature_view_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The featureViewId to set.
      Returns:
      This builder for chaining.
    • clearFeatureViewId

      public CreateFeatureViewRequest.Builder clearFeatureViewId()
       Required. The ID to use for the FeatureView, which will become the final
       component of the FeatureView's resource name.
      
       This value may be up to 60 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within a FeatureOnlineStore.
       
      string feature_view_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setFeatureViewIdBytes

      public CreateFeatureViewRequest.Builder setFeatureViewIdBytes(com.google.protobuf.ByteString value)
       Required. The ID to use for the FeatureView, which will become the final
       component of the FeatureView's resource name.
      
       This value may be up to 60 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within a FeatureOnlineStore.
       
      string feature_view_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for featureViewId to set.
      Returns:
      This builder for chaining.
    • getRunSyncImmediately

      public boolean getRunSyncImmediately()
       Immutable. If set to true, one on demand sync will be run immediately,
       regardless whether the
       [FeatureView.sync_config][google.cloud.aiplatform.v1.FeatureView.sync_config]
       is configured or not.
       
      bool run_sync_immediately = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getRunSyncImmediately in interface CreateFeatureViewRequestOrBuilder
      Returns:
      The runSyncImmediately.
    • setRunSyncImmediately

      public CreateFeatureViewRequest.Builder setRunSyncImmediately(boolean value)
       Immutable. If set to true, one on demand sync will be run immediately,
       regardless whether the
       [FeatureView.sync_config][google.cloud.aiplatform.v1.FeatureView.sync_config]
       is configured or not.
       
      bool run_sync_immediately = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The runSyncImmediately to set.
      Returns:
      This builder for chaining.
    • clearRunSyncImmediately

      public CreateFeatureViewRequest.Builder clearRunSyncImmediately()
       Immutable. If set to true, one on demand sync will be run immediately,
       regardless whether the
       [FeatureView.sync_config][google.cloud.aiplatform.v1.FeatureView.sync_config]
       is configured or not.
       
      bool run_sync_immediately = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.