public static final class RiakDtPB.CounterOp.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.CounterOp.Builder> implements RiakDtPB.CounterOpOrBuilder
CounterOp
An operation to update a Counter, either on its own or inside a Map. The `increment` field can be positive or negative. When absent, the meaning is an increment by 1.
Modifier and Type | Method and Description |
---|---|
RiakDtPB.CounterOp |
build() |
RiakDtPB.CounterOp |
buildPartial() |
RiakDtPB.CounterOp.Builder |
clear() |
RiakDtPB.CounterOp.Builder |
clearIncrement()
optional sint64 increment = 1; |
RiakDtPB.CounterOp.Builder |
clone() |
RiakDtPB.CounterOp |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getIncrement()
optional sint64 increment = 1; |
boolean |
hasIncrement()
optional sint64 increment = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RiakDtPB.CounterOp.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.CounterOp.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakDtPB.CounterOp.Builder |
mergeFrom(RiakDtPB.CounterOp other) |
RiakDtPB.CounterOp.Builder |
setIncrement(long value)
optional sint64 increment = 1; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.CounterOp.Builder>
public RiakDtPB.CounterOp.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.CounterOp.Builder>
public RiakDtPB.CounterOp.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.CounterOp.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.GeneratedMessage.Builder<RiakDtPB.CounterOp.Builder>
public RiakDtPB.CounterOp getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RiakDtPB.CounterOp build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RiakDtPB.CounterOp buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RiakDtPB.CounterOp.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakDtPB.CounterOp.Builder>
public RiakDtPB.CounterOp.Builder mergeFrom(RiakDtPB.CounterOp other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.CounterOp.Builder>
public RiakDtPB.CounterOp.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<RiakDtPB.CounterOp.Builder>
IOException
public boolean hasIncrement()
optional sint64 increment = 1;
hasIncrement
in interface RiakDtPB.CounterOpOrBuilder
public long getIncrement()
optional sint64 increment = 1;
getIncrement
in interface RiakDtPB.CounterOpOrBuilder
public RiakDtPB.CounterOp.Builder setIncrement(long value)
optional sint64 increment = 1;
public RiakDtPB.CounterOp.Builder clearIncrement()
optional sint64 increment = 1;
Copyright © 2016. All rights reserved.