Package com.ocient.jdbc.proto
Class PlanProtocol.ExecutionCluster.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder>
-
- com.ocient.jdbc.proto.PlanProtocol.ExecutionCluster.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PlanProtocol.ExecutionClusterOrBuilder,Cloneable
- Enclosing class:
- PlanProtocol.ExecutionCluster
public static final class PlanProtocol.ExecutionCluster.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder> implements PlanProtocol.ExecutionClusterOrBuilder
a single vm execution cluster
Protobuf typexg.db.sqlPlans.ExecutionCluster
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanProtocol.ExecutionCluster.BuilderaddAllNodeIds(Iterable<? extends Integer> values)the set of node ids (participants of the specified vm cluster)PlanProtocol.ExecutionCluster.BuilderaddNodeIds(int value)the set of node ids (participants of the specified vm cluster)PlanProtocol.ExecutionCluster.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanProtocol.ExecutionClusterbuild()PlanProtocol.ExecutionClusterbuildPartial()PlanProtocol.ExecutionCluster.Builderclear()PlanProtocol.ExecutionCluster.BuilderclearComputeSequenceNumber()the csn identifying this set of peers as a subset of the clusterPlanProtocol.ExecutionCluster.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PlanProtocol.ExecutionCluster.BuilderclearNodeIds()the set of node ids (participants of the specified vm cluster)PlanProtocol.ExecutionCluster.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PlanProtocol.ExecutionCluster.BuilderclearOwnershipSequenceNumber()the osn identifying the segment ownership for leaf nodes in the storage clusterPlanProtocol.ExecutionCluster.BuilderclearVmClusterId()the uuid of the vm clusterPlanProtocol.ExecutionCluster.Builderclone()intgetComputeSequenceNumber()the csn identifying this set of peers as a subset of the clusterPlanProtocol.ExecutionClustergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetNodeIds(int index)the set of node ids (participants of the specified vm cluster)intgetNodeIdsCount()the set of node ids (participants of the specified vm cluster)List<Integer>getNodeIdsList()the set of node ids (participants of the specified vm cluster)longgetOwnershipSequenceNumber()the osn identifying the segment ownership for leaf nodes in the storage clustercom.google.protobuf.ByteStringgetVmClusterId()the uuid of the vm clusterprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PlanProtocol.ExecutionCluster.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PlanProtocol.ExecutionCluster.BuildermergeFrom(com.google.protobuf.Message other)PlanProtocol.ExecutionCluster.BuildermergeFrom(PlanProtocol.ExecutionCluster other)PlanProtocol.ExecutionCluster.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PlanProtocol.ExecutionCluster.BuildersetComputeSequenceNumber(int value)the csn identifying this set of peers as a subset of the clusterPlanProtocol.ExecutionCluster.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanProtocol.ExecutionCluster.BuildersetNodeIds(int index, int value)the set of node ids (participants of the specified vm cluster)PlanProtocol.ExecutionCluster.BuildersetOwnershipSequenceNumber(long value)the osn identifying the segment ownership for leaf nodes in the storage clusterPlanProtocol.ExecutionCluster.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PlanProtocol.ExecutionCluster.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PlanProtocol.ExecutionCluster.BuildersetVmClusterId(com.google.protobuf.ByteString value)the uuid of the vm cluster-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<PlanProtocol.ExecutionCluster.Builder>
-
clear
public PlanProtocol.ExecutionCluster.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder>
-
getDefaultInstanceForType
public PlanProtocol.ExecutionCluster getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PlanProtocol.ExecutionCluster build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PlanProtocol.ExecutionCluster buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PlanProtocol.ExecutionCluster.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder>
-
setField
public PlanProtocol.ExecutionCluster.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder>
-
clearField
public PlanProtocol.ExecutionCluster.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder>
-
clearOneof
public PlanProtocol.ExecutionCluster.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder>
-
setRepeatedField
public PlanProtocol.ExecutionCluster.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder>
-
addRepeatedField
public PlanProtocol.ExecutionCluster.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder>
-
mergeFrom
public PlanProtocol.ExecutionCluster.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlanProtocol.ExecutionCluster.Builder>
-
mergeFrom
public PlanProtocol.ExecutionCluster.Builder mergeFrom(PlanProtocol.ExecutionCluster other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder>
-
mergeFrom
public PlanProtocol.ExecutionCluster.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlanProtocol.ExecutionCluster.Builder>- Throws:
IOException
-
getVmClusterId
public com.google.protobuf.ByteString getVmClusterId()
the uuid of the vm cluster
bytes vm_cluster_id = 1;- Specified by:
getVmClusterIdin interfacePlanProtocol.ExecutionClusterOrBuilder- Returns:
- The vmClusterId.
-
setVmClusterId
public PlanProtocol.ExecutionCluster.Builder setVmClusterId(com.google.protobuf.ByteString value)
the uuid of the vm cluster
bytes vm_cluster_id = 1;- Parameters:
value- The vmClusterId to set.- Returns:
- This builder for chaining.
-
clearVmClusterId
public PlanProtocol.ExecutionCluster.Builder clearVmClusterId()
the uuid of the vm cluster
bytes vm_cluster_id = 1;- Returns:
- This builder for chaining.
-
getComputeSequenceNumber
public int getComputeSequenceNumber()
the csn identifying this set of peers as a subset of the cluster
uint32 compute_sequence_number = 2;- Specified by:
getComputeSequenceNumberin interfacePlanProtocol.ExecutionClusterOrBuilder- Returns:
- The computeSequenceNumber.
-
setComputeSequenceNumber
public PlanProtocol.ExecutionCluster.Builder setComputeSequenceNumber(int value)
the csn identifying this set of peers as a subset of the cluster
uint32 compute_sequence_number = 2;- Parameters:
value- The computeSequenceNumber to set.- Returns:
- This builder for chaining.
-
clearComputeSequenceNumber
public PlanProtocol.ExecutionCluster.Builder clearComputeSequenceNumber()
the csn identifying this set of peers as a subset of the cluster
uint32 compute_sequence_number = 2;- Returns:
- This builder for chaining.
-
getNodeIdsList
public List<Integer> getNodeIdsList()
the set of node ids (participants of the specified vm cluster)
repeated uint32 node_ids = 3;- Specified by:
getNodeIdsListin interfacePlanProtocol.ExecutionClusterOrBuilder- Returns:
- A list containing the nodeIds.
-
getNodeIdsCount
public int getNodeIdsCount()
the set of node ids (participants of the specified vm cluster)
repeated uint32 node_ids = 3;- Specified by:
getNodeIdsCountin interfacePlanProtocol.ExecutionClusterOrBuilder- Returns:
- The count of nodeIds.
-
getNodeIds
public int getNodeIds(int index)
the set of node ids (participants of the specified vm cluster)
repeated uint32 node_ids = 3;- Specified by:
getNodeIdsin interfacePlanProtocol.ExecutionClusterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The nodeIds at the given index.
-
setNodeIds
public PlanProtocol.ExecutionCluster.Builder setNodeIds(int index, int value)
the set of node ids (participants of the specified vm cluster)
repeated uint32 node_ids = 3;- Parameters:
index- The index to set the value at.value- The nodeIds to set.- Returns:
- This builder for chaining.
-
addNodeIds
public PlanProtocol.ExecutionCluster.Builder addNodeIds(int value)
the set of node ids (participants of the specified vm cluster)
repeated uint32 node_ids = 3;- Parameters:
value- The nodeIds to add.- Returns:
- This builder for chaining.
-
addAllNodeIds
public PlanProtocol.ExecutionCluster.Builder addAllNodeIds(Iterable<? extends Integer> values)
the set of node ids (participants of the specified vm cluster)
repeated uint32 node_ids = 3;- Parameters:
values- The nodeIds to add.- Returns:
- This builder for chaining.
-
clearNodeIds
public PlanProtocol.ExecutionCluster.Builder clearNodeIds()
the set of node ids (participants of the specified vm cluster)
repeated uint32 node_ids = 3;- Returns:
- This builder for chaining.
-
getOwnershipSequenceNumber
public long getOwnershipSequenceNumber()
the osn identifying the segment ownership for leaf nodes in the storage cluster
uint64 ownership_sequence_number = 4;- Specified by:
getOwnershipSequenceNumberin interfacePlanProtocol.ExecutionClusterOrBuilder- Returns:
- The ownershipSequenceNumber.
-
setOwnershipSequenceNumber
public PlanProtocol.ExecutionCluster.Builder setOwnershipSequenceNumber(long value)
the osn identifying the segment ownership for leaf nodes in the storage cluster
uint64 ownership_sequence_number = 4;- Parameters:
value- The ownershipSequenceNumber to set.- Returns:
- This builder for chaining.
-
clearOwnershipSequenceNumber
public PlanProtocol.ExecutionCluster.Builder clearOwnershipSequenceNumber()
the osn identifying the segment ownership for leaf nodes in the storage cluster
uint64 ownership_sequence_number = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final PlanProtocol.ExecutionCluster.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder>
-
mergeUnknownFields
public final PlanProtocol.ExecutionCluster.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ExecutionCluster.Builder>
-
-