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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateFeatureRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateFeatureRequest build()
Returns
public CreateFeatureRequest buildPartial()
Returns
public CreateFeatureRequest.Builder clear()
Returns
Overrides
public CreateFeatureRequest.Builder clearFeature()
Required. The Feature to create.
.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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 128 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
public CreateFeatureRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateFeatureRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public CreateFeatureRequest.Builder clone()
Returns
Overrides
public CreateFeatureRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Feature getFeature()
Required. The Feature to create.
.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public Feature.Builder getFeatureBuilder()
Required. The Feature to create.
.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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 128 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
Type | Description |
String | The featureId.
|
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 128 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
public FeatureOrBuilder getFeatureOrBuilder()
Required. The Feature to create.
.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Type | Description |
String | The parent.
|
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
public boolean hasFeature()
Required. The Feature to create.
.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the feature field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateFeatureRequest.Builder mergeFeature(Feature value)
Required. The Feature to create.
.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateFeatureRequest.Builder mergeFrom(CreateFeatureRequest other)
Parameter
Returns
public CreateFeatureRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateFeatureRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateFeatureRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateFeatureRequest.Builder setFeature(Feature value)
Required. The Feature to create.
.google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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
Returns
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 128 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
Name | Description |
value | String
The featureId to set.
|
Returns
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 128 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
Name | Description |
value | ByteString
The bytes for featureId to set.
|
Returns
public CreateFeatureRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Name | Description |
value | String
The parent to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
public CreateFeatureRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateFeatureRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides