public static final class FlightSql.DoPutPreparedStatementResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.DoPutPreparedStatementResult.Builder> implements FlightSql.DoPutPreparedStatementResultOrBuilder
An *optional* response returned when `DoPut` is called with `CommandPreparedStatementQuery`. *Note on legacy behavior*: previous versions of the protocol did not return any result for this command, and that behavior should still be supported by clients. In that case, the client can continue as though the fields in this message were not provided or set to sensible default values.Protobuf type
arrow.flight.protocol.sql.DoPutPreparedStatementResult
Modifier and Type | Method and Description |
---|---|
FlightSql.DoPutPreparedStatementResult |
build() |
FlightSql.DoPutPreparedStatementResult |
buildPartial() |
FlightSql.DoPutPreparedStatementResult.Builder |
clear() |
FlightSql.DoPutPreparedStatementResult.Builder |
clearPreparedStatementHandle()
Represents a (potentially updated) opaque handle for the prepared statement on the server.
|
FlightSql.DoPutPreparedStatementResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getPreparedStatementHandle()
Represents a (potentially updated) opaque handle for the prepared statement on the server.
|
boolean |
hasPreparedStatementHandle()
Represents a (potentially updated) opaque handle for the prepared statement on the server.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FlightSql.DoPutPreparedStatementResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FlightSql.DoPutPreparedStatementResult.Builder |
mergeFrom(FlightSql.DoPutPreparedStatementResult other) |
FlightSql.DoPutPreparedStatementResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
FlightSql.DoPutPreparedStatementResult.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FlightSql.DoPutPreparedStatementResult.Builder |
setPreparedStatementHandle(com.google.protobuf.ByteString value)
Represents a (potentially updated) opaque handle for the prepared statement on the server.
|
FlightSql.DoPutPreparedStatementResult.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.DoPutPreparedStatementResult.Builder>
public FlightSql.DoPutPreparedStatementResult.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.DoPutPreparedStatementResult.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.DoPutPreparedStatementResult.Builder>
public FlightSql.DoPutPreparedStatementResult getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FlightSql.DoPutPreparedStatementResult build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FlightSql.DoPutPreparedStatementResult buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FlightSql.DoPutPreparedStatementResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlightSql.DoPutPreparedStatementResult.Builder>
public FlightSql.DoPutPreparedStatementResult.Builder mergeFrom(FlightSql.DoPutPreparedStatementResult other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.DoPutPreparedStatementResult.Builder>
public FlightSql.DoPutPreparedStatementResult.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.DoPutPreparedStatementResult.Builder>
IOException
public boolean hasPreparedStatementHandle()
Represents a (potentially updated) opaque handle for the prepared statement on the server. Because the handle could potentially be updated, any previous handles for this prepared statement should be considered invalid, and all subsequent requests for this prepared statement must use this new handle. The updated handle allows implementing query parameters with stateless services. When an updated handle is not provided by the server, clients should contiue using the previous handle provided by `ActionCreatePreparedStatementResonse`.
optional bytes prepared_statement_handle = 1;
hasPreparedStatementHandle
in interface FlightSql.DoPutPreparedStatementResultOrBuilder
public com.google.protobuf.ByteString getPreparedStatementHandle()
Represents a (potentially updated) opaque handle for the prepared statement on the server. Because the handle could potentially be updated, any previous handles for this prepared statement should be considered invalid, and all subsequent requests for this prepared statement must use this new handle. The updated handle allows implementing query parameters with stateless services. When an updated handle is not provided by the server, clients should contiue using the previous handle provided by `ActionCreatePreparedStatementResonse`.
optional bytes prepared_statement_handle = 1;
getPreparedStatementHandle
in interface FlightSql.DoPutPreparedStatementResultOrBuilder
public FlightSql.DoPutPreparedStatementResult.Builder setPreparedStatementHandle(com.google.protobuf.ByteString value)
Represents a (potentially updated) opaque handle for the prepared statement on the server. Because the handle could potentially be updated, any previous handles for this prepared statement should be considered invalid, and all subsequent requests for this prepared statement must use this new handle. The updated handle allows implementing query parameters with stateless services. When an updated handle is not provided by the server, clients should contiue using the previous handle provided by `ActionCreatePreparedStatementResonse`.
optional bytes prepared_statement_handle = 1;
value
- The preparedStatementHandle to set.public FlightSql.DoPutPreparedStatementResult.Builder clearPreparedStatementHandle()
Represents a (potentially updated) opaque handle for the prepared statement on the server. Because the handle could potentially be updated, any previous handles for this prepared statement should be considered invalid, and all subsequent requests for this prepared statement must use this new handle. The updated handle allows implementing query parameters with stateless services. When an updated handle is not provided by the server, clients should contiue using the previous handle provided by `ActionCreatePreparedStatementResonse`.
optional bytes prepared_statement_handle = 1;
public final FlightSql.DoPutPreparedStatementResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.DoPutPreparedStatementResult.Builder>
public final FlightSql.DoPutPreparedStatementResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.DoPutPreparedStatementResult.Builder>
Copyright © 2024 The Apache Software Foundation. All rights reserved.