Class EstimateDataSizeResponse (0.44.0)

public final class EstimateDataSizeResponse extends GeneratedMessageV3 implements EstimateDataSizeResponseOrBuilder

Response of the EstimateDataSize request. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.

Protobuf type google.cloud.discoveryengine.v1alpha.EstimateDataSizeResponse

Static Fields

DATA_SIZE_BYTES_FIELD_NUMBER

public static final int DATA_SIZE_BYTES_FIELD_NUMBER
Field Value
Type Description
int

DOCUMENT_COUNT_FIELD_NUMBER

public static final int DOCUMENT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EstimateDataSizeResponse getDefaultInstance()
Returns
Type Description
EstimateDataSizeResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EstimateDataSizeResponse.Builder newBuilder()
Returns
Type Description
EstimateDataSizeResponse.Builder

newBuilder(EstimateDataSizeResponse prototype)

public static EstimateDataSizeResponse.Builder newBuilder(EstimateDataSizeResponse prototype)
Parameter
Name Description
prototype EstimateDataSizeResponse
Returns
Type Description
EstimateDataSizeResponse.Builder

parseDelimitedFrom(InputStream input)

public static EstimateDataSizeResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EstimateDataSizeResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EstimateDataSizeResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EstimateDataSizeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EstimateDataSizeResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EstimateDataSizeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EstimateDataSizeResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EstimateDataSizeResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EstimateDataSizeResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EstimateDataSizeResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EstimateDataSizeResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EstimateDataSizeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EstimateDataSizeResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EstimateDataSizeResponse> parser()
Returns
Type Description
Parser<EstimateDataSizeResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataSizeBytes()

public long getDataSizeBytes()

Data size in terms of bytes.

int64 data_size_bytes = 1;

Returns
Type Description
long

The dataSizeBytes.

getDefaultInstanceForType()

public EstimateDataSizeResponse getDefaultInstanceForType()
Returns
Type Description
EstimateDataSizeResponse

getDocumentCount()

public long getDocumentCount()

Total number of documents.

int64 document_count = 2;

Returns
Type Description
long

The documentCount.

getParserForType()

public Parser<EstimateDataSizeResponse> getParserForType()
Returns
Type Description
Parser<EstimateDataSizeResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EstimateDataSizeResponse.Builder newBuilderForType()
Returns
Type Description
EstimateDataSizeResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EstimateDataSizeResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EstimateDataSizeResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EstimateDataSizeResponse.Builder toBuilder()
Returns
Type Description
EstimateDataSizeResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException