Class UpdateByRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
io.deephaven.proto.backplane.grpc.UpdateByRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,UpdateByRequestOrBuilder
,Cloneable
- Enclosing class:
- UpdateByRequest
public static final class UpdateByRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
implements UpdateByRequestOrBuilder
Create a table with the same rowset as its parent that will perform the specified set of row based operations to it. As opposed to {@link #update(String...)} these operations are more restricted but are capable of processing state between rows. This operation will group the table by the specified set of keys if provided before applying the operation.Protobuf type
io.deephaven.proto.backplane.grpc.UpdateByRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllGroupByColumns
(Iterable<String> values) repeated string group_by_columns = 5;
addAllOperations
(Iterable<? extends UpdateByRequest.UpdateByOperation> values) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
addGroupByColumns
(String value) repeated string group_by_columns = 5;
addGroupByColumnsBytes
(com.google.protobuf.ByteString value) repeated string group_by_columns = 5;
addOperations
(int index, UpdateByRequest.UpdateByOperation value) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
addOperations
(int index, UpdateByRequest.UpdateByOperation.Builder builderForValue) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
addOperations
(UpdateByRequest.UpdateByOperation.Builder builderForValue) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
addOperationsBuilder
(int index) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) repeated string group_by_columns = 5;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
.io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
.io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getGroupByColumns
(int index) repeated string group_by_columns = 5;
com.google.protobuf.ByteString
getGroupByColumnsBytes
(int index) repeated string group_by_columns = 5;
int
repeated string group_by_columns = 5;
com.google.protobuf.ProtocolStringList
repeated string group_by_columns = 5;
getOperations
(int index) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
getOperationsBuilder
(int index) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
int
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
getOperationsOrBuilder
(int index) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
List<? extends UpdateByRequest.UpdateByOperationOrBuilder>
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
.io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
.io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
.io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
.io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
.io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
.io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
boolean
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
boolean
.io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
boolean
.io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(UpdateByRequest other) .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
mergeResultId
(Ticket value) .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
mergeSourceId
(TableReference value) .io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
final UpdateByRequest.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeOperations
(int index) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
setGroupByColumns
(int index, String value) repeated string group_by_columns = 5;
setOperations
(int index, UpdateByRequest.UpdateByOperation value) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
setOperations
(int index, UpdateByRequest.UpdateByOperation.Builder builderForValue) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
setOptions
(UpdateByRequest.UpdateByOptions.Builder builderForValue) .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResultId
(Ticket value) .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
setResultId
(Ticket.Builder builderForValue) .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
setSourceId
(TableReference value) .io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
setSourceId
(TableReference.Builder builderForValue) .io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
final UpdateByRequest.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
-
setField
public UpdateByRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
-
setRepeatedField
public UpdateByRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
-
addRepeatedField
public UpdateByRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateByRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
-
mergeFrom
public UpdateByRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateByRequest.Builder>
- Throws:
IOException
-
hasResultId
public boolean hasResultId().io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
- Specified by:
hasResultId
in interfaceUpdateByRequestOrBuilder
- Returns:
- Whether the resultId field is set.
-
getResultId
.io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
- Specified by:
getResultId
in interfaceUpdateByRequestOrBuilder
- Returns:
- The resultId.
-
setResultId
.io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
-
setResultId
.io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
-
mergeResultId
.io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
-
clearResultId
.io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
-
getResultIdBuilder
.io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
-
getResultIdOrBuilder
.io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
- Specified by:
getResultIdOrBuilder
in interfaceUpdateByRequestOrBuilder
-
hasSourceId
public boolean hasSourceId().io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
- Specified by:
hasSourceId
in interfaceUpdateByRequestOrBuilder
- Returns:
- Whether the sourceId field is set.
-
getSourceId
.io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
- Specified by:
getSourceId
in interfaceUpdateByRequestOrBuilder
- Returns:
- The sourceId.
-
setSourceId
.io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
-
setSourceId
.io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
-
mergeSourceId
.io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
-
clearSourceId
.io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
-
getSourceIdBuilder
.io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
-
getSourceIdOrBuilder
.io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
- Specified by:
getSourceIdOrBuilder
in interfaceUpdateByRequestOrBuilder
-
hasOptions
public boolean hasOptions().io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
- Specified by:
hasOptions
in interfaceUpdateByRequestOrBuilder
- Returns:
- Whether the options field is set.
-
getOptions
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
- Specified by:
getOptions
in interfaceUpdateByRequestOrBuilder
- Returns:
- The options.
-
setOptions
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
-
setOptions
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
-
mergeOptions
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
-
clearOptions
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
-
getOptionsBuilder
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
-
getOptionsOrBuilder
.io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOptions options = 3;
- Specified by:
getOptionsOrBuilder
in interfaceUpdateByRequestOrBuilder
-
getOperationsList
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
- Specified by:
getOperationsList
in interfaceUpdateByRequestOrBuilder
-
getOperationsCount
public int getOperationsCount()repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
- Specified by:
getOperationsCount
in interfaceUpdateByRequestOrBuilder
-
getOperations
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
- Specified by:
getOperations
in interfaceUpdateByRequestOrBuilder
-
setOperations
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
setOperations
public UpdateByRequest.Builder setOperations(int index, UpdateByRequest.UpdateByOperation.Builder builderForValue) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
addOperations
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
addOperations
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
addOperations
public UpdateByRequest.Builder addOperations(UpdateByRequest.UpdateByOperation.Builder builderForValue) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
addOperations
public UpdateByRequest.Builder addOperations(int index, UpdateByRequest.UpdateByOperation.Builder builderForValue) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
addAllOperations
public UpdateByRequest.Builder addAllOperations(Iterable<? extends UpdateByRequest.UpdateByOperation> values) repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
clearOperations
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
removeOperations
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
getOperationsBuilder
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
getOperationsOrBuilder
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
- Specified by:
getOperationsOrBuilder
in interfaceUpdateByRequestOrBuilder
-
getOperationsOrBuilderList
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
- Specified by:
getOperationsOrBuilderList
in interfaceUpdateByRequestOrBuilder
-
addOperationsBuilder
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
addOperationsBuilder
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
getOperationsBuilderList
repeated .io.deephaven.proto.backplane.grpc.UpdateByRequest.UpdateByOperation operations = 4;
-
getGroupByColumnsList
public com.google.protobuf.ProtocolStringList getGroupByColumnsList()repeated string group_by_columns = 5;
- Specified by:
getGroupByColumnsList
in interfaceUpdateByRequestOrBuilder
- Returns:
- A list containing the groupByColumns.
-
getGroupByColumnsCount
public int getGroupByColumnsCount()repeated string group_by_columns = 5;
- Specified by:
getGroupByColumnsCount
in interfaceUpdateByRequestOrBuilder
- Returns:
- The count of groupByColumns.
-
getGroupByColumns
repeated string group_by_columns = 5;
- Specified by:
getGroupByColumns
in interfaceUpdateByRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The groupByColumns at the given index.
-
getGroupByColumnsBytes
public com.google.protobuf.ByteString getGroupByColumnsBytes(int index) repeated string group_by_columns = 5;
- Specified by:
getGroupByColumnsBytes
in interfaceUpdateByRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the groupByColumns at the given index.
-
setGroupByColumns
repeated string group_by_columns = 5;
- Parameters:
index
- The index to set the value at.value
- The groupByColumns to set.- Returns:
- This builder for chaining.
-
addGroupByColumns
repeated string group_by_columns = 5;
- Parameters:
value
- The groupByColumns to add.- Returns:
- This builder for chaining.
-
addAllGroupByColumns
repeated string group_by_columns = 5;
- Parameters:
values
- The groupByColumns to add.- Returns:
- This builder for chaining.
-
clearGroupByColumns
repeated string group_by_columns = 5;
- Returns:
- This builder for chaining.
-
addGroupByColumnsBytes
repeated string group_by_columns = 5;
- Parameters:
value
- The bytes of the groupByColumns to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UpdateByRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
-
mergeUnknownFields
public final UpdateByRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateByRequest.Builder>
-