org.hbase.async.generated.MultiRowMutationPB Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asynchbase Show documentation
Show all versions of asynchbase Show documentation
An alternative HBase client library for applications requiring fully
asynchronous, non-blocking and thread-safe HBase connectivity.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: MultiRowMutation.proto
package org.hbase.async.generated;
public final class MultiRowMutationPB {
private MultiRowMutationPB() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public interface MultiRowMutationProcessorRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
}
/**
* Protobuf type {@code MultiRowMutationProcessorRequest}
*/
public static final class MultiRowMutationProcessorRequest extends
com.google.protobuf.GeneratedMessageLite
implements MultiRowMutationProcessorRequestOrBuilder {
// Use MultiRowMutationProcessorRequest.newBuilder() to construct.
private MultiRowMutationProcessorRequest(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private MultiRowMutationProcessorRequest(boolean noInit) {}
private static final MultiRowMutationProcessorRequest defaultInstance;
public static MultiRowMutationProcessorRequest getDefaultInstance() {
return defaultInstance;
}
public MultiRowMutationProcessorRequest getDefaultInstanceForType() {
return defaultInstance;
}
private MultiRowMutationProcessorRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public MultiRowMutationProcessorRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MultiRowMutationProcessorRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code MultiRowMutationProcessorRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest, Builder>
implements org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequestOrBuilder {
// Construct using org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest getDefaultInstanceForType() {
return org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest.getDefaultInstance();
}
public org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest build() {
org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest buildPartial() {
org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest result = new org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest(this);
return result;
}
public Builder mergeFrom(org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest other) {
if (other == org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest.getDefaultInstance()) return this;
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:MultiRowMutationProcessorRequest)
}
static {
defaultInstance = new MultiRowMutationProcessorRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:MultiRowMutationProcessorRequest)
}
public interface MultiRowMutationProcessorResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
}
/**
* Protobuf type {@code MultiRowMutationProcessorResponse}
*/
public static final class MultiRowMutationProcessorResponse extends
com.google.protobuf.GeneratedMessageLite
implements MultiRowMutationProcessorResponseOrBuilder {
// Use MultiRowMutationProcessorResponse.newBuilder() to construct.
private MultiRowMutationProcessorResponse(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private MultiRowMutationProcessorResponse(boolean noInit) {}
private static final MultiRowMutationProcessorResponse defaultInstance;
public static MultiRowMutationProcessorResponse getDefaultInstance() {
return defaultInstance;
}
public MultiRowMutationProcessorResponse getDefaultInstanceForType() {
return defaultInstance;
}
private MultiRowMutationProcessorResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public MultiRowMutationProcessorResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MultiRowMutationProcessorResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code MultiRowMutationProcessorResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse, Builder>
implements org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponseOrBuilder {
// Construct using org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse getDefaultInstanceForType() {
return org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse.getDefaultInstance();
}
public org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse build() {
org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse buildPartial() {
org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse result = new org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse(this);
return result;
}
public Builder mergeFrom(org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse other) {
if (other == org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse.getDefaultInstance()) return this;
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.MultiRowMutationPB.MultiRowMutationProcessorResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:MultiRowMutationProcessorResponse)
}
static {
defaultInstance = new MultiRowMutationProcessorResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:MultiRowMutationProcessorResponse)
}
public interface MutateRowsRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
// repeated .MutationProto mutation_request = 1;
/**
* repeated .MutationProto mutation_request = 1;
*/
java.util.List
getMutationRequestList();
/**
* repeated .MutationProto mutation_request = 1;
*/
org.hbase.async.generated.ClientPB.MutationProto getMutationRequest(int index);
/**
* repeated .MutationProto mutation_request = 1;
*/
int getMutationRequestCount();
// optional uint64 nonce_group = 2;
/**
* optional uint64 nonce_group = 2;
*/
boolean hasNonceGroup();
/**
* optional uint64 nonce_group = 2;
*/
long getNonceGroup();
// optional uint64 nonce = 3;
/**
* optional uint64 nonce = 3;
*/
boolean hasNonce();
/**
* optional uint64 nonce = 3;
*/
long getNonce();
}
/**
* Protobuf type {@code MutateRowsRequest}
*/
public static final class MutateRowsRequest extends
com.google.protobuf.GeneratedMessageLite
implements MutateRowsRequestOrBuilder {
// Use MutateRowsRequest.newBuilder() to construct.
private MutateRowsRequest(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private MutateRowsRequest(boolean noInit) {}
private static final MutateRowsRequest defaultInstance;
public static MutateRowsRequest getDefaultInstance() {
return defaultInstance;
}
public MutateRowsRequest getDefaultInstanceForType() {
return defaultInstance;
}
private MutateRowsRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
mutationRequest_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
mutationRequest_.add(input.readMessage(org.hbase.async.generated.ClientPB.MutationProto.PARSER, extensionRegistry));
break;
}
case 16: {
bitField0_ |= 0x00000001;
nonceGroup_ = input.readUInt64();
break;
}
case 24: {
bitField0_ |= 0x00000002;
nonce_ = input.readUInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
mutationRequest_ = java.util.Collections.unmodifiableList(mutationRequest_);
}
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public MutateRowsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MutateRowsRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// repeated .MutationProto mutation_request = 1;
public static final int MUTATION_REQUEST_FIELD_NUMBER = 1;
private java.util.List mutationRequest_;
/**
* repeated .MutationProto mutation_request = 1;
*/
public java.util.List getMutationRequestList() {
return mutationRequest_;
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public java.util.List extends org.hbase.async.generated.ClientPB.MutationProtoOrBuilder>
getMutationRequestOrBuilderList() {
return mutationRequest_;
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public int getMutationRequestCount() {
return mutationRequest_.size();
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public org.hbase.async.generated.ClientPB.MutationProto getMutationRequest(int index) {
return mutationRequest_.get(index);
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public org.hbase.async.generated.ClientPB.MutationProtoOrBuilder getMutationRequestOrBuilder(
int index) {
return mutationRequest_.get(index);
}
// optional uint64 nonce_group = 2;
public static final int NONCE_GROUP_FIELD_NUMBER = 2;
private long nonceGroup_;
/**
* optional uint64 nonce_group = 2;
*/
public boolean hasNonceGroup() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 nonce_group = 2;
*/
public long getNonceGroup() {
return nonceGroup_;
}
// optional uint64 nonce = 3;
public static final int NONCE_FIELD_NUMBER = 3;
private long nonce_;
/**
* optional uint64 nonce = 3;
*/
public boolean hasNonce() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 nonce = 3;
*/
public long getNonce() {
return nonce_;
}
private void initFields() {
mutationRequest_ = java.util.Collections.emptyList();
nonceGroup_ = 0L;
nonce_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getMutationRequestCount(); i++) {
if (!getMutationRequest(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < mutationRequest_.size(); i++) {
output.writeMessage(1, mutationRequest_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt64(2, nonceGroup_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt64(3, nonce_);
}
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < mutationRequest_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, mutationRequest_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, nonceGroup_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, nonce_);
}
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code MutateRowsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest, Builder>
implements org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequestOrBuilder {
// Construct using org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
mutationRequest_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
nonceGroup_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
nonce_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest getDefaultInstanceForType() {
return org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest.getDefaultInstance();
}
public org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest build() {
org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest buildPartial() {
org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest result = new org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
mutationRequest_ = java.util.Collections.unmodifiableList(mutationRequest_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.mutationRequest_ = mutationRequest_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
result.nonceGroup_ = nonceGroup_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
result.nonce_ = nonce_;
result.bitField0_ = to_bitField0_;
return result;
}
public Builder mergeFrom(org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest other) {
if (other == org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest.getDefaultInstance()) return this;
if (!other.mutationRequest_.isEmpty()) {
if (mutationRequest_.isEmpty()) {
mutationRequest_ = other.mutationRequest_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMutationRequestIsMutable();
mutationRequest_.addAll(other.mutationRequest_);
}
}
if (other.hasNonceGroup()) {
setNonceGroup(other.getNonceGroup());
}
if (other.hasNonce()) {
setNonce(other.getNonce());
}
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getMutationRequestCount(); i++) {
if (!getMutationRequest(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.MultiRowMutationPB.MutateRowsRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .MutationProto mutation_request = 1;
private java.util.List mutationRequest_ =
java.util.Collections.emptyList();
private void ensureMutationRequestIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
mutationRequest_ = new java.util.ArrayList(mutationRequest_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public java.util.List getMutationRequestList() {
return java.util.Collections.unmodifiableList(mutationRequest_);
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public int getMutationRequestCount() {
return mutationRequest_.size();
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public org.hbase.async.generated.ClientPB.MutationProto getMutationRequest(int index) {
return mutationRequest_.get(index);
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public Builder setMutationRequest(
int index, org.hbase.async.generated.ClientPB.MutationProto value) {
if (value == null) {
throw new NullPointerException();
}
ensureMutationRequestIsMutable();
mutationRequest_.set(index, value);
return this;
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public Builder setMutationRequest(
int index, org.hbase.async.generated.ClientPB.MutationProto.Builder builderForValue) {
ensureMutationRequestIsMutable();
mutationRequest_.set(index, builderForValue.build());
return this;
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public Builder addMutationRequest(org.hbase.async.generated.ClientPB.MutationProto value) {
if (value == null) {
throw new NullPointerException();
}
ensureMutationRequestIsMutable();
mutationRequest_.add(value);
return this;
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public Builder addMutationRequest(
int index, org.hbase.async.generated.ClientPB.MutationProto value) {
if (value == null) {
throw new NullPointerException();
}
ensureMutationRequestIsMutable();
mutationRequest_.add(index, value);
return this;
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public Builder addMutationRequest(
org.hbase.async.generated.ClientPB.MutationProto.Builder builderForValue) {
ensureMutationRequestIsMutable();
mutationRequest_.add(builderForValue.build());
return this;
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public Builder addMutationRequest(
int index, org.hbase.async.generated.ClientPB.MutationProto.Builder builderForValue) {
ensureMutationRequestIsMutable();
mutationRequest_.add(index, builderForValue.build());
return this;
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public Builder addAllMutationRequest(
java.lang.Iterable extends org.hbase.async.generated.ClientPB.MutationProto> values) {
ensureMutationRequestIsMutable();
super.addAll(values, mutationRequest_);
return this;
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public Builder clearMutationRequest() {
mutationRequest_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* repeated .MutationProto mutation_request = 1;
*/
public Builder removeMutationRequest(int index) {
ensureMutationRequestIsMutable();
mutationRequest_.remove(index);
return this;
}
// optional uint64 nonce_group = 2;
private long nonceGroup_ ;
/**
* optional uint64 nonce_group = 2;
*/
public boolean hasNonceGroup() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 nonce_group = 2;
*/
public long getNonceGroup() {
return nonceGroup_;
}
/**
* optional uint64 nonce_group = 2;
*/
public Builder setNonceGroup(long value) {
bitField0_ |= 0x00000002;
nonceGroup_ = value;
return this;
}
/**
* optional uint64 nonce_group = 2;
*/
public Builder clearNonceGroup() {
bitField0_ = (bitField0_ & ~0x00000002);
nonceGroup_ = 0L;
return this;
}
// optional uint64 nonce = 3;
private long nonce_ ;
/**
* optional uint64 nonce = 3;
*/
public boolean hasNonce() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 nonce = 3;
*/
public long getNonce() {
return nonce_;
}
/**
* optional uint64 nonce = 3;
*/
public Builder setNonce(long value) {
bitField0_ |= 0x00000004;
nonce_ = value;
return this;
}
/**
* optional uint64 nonce = 3;
*/
public Builder clearNonce() {
bitField0_ = (bitField0_ & ~0x00000004);
nonce_ = 0L;
return this;
}
// @@protoc_insertion_point(builder_scope:MutateRowsRequest)
}
static {
defaultInstance = new MutateRowsRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:MutateRowsRequest)
}
public interface MutateRowsResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder {
}
/**
* Protobuf type {@code MutateRowsResponse}
*/
public static final class MutateRowsResponse extends
com.google.protobuf.GeneratedMessageLite
implements MutateRowsResponseOrBuilder {
// Use MutateRowsResponse.newBuilder() to construct.
private MutateRowsResponse(com.google.protobuf.GeneratedMessageLite.Builder builder) {
super(builder);
}
private MutateRowsResponse(boolean noInit) {}
private static final MutateRowsResponse defaultInstance;
public static MutateRowsResponse getDefaultInstance() {
return defaultInstance;
}
public MutateRowsResponse getDefaultInstanceForType() {
return defaultInstance;
}
private MutateRowsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input,
extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
makeExtensionsImmutable();
}
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public MutateRowsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MutateRowsResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
/**
* Protobuf type {@code MutateRowsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse, Builder>
implements org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponseOrBuilder {
// Construct using org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse getDefaultInstanceForType() {
return org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse.getDefaultInstance();
}
public org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse build() {
org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse buildPartial() {
org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse result = new org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse(this);
return result;
}
public Builder mergeFrom(org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse other) {
if (other == org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse.getDefaultInstance()) return this;
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.hbase.async.generated.MultiRowMutationPB.MutateRowsResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:MutateRowsResponse)
}
static {
defaultInstance = new MutateRowsResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:MutateRowsResponse)
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy