public static final class CreateFeatureRequest.Builder extends GeneratedMessageV3.Builder<CreateFeatureRequest.Builder> implements CreateFeatureRequestOrBuilder
Request message for
FeaturestoreService.CreateFeature.
Protobuf type google.cloud.aiplatform.v1beta1.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()
Methods
public CreateFeatureRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateFeatureRequest build()
public CreateFeatureRequest buildPartial()
public CreateFeatureRequest.Builder clear()
Overrides
public CreateFeatureRequest.Builder clearFeature()
Required. The Feature to create.
.google.cloud.aiplatform.v1beta1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
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];
public CreateFeatureRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateFeatureRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
public CreateFeatureRequest.Builder clone()
Overrides
public CreateFeatureRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Feature getFeature()
Required. The Feature to create.
.google.cloud.aiplatform.v1beta1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Feature | The feature.
|
public Feature.Builder getFeatureBuilder()
Required. The Feature to create.
.google.cloud.aiplatform.v1beta1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
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 |
---|
Type | Description |
ByteString | The bytes for featureId.
|
public FeatureOrBuilder getFeatureOrBuilder()
Required. The Feature to create.
.google.cloud.aiplatform.v1beta1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
public boolean hasFeature()
Required. The Feature to create.
.google.cloud.aiplatform.v1beta1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the feature field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateFeatureRequest.Builder mergeFeature(Feature value)
Required. The Feature to create.
.google.cloud.aiplatform.v1beta1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Feature
|
public CreateFeatureRequest.Builder mergeFrom(CreateFeatureRequest other)
public CreateFeatureRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateFeatureRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final CreateFeatureRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateFeatureRequest.Builder setFeature(Feature value)
Required. The Feature to create.
.google.cloud.aiplatform.v1beta1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Feature
|
public CreateFeatureRequest.Builder setFeature(Feature.Builder builderForValue)
Required. The Feature to create.
.google.cloud.aiplatform.v1beta1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
public CreateFeatureRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public CreateFeatureRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateFeatureRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides