Class CreateFeatureViewRequest.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateFeatureViewRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateFeatureViewRequest.Builder
Overrides

build()

public CreateFeatureViewRequest build()
Returns
TypeDescription
CreateFeatureViewRequest

buildPartial()

public CreateFeatureViewRequest buildPartial()
Returns
TypeDescription
CreateFeatureViewRequest

clear()

public CreateFeatureViewRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateFeatureViewRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateFeatureViewRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateFeatureViewRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateFeatureViewRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateFeatureViewRequest.Builder

This builder for chaining.

clone()

public CreateFeatureViewRequest.Builder clone()
Returns
TypeDescription
CreateFeatureViewRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateFeatureViewRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateFeatureViewRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the featureView field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueFeatureView
Returns
TypeDescription
CreateFeatureViewRequest.Builder

mergeFrom(CreateFeatureViewRequest other)

public CreateFeatureViewRequest.Builder mergeFrom(CreateFeatureViewRequest other)
Parameter
NameDescription
otherCreateFeatureViewRequest
Returns
TypeDescription
CreateFeatureViewRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateFeatureViewRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateFeatureViewRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateFeatureViewRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateFeatureViewRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateFeatureViewRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFeatureView
Returns
TypeDescription
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
NameDescription
builderForValueFeatureView.Builder
Returns
TypeDescription
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
NameDescription
valueString

The featureViewId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for featureViewId to set.

Returns
TypeDescription
CreateFeatureViewRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateFeatureViewRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The runSyncImmediately to set.

Returns
TypeDescription
CreateFeatureViewRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateFeatureViewRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateFeatureViewRequest.Builder
Overrides