Send feedback
Class Ack.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class Ack . Builder extends GeneratedMessage . Builder<Ack . Builder > implements AckOrBuilder
Acknowledges data received by the client or server.
Protobuf type google.cloud.sql.v1beta4.Ack
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
build()
Returns
Type
Description
Ack
buildPartial()
public Ack buildPartial ()
Returns
Type
Description
Ack
clear()
public Ack . Builder clear ()
Overrides
clearReceivedOffset()
public Ack . Builder clearReceivedOffset ()
Required. The absolute number of bytes processed in the session.
int64 received_offset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
Ack.Builder
This builder for chaining.
getDefaultInstanceForType()
public Ack getDefaultInstanceForType ()
Returns
Type
Description
Ack
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getReceivedOffset()
public long getReceivedOffset ()
Required. The absolute number of bytes processed in the session.
int64 received_offset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
long
The receivedOffset.
internalGetFieldAccessorTable()
protected GeneratedMessage . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Ack other)
public Ack . Builder mergeFrom ( Ack other )
Parameter
Name
Description
other
Ack
public Ack . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Ack . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
setReceivedOffset(long value)
public Ack . Builder setReceivedOffset ( long value )
Required. The absolute number of bytes processed in the session.
int64 received_offset = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
long The receivedOffset to set.
Returns
Type
Description
Ack.Builder
This builder for chaining.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-05 UTC."],[],[]]