Class NearestNeighborSearchOperationMetadata.ContentValidationStats (3.21.0)

public static final class NearestNeighborSearchOperationMetadata.ContentValidationStats extends GeneratedMessageV3 implements NearestNeighborSearchOperationMetadata.ContentValidationStatsOrBuilder

Protobuf type google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NearestNeighborSearchOperationMetadata.ContentValidationStats

Static Fields

INVALID_RECORD_COUNT_FIELD_NUMBER

public static final int INVALID_RECORD_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

PARTIAL_ERRORS_FIELD_NUMBER

public static final int PARTIAL_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_GCS_URI_FIELD_NUMBER

public static final int SOURCE_GCS_URI_FIELD_NUMBER
Field Value
TypeDescription
int

VALID_RECORD_COUNT_FIELD_NUMBER

public static final int VALID_RECORD_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NearestNeighborSearchOperationMetadata.ContentValidationStats getDefaultInstance()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder newBuilder()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

newBuilder(NearestNeighborSearchOperationMetadata.ContentValidationStats prototype)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder newBuilder(NearestNeighborSearchOperationMetadata.ContentValidationStats prototype)
Parameter
NameDescription
prototypeNearestNeighborSearchOperationMetadata.ContentValidationStats
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

parseDelimitedFrom(InputStream input)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NearestNeighborSearchOperationMetadata.ContentValidationStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NearestNeighborSearchOperationMetadata.ContentValidationStats> parser()
Returns
TypeDescription
Parser<ContentValidationStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public NearestNeighborSearchOperationMetadata.ContentValidationStats getDefaultInstanceForType()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats

getInvalidRecordCount()

public long getInvalidRecordCount()

Number of records in this file we skipped due to validate errors.

int64 invalid_record_count = 3;

Returns
TypeDescription
long

The invalidRecordCount.

getParserForType()

public Parser<NearestNeighborSearchOperationMetadata.ContentValidationStats> getParserForType()
Returns
TypeDescription
Parser<ContentValidationStats>
Overrides

getPartialErrors(int index)

public NearestNeighborSearchOperationMetadata.RecordError getPartialErrors(int index)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordError

getPartialErrorsCount()

public int getPartialErrorsCount()

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

Returns
TypeDescription
int

getPartialErrorsList()

public List<NearestNeighborSearchOperationMetadata.RecordError> getPartialErrorsList()

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

Returns
TypeDescription
List<RecordError>

getPartialErrorsOrBuilder(int index)

public NearestNeighborSearchOperationMetadata.RecordErrorOrBuilder getPartialErrorsOrBuilder(int index)

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.RecordErrorOrBuilder

getPartialErrorsOrBuilderList()

public List<? extends NearestNeighborSearchOperationMetadata.RecordErrorOrBuilder> getPartialErrorsOrBuilderList()

The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported.

repeated .google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError partial_errors = 4;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordErrorOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceGcsUri()

public String getSourceGcsUri()

Cloud Storage URI pointing to the original file in user's bucket.

string source_gcs_uri = 1;

Returns
TypeDescription
String

The sourceGcsUri.

getSourceGcsUriBytes()

public ByteString getSourceGcsUriBytes()

Cloud Storage URI pointing to the original file in user's bucket.

string source_gcs_uri = 1;

Returns
TypeDescription
ByteString

The bytes for sourceGcsUri.

getValidRecordCount()

public long getValidRecordCount()

Number of records in this file that were successfully processed.

int64 valid_record_count = 2;

Returns
TypeDescription
long

The validRecordCount.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder newBuilderForType()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder toBuilder()
Returns
TypeDescription
NearestNeighborSearchOperationMetadata.ContentValidationStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException