Package com.google.cloud.aiplatform.v1
Class ErrorAnalysisAnnotation.AttributedItem.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ErrorAnalysisAnnotation.AttributedItem.Builder>
com.google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem.Builder
- All Implemented Interfaces:
ErrorAnalysisAnnotation.AttributedItemOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ErrorAnalysisAnnotation.AttributedItem
public static final class ErrorAnalysisAnnotation.AttributedItem.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ErrorAnalysisAnnotation.AttributedItem.Builder>
implements ErrorAnalysisAnnotation.AttributedItemOrBuilder
Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.Protobuf type
google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The unique ID for each annotation.The distance of this item to the annotation.The unique ID for each annotation.com.google.protobuf.ByteStringThe unique ID for each annotation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoubleThe distance of this item to the annotation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAnnotationResourceName(String value) The unique ID for each annotation.setAnnotationResourceNameBytes(com.google.protobuf.ByteString value) The unique ID for each annotation.setDistance(double value) The distance of this item to the annotation.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<ErrorAnalysisAnnotation.AttributedItem.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<ErrorAnalysisAnnotation.AttributedItem.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<ErrorAnalysisAnnotation.AttributedItem.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<ErrorAnalysisAnnotation.AttributedItem.Builder>
-
mergeFrom
public ErrorAnalysisAnnotation.AttributedItem.Builder mergeFrom(ErrorAnalysisAnnotation.AttributedItem other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ErrorAnalysisAnnotation.AttributedItem.Builder>
-
mergeFrom
public ErrorAnalysisAnnotation.AttributedItem.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<ErrorAnalysisAnnotation.AttributedItem.Builder>- Throws:
IOException
-
getAnnotationResourceName
The unique ID for each annotation. Used by FE to allocate the annotation in DB.
string annotation_resource_name = 1;- Specified by:
getAnnotationResourceNamein interfaceErrorAnalysisAnnotation.AttributedItemOrBuilder- Returns:
- The annotationResourceName.
-
getAnnotationResourceNameBytes
public com.google.protobuf.ByteString getAnnotationResourceNameBytes()The unique ID for each annotation. Used by FE to allocate the annotation in DB.
string annotation_resource_name = 1;- Specified by:
getAnnotationResourceNameBytesin interfaceErrorAnalysisAnnotation.AttributedItemOrBuilder- Returns:
- The bytes for annotationResourceName.
-
setAnnotationResourceName
The unique ID for each annotation. Used by FE to allocate the annotation in DB.
string annotation_resource_name = 1;- Parameters:
value- The annotationResourceName to set.- Returns:
- This builder for chaining.
-
clearAnnotationResourceName
The unique ID for each annotation. Used by FE to allocate the annotation in DB.
string annotation_resource_name = 1;- Returns:
- This builder for chaining.
-
setAnnotationResourceNameBytes
public ErrorAnalysisAnnotation.AttributedItem.Builder setAnnotationResourceNameBytes(com.google.protobuf.ByteString value) The unique ID for each annotation. Used by FE to allocate the annotation in DB.
string annotation_resource_name = 1;- Parameters:
value- The bytes for annotationResourceName to set.- Returns:
- This builder for chaining.
-
getDistance
public double getDistance()The distance of this item to the annotation.
double distance = 2;- Specified by:
getDistancein interfaceErrorAnalysisAnnotation.AttributedItemOrBuilder- Returns:
- The distance.
-
setDistance
The distance of this item to the annotation.
double distance = 2;- Parameters:
value- The distance to set.- Returns:
- This builder for chaining.
-
clearDistance
The distance of this item to the annotation.
double distance = 2;- Returns:
- This builder for chaining.
-