Class DataItemView.Builder (3.8.0)

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.v1beta1.DataItemView

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAnnotations(Iterable<? extends Annotation> values)

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.v1beta1.Annotation annotations = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.Annotation>
Returns
TypeDescription
DataItemView.Builder

addAnnotations(Annotation value)

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.v1beta1.Annotation annotations = 2;

Parameter
NameDescription
valueAnnotation
Returns
TypeDescription
DataItemView.Builder

addAnnotations(Annotation.Builder builderForValue)

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.v1beta1.Annotation annotations = 2;

Parameter
NameDescription
builderForValueAnnotation.Builder
Returns
TypeDescription
DataItemView.Builder

addAnnotations(int index, Annotation value)

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.v1beta1.Annotation annotations = 2;

Parameters
NameDescription
indexint
valueAnnotation
Returns
TypeDescription
DataItemView.Builder

addAnnotations(int index, Annotation.Builder builderForValue)

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.v1beta1.Annotation annotations = 2;

Parameters
NameDescription
indexint
builderForValueAnnotation.Builder
Returns
TypeDescription
DataItemView.Builder

addAnnotationsBuilder()

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.v1beta1.Annotation annotations = 2;

Returns
TypeDescription
Annotation.Builder

addAnnotationsBuilder(int index)

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.v1beta1.Annotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Annotation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataItemView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataItemView.Builder
Overrides

build()

public DataItemView build()
Returns
TypeDescription
DataItemView

buildPartial()

public DataItemView buildPartial()
Returns
TypeDescription
DataItemView

clear()

public DataItemView.Builder clear()
Returns
TypeDescription
DataItemView.Builder
Overrides

clearAnnotations()

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.v1beta1.Annotation annotations = 2;

Returns
TypeDescription
DataItemView.Builder

clearDataItem()

public DataItemView.Builder clearDataItem()

The DataItem.

.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;

Returns
TypeDescription
DataItemView.Builder

clearField(Descriptors.FieldDescriptor field)

public DataItemView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataItemView.Builder
Overrides

clearHasTruncatedAnnotations()

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
TypeDescription
DataItemView.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataItemView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataItemView.Builder
Overrides

clone()

public DataItemView.Builder clone()
Returns
TypeDescription
DataItemView.Builder
Overrides

getAnnotations(int index)

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.v1beta1.Annotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Annotation

getAnnotationsBuilder(int index)

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.v1beta1.Annotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Annotation.Builder

getAnnotationsBuilderList()

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.v1beta1.Annotation annotations = 2;

Returns
TypeDescription
List<Builder>

getAnnotationsCount()

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.v1beta1.Annotation annotations = 2;

Returns
TypeDescription
int

getAnnotationsList()

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.v1beta1.Annotation annotations = 2;

Returns
TypeDescription
List<Annotation>

getAnnotationsOrBuilder(int index)

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.v1beta1.Annotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnnotationOrBuilder

getAnnotationsOrBuilderList()

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.v1beta1.Annotation annotations = 2;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.AnnotationOrBuilder>

getDataItem()

public DataItem getDataItem()

The DataItem.

.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;

Returns
TypeDescription
DataItem

The dataItem.

getDataItemBuilder()

public DataItem.Builder getDataItemBuilder()

The DataItem.

.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;

Returns
TypeDescription
DataItem.Builder

getDataItemOrBuilder()

public DataItemOrBuilder getDataItemOrBuilder()

The DataItem.

.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;

Returns
TypeDescription
DataItemOrBuilder

getDefaultInstanceForType()

public DataItemView getDefaultInstanceForType()
Returns
TypeDescription
DataItemView

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHasTruncatedAnnotations()

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
TypeDescription
boolean

The hasTruncatedAnnotations.

hasDataItem()

public boolean hasDataItem()

The DataItem.

.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;

Returns
TypeDescription
boolean

Whether the dataItem field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDataItem(DataItem value)

public DataItemView.Builder mergeDataItem(DataItem value)

The DataItem.

.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;

Parameter
NameDescription
valueDataItem
Returns
TypeDescription
DataItemView.Builder

mergeFrom(DataItemView other)

public DataItemView.Builder mergeFrom(DataItemView other)
Parameter
NameDescription
otherDataItemView
Returns
TypeDescription
DataItemView.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataItemView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataItemView.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataItemView.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataItemView.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataItemView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataItemView.Builder
Overrides

removeAnnotations(int index)

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.v1beta1.Annotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataItemView.Builder

setAnnotations(int index, Annotation value)

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.v1beta1.Annotation annotations = 2;

Parameters
NameDescription
indexint
valueAnnotation
Returns
TypeDescription
DataItemView.Builder

setAnnotations(int index, Annotation.Builder builderForValue)

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.v1beta1.Annotation annotations = 2;

Parameters
NameDescription
indexint
builderForValueAnnotation.Builder
Returns
TypeDescription
DataItemView.Builder

setDataItem(DataItem value)

public DataItemView.Builder setDataItem(DataItem value)

The DataItem.

.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;

Parameter
NameDescription
valueDataItem
Returns
TypeDescription
DataItemView.Builder

setDataItem(DataItem.Builder builderForValue)

public DataItemView.Builder setDataItem(DataItem.Builder builderForValue)

The DataItem.

.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;

Parameter
NameDescription
builderForValueDataItem.Builder
Returns
TypeDescription
DataItemView.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataItemView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataItemView.Builder
Overrides

setHasTruncatedAnnotations(boolean value)

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
NameDescription
valueboolean

The hasTruncatedAnnotations to set.

Returns
TypeDescription
DataItemView.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataItemView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataItemView.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataItemView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataItemView.Builder
Overrides