- 3.52.0 (latest)
- 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 DataItem.Builder extends GeneratedMessageV3.Builder<DataItem.Builder> implements DataItemOrBuilder
A piece of data in a Dataset. Could be an image, a video, a document or plain text.
Protobuf type google.cloud.aiplatform.v1beta1.DataItem
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataItem.BuilderImplements
DataItemOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataItem.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DataItem.Builder |
build()
public DataItem build()
Type | Description |
DataItem |
buildPartial()
public DataItem buildPartial()
Type | Description |
DataItem |
clear()
public DataItem.Builder clear()
Type | Description |
DataItem.Builder |
clearCreateTime()
public DataItem.Builder clearCreateTime()
Output only. Timestamp when this DataItem was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
DataItem.Builder |
clearEtag()
public DataItem.Builder clearEtag()
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
DataItem.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DataItem.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DataItem.Builder |
clearLabels()
public DataItem.Builder clearLabels()
Type | Description |
DataItem.Builder |
clearName()
public DataItem.Builder clearName()
Output only. The resource name of the DataItem.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
DataItem.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataItem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DataItem.Builder |
clearPayload()
public DataItem.Builder clearPayload()
Required. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset's metadata schema's dataItemSchemaUri field.
.google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
DataItem.Builder |
clearUpdateTime()
public DataItem.Builder clearUpdateTime()
Output only. Timestamp when this DataItem was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
DataItem.Builder |
clone()
public DataItem.Builder clone()
Type | Description |
DataItem.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. The labels with user-defined metadata to organize your DataItems. 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. No more than 64 user labels can be associated with one DataItem(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp when this DataItem was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this DataItem was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this DataItem was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public DataItem getDefaultInstanceForType()
Type | Description |
DataItem |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEtag()
public String getEtag()
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The etag. |
getEtagBytes()
public ByteString getEtagBytes()
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7 [(.google.api.field_behavior) = OPTIONAL];
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 DataItems. 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. No more than 64 user labels can be associated with one DataItem(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. The labels with user-defined metadata to organize your DataItems. 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. No more than 64 user labels can be associated with one DataItem(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 3 [(.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 DataItems. 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. No more than 64 user labels can be associated with one DataItem(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 3 [(.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 DataItems. 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. No more than 64 user labels can be associated with one DataItem(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 3 [(.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()
Output only. The resource name of the DataItem.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the DataItem.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getPayload()
public Value getPayload()
Required. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset's metadata schema's dataItemSchemaUri field.
.google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Value | The payload. |
getPayloadBuilder()
public Value.Builder getPayloadBuilder()
Required. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset's metadata schema's dataItemSchemaUri field.
.google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Builder |
getPayloadOrBuilder()
public ValueOrBuilder getPayloadOrBuilder()
Required. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset's metadata schema's dataItemSchemaUri field.
.google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ValueOrBuilder |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Timestamp when this DataItem was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this DataItem was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this DataItem was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp when this DataItem was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasPayload()
public boolean hasPayload()
Required. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset's metadata schema's dataItemSchemaUri field.
.google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the payload field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Timestamp when this DataItem was last updated.
.google.protobuf.Timestamp update_time = 6 [(.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 DataItem.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when this DataItem was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
DataItem.Builder |
mergeFrom(DataItem other)
public DataItem.Builder mergeFrom(DataItem other)
Name | Description |
other | DataItem |
Type | Description |
DataItem.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DataItem.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DataItem.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DataItem.Builder |
mergePayload(Value value)
public DataItem.Builder mergePayload(Value value)
Required. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset's metadata schema's dataItemSchemaUri field.
.google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Value |
Type | Description |
DataItem.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DataItem.Builder |
mergeUpdateTime(Timestamp value)
public DataItem.Builder mergeUpdateTime(Timestamp value)
Output only. Timestamp when this DataItem was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
DataItem.Builder |
putAllLabels(Map<String,String> values)
public DataItem.Builder putAllLabels(Map<String,String> values)
Optional. The labels with user-defined metadata to organize your DataItems. 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. No more than 64 user labels can be associated with one DataItem(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Map<String,String> |
Type | Description |
DataItem.Builder |
putLabels(String key, String value)
public DataItem.Builder putLabels(String key, String value)
Optional. The labels with user-defined metadata to organize your DataItems. 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. No more than 64 user labels can be associated with one DataItem(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
value | String |
Type | Description |
DataItem.Builder |
removeLabels(String key)
public DataItem.Builder removeLabels(String key)
Optional. The labels with user-defined metadata to organize your DataItems. 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. No more than 64 user labels can be associated with one DataItem(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
DataItem.Builder |
setCreateTime(Timestamp value)
public DataItem.Builder setCreateTime(Timestamp value)
Output only. Timestamp when this DataItem was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
DataItem.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public DataItem.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this DataItem was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
DataItem.Builder |
setEtag(String value)
public DataItem.Builder setEtag(String value)
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The etag to set. |
Type | Description |
DataItem.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public DataItem.Builder setEtagBytes(ByteString value)
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
DataItem.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DataItem.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DataItem.Builder |
setName(String value)
public DataItem.Builder setName(String value)
Output only. The resource name of the DataItem.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
DataItem.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public DataItem.Builder setNameBytes(ByteString value)
Output only. The resource name of the DataItem.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
DataItem.Builder | This builder for chaining. |
setPayload(Value value)
public DataItem.Builder setPayload(Value value)
Required. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset's metadata schema's dataItemSchemaUri field.
.google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Value |
Type | Description |
DataItem.Builder |
setPayload(Value.Builder builderForValue)
public DataItem.Builder setPayload(Value.Builder builderForValue)
Required. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset's metadata schema's dataItemSchemaUri field.
.google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | Builder |
Type | Description |
DataItem.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataItem.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DataItem.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataItem.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DataItem.Builder |
setUpdateTime(Timestamp value)
public DataItem.Builder setUpdateTime(Timestamp value)
Output only. Timestamp when this DataItem was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
DataItem.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public DataItem.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this DataItem was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
DataItem.Builder |