Class DataItemView.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
- com.google.cloud.aiplatform.v1beta1.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.GeneratedMessageV3.Builder<DataItemView.Builder> implements DataItemViewOrBuilder
A container for a single DataItem and Annotations on it.
Protobuf typegoogle.cloud.aiplatform.v1beta1.DataItemView
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataItemView.BuilderaddAllAnnotations(Iterable<? extends Annotation> values)The Annotations on the DataItem.DataItemView.BuilderaddAnnotations(int index, Annotation value)The Annotations on the DataItem.DataItemView.BuilderaddAnnotations(int index, Annotation.Builder builderForValue)The Annotations on the DataItem.DataItemView.BuilderaddAnnotations(Annotation value)The Annotations on the DataItem.DataItemView.BuilderaddAnnotations(Annotation.Builder builderForValue)The Annotations on the DataItem.Annotation.BuilderaddAnnotationsBuilder()The Annotations on the DataItem.Annotation.BuilderaddAnnotationsBuilder(int index)The Annotations on the DataItem.DataItemView.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DataItemViewbuild()DataItemViewbuildPartial()DataItemView.Builderclear()DataItemView.BuilderclearAnnotations()The Annotations on the DataItem.DataItemView.BuilderclearDataItem()The DataItem.DataItemView.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DataItemView.BuilderclearHasTruncatedAnnotations()True if and only if the Annotations field has been truncated.DataItemView.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DataItemView.Builderclone()AnnotationgetAnnotations(int index)The Annotations on the DataItem.Annotation.BuildergetAnnotationsBuilder(int index)The Annotations on the DataItem.List<Annotation.Builder>getAnnotationsBuilderList()The Annotations on the DataItem.intgetAnnotationsCount()The Annotations on the DataItem.List<Annotation>getAnnotationsList()The Annotations on the DataItem.AnnotationOrBuildergetAnnotationsOrBuilder(int index)The Annotations on the DataItem.List<? extends AnnotationOrBuilder>getAnnotationsOrBuilderList()The Annotations on the DataItem.DataItemgetDataItem()The DataItem.DataItem.BuildergetDataItemBuilder()The DataItem.DataItemOrBuildergetDataItemOrBuilder()The DataItem.DataItemViewgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetHasTruncatedAnnotations()True if and only if the Annotations field has been truncated.booleanhasDataItem()The DataItem.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DataItemView.BuildermergeDataItem(DataItem value)The DataItem.DataItemView.BuildermergeFrom(DataItemView other)DataItemView.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DataItemView.BuildermergeFrom(com.google.protobuf.Message other)DataItemView.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DataItemView.BuilderremoveAnnotations(int index)The Annotations on the DataItem.DataItemView.BuildersetAnnotations(int index, Annotation value)The Annotations on the DataItem.DataItemView.BuildersetAnnotations(int index, Annotation.Builder builderForValue)The Annotations on the DataItem.DataItemView.BuildersetDataItem(DataItem value)The DataItem.DataItemView.BuildersetDataItem(DataItem.Builder builderForValue)The DataItem.DataItemView.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DataItemView.BuildersetHasTruncatedAnnotations(boolean value)True if and only if the Annotations field has been truncated.DataItemView.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DataItemView.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
clear
public DataItemView.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<DataItemView.Builder>
-
getDefaultInstanceForType
public DataItemView getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataItemView build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataItemView buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataItemView.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
setField
public DataItemView.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
clearField
public DataItemView.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
clearOneof
public DataItemView.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
setRepeatedField
public DataItemView.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
addRepeatedField
public DataItemView.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
mergeFrom
public DataItemView.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataItemView.Builder>
-
mergeFrom
public DataItemView.Builder mergeFrom(DataItemView other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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.v1beta1.DataItem data_item = 1;- Specified by:
hasDataItemin interfaceDataItemViewOrBuilder- Returns:
- Whether the dataItem field is set.
-
getDataItem
public DataItem getDataItem()
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;- Specified by:
getDataItemin interfaceDataItemViewOrBuilder- Returns:
- The dataItem.
-
setDataItem
public DataItemView.Builder setDataItem(DataItem value)
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
-
setDataItem
public DataItemView.Builder setDataItem(DataItem.Builder builderForValue)
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
-
mergeDataItem
public DataItemView.Builder mergeDataItem(DataItem value)
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
-
clearDataItem
public DataItemView.Builder clearDataItem()
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
-
getDataItemBuilder
public DataItem.Builder getDataItemBuilder()
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;
-
getDataItemOrBuilder
public DataItemOrBuilder getDataItemOrBuilder()
The DataItem.
.google.cloud.aiplatform.v1beta1.DataItem data_item = 1;- Specified by:
getDataItemOrBuilderin interfaceDataItemViewOrBuilder
-
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.v1beta1.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.v1beta1.Annotation annotations = 2;- Specified by:
getAnnotationsCountin interfaceDataItemViewOrBuilder
-
getAnnotations
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;- Specified by:
getAnnotationsin interfaceDataItemViewOrBuilder
-
setAnnotations
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;
-
setAnnotations
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;
-
addAnnotations
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;
-
addAnnotations
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;
-
addAnnotations
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;
-
addAnnotations
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;
-
addAllAnnotations
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;
-
clearAnnotations
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;
-
removeAnnotations
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;
-
getAnnotationsBuilder
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;
-
getAnnotationsOrBuilder
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;- Specified by:
getAnnotationsOrBuilderin interfaceDataItemViewOrBuilder
-
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.v1beta1.Annotation annotations = 2;- Specified by:
getAnnotationsOrBuilderListin interfaceDataItemViewOrBuilder
-
addAnnotationsBuilder
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;
-
addAnnotationsBuilder
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;
-
getAnnotationsBuilderList
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;
-
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
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;- Parameters:
value- The hasTruncatedAnnotations to set.- Returns:
- This builder for chaining.
-
clearHasTruncatedAnnotations
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DataItemView.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
mergeUnknownFields
public final DataItemView.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
-