Class CreateFeatureViewRequest (3.42.0)

public final class CreateFeatureViewRequest extends GeneratedMessageV3 implements CreateFeatureViewRequestOrBuilder

Request message for FeatureOnlineStoreAdminService.CreateFeatureView.

Protobuf type google.cloud.aiplatform.v1.CreateFeatureViewRequest

Static Fields

FEATURE_VIEW_FIELD_NUMBER

public static final int FEATURE_VIEW_FIELD_NUMBER
Field Value
TypeDescription
int

FEATURE_VIEW_ID_FIELD_NUMBER

public static final int FEATURE_VIEW_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

RUN_SYNC_IMMEDIATELY_FIELD_NUMBER

public static final int RUN_SYNC_IMMEDIATELY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateFeatureViewRequest getDefaultInstance()
Returns
TypeDescription
CreateFeatureViewRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateFeatureViewRequest.Builder newBuilder()
Returns
TypeDescription
CreateFeatureViewRequest.Builder

newBuilder(CreateFeatureViewRequest prototype)

public static CreateFeatureViewRequest.Builder newBuilder(CreateFeatureViewRequest prototype)
Parameter
NameDescription
prototypeCreateFeatureViewRequest
Returns
TypeDescription
CreateFeatureViewRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateFeatureViewRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateFeatureViewRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateFeatureViewRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateFeatureViewRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateFeatureViewRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateFeatureViewRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateFeatureViewRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateFeatureViewRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateFeatureViewRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateFeatureViewRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateFeatureViewRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateFeatureViewRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateFeatureViewRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateFeatureViewRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateFeatureViewRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateFeatureViewRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateFeatureViewRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateFeatureViewRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateFeatureViewRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateFeatureViewRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateFeatureViewRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateFeatureViewRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateFeatureViewRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateFeatureViewRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateFeatureViewRequest> parser()
Returns
TypeDescription
Parser<CreateFeatureViewRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateFeatureViewRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateFeatureViewRequest

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.

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.

getParserForType()

public Parser<CreateFeatureViewRequest> getParserForType()
Returns
TypeDescription
Parser<CreateFeatureViewRequest>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateFeatureViewRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateFeatureViewRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateFeatureViewRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateFeatureViewRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateFeatureViewRequest.Builder toBuilder()
Returns
TypeDescription
CreateFeatureViewRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException