Send feedback
Class DataItemView (3.47.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.47.0 keyboard_arrow_down
public final class DataItemView extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DATA_ITEM_FIELD_NUMBER
Field Value
Type
Description
int
public static final int HAS_TRUNCATED_ANNOTATIONS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static DataItemView getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static DataItemView . Builder newBuilder ()
public static DataItemView . Builder newBuilder ( DataItemView prototype )
public static DataItemView parseDelimitedFrom ( InputStream input )
public static DataItemView parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static DataItemView parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static DataItemView parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static DataItemView parseFrom ( ByteString data )
public static DataItemView parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static DataItemView parseFrom ( CodedInputStream input )
public static DataItemView parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static DataItemView parseFrom ( InputStream input )
public static DataItemView parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static DataItemView parseFrom ( ByteBuffer data )
public static DataItemView parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<DataItemView> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
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 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 DataItemOrBuilder getDataItemOrBuilder ()
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
public DataItemView getDefaultInstanceForType ()
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 ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public boolean hasDataItem ()
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
Returns
Type
Description
boolean
Whether the dataItem field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public DataItemView . Builder newBuilderForType ()
protected DataItemView . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public DataItemView . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]