Package com.google.cloud.aiplatform.v1
Class DataItemView.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataItemView.Builder>
com.google.cloud.aiplatform.v1.DataItemView.Builder
- All Implemented Interfaces:
DataItemViewOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataItemView
public static final class DataItemView.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataItemView.Builder>
implements DataItemViewOrBuilder
A container for a single DataItem and Annotations on it.Protobuf type
google.cloud.aiplatform.v1.DataItemView-
Method Summary
Modifier and TypeMethodDescriptionaddAllAnnotations(Iterable<? extends Annotation> values) The Annotations on the DataItem.addAnnotations(int index, Annotation value) The Annotations on the DataItem.addAnnotations(int index, Annotation.Builder builderForValue) The Annotations on the DataItem.addAnnotations(Annotation value) The Annotations on the DataItem.addAnnotations(Annotation.Builder builderForValue) The Annotations on the DataItem.The Annotations on the DataItem.addAnnotationsBuilder(int index) The Annotations on the DataItem.build()clear()The Annotations on the DataItem.The DataItem.True if and only if the Annotations field has been truncated.getAnnotations(int index) The Annotations on the DataItem.getAnnotationsBuilder(int index) The Annotations on the DataItem.The Annotations on the DataItem.intThe Annotations on the DataItem.The Annotations on the DataItem.getAnnotationsOrBuilder(int index) The Annotations on the DataItem.List<? extends AnnotationOrBuilder>The Annotations on the DataItem.The DataItem.The DataItem.The DataItem.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanTrue if and only if the Annotations field has been truncated.booleanThe DataItem.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDataItem(DataItem value) The DataItem.mergeFrom(DataItemView other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAnnotations(int index) The Annotations on the DataItem.setAnnotations(int index, Annotation value) The Annotations on the DataItem.setAnnotations(int index, Annotation.Builder builderForValue) The Annotations on the DataItem.setDataItem(DataItem value) The DataItem.setDataItem(DataItem.Builder builderForValue) The DataItem.setHasTruncatedAnnotations(boolean value) True if and only if the Annotations field has been truncated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataItemView.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataItemView.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataItemView.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataItemView.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataItemView.Builder>
-
mergeFrom
public DataItemView.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataItemView.Builder>- Throws:
IOException
-
hasDataItem
public boolean hasDataItem()The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;- Specified by:
hasDataItemin interfaceDataItemViewOrBuilder- Returns:
- Whether the dataItem field is set.
-
getDataItem
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;- Specified by:
getDataItemin interfaceDataItemViewOrBuilder- Returns:
- The dataItem.
-
setDataItem
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1; -
setDataItem
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1; -
mergeDataItem
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1; -
clearDataItem
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1; -
getDataItemBuilder
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1; -
getDataItemOrBuilder
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;- Specified by:
getDataItemOrBuilderin interfaceDataItemViewOrBuilder
-
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;- Specified by:
getAnnotationsListin interfaceDataItemViewOrBuilder
-
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;- Specified by:
getAnnotationsCountin interfaceDataItemViewOrBuilder
-
getAnnotations
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;- Specified by:
getAnnotationsin interfaceDataItemViewOrBuilder
-
setAnnotations
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; -
setAnnotations
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; -
addAnnotations
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; -
addAnnotations
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; -
addAnnotations
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; -
addAnnotations
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; -
addAllAnnotations
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; -
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.v1.Annotation annotations = 2; -
removeAnnotations
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; -
getAnnotationsBuilder
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; -
getAnnotationsOrBuilder
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;- Specified by:
getAnnotationsOrBuilderin interfaceDataItemViewOrBuilder
-
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;- Specified by:
getAnnotationsOrBuilderListin interfaceDataItemViewOrBuilder
-
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.v1.Annotation annotations = 2; -
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.v1.Annotation annotations = 2; -
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.v1.Annotation annotations = 2; -
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;- Specified by:
getHasTruncatedAnnotationsin interfaceDataItemViewOrBuilder- Returns:
- The hasTruncatedAnnotations.
-
setHasTruncatedAnnotations
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;- Parameters:
value- The hasTruncatedAnnotations to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-