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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 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 |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.Annotation>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
public DataItemView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DataItemView build()
public DataItemView buildPartial()
public DataItemView.Builder clear()
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.v1beta1.Annotation annotations = 2;
public DataItemView.Builder clearDataItem()
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
public DataItemView.Builder clearField(Descriptors.FieldDescriptor field)
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;
public DataItemView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public DataItemView.Builder clone()
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.v1beta1.Annotation annotations = 2;
Parameter |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.AnnotationOrBuilder> | |
public DataItem getDataItem()
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
Returns |
---|
Type | Description |
DataItem | The dataItem.
|
public DataItem.Builder getDataItemBuilder()
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
public DataItemOrBuilder getDataItemOrBuilder()
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
public DataItemView getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.v1beta1.DataItem data_item = 1;
Returns |
---|
Type | Description |
boolean | Whether the dataItem field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public DataItemView.Builder mergeDataItem(DataItem value)
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
public DataItemView.Builder mergeFrom(DataItemView other)
public DataItemView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public DataItemView.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final DataItemView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v1beta1.Annotation annotations = 2;
Parameter |
---|
Name | Description |
index | int
|
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;
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;
public DataItemView.Builder setDataItem(DataItem value)
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
public DataItemView.Builder setDataItem(DataItem.Builder builderForValue)
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
public DataItemView.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
public DataItemView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final DataItemView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides