Class ApplyPreviewColumnsRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.deephaven.proto.backplane.grpc.ApplyPreviewColumnsRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ApplyPreviewColumnsRequestOrBuilder,Serializable
public final class ApplyPreviewColumnsRequest
extends com.google.protobuf.GeneratedMessageV3
implements ApplyPreviewColumnsRequestOrBuilder
Transforms the source table to avoid complex objects in columns. If no unpreviewed types are defined, this defaults to legacy behavior of: - Limiting string columns to a server-defined max length - Converting arrays/vectors to comma separated strings of the first N elements (again, server defined) - Converting all non-string, non-number, non-date types to their string representationProtobuf type
io.deephaven.proto.backplane.grpc.ApplyPreviewColumnsRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTransforms the source table to avoid complex objects in columns.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanTrue to convert all arrays to strings, limiting to a server-defined max length.static ApplyPreviewColumnsRequeststatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<ApplyPreviewColumnsRequest>.io.deephaven.proto.backplane.grpc.Ticket result_id = 2;.io.deephaven.proto.backplane.grpc.Ticket result_id = 2;int.io.deephaven.proto.backplane.grpc.TableReference source_id = 1;.io.deephaven.proto.backplane.grpc.TableReference source_id = 1;getUnpreviewedTypes(int index) Java types to leave unconverted - all other types will be converted to strings.com.google.protobuf.ByteStringgetUnpreviewedTypesBytes(int index) Java types to leave unconverted - all other types will be converted to strings.intJava types to leave unconverted - all other types will be converted to strings.com.google.protobuf.ProtocolStringListJava types to leave unconverted - all other types will be converted to strings.inthashCode()boolean.io.deephaven.proto.backplane.grpc.Ticket result_id = 2;boolean.io.deephaven.proto.backplane.grpc.TableReference source_id = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ApplyPreviewColumnsRequest prototype) protected ApplyPreviewColumnsRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ApplyPreviewColumnsRequestparseDelimitedFrom(InputStream input) static ApplyPreviewColumnsRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApplyPreviewColumnsRequestparseFrom(byte[] data) static ApplyPreviewColumnsRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApplyPreviewColumnsRequestparseFrom(com.google.protobuf.ByteString data) static ApplyPreviewColumnsRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApplyPreviewColumnsRequestparseFrom(com.google.protobuf.CodedInputStream input) static ApplyPreviewColumnsRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApplyPreviewColumnsRequestparseFrom(InputStream input) static ApplyPreviewColumnsRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApplyPreviewColumnsRequestparseFrom(ByteBuffer data) static ApplyPreviewColumnsRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ApplyPreviewColumnsRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SOURCE_ID_FIELD_NUMBER
public static final int SOURCE_ID_FIELD_NUMBER- See Also:
-
RESULT_ID_FIELD_NUMBER
public static final int RESULT_ID_FIELD_NUMBER- See Also:
-
CONVERT_ARRAYS_FIELD_NUMBER
public static final int CONVERT_ARRAYS_FIELD_NUMBER- See Also:
-
UNPREVIEWED_TYPES_FIELD_NUMBER
public static final int UNPREVIEWED_TYPES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasSourceId
public boolean hasSourceId().io.deephaven.proto.backplane.grpc.TableReference source_id = 1;- Specified by:
hasSourceIdin interfaceApplyPreviewColumnsRequestOrBuilder- Returns:
- Whether the sourceId field is set.
-
getSourceId
.io.deephaven.proto.backplane.grpc.TableReference source_id = 1;- Specified by:
getSourceIdin interfaceApplyPreviewColumnsRequestOrBuilder- Returns:
- The sourceId.
-
getSourceIdOrBuilder
.io.deephaven.proto.backplane.grpc.TableReference source_id = 1;- Specified by:
getSourceIdOrBuilderin interfaceApplyPreviewColumnsRequestOrBuilder
-
hasResultId
public boolean hasResultId().io.deephaven.proto.backplane.grpc.Ticket result_id = 2;- Specified by:
hasResultIdin interfaceApplyPreviewColumnsRequestOrBuilder- Returns:
- Whether the resultId field is set.
-
getResultId
.io.deephaven.proto.backplane.grpc.Ticket result_id = 2;- Specified by:
getResultIdin interfaceApplyPreviewColumnsRequestOrBuilder- Returns:
- The resultId.
-
getResultIdOrBuilder
.io.deephaven.proto.backplane.grpc.Ticket result_id = 2;- Specified by:
getResultIdOrBuilderin interfaceApplyPreviewColumnsRequestOrBuilder
-
getConvertArrays
public boolean getConvertArrays()True to convert all arrays to strings, limiting to a server-defined max length. Expected to be unset if unpreviewed_types is empty.
bool convert_arrays = 3;- Specified by:
getConvertArraysin interfaceApplyPreviewColumnsRequestOrBuilder- Returns:
- The convertArrays.
-
getUnpreviewedTypesList
public com.google.protobuf.ProtocolStringList getUnpreviewedTypesList()Java types to leave unconverted - all other types will be converted to strings. If empty, the server's legacy behavior will be used.
repeated string unpreviewed_types = 4;- Specified by:
getUnpreviewedTypesListin interfaceApplyPreviewColumnsRequestOrBuilder- Returns:
- A list containing the unpreviewedTypes.
-
getUnpreviewedTypesCount
public int getUnpreviewedTypesCount()Java types to leave unconverted - all other types will be converted to strings. If empty, the server's legacy behavior will be used.
repeated string unpreviewed_types = 4;- Specified by:
getUnpreviewedTypesCountin interfaceApplyPreviewColumnsRequestOrBuilder- Returns:
- The count of unpreviewedTypes.
-
getUnpreviewedTypes
Java types to leave unconverted - all other types will be converted to strings. If empty, the server's legacy behavior will be used.
repeated string unpreviewed_types = 4;- Specified by:
getUnpreviewedTypesin interfaceApplyPreviewColumnsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unpreviewedTypes at the given index.
-
getUnpreviewedTypesBytes
public com.google.protobuf.ByteString getUnpreviewedTypesBytes(int index) Java types to leave unconverted - all other types will be converted to strings. If empty, the server's legacy behavior will be used.
repeated string unpreviewed_types = 4;- Specified by:
getUnpreviewedTypesBytesin interfaceApplyPreviewColumnsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unpreviewedTypes at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ApplyPreviewColumnsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApplyPreviewColumnsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApplyPreviewColumnsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApplyPreviewColumnsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApplyPreviewColumnsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApplyPreviewColumnsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ApplyPreviewColumnsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ApplyPreviewColumnsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ApplyPreviewColumnsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ApplyPreviewColumnsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ApplyPreviewColumnsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-