Class CreateFeatureViewRequest.Builder (3.45.0)

public static final class CreateFeatureViewRequest.Builder extends GeneratedMessageV3.Builder<CreateFeatureViewRequest.Builder> implements CreateFeatureViewRequestOrBuilder

Request message for FeatureOnlineStoreAdminService.CreateFeatureView.

Protobuf type google.cloud.aiplatform.v1.CreateFeatureViewRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateFeatureViewRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateFeatureViewRequest.Builder
Overrides

build()

public CreateFeatureViewRequest build()
Returns
Type Description
CreateFeatureViewRequest

buildPartial()

public CreateFeatureViewRequest buildPartial()
Returns
Type Description
CreateFeatureViewRequest

clear()

public CreateFeatureViewRequest.Builder clear()
Returns
Type Description
CreateFeatureViewRequest.Builder
Overrides

clearFeatureView()

public CreateFeatureViewRequest.Builder clearFeatureView()

Required. The FeatureView to create.

.google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateFeatureViewRequest.Builder

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
Type Description
CreateFeatureViewRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateFeatureViewRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateFeatureViewRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateFeatureViewRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateFeatureViewRequest.Builder
Overrides

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
Type Description
CreateFeatureViewRequest.Builder

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 is configured or not.

bool run_sync_immediately = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
CreateFeatureViewRequest.Builder

This builder for chaining.

clone()

public CreateFeatureViewRequest.Builder clone()
Returns
Type Description
CreateFeatureViewRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateFeatureViewRequest getDefaultInstanceForType()
Returns
Type Description
CreateFeatureViewRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFeatureView()

public FeatureView getFeatureView()

Required. The FeatureView to create.

.google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureView

The featureView.

getFeatureViewBuilder()

public FeatureView.Builder getFeatureViewBuilder()

Required. The FeatureView to create.

.google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureView.Builder

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];

Returns
Type Description
String

The featureViewId.

getFeatureViewIdBytes()

public 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];

Returns
Type Description
ByteString

The bytes for featureViewId.

getFeatureViewOrBuilder()

public FeatureViewOrBuilder getFeatureViewOrBuilder()

Required. The FeatureView to create.

.google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureViewOrBuilder

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) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRunSyncImmediately()

public boolean getRunSyncImmediately()

Immutable. If set to true, one on demand sync will be run immediately, regardless whether the FeatureView.sync_config is configured or not.

bool run_sync_immediately = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

The runSyncImmediately.

hasFeatureView()

public boolean hasFeatureView()

Required. The FeatureView to create.

.google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the featureView field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFeatureView(FeatureView value)

public CreateFeatureViewRequest.Builder mergeFeatureView(FeatureView value)

Required. The FeatureView to create.

.google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FeatureView
Returns
Type Description
CreateFeatureViewRequest.Builder

mergeFrom(CreateFeatureViewRequest other)

public CreateFeatureViewRequest.Builder mergeFrom(CreateFeatureViewRequest other)
Parameter
Name Description
other CreateFeatureViewRequest
Returns
Type Description
CreateFeatureViewRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateFeatureViewRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateFeatureViewRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateFeatureViewRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateFeatureViewRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateFeatureViewRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateFeatureViewRequest.Builder
Overrides

setFeatureView(FeatureView value)

public CreateFeatureViewRequest.Builder setFeatureView(FeatureView value)

Required. The FeatureView to create.

.google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FeatureView
Returns
Type Description
CreateFeatureViewRequest.Builder

setFeatureView(FeatureView.Builder builderForValue)

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];

Parameter
Name Description
builderForValue FeatureView.Builder
Returns
Type Description
CreateFeatureViewRequest.Builder

setFeatureViewId(String value)

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];

Parameter
Name Description
value String

The featureViewId to set.

Returns
Type Description
CreateFeatureViewRequest.Builder

This builder for chaining.

setFeatureViewIdBytes(ByteString value)

public CreateFeatureViewRequest.Builder setFeatureViewIdBytes(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];

Parameter
Name Description
value ByteString

The bytes for featureViewId to set.

Returns
Type Description
CreateFeatureViewRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateFeatureViewRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateFeatureViewRequest.Builder
Overrides

setParent(String value)

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) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateFeatureViewRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateFeatureViewRequest.Builder setParentBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateFeatureViewRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateFeatureViewRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateFeatureViewRequest.Builder
Overrides

setRunSyncImmediately(boolean value)

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 is configured or not.

bool run_sync_immediately = 4 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value boolean

The runSyncImmediately to set.

Returns
Type Description
CreateFeatureViewRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateFeatureViewRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateFeatureViewRequest.Builder
Overrides