Class CreateFeatureRequest.Builder (2.9.7)

public static final class CreateFeatureRequest.Builder extends GeneratedMessageV3.Builder<CreateFeatureRequest.Builder> implements CreateFeatureRequestOrBuilder

Request message for FeaturestoreService.CreateFeature.

Protobuf type google.cloud.aiplatform.v1.CreateFeatureRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateFeatureRequest build()
Returns
TypeDescription
CreateFeatureRequest

buildPartial()

public CreateFeatureRequest buildPartial()
Returns
TypeDescription
CreateFeatureRequest

clear()

public CreateFeatureRequest.Builder clear()
Returns
TypeDescription
CreateFeatureRequest.Builder
Overrides

clearFeature()

public CreateFeatureRequest.Builder clearFeature()

Required. The Feature to create.

.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateFeatureRequest.Builder

clearFeatureId()

public CreateFeatureRequest.Builder clearFeatureId()

Required. The ID to use for the Feature, which will become the final component of the Feature'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 an EntityType.

string feature_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateFeatureRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateFeatureRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateFeatureRequest.Builder
Overrides

clearParent()

public CreateFeatureRequest.Builder clearParent()

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
CreateFeatureRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateFeatureRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateFeatureRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeature()

public Feature getFeature()

Required. The Feature to create.

.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Feature

The feature.

getFeatureBuilder()

public Feature.Builder getFeatureBuilder()

Required. The Feature to create.

.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Feature.Builder

getFeatureId()

public String getFeatureId()

Required. The ID to use for the Feature, which will become the final component of the Feature'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 an EntityType.

string feature_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The featureId.

getFeatureIdBytes()

public ByteString getFeatureIdBytes()

Required. The ID to use for the Feature, which will become the final component of the Feature'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 an EntityType.

string feature_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for featureId.

getFeatureOrBuilder()

public FeatureOrBuilder getFeatureOrBuilder()

Required. The Feature to create.

.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FeatureOrBuilder

getParent()

public String getParent()

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

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 EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasFeature()

public boolean hasFeature()

Required. The Feature to create.

.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the feature field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFeature(Feature value)

public CreateFeatureRequest.Builder mergeFeature(Feature value)

Required. The Feature to create.

.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFeature
Returns
TypeDescription
CreateFeatureRequest.Builder

mergeFrom(CreateFeatureRequest other)

public CreateFeatureRequest.Builder mergeFrom(CreateFeatureRequest other)
Parameter
NameDescription
otherCreateFeatureRequest
Returns
TypeDescription
CreateFeatureRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateFeatureRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateFeatureRequest.Builder
Overrides

setFeature(Feature value)

public CreateFeatureRequest.Builder setFeature(Feature value)

Required. The Feature to create.

.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFeature
Returns
TypeDescription
CreateFeatureRequest.Builder

setFeature(Feature.Builder builderForValue)

public CreateFeatureRequest.Builder setFeature(Feature.Builder builderForValue)

Required. The Feature to create.

.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueFeature.Builder
Returns
TypeDescription
CreateFeatureRequest.Builder

setFeatureId(String value)

public CreateFeatureRequest.Builder setFeatureId(String value)

Required. The ID to use for the Feature, which will become the final component of the Feature'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 an EntityType.

string feature_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The featureId to set.

Returns
TypeDescription
CreateFeatureRequest.Builder

This builder for chaining.

setFeatureIdBytes(ByteString value)

public CreateFeatureRequest.Builder setFeatureIdBytes(ByteString value)

Required. The ID to use for the Feature, which will become the final component of the Feature'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 an EntityType.

string feature_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for featureId to set.

Returns
TypeDescription
CreateFeatureRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateFeatureRequest.Builder setParent(String value)

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateFeatureRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateFeatureRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the EntityType to create a Feature. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateFeatureRequest.Builder

This builder for chaining.

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

public CreateFeatureRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateFeatureRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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