- 3.54.0 (latest)
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class Feature.Builder extends GeneratedMessageV3.Builder<Feature.Builder> implements FeatureOrBuilder
Feature Metadata information that describes an attribute of an entity type. For example, apple is an entity type, and color is a feature that describes apple.
Protobuf type google.cloud.aiplatform.v1.Feature
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Feature.BuilderImplements
FeatureOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Feature.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Feature.Builder |
build()
public Feature build()
Type | Description |
Feature |
buildPartial()
public Feature buildPartial()
Type | Description |
Feature |
clear()
public Feature.Builder clear()
Type | Description |
Feature.Builder |
clearCreateTime()
public Feature.Builder clearCreateTime()
Output only. Timestamp when this EntityType was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Feature.Builder |
clearDescription()
public Feature.Builder clearDescription()
Description of the Feature.
string description = 2;
Type | Description |
Feature.Builder | This builder for chaining. |
clearEtag()
public Feature.Builder clearEtag()
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7;
Type | Description |
Feature.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Feature.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Feature.Builder |
clearLabels()
public Feature.Builder clearLabels()
Type | Description |
Feature.Builder |
clearName()
public Feature.Builder clearName()
Immutable. Name of the Feature.
Format:
projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}
The last part feature is assigned by the client. The feature can be up to
64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
underscore(_), and ASCII digits 0-9 starting with a letter. The value will
be unique given an entity type.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Feature.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Feature.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Feature.Builder |
clearUpdateTime()
public Feature.Builder clearUpdateTime()
Output only. Timestamp when this EntityType was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Feature.Builder |
clearValueType()
public Feature.Builder clearValueType()
Required. Immutable. Type of Feature value.
.google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Feature.Builder | This builder for chaining. |
clone()
public Feature.Builder clone()
Type | Description |
Feature.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. The labels with user-defined metadata to organize your Features. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp when this EntityType was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this EntityType was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this EntityType was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Feature getDefaultInstanceForType()
Type | Description |
Feature |
getDescription()
public String getDescription()
Description of the Feature.
string description = 2;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the Feature.
string description = 2;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEtag()
public String getEtag()
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7;
Type | Description |
String | The etag. |
getEtagBytes()
public ByteString getEtagBytes()
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7;
Type | Description |
ByteString | The bytes for etag. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. The labels with user-defined metadata to organize your Features. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. The labels with user-defined metadata to organize your Features. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels with user-defined metadata to organize your Features. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. The labels with user-defined metadata to organize your Features. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Immutable. Name of the Feature.
Format:
projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}
The last part feature is assigned by the client. The feature can be up to
64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
underscore(_), and ASCII digits 0-9 starting with a letter. The value will
be unique given an entity type.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Immutable. Name of the Feature.
Format:
projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}
The last part feature is assigned by the client. The feature can be up to
64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
underscore(_), and ASCII digits 0-9 starting with a letter. The value will
be unique given an entity type.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
ByteString | The bytes for name. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Timestamp when this EntityType was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this EntityType was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this EntityType was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getValueType()
public Feature.ValueType getValueType()
Required. Immutable. Type of Feature value.
.google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Feature.ValueType | The valueType. |
getValueTypeValue()
public int getValueTypeValue()
Required. Immutable. Type of Feature value.
.google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
int | The enum numeric value on the wire for valueType. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp when this EntityType was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Timestamp when this EntityType was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Feature.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when this EntityType was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Feature.Builder |
mergeFrom(Feature other)
public Feature.Builder mergeFrom(Feature other)
Name | Description |
other | Feature |
Type | Description |
Feature.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Feature.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Feature.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Feature.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Feature.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Feature.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Feature.Builder |
mergeUpdateTime(Timestamp value)
public Feature.Builder mergeUpdateTime(Timestamp value)
Output only. Timestamp when this EntityType was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Feature.Builder |
putAllLabels(Map<String,String> values)
public Feature.Builder putAllLabels(Map<String,String> values)
Optional. The labels with user-defined metadata to organize your Features. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Map<String,String> |
Type | Description |
Feature.Builder |
putLabels(String key, String value)
public Feature.Builder putLabels(String key, String value)
Optional. The labels with user-defined metadata to organize your Features. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
value | String |
Type | Description |
Feature.Builder |
removeLabels(String key)
public Feature.Builder removeLabels(String key)
Optional. The labels with user-defined metadata to organize your Features. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Feature (System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
Feature.Builder |
setCreateTime(Timestamp value)
public Feature.Builder setCreateTime(Timestamp value)
Output only. Timestamp when this EntityType was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Feature.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Feature.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this EntityType was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Feature.Builder |
setDescription(String value)
public Feature.Builder setDescription(String value)
Description of the Feature.
string description = 2;
Name | Description |
value | String The description to set. |
Type | Description |
Feature.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Feature.Builder setDescriptionBytes(ByteString value)
Description of the Feature.
string description = 2;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Feature.Builder | This builder for chaining. |
setEtag(String value)
public Feature.Builder setEtag(String value)
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7;
Name | Description |
value | String The etag to set. |
Type | Description |
Feature.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public Feature.Builder setEtagBytes(ByteString value)
Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7;
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
Feature.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Feature.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Feature.Builder |
setName(String value)
public Feature.Builder setName(String value)
Immutable. Name of the Feature.
Format:
projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}
The last part feature is assigned by the client. The feature can be up to
64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
underscore(_), and ASCII digits 0-9 starting with a letter. The value will
be unique given an entity type.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | String The name to set. |
Type | Description |
Feature.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Feature.Builder setNameBytes(ByteString value)
Immutable. Name of the Feature.
Format:
projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}
The last part feature is assigned by the client. The feature can be up to
64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
underscore(_), and ASCII digits 0-9 starting with a letter. The value will
be unique given an entity type.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Feature.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Feature.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Feature.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Feature.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Feature.Builder |
setUpdateTime(Timestamp value)
public Feature.Builder setUpdateTime(Timestamp value)
Output only. Timestamp when this EntityType was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Feature.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Feature.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this EntityType was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Feature.Builder |
setValueType(Feature.ValueType value)
public Feature.Builder setValueType(Feature.ValueType value)
Required. Immutable. Type of Feature value.
.google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | Feature.ValueType The valueType to set. |
Type | Description |
Feature.Builder | This builder for chaining. |
setValueTypeValue(int value)
public Feature.Builder setValueTypeValue(int value)
Required. Immutable. Type of Feature value.
.google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | int The enum numeric value on the wire for valueType to set. |
Type | Description |
Feature.Builder | This builder for chaining. |