Class EstimateDataSizeResponse.Builder (0.42.0)

public static final class EstimateDataSizeResponse.Builder extends GeneratedMessageV3.Builder<EstimateDataSizeResponse.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EstimateDataSizeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EstimateDataSizeResponse.Builder
Overrides

build()

public EstimateDataSizeResponse build()
Returns
Type Description
EstimateDataSizeResponse

buildPartial()

public EstimateDataSizeResponse buildPartial()
Returns
Type Description
EstimateDataSizeResponse

clear()

public EstimateDataSizeResponse.Builder clear()
Returns
Type Description
EstimateDataSizeResponse.Builder
Overrides

clearDataSizeBytes()

public EstimateDataSizeResponse.Builder clearDataSizeBytes()

Data size in terms of bytes.

int64 data_size_bytes = 1;

Returns
Type Description
EstimateDataSizeResponse.Builder

This builder for chaining.

clearDocumentCount()

public EstimateDataSizeResponse.Builder clearDocumentCount()

Total number of documents.

int64 document_count = 2;

Returns
Type Description
EstimateDataSizeResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EstimateDataSizeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EstimateDataSizeResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EstimateDataSizeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EstimateDataSizeResponse.Builder
Overrides

clone()

public EstimateDataSizeResponse.Builder clone()
Returns
Type Description
EstimateDataSizeResponse.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDocumentCount()

public long getDocumentCount()

Total number of documents.

int64 document_count = 2;

Returns
Type Description
long

The documentCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EstimateDataSizeResponse other)

public EstimateDataSizeResponse.Builder mergeFrom(EstimateDataSizeResponse other)
Parameter
Name Description
other EstimateDataSizeResponse
Returns
Type Description
EstimateDataSizeResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EstimateDataSizeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EstimateDataSizeResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EstimateDataSizeResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EstimateDataSizeResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EstimateDataSizeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EstimateDataSizeResponse.Builder
Overrides

setDataSizeBytes(long value)

public EstimateDataSizeResponse.Builder setDataSizeBytes(long value)

Data size in terms of bytes.

int64 data_size_bytes = 1;

Parameter
Name Description
value long

The dataSizeBytes to set.

Returns
Type Description
EstimateDataSizeResponse.Builder

This builder for chaining.

setDocumentCount(long value)

public EstimateDataSizeResponse.Builder setDocumentCount(long value)

Total number of documents.

int64 document_count = 2;

Parameter
Name Description
value long

The documentCount to set.

Returns
Type Description
EstimateDataSizeResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EstimateDataSizeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EstimateDataSizeResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EstimateDataSizeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EstimateDataSizeResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EstimateDataSizeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EstimateDataSizeResponse.Builder
Overrides