public static final class FlightSql.ActionEndSavepointRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.ActionEndSavepointRequest.Builder> implements FlightSql.ActionEndSavepointRequestOrBuilder
Request message for the "EndSavepoint" action. Release (RELEASE) the savepoint or rollback (ROLLBACK) to the savepoint. Releasing a savepoint invalidates that savepoint. Rolling back to a savepoint does not invalidate the savepoint, but invalidates all savepoints created after the current savepoint.Protobuf type
arrow.flight.protocol.sql.ActionEndSavepointRequest
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.ActionEndSavepointRequest.Builder>
public FlightSql.ActionEndSavepointRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.ActionEndSavepointRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.ActionEndSavepointRequest.Builder>
public FlightSql.ActionEndSavepointRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FlightSql.ActionEndSavepointRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FlightSql.ActionEndSavepointRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FlightSql.ActionEndSavepointRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlightSql.ActionEndSavepointRequest.Builder>
public FlightSql.ActionEndSavepointRequest.Builder mergeFrom(FlightSql.ActionEndSavepointRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.ActionEndSavepointRequest.Builder>
public FlightSql.ActionEndSavepointRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlightSql.ActionEndSavepointRequest.Builder>
IOException
public com.google.protobuf.ByteString getSavepointId()
Opaque handle for the savepoint on the server.
bytes savepoint_id = 1;
getSavepointId
in interface FlightSql.ActionEndSavepointRequestOrBuilder
public FlightSql.ActionEndSavepointRequest.Builder setSavepointId(com.google.protobuf.ByteString value)
Opaque handle for the savepoint on the server.
bytes savepoint_id = 1;
value
- The savepointId to set.public FlightSql.ActionEndSavepointRequest.Builder clearSavepointId()
Opaque handle for the savepoint on the server.
bytes savepoint_id = 1;
public int getActionValue()
Whether to rollback/release the given savepoint.
.arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint action = 2;
getActionValue
in interface FlightSql.ActionEndSavepointRequestOrBuilder
public FlightSql.ActionEndSavepointRequest.Builder setActionValue(int value)
Whether to rollback/release the given savepoint.
.arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint action = 2;
value
- The enum numeric value on the wire for action to set.public FlightSql.ActionEndSavepointRequest.EndSavepoint getAction()
Whether to rollback/release the given savepoint.
.arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint action = 2;
getAction
in interface FlightSql.ActionEndSavepointRequestOrBuilder
public FlightSql.ActionEndSavepointRequest.Builder setAction(FlightSql.ActionEndSavepointRequest.EndSavepoint value)
Whether to rollback/release the given savepoint.
.arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint action = 2;
value
- The action to set.public FlightSql.ActionEndSavepointRequest.Builder clearAction()
Whether to rollback/release the given savepoint.
.arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint action = 2;
public final FlightSql.ActionEndSavepointRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.ActionEndSavepointRequest.Builder>
public final FlightSql.ActionEndSavepointRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.ActionEndSavepointRequest.Builder>
Copyright © 2023 The Apache Software Foundation. All rights reserved.