Class EstimateDataSizeResponse.Builder (0.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EstimateDataSizeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EstimateDataSizeResponse.Builder
Overrides

build()

public EstimateDataSizeResponse build()
Returns
TypeDescription
EstimateDataSizeResponse

buildPartial()

public EstimateDataSizeResponse buildPartial()
Returns
TypeDescription
EstimateDataSizeResponse

clear()

public EstimateDataSizeResponse.Builder clear()
Returns
TypeDescription
EstimateDataSizeResponse.Builder
Overrides

clearDataSizeBytes()

public EstimateDataSizeResponse.Builder clearDataSizeBytes()

Data size in terms of bytes.

int64 data_size_bytes = 1;

Returns
TypeDescription
EstimateDataSizeResponse.Builder

This builder for chaining.

clearDocumentCount()

public EstimateDataSizeResponse.Builder clearDocumentCount()

Total number of documents.

int64 document_count = 2;

Returns
TypeDescription
EstimateDataSizeResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EstimateDataSizeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EstimateDataSizeResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EstimateDataSizeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EstimateDataSizeResponse.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDocumentCount()

public long getDocumentCount()

Total number of documents.

int64 document_count = 2;

Returns
TypeDescription
long

The documentCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EstimateDataSizeResponse other)

public EstimateDataSizeResponse.Builder mergeFrom(EstimateDataSizeResponse other)
Parameter
NameDescription
otherEstimateDataSizeResponse
Returns
TypeDescription
EstimateDataSizeResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EstimateDataSizeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EstimateDataSizeResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EstimateDataSizeResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EstimateDataSizeResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EstimateDataSizeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EstimateDataSizeResponse.Builder
Overrides

setDataSizeBytes(long value)

public EstimateDataSizeResponse.Builder setDataSizeBytes(long value)

Data size in terms of bytes.

int64 data_size_bytes = 1;

Parameter
NameDescription
valuelong

The dataSizeBytes to set.

Returns
TypeDescription
EstimateDataSizeResponse.Builder

This builder for chaining.

setDocumentCount(long value)

public EstimateDataSizeResponse.Builder setDocumentCount(long value)

Total number of documents.

int64 document_count = 2;

Parameter
NameDescription
valuelong

The documentCount to set.

Returns
TypeDescription
EstimateDataSizeResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EstimateDataSizeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EstimateDataSizeResponse.Builder
Overrides

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

public EstimateDataSizeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EstimateDataSizeResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EstimateDataSizeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EstimateDataSizeResponse.Builder
Overrides