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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<DataItemView.Builder> implements DataItemViewOrBuilder
A container for a single DataItem and Annotations on it.
Protobuf typegoogle.cloud.aiplatform.v1.DataItemView
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataItemView.Builder
addAllAnnotations(Iterable<? extends Annotation> values)
The Annotations on the DataItem.DataItemView.Builder
addAnnotations(int index, Annotation value)
The Annotations on the DataItem.DataItemView.Builder
addAnnotations(int index, Annotation.Builder builderForValue)
The Annotations on the DataItem.DataItemView.Builder
addAnnotations(Annotation value)
The Annotations on the DataItem.DataItemView.Builder
addAnnotations(Annotation.Builder builderForValue)
The Annotations on the DataItem.Annotation.Builder
addAnnotationsBuilder()
The Annotations on the DataItem.Annotation.Builder
addAnnotationsBuilder(int index)
The Annotations on the DataItem.DataItemView.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataItemView
build()
DataItemView
buildPartial()
DataItemView.Builder
clear()
DataItemView.Builder
clearAnnotations()
The Annotations on the DataItem.DataItemView.Builder
clearDataItem()
The DataItem.DataItemView.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DataItemView.Builder
clearHasTruncatedAnnotations()
True if and only if the Annotations field has been truncated.DataItemView.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DataItemView.Builder
clone()
Annotation
getAnnotations(int index)
The Annotations on the DataItem.Annotation.Builder
getAnnotationsBuilder(int index)
The Annotations on the DataItem.List<Annotation.Builder>
getAnnotationsBuilderList()
The Annotations on the DataItem.int
getAnnotationsCount()
The Annotations on the DataItem.List<Annotation>
getAnnotationsList()
The Annotations on the DataItem.AnnotationOrBuilder
getAnnotationsOrBuilder(int index)
The Annotations on the DataItem.List<? extends AnnotationOrBuilder>
getAnnotationsOrBuilderList()
The Annotations on the DataItem.DataItem
getDataItem()
The DataItem.DataItem.Builder
getDataItemBuilder()
The DataItem.DataItemOrBuilder
getDataItemOrBuilder()
The DataItem.DataItemView
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getHasTruncatedAnnotations()
True if and only if the Annotations field has been truncated.boolean
hasDataItem()
The DataItem.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DataItemView.Builder
mergeDataItem(DataItem value)
The DataItem.DataItemView.Builder
mergeFrom(DataItemView other)
DataItemView.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DataItemView.Builder
mergeFrom(com.google.protobuf.Message other)
DataItemView.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DataItemView.Builder
removeAnnotations(int index)
The Annotations on the DataItem.DataItemView.Builder
setAnnotations(int index, Annotation value)
The Annotations on the DataItem.DataItemView.Builder
setAnnotations(int index, Annotation.Builder builderForValue)
The Annotations on the DataItem.DataItemView.Builder
setDataItem(DataItem value)
The DataItem.DataItemView.Builder
setDataItem(DataItem.Builder builderForValue)
The DataItem.DataItemView.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataItemView.Builder
setHasTruncatedAnnotations(boolean value)
True if and only if the Annotations field has been truncated.DataItemView.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DataItemView.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
clear
public DataItemView.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
getDefaultInstanceForType
public DataItemView getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataItemView build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataItemView buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataItemView.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
setField
public DataItemView.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
clearField
public DataItemView.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
clearOneof
public DataItemView.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
setRepeatedField
public DataItemView.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
addRepeatedField
public DataItemView.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
mergeFrom
public DataItemView.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataItemView.Builder>
-
mergeFrom
public DataItemView.Builder mergeFrom(DataItemView other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasDataItem
in interfaceDataItemViewOrBuilder
- Returns:
- Whether the dataItem field is set.
-
getDataItem
public DataItem getDataItem()
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
- Specified by:
getDataItem
in interfaceDataItemViewOrBuilder
- Returns:
- The dataItem.
-
setDataItem
public DataItemView.Builder setDataItem(DataItem value)
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
-
setDataItem
public DataItemView.Builder setDataItem(DataItem.Builder builderForValue)
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
-
mergeDataItem
public DataItemView.Builder mergeDataItem(DataItem value)
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
-
clearDataItem
public DataItemView.Builder clearDataItem()
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
-
getDataItemBuilder
public DataItem.Builder getDataItemBuilder()
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
-
getDataItemOrBuilder
public DataItemOrBuilder getDataItemOrBuilder()
The DataItem.
.google.cloud.aiplatform.v1.DataItem data_item = 1;
- Specified by:
getDataItemOrBuilder
in 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.v1.Annotation annotations = 2;
- Specified by:
getAnnotationsList
in 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:
getAnnotationsCount
in 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.v1.Annotation annotations = 2;
- Specified by:
getAnnotations
in 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Annotation annotations = 2;
- Specified by:
getAnnotationsOrBuilder
in 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.v1.Annotation annotations = 2;
- Specified by:
getAnnotationsOrBuilderList
in 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.v1.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.v1.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.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:
getHasTruncatedAnnotations
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
mergeUnknownFields
public final DataItemView.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataItemView.Builder>
-
-