Package com.google.cloud.aiplatform.v1
Class NearestNeighborSearchOperationMetadata.RecordError.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NearestNeighborSearchOperationMetadata.RecordError.Builder>
com.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.Builder
- All Implemented Interfaces:
NearestNeighborSearchOperationMetadata.RecordErrorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NearestNeighborSearchOperationMetadata.RecordError
public static final class NearestNeighborSearchOperationMetadata.RecordError.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NearestNeighborSearchOperationMetadata.RecordError.Builder>
implements NearestNeighborSearchOperationMetadata.RecordErrorOrBuilder
Protobuf type
google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Empty if the embedding id is failed to parse.A human-readable message that is shown to the user to help them fix the error.The error type of this record.The original content of this record.Cloud Storage URI pointing to the original file in user's bucket.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorEmpty if the embedding id is failed to parse.com.google.protobuf.ByteStringEmpty if the embedding id is failed to parse.A human-readable message that is shown to the user to help them fix the error.com.google.protobuf.ByteStringA human-readable message that is shown to the user to help them fix the error.The error type of this record.intThe error type of this record.The original content of this record.com.google.protobuf.ByteStringThe original content of this record.Cloud Storage URI pointing to the original file in user's bucket.com.google.protobuf.ByteStringCloud Storage URI pointing to the original file in user's bucket.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEmbeddingId(String value) Empty if the embedding id is failed to parse.setEmbeddingIdBytes(com.google.protobuf.ByteString value) Empty if the embedding id is failed to parse.setErrorMessage(String value) A human-readable message that is shown to the user to help them fix the error.setErrorMessageBytes(com.google.protobuf.ByteString value) A human-readable message that is shown to the user to help them fix the error.The error type of this record.setErrorTypeValue(int value) The error type of this record.setRawRecord(String value) The original content of this record.setRawRecordBytes(com.google.protobuf.ByteString value) The original content of this record.setSourceGcsUri(String value) Cloud Storage URI pointing to the original file in user's bucket.setSourceGcsUriBytes(com.google.protobuf.ByteString value) Cloud Storage URI pointing to the original file in user's bucket.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<NearestNeighborSearchOperationMetadata.RecordError.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<NearestNeighborSearchOperationMetadata.RecordError.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<NearestNeighborSearchOperationMetadata.RecordError.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
public NearestNeighborSearchOperationMetadata.RecordError.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NearestNeighborSearchOperationMetadata.RecordError.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NearestNeighborSearchOperationMetadata.RecordError.Builder>
-
mergeFrom
public NearestNeighborSearchOperationMetadata.RecordError.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<NearestNeighborSearchOperationMetadata.RecordError.Builder>- Throws:
IOException
-
getErrorTypeValue
public int getErrorTypeValue()The error type of this record.
.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;- Specified by:
getErrorTypeValuein interfaceNearestNeighborSearchOperationMetadata.RecordErrorOrBuilder- Returns:
- The enum numeric value on the wire for errorType.
-
setErrorTypeValue
The error type of this record.
.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;- Parameters:
value- The enum numeric value on the wire for errorType to set.- Returns:
- This builder for chaining.
-
getErrorType
The error type of this record.
.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;- Specified by:
getErrorTypein interfaceNearestNeighborSearchOperationMetadata.RecordErrorOrBuilder- Returns:
- The errorType.
-
setErrorType
public NearestNeighborSearchOperationMetadata.RecordError.Builder setErrorType(NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType value) The error type of this record.
.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;- Parameters:
value- The errorType to set.- Returns:
- This builder for chaining.
-
clearErrorType
The error type of this record.
.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType error_type = 1;- Returns:
- This builder for chaining.
-
getErrorMessage
A human-readable message that is shown to the user to help them fix the error. Note that this message may change from time to time, your code should check against error_type as the source of truth.
string error_message = 2;- Specified by:
getErrorMessagein interfaceNearestNeighborSearchOperationMetadata.RecordErrorOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()A human-readable message that is shown to the user to help them fix the error. Note that this message may change from time to time, your code should check against error_type as the source of truth.
string error_message = 2;- Specified by:
getErrorMessageBytesin interfaceNearestNeighborSearchOperationMetadata.RecordErrorOrBuilder- Returns:
- The bytes for errorMessage.
-
setErrorMessage
A human-readable message that is shown to the user to help them fix the error. Note that this message may change from time to time, your code should check against error_type as the source of truth.
string error_message = 2;- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
clearErrorMessage
A human-readable message that is shown to the user to help them fix the error. Note that this message may change from time to time, your code should check against error_type as the source of truth.
string error_message = 2;- Returns:
- This builder for chaining.
-
setErrorMessageBytes
public NearestNeighborSearchOperationMetadata.RecordError.Builder setErrorMessageBytes(com.google.protobuf.ByteString value) A human-readable message that is shown to the user to help them fix the error. Note that this message may change from time to time, your code should check against error_type as the source of truth.
string error_message = 2;- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-
getSourceGcsUri
Cloud Storage URI pointing to the original file in user's bucket.
string source_gcs_uri = 3;- Specified by:
getSourceGcsUriin interfaceNearestNeighborSearchOperationMetadata.RecordErrorOrBuilder- Returns:
- The sourceGcsUri.
-
getSourceGcsUriBytes
public com.google.protobuf.ByteString getSourceGcsUriBytes()Cloud Storage URI pointing to the original file in user's bucket.
string source_gcs_uri = 3;- Specified by:
getSourceGcsUriBytesin interfaceNearestNeighborSearchOperationMetadata.RecordErrorOrBuilder- Returns:
- The bytes for sourceGcsUri.
-
setSourceGcsUri
Cloud Storage URI pointing to the original file in user's bucket.
string source_gcs_uri = 3;- Parameters:
value- The sourceGcsUri to set.- Returns:
- This builder for chaining.
-
clearSourceGcsUri
Cloud Storage URI pointing to the original file in user's bucket.
string source_gcs_uri = 3;- Returns:
- This builder for chaining.
-
setSourceGcsUriBytes
public NearestNeighborSearchOperationMetadata.RecordError.Builder setSourceGcsUriBytes(com.google.protobuf.ByteString value) Cloud Storage URI pointing to the original file in user's bucket.
string source_gcs_uri = 3;- Parameters:
value- The bytes for sourceGcsUri to set.- Returns:
- This builder for chaining.
-
getEmbeddingId
Empty if the embedding id is failed to parse.
string embedding_id = 4;- Specified by:
getEmbeddingIdin interfaceNearestNeighborSearchOperationMetadata.RecordErrorOrBuilder- Returns:
- The embeddingId.
-
getEmbeddingIdBytes
public com.google.protobuf.ByteString getEmbeddingIdBytes()Empty if the embedding id is failed to parse.
string embedding_id = 4;- Specified by:
getEmbeddingIdBytesin interfaceNearestNeighborSearchOperationMetadata.RecordErrorOrBuilder- Returns:
- The bytes for embeddingId.
-
setEmbeddingId
Empty if the embedding id is failed to parse.
string embedding_id = 4;- Parameters:
value- The embeddingId to set.- Returns:
- This builder for chaining.
-
clearEmbeddingId
Empty if the embedding id is failed to parse.
string embedding_id = 4;- Returns:
- This builder for chaining.
-
setEmbeddingIdBytes
public NearestNeighborSearchOperationMetadata.RecordError.Builder setEmbeddingIdBytes(com.google.protobuf.ByteString value) Empty if the embedding id is failed to parse.
string embedding_id = 4;- Parameters:
value- The bytes for embeddingId to set.- Returns:
- This builder for chaining.
-
getRawRecord
The original content of this record.
string raw_record = 5;- Specified by:
getRawRecordin interfaceNearestNeighborSearchOperationMetadata.RecordErrorOrBuilder- Returns:
- The rawRecord.
-
getRawRecordBytes
public com.google.protobuf.ByteString getRawRecordBytes()The original content of this record.
string raw_record = 5;- Specified by:
getRawRecordBytesin interfaceNearestNeighborSearchOperationMetadata.RecordErrorOrBuilder- Returns:
- The bytes for rawRecord.
-
setRawRecord
The original content of this record.
string raw_record = 5;- Parameters:
value- The rawRecord to set.- Returns:
- This builder for chaining.
-
clearRawRecord
The original content of this record.
string raw_record = 5;- Returns:
- This builder for chaining.
-
setRawRecordBytes
public NearestNeighborSearchOperationMetadata.RecordError.Builder setRawRecordBytes(com.google.protobuf.ByteString value) The original content of this record.
string raw_record = 5;- Parameters:
value- The bytes for rawRecord to set.- Returns:
- This builder for chaining.
-