Class EstimateDataSizeResponse (0.37.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
TypeDescription
int

DOCUMENT_COUNT_FIELD_NUMBER

public static final int DOCUMENT_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EstimateDataSizeResponse getDefaultInstance()
Returns
TypeDescription
EstimateDataSizeResponse

getDescriptor()

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

newBuilder()

public static EstimateDataSizeResponse.Builder newBuilder()
Returns
TypeDescription
EstimateDataSizeResponse.Builder

newBuilder(EstimateDataSizeResponse prototype)

public static EstimateDataSizeResponse.Builder newBuilder(EstimateDataSizeResponse prototype)
Parameter
NameDescription
prototypeEstimateDataSizeResponse
Returns
TypeDescription
EstimateDataSizeResponse.Builder

parseDelimitedFrom(InputStream input)

public static EstimateDataSizeResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EstimateDataSizeResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static EstimateDataSizeResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EstimateDataSizeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static EstimateDataSizeResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EstimateDataSizeResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static EstimateDataSizeResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EstimateDataSizeResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static EstimateDataSizeResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EstimateDataSizeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<EstimateDataSizeResponse> parser()
Returns
TypeDescription
Parser<EstimateDataSizeResponse>

Methods

equals(Object obj)

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

getDataSizeBytes()

public long getDataSizeBytes()

Data size in terms of bytes.

int64 data_size_bytes = 1;

Returns
TypeDescription
long

The dataSizeBytes.

getDefaultInstanceForType()

public EstimateDataSizeResponse getDefaultInstanceForType()
Returns
TypeDescription
EstimateDataSizeResponse

getDocumentCount()

public long getDocumentCount()

Total number of documents.

int64 document_count = 2;

Returns
TypeDescription
long

The documentCount.

getParserForType()

public Parser<EstimateDataSizeResponse> getParserForType()
Returns
TypeDescription
Parser<EstimateDataSizeResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 EstimateDataSizeResponse.Builder newBuilderForType()
Returns
TypeDescription
EstimateDataSizeResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public EstimateDataSizeResponse.Builder toBuilder()
Returns
TypeDescription
EstimateDataSizeResponse.Builder

writeTo(CodedOutputStream output)

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