public static final class DataItemView.Builder extends GeneratedMessageV3.Builder<DataItemView.Builder> implements DataItemViewOrBuilder
A container for a single DataItem and Annotations on it.
Protobuf type google.cloud.aiplatform.v1.DataItemView
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 DataItemView.Builder addAllAnnotations(Iterable<? extends Annotation> values)
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.Annotation>
|
Returns
public DataItemView.Builder addAnnotations(Annotation value)
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameter
Returns
public DataItemView.Builder addAnnotations(Annotation.Builder builderForValue)
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameter
Returns
public DataItemView.Builder addAnnotations(int index, Annotation value)
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameters
Returns
public DataItemView.Builder addAnnotations(int index, Annotation.Builder builderForValue)
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameters
Returns
public Annotation.Builder addAnnotationsBuilder()
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Returns
public Annotation.Builder addAnnotationsBuilder(int index)
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameter
Returns
public DataItemView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DataItemView build()
Returns
public DataItemView buildPartial()
Returns
public DataItemView.Builder clear()
Returns
Overrides
public DataItemView.Builder clearAnnotations()
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Returns
public DataItemView.Builder clearDataItem()
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
Returns
public DataItemView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DataItemView.Builder clearHasTruncatedAnnotations()
True if and only if the Annotations field has been truncated. It happens if
more Annotations for this DataItem met the request's annotation_filter than
are allowed to be returned by annotations_limit.
Note that if Annotations field is not being returned due to field mask,
then this field will not be set to true no matter how many Annotations are
there.
bool has_truncated_annotations = 3;
Returns
public DataItemView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DataItemView.Builder clone()
Returns
Overrides
public Annotation getAnnotations(int index)
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameter
Returns
public Annotation.Builder getAnnotationsBuilder(int index)
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameter
Returns
public List<Annotation.Builder> getAnnotationsBuilderList()
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Returns
public int getAnnotationsCount()
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Returns
public List<Annotation> getAnnotationsList()
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Returns
public AnnotationOrBuilder getAnnotationsOrBuilder(int index)
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameter
Returns
public List<? extends AnnotationOrBuilder> getAnnotationsOrBuilderList()
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.AnnotationOrBuilder> | |
public DataItem getDataItem()
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
Returns
public DataItem.Builder getDataItemBuilder()
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
Returns
public DataItemOrBuilder getDataItemOrBuilder()
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
Returns
public DataItemView getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public boolean getHasTruncatedAnnotations()
True if and only if the Annotations field has been truncated. It happens if
more Annotations for this DataItem met the request's annotation_filter than
are allowed to be returned by annotations_limit.
Note that if Annotations field is not being returned due to field mask,
then this field will not be set to true no matter how many Annotations are
there.
bool has_truncated_annotations = 3;
Returns
Type | Description |
boolean | The hasTruncatedAnnotations.
|
public boolean hasDataItem()
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
Returns
Type | Description |
boolean | Whether the dataItem field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DataItemView.Builder mergeDataItem(DataItem value)
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
Parameter
Returns
public DataItemView.Builder mergeFrom(DataItemView other)
Parameter
Returns
public DataItemView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DataItemView.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final DataItemView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public DataItemView.Builder removeAnnotations(int index)
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameter
Returns
public DataItemView.Builder setAnnotations(int index, Annotation value)
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameters
Returns
public DataItemView.Builder setAnnotations(int index, Annotation.Builder builderForValue)
The Annotations on the DataItem. If too many Annotations should be returned
for the DataItem, this field will be truncated per annotations_limit in
request. If it was, then the has_truncated_annotations will be set to true.
repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameters
Returns
public DataItemView.Builder setDataItem(DataItem value)
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
Parameter
Returns
public DataItemView.Builder setDataItem(DataItem.Builder builderForValue)
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
Parameter
Returns
public DataItemView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DataItemView.Builder setHasTruncatedAnnotations(boolean value)
True if and only if the Annotations field has been truncated. It happens if
more Annotations for this DataItem met the request's annotation_filter than
are allowed to be returned by annotations_limit.
Note that if Annotations field is not being returned due to field mask,
then this field will not be set to true no matter how many Annotations are
there.
bool has_truncated_annotations = 3;
Parameter
Name | Description |
value | boolean
The hasTruncatedAnnotations to set.
|
Returns
public DataItemView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DataItemView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides