public static final class ClientProtos.Action.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClientProtos.Action.Builder> implements ClientProtos.ActionOrBuilder
Action
Either a Get or a Mutation
Modifier and Type | Method and Description |
---|---|
ClientProtos.Action |
build() |
ClientProtos.Action |
buildPartial() |
ClientProtos.Action.Builder |
clear() |
ClientProtos.Action.Builder |
clearGet()
optional .Get get = 3; |
ClientProtos.Action.Builder |
clearIndex()
optional uint32 index = 1; |
ClientProtos.Action.Builder |
clearMutation()
optional .MutationProto mutation = 2; |
ClientProtos.Action.Builder |
clearServiceCall()
optional .CoprocessorServiceCall service_call = 4; |
ClientProtos.Action.Builder |
clone() |
ClientProtos.Action |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ClientProtos.Get |
getGet()
optional .Get get = 3; |
ClientProtos.Get.Builder |
getGetBuilder()
optional .Get get = 3; |
ClientProtos.GetOrBuilder |
getGetOrBuilder()
optional .Get get = 3; |
int |
getIndex()
optional uint32 index = 1; |
ClientProtos.MutationProto |
getMutation()
optional .MutationProto mutation = 2; |
ClientProtos.MutationProto.Builder |
getMutationBuilder()
optional .MutationProto mutation = 2; |
ClientProtos.MutationProtoOrBuilder |
getMutationOrBuilder()
optional .MutationProto mutation = 2; |
ClientProtos.CoprocessorServiceCall |
getServiceCall()
optional .CoprocessorServiceCall service_call = 4; |
ClientProtos.CoprocessorServiceCall.Builder |
getServiceCallBuilder()
optional .CoprocessorServiceCall service_call = 4; |
ClientProtos.CoprocessorServiceCallOrBuilder |
getServiceCallOrBuilder()
optional .CoprocessorServiceCall service_call = 4; |
boolean |
hasGet()
optional .Get get = 3; |
boolean |
hasIndex()
optional uint32 index = 1; |
boolean |
hasMutation()
optional .MutationProto mutation = 2; |
boolean |
hasServiceCall()
optional .CoprocessorServiceCall service_call = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ClientProtos.Action.Builder |
mergeFrom(ClientProtos.Action other) |
ClientProtos.Action.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientProtos.Action.Builder |
mergeFrom(com.google.protobuf.Message other) |
ClientProtos.Action.Builder |
mergeGet(ClientProtos.Get value)
optional .Get get = 3; |
ClientProtos.Action.Builder |
mergeMutation(ClientProtos.MutationProto value)
optional .MutationProto mutation = 2; |
ClientProtos.Action.Builder |
mergeServiceCall(ClientProtos.CoprocessorServiceCall value)
optional .CoprocessorServiceCall service_call = 4; |
ClientProtos.Action.Builder |
setGet(ClientProtos.Get.Builder builderForValue)
optional .Get get = 3; |
ClientProtos.Action.Builder |
setGet(ClientProtos.Get value)
optional .Get get = 3; |
ClientProtos.Action.Builder |
setIndex(int value)
optional uint32 index = 1; |
ClientProtos.Action.Builder |
setMutation(ClientProtos.MutationProto.Builder builderForValue)
optional .MutationProto mutation = 2; |
ClientProtos.Action.Builder |
setMutation(ClientProtos.MutationProto value)
optional .MutationProto mutation = 2; |
ClientProtos.Action.Builder |
setServiceCall(ClientProtos.CoprocessorServiceCall.Builder builderForValue)
optional .CoprocessorServiceCall service_call = 4; |
ClientProtos.Action.Builder |
setServiceCall(ClientProtos.CoprocessorServiceCall value)
optional .CoprocessorServiceCall service_call = 4; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
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<ClientProtos.Action.Builder>
public ClientProtos.Action.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<ClientProtos.Action.Builder>
public ClientProtos.Action.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<ClientProtos.Action.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<ClientProtos.Action.Builder>
public ClientProtos.Action getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ClientProtos.Action build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ClientProtos.Action buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ClientProtos.Action.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ClientProtos.Action.Builder>
public ClientProtos.Action.Builder mergeFrom(ClientProtos.Action other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ClientProtos.Action.Builder>
public ClientProtos.Action.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<ClientProtos.Action.Builder>
IOException
public boolean hasIndex()
optional uint32 index = 1;
If part of a multi action, useful aligning result with what was originally submitted.
hasIndex
in interface ClientProtos.ActionOrBuilder
public int getIndex()
optional uint32 index = 1;
If part of a multi action, useful aligning result with what was originally submitted.
getIndex
in interface ClientProtos.ActionOrBuilder
public ClientProtos.Action.Builder setIndex(int value)
optional uint32 index = 1;
If part of a multi action, useful aligning result with what was originally submitted.
public ClientProtos.Action.Builder clearIndex()
optional uint32 index = 1;
If part of a multi action, useful aligning result with what was originally submitted.
public boolean hasMutation()
optional .MutationProto mutation = 2;
hasMutation
in interface ClientProtos.ActionOrBuilder
public ClientProtos.MutationProto getMutation()
optional .MutationProto mutation = 2;
getMutation
in interface ClientProtos.ActionOrBuilder
public ClientProtos.Action.Builder setMutation(ClientProtos.MutationProto value)
optional .MutationProto mutation = 2;
public ClientProtos.Action.Builder setMutation(ClientProtos.MutationProto.Builder builderForValue)
optional .MutationProto mutation = 2;
public ClientProtos.Action.Builder mergeMutation(ClientProtos.MutationProto value)
optional .MutationProto mutation = 2;
public ClientProtos.Action.Builder clearMutation()
optional .MutationProto mutation = 2;
public ClientProtos.MutationProto.Builder getMutationBuilder()
optional .MutationProto mutation = 2;
public ClientProtos.MutationProtoOrBuilder getMutationOrBuilder()
optional .MutationProto mutation = 2;
getMutationOrBuilder
in interface ClientProtos.ActionOrBuilder
public boolean hasGet()
optional .Get get = 3;
hasGet
in interface ClientProtos.ActionOrBuilder
public ClientProtos.Get getGet()
optional .Get get = 3;
getGet
in interface ClientProtos.ActionOrBuilder
public ClientProtos.Action.Builder setGet(ClientProtos.Get value)
optional .Get get = 3;
public ClientProtos.Action.Builder setGet(ClientProtos.Get.Builder builderForValue)
optional .Get get = 3;
public ClientProtos.Action.Builder mergeGet(ClientProtos.Get value)
optional .Get get = 3;
public ClientProtos.Action.Builder clearGet()
optional .Get get = 3;
public ClientProtos.Get.Builder getGetBuilder()
optional .Get get = 3;
public ClientProtos.GetOrBuilder getGetOrBuilder()
optional .Get get = 3;
getGetOrBuilder
in interface ClientProtos.ActionOrBuilder
public boolean hasServiceCall()
optional .CoprocessorServiceCall service_call = 4;
hasServiceCall
in interface ClientProtos.ActionOrBuilder
public ClientProtos.CoprocessorServiceCall getServiceCall()
optional .CoprocessorServiceCall service_call = 4;
getServiceCall
in interface ClientProtos.ActionOrBuilder
public ClientProtos.Action.Builder setServiceCall(ClientProtos.CoprocessorServiceCall value)
optional .CoprocessorServiceCall service_call = 4;
public ClientProtos.Action.Builder setServiceCall(ClientProtos.CoprocessorServiceCall.Builder builderForValue)
optional .CoprocessorServiceCall service_call = 4;
public ClientProtos.Action.Builder mergeServiceCall(ClientProtos.CoprocessorServiceCall value)
optional .CoprocessorServiceCall service_call = 4;
public ClientProtos.Action.Builder clearServiceCall()
optional .CoprocessorServiceCall service_call = 4;
public ClientProtos.CoprocessorServiceCall.Builder getServiceCallBuilder()
optional .CoprocessorServiceCall service_call = 4;
public ClientProtos.CoprocessorServiceCallOrBuilder getServiceCallOrBuilder()
optional .CoprocessorServiceCall service_call = 4;
getServiceCallOrBuilder
in interface ClientProtos.ActionOrBuilder
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.