public final class DataItemView extends GeneratedMessageV3 implements DataItemViewOrBuilder
A container for a single DataItem and Annotations on it.
Protobuf type google.cloud.aiplatform.v1.DataItemView
Static Fields
public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
public static final int DATA_ITEM_FIELD_NUMBER
Field Value
public static final int HAS_TRUNCATED_ANNOTATIONS_FIELD_NUMBER
Field Value
Static Methods
public static DataItemView getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static DataItemView.Builder newBuilder()
Returns
public static DataItemView.Builder newBuilder(DataItemView prototype)
Parameter
Returns
public static DataItemView parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataItemView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataItemView parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static DataItemView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataItemView parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static DataItemView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataItemView parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DataItemView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataItemView parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataItemView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataItemView parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static DataItemView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<DataItemView> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
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 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 DataItemOrBuilder getDataItemOrBuilder()
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
Returns
public DataItemView getDefaultInstanceForType()
Returns
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 Parser<DataItemView> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasDataItem()
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
Returns
Type | Description |
boolean | Whether the dataItem field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DataItemView.Builder newBuilderForType()
Returns
protected DataItemView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public DataItemView.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions