Class DataItemView (3.42.0)

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

ANNOTATIONS_FIELD_NUMBER

public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_ITEM_FIELD_NUMBER

public static final int DATA_ITEM_FIELD_NUMBER
Field Value
TypeDescription
int

HAS_TRUNCATED_ANNOTATIONS_FIELD_NUMBER

public static final int HAS_TRUNCATED_ANNOTATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataItemView getDefaultInstance()
Returns
TypeDescription
DataItemView

getDescriptor()

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

newBuilder()

public static DataItemView.Builder newBuilder()
Returns
TypeDescription
DataItemView.Builder

newBuilder(DataItemView prototype)

public static DataItemView.Builder newBuilder(DataItemView prototype)
Parameter
NameDescription
prototypeDataItemView
Returns
TypeDescription
DataItemView.Builder

parseDelimitedFrom(InputStream input)

public static DataItemView parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataItemView
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataItemView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataItemView
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataItemView parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataItemView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataItemView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataItemView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataItemView parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataItemView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataItemView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataItemView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataItemView parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataItemView
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataItemView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataItemView
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataItemView parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataItemView
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataItemView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataItemView
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataItemView parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataItemView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataItemView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataItemView
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DataItemView> parser()
Returns
TypeDescription
Parser<DataItemView>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.v1.Annotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Annotation

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

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

getDataItem()

public DataItem getDataItem()

The DataItem.

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

Returns
TypeDescription
DataItem

The dataItem.

getDataItemOrBuilder()

public DataItemOrBuilder getDataItemOrBuilder()

The DataItem.

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

Returns
TypeDescription
DataItemOrBuilder

getDefaultInstanceForType()

public DataItemView getDefaultInstanceForType()
Returns
TypeDescription
DataItemView

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.

getParserForType()

public Parser<DataItemView> getParserForType()
Returns
TypeDescription
Parser<DataItemView>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDataItem()

public boolean hasDataItem()

The DataItem.

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

Returns
TypeDescription
boolean

Whether the dataItem field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DataItemView.Builder newBuilderForType()
Returns
TypeDescription
DataItemView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataItemView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataItemView.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DataItemView.Builder toBuilder()
Returns
TypeDescription
DataItemView.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException