cz.o2.proxima.proto.service.Rpc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proxima-server-rpc-proto Show documentation
Show all versions of proxima-server-rpc-proto Show documentation
Proxima platform's module proxima-server-rpc-proto
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
package cz.o2.proxima.proto.service;
public final class Rpc {
private Rpc() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface IngestOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ingest)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* UUID of the ingest. This UUID is returned in status to match
* the request with the response
*
*
* string uuid = 1;
* @return The uuid.
*/
java.lang.String getUuid();
/**
*
**
* UUID of the ingest. This UUID is returned in status to match
* the request with the response
*
*
* string uuid = 1;
* @return The bytes for uuid.
*/
com.google.protobuf.ByteString
getUuidBytes();
/**
*
** Name of the entity
*
*
* string entity = 2;
* @return The entity.
*/
java.lang.String getEntity();
/**
*
** Name of the entity
*
*
* string entity = 2;
* @return The bytes for entity.
*/
com.google.protobuf.ByteString
getEntityBytes();
/**
*
** Name of the attribute.
* Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
*
*
* string attribute = 3;
* @return The attribute.
*/
java.lang.String getAttribute();
/**
*
** Name of the attribute.
* Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
*
*
* string attribute = 3;
* @return The bytes for attribute.
*/
com.google.protobuf.ByteString
getAttributeBytes();
/**
*
** Key of the entity.
*
*
* string key = 4;
* @return The key.
*/
java.lang.String getKey();
/**
*
** Key of the entity.
*
*
* string key = 4;
* @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
*
** Value to update.
*
*
* bytes value = 5;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
/**
*
** Timestamp of the ingest. If not provided, it will be replaced with actual ingest timestamp.
*
*
* uint64 stamp = 7;
* @return The stamp.
*/
long getStamp();
/**
*
**
* Whether to delete the attribute. You must explicitly set this
* if you want to delete an attribute.
*
*
* bool delete = 6;
* @return The delete.
*/
boolean getDelete();
}
/**
*
** Ingest of a attribute update (or delete)
*
*
* Protobuf type {@code Ingest}
*/
public static final class Ingest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ingest)
IngestOrBuilder {
private static final long serialVersionUID = 0L;
// Use Ingest.newBuilder() to construct.
private Ingest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Ingest() {
uuid_ = "";
entity_ = "";
attribute_ = "";
key_ = "";
value_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Ingest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Ingest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
uuid_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
entity_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
attribute_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
key_ = s;
break;
}
case 42: {
value_ = input.readBytes();
break;
}
case 48: {
delete_ = input.readBool();
break;
}
case 56: {
stamp_ = input.readUInt64();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, 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).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_Ingest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_Ingest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.Ingest.class, cz.o2.proxima.proto.service.Rpc.Ingest.Builder.class);
}
public static final int UUID_FIELD_NUMBER = 1;
private volatile java.lang.Object uuid_;
/**
*
**
* UUID of the ingest. This UUID is returned in status to match
* the request with the response
*
*
* string uuid = 1;
* @return The uuid.
*/
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uuid_ = s;
return s;
}
}
/**
*
**
* UUID of the ingest. This UUID is returned in status to match
* the request with the response
*
*
* string uuid = 1;
* @return The bytes for uuid.
*/
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENTITY_FIELD_NUMBER = 2;
private volatile java.lang.Object entity_;
/**
*
** Name of the entity
*
*
* string entity = 2;
* @return The entity.
*/
public java.lang.String getEntity() {
java.lang.Object ref = entity_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
entity_ = s;
return s;
}
}
/**
*
** Name of the entity
*
*
* string entity = 2;
* @return The bytes for entity.
*/
public com.google.protobuf.ByteString
getEntityBytes() {
java.lang.Object ref = entity_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
entity_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ATTRIBUTE_FIELD_NUMBER = 3;
private volatile java.lang.Object attribute_;
/**
*
** Name of the attribute.
* Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
*
*
* string attribute = 3;
* @return The attribute.
*/
public java.lang.String getAttribute() {
java.lang.Object ref = attribute_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attribute_ = s;
return s;
}
}
/**
*
** Name of the attribute.
* Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
*
*
* string attribute = 3;
* @return The bytes for attribute.
*/
public com.google.protobuf.ByteString
getAttributeBytes() {
java.lang.Object ref = attribute_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attribute_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KEY_FIELD_NUMBER = 4;
private volatile java.lang.Object key_;
/**
*
** Key of the entity.
*
*
* string key = 4;
* @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
key_ = s;
return s;
}
}
/**
*
** Key of the entity.
*
*
* string key = 4;
* @return The bytes for key.
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 5;
private com.google.protobuf.ByteString value_;
/**
*
** Value to update.
*
*
* bytes value = 5;
* @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
public static final int STAMP_FIELD_NUMBER = 7;
private long stamp_;
/**
*
** Timestamp of the ingest. If not provided, it will be replaced with actual ingest timestamp.
*
*
* uint64 stamp = 7;
* @return The stamp.
*/
public long getStamp() {
return stamp_;
}
public static final int DELETE_FIELD_NUMBER = 6;
private boolean delete_;
/**
*
**
* Whether to delete the attribute. You must explicitly set this
* if you want to delete an attribute.
*
*
* bool delete = 6;
* @return The delete.
*/
public boolean getDelete() {
return delete_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getUuidBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_);
}
if (!getEntityBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, entity_);
}
if (!getAttributeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, attribute_);
}
if (!getKeyBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, key_);
}
if (!value_.isEmpty()) {
output.writeBytes(5, value_);
}
if (delete_ != false) {
output.writeBool(6, delete_);
}
if (stamp_ != 0L) {
output.writeUInt64(7, stamp_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getUuidBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_);
}
if (!getEntityBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entity_);
}
if (!getAttributeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, attribute_);
}
if (!getKeyBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, key_);
}
if (!value_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, value_);
}
if (delete_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, delete_);
}
if (stamp_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(7, stamp_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.o2.proxima.proto.service.Rpc.Ingest)) {
return super.equals(obj);
}
cz.o2.proxima.proto.service.Rpc.Ingest other = (cz.o2.proxima.proto.service.Rpc.Ingest) obj;
if (!getUuid()
.equals(other.getUuid())) return false;
if (!getEntity()
.equals(other.getEntity())) return false;
if (!getAttribute()
.equals(other.getAttribute())) return false;
if (!getKey()
.equals(other.getKey())) return false;
if (!getValue()
.equals(other.getValue())) return false;
if (getStamp()
!= other.getStamp()) return false;
if (getDelete()
!= other.getDelete()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + UUID_FIELD_NUMBER;
hash = (53 * hash) + getUuid().hashCode();
hash = (37 * hash) + ENTITY_FIELD_NUMBER;
hash = (53 * hash) + getEntity().hashCode();
hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER;
hash = (53 * hash) + getAttribute().hashCode();
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (37 * hash) + STAMP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStamp());
hash = (37 * hash) + DELETE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDelete());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.o2.proxima.proto.service.Rpc.Ingest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.Ingest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.Ingest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.Ingest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.Ingest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.Ingest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.Ingest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.Ingest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.Ingest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.Ingest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.Ingest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.Ingest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.o2.proxima.proto.service.Rpc.Ingest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
** Ingest of a attribute update (or delete)
*
*
* Protobuf type {@code Ingest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ingest)
cz.o2.proxima.proto.service.Rpc.IngestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_Ingest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_Ingest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.Ingest.class, cz.o2.proxima.proto.service.Rpc.Ingest.Builder.class);
}
// Construct using cz.o2.proxima.proto.service.Rpc.Ingest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
uuid_ = "";
entity_ = "";
attribute_ = "";
key_ = "";
value_ = com.google.protobuf.ByteString.EMPTY;
stamp_ = 0L;
delete_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.o2.proxima.proto.service.Rpc.internal_static_Ingest_descriptor;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.Ingest getDefaultInstanceForType() {
return cz.o2.proxima.proto.service.Rpc.Ingest.getDefaultInstance();
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.Ingest build() {
cz.o2.proxima.proto.service.Rpc.Ingest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.Ingest buildPartial() {
cz.o2.proxima.proto.service.Rpc.Ingest result = new cz.o2.proxima.proto.service.Rpc.Ingest(this);
result.uuid_ = uuid_;
result.entity_ = entity_;
result.attribute_ = attribute_;
result.key_ = key_;
result.value_ = value_;
result.stamp_ = stamp_;
result.delete_ = delete_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.o2.proxima.proto.service.Rpc.Ingest) {
return mergeFrom((cz.o2.proxima.proto.service.Rpc.Ingest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.Ingest other) {
if (other == cz.o2.proxima.proto.service.Rpc.Ingest.getDefaultInstance()) return this;
if (!other.getUuid().isEmpty()) {
uuid_ = other.uuid_;
onChanged();
}
if (!other.getEntity().isEmpty()) {
entity_ = other.entity_;
onChanged();
}
if (!other.getAttribute().isEmpty()) {
attribute_ = other.attribute_;
onChanged();
}
if (!other.getKey().isEmpty()) {
key_ = other.key_;
onChanged();
}
if (other.getValue() != com.google.protobuf.ByteString.EMPTY) {
setValue(other.getValue());
}
if (other.getStamp() != 0L) {
setStamp(other.getStamp());
}
if (other.getDelete() != false) {
setDelete(other.getDelete());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.o2.proxima.proto.service.Rpc.Ingest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.o2.proxima.proto.service.Rpc.Ingest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object uuid_ = "";
/**
*
**
* UUID of the ingest. This UUID is returned in status to match
* the request with the response
*
*
* string uuid = 1;
* @return The uuid.
*/
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uuid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
**
* UUID of the ingest. This UUID is returned in status to match
* the request with the response
*
*
* string uuid = 1;
* @return The bytes for uuid.
*/
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
**
* UUID of the ingest. This UUID is returned in status to match
* the request with the response
*
*
* string uuid = 1;
* @param value The uuid to set.
* @return This builder for chaining.
*/
public Builder setUuid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
uuid_ = value;
onChanged();
return this;
}
/**
*
**
* UUID of the ingest. This UUID is returned in status to match
* the request with the response
*
*
* string uuid = 1;
* @return This builder for chaining.
*/
public Builder clearUuid() {
uuid_ = getDefaultInstance().getUuid();
onChanged();
return this;
}
/**
*
**
* UUID of the ingest. This UUID is returned in status to match
* the request with the response
*
*
* string uuid = 1;
* @param value The bytes for uuid to set.
* @return This builder for chaining.
*/
public Builder setUuidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
uuid_ = value;
onChanged();
return this;
}
private java.lang.Object entity_ = "";
/**
*
** Name of the entity
*
*
* string entity = 2;
* @return The entity.
*/
public java.lang.String getEntity() {
java.lang.Object ref = entity_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
entity_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
** Name of the entity
*
*
* string entity = 2;
* @return The bytes for entity.
*/
public com.google.protobuf.ByteString
getEntityBytes() {
java.lang.Object ref = entity_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
entity_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
** Name of the entity
*
*
* string entity = 2;
* @param value The entity to set.
* @return This builder for chaining.
*/
public Builder setEntity(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
entity_ = value;
onChanged();
return this;
}
/**
*
** Name of the entity
*
*
* string entity = 2;
* @return This builder for chaining.
*/
public Builder clearEntity() {
entity_ = getDefaultInstance().getEntity();
onChanged();
return this;
}
/**
*
** Name of the entity
*
*
* string entity = 2;
* @param value The bytes for entity to set.
* @return This builder for chaining.
*/
public Builder setEntityBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
entity_ = value;
onChanged();
return this;
}
private java.lang.Object attribute_ = "";
/**
*
** Name of the attribute.
* Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
*
*
* string attribute = 3;
* @return The attribute.
*/
public java.lang.String getAttribute() {
java.lang.Object ref = attribute_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attribute_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
** Name of the attribute.
* Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
*
*
* string attribute = 3;
* @return The bytes for attribute.
*/
public com.google.protobuf.ByteString
getAttributeBytes() {
java.lang.Object ref = attribute_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attribute_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
** Name of the attribute.
* Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
*
*
* string attribute = 3;
* @param value The attribute to set.
* @return This builder for chaining.
*/
public Builder setAttribute(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
attribute_ = value;
onChanged();
return this;
}
/**
*
** Name of the attribute.
* Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
*
*
* string attribute = 3;
* @return This builder for chaining.
*/
public Builder clearAttribute() {
attribute_ = getDefaultInstance().getAttribute();
onChanged();
return this;
}
/**
*
** Name of the attribute.
* Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
*
*
* string attribute = 3;
* @param value The bytes for attribute to set.
* @return This builder for chaining.
*/
public Builder setAttributeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
attribute_ = value;
onChanged();
return this;
}
private java.lang.Object key_ = "";
/**
*
** Key of the entity.
*
*
* string key = 4;
* @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
key_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
** Key of the entity.
*
*
* string key = 4;
* @return The bytes for key.
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
** Key of the entity.
*
*
* string key = 4;
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
return this;
}
/**
*
** Key of the entity.
*
*
* string key = 4;
* @return This builder for chaining.
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
*
** Key of the entity.
*
*
* string key = 4;
* @param value The bytes for key to set.
* @return This builder for chaining.
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
key_ = value;
onChanged();
return this;
}
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
*
** Value to update.
*
*
* bytes value = 5;
* @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
*
** Value to update.
*
*
* bytes value = 5;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
*
** Value to update.
*
*
* bytes value = 5;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
private long stamp_ ;
/**
*
** Timestamp of the ingest. If not provided, it will be replaced with actual ingest timestamp.
*
*
* uint64 stamp = 7;
* @return The stamp.
*/
public long getStamp() {
return stamp_;
}
/**
*
** Timestamp of the ingest. If not provided, it will be replaced with actual ingest timestamp.
*
*
* uint64 stamp = 7;
* @param value The stamp to set.
* @return This builder for chaining.
*/
public Builder setStamp(long value) {
stamp_ = value;
onChanged();
return this;
}
/**
*
** Timestamp of the ingest. If not provided, it will be replaced with actual ingest timestamp.
*
*
* uint64 stamp = 7;
* @return This builder for chaining.
*/
public Builder clearStamp() {
stamp_ = 0L;
onChanged();
return this;
}
private boolean delete_ ;
/**
*
**
* Whether to delete the attribute. You must explicitly set this
* if you want to delete an attribute.
*
*
* bool delete = 6;
* @return The delete.
*/
public boolean getDelete() {
return delete_;
}
/**
*
**
* Whether to delete the attribute. You must explicitly set this
* if you want to delete an attribute.
*
*
* bool delete = 6;
* @param value The delete to set.
* @return This builder for chaining.
*/
public Builder setDelete(boolean value) {
delete_ = value;
onChanged();
return this;
}
/**
*
**
* Whether to delete the attribute. You must explicitly set this
* if you want to delete an attribute.
*
*
* bool delete = 6;
* @return This builder for chaining.
*/
public Builder clearDelete() {
delete_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ingest)
}
// @@protoc_insertion_point(class_scope:Ingest)
private static final cz.o2.proxima.proto.service.Rpc.Ingest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.Ingest();
}
public static cz.o2.proxima.proto.service.Rpc.Ingest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Ingest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Ingest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.Ingest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:Status)
com.google.protobuf.MessageOrBuilder {
/**
*
** The UUID of the original ingest request
*
*
* string uuid = 1;
* @return The uuid.
*/
java.lang.String getUuid();
/**
*
** The UUID of the original ingest request
*
*
* string uuid = 1;
* @return The bytes for uuid.
*/
com.google.protobuf.ByteString
getUuidBytes();
/**
*
** Status code:
* 200 - OK - the request was processed and is ingested
* 400 - Bad request - the request was missing some key parts
* 404 - Not found - the entity or attribute not found in the settings
* 412 - Not acceptable - the message has unknown format (unable to validate the scheme)
* 502 - Bad gateway - cannot connect to the target storage
* 504 - Gateway timeout - the request timeouted
*
*
* uint32 status = 2;
* @return The status.
*/
int getStatus();
/**
*
**
* Textual information for the event. Might be missing for 200 OK.
* Contains error message if any error occurs
*
*
* string statusMessage = 3;
* @return The statusMessage.
*/
java.lang.String getStatusMessage();
/**
*
**
* Textual information for the event. Might be missing for 200 OK.
* Contains error message if any error occurs
*
*
* string statusMessage = 3;
* @return The bytes for statusMessage.
*/
com.google.protobuf.ByteString
getStatusMessageBytes();
}
/**
*
** Response to a message ingest
*
*
* Protobuf type {@code Status}
*/
public static final class Status extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Status)
StatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use Status.newBuilder() to construct.
private Status(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Status() {
uuid_ = "";
statusMessage_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Status();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Status(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
uuid_ = s;
break;
}
case 16: {
status_ = input.readUInt32();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
statusMessage_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, 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).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_Status_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_Status_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.Status.class, cz.o2.proxima.proto.service.Rpc.Status.Builder.class);
}
public static final int UUID_FIELD_NUMBER = 1;
private volatile java.lang.Object uuid_;
/**
*
** The UUID of the original ingest request
*
*
* string uuid = 1;
* @return The uuid.
*/
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uuid_ = s;
return s;
}
}
/**
*
** The UUID of the original ingest request
*
*
* string uuid = 1;
* @return The bytes for uuid.
*/
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 2;
private int status_;
/**
*
** Status code:
* 200 - OK - the request was processed and is ingested
* 400 - Bad request - the request was missing some key parts
* 404 - Not found - the entity or attribute not found in the settings
* 412 - Not acceptable - the message has unknown format (unable to validate the scheme)
* 502 - Bad gateway - cannot connect to the target storage
* 504 - Gateway timeout - the request timeouted
*
*
* uint32 status = 2;
* @return The status.
*/
public int getStatus() {
return status_;
}
public static final int STATUSMESSAGE_FIELD_NUMBER = 3;
private volatile java.lang.Object statusMessage_;
/**
*
**
* Textual information for the event. Might be missing for 200 OK.
* Contains error message if any error occurs
*
*
* string statusMessage = 3;
* @return The statusMessage.
*/
public java.lang.String getStatusMessage() {
java.lang.Object ref = statusMessage_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
statusMessage_ = s;
return s;
}
}
/**
*
**
* Textual information for the event. Might be missing for 200 OK.
* Contains error message if any error occurs
*
*
* string statusMessage = 3;
* @return The bytes for statusMessage.
*/
public com.google.protobuf.ByteString
getStatusMessageBytes() {
java.lang.Object ref = statusMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
statusMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getUuidBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_);
}
if (status_ != 0) {
output.writeUInt32(2, status_);
}
if (!getStatusMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, statusMessage_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getUuidBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_);
}
if (status_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, status_);
}
if (!getStatusMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, statusMessage_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.o2.proxima.proto.service.Rpc.Status)) {
return super.equals(obj);
}
cz.o2.proxima.proto.service.Rpc.Status other = (cz.o2.proxima.proto.service.Rpc.Status) obj;
if (!getUuid()
.equals(other.getUuid())) return false;
if (getStatus()
!= other.getStatus()) return false;
if (!getStatusMessage()
.equals(other.getStatusMessage())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + UUID_FIELD_NUMBER;
hash = (53 * hash) + getUuid().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus();
hash = (37 * hash) + STATUSMESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getStatusMessage().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.o2.proxima.proto.service.Rpc.Status parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.Status parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.Status parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.Status parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.Status parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.Status parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.Status parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.Status parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.Status parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.Status parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.Status parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.Status parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.o2.proxima.proto.service.Rpc.Status prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
** Response to a message ingest
*
*
* Protobuf type {@code Status}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Status)
cz.o2.proxima.proto.service.Rpc.StatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_Status_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_Status_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.Status.class, cz.o2.proxima.proto.service.Rpc.Status.Builder.class);
}
// Construct using cz.o2.proxima.proto.service.Rpc.Status.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
uuid_ = "";
status_ = 0;
statusMessage_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.o2.proxima.proto.service.Rpc.internal_static_Status_descriptor;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.Status getDefaultInstanceForType() {
return cz.o2.proxima.proto.service.Rpc.Status.getDefaultInstance();
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.Status build() {
cz.o2.proxima.proto.service.Rpc.Status result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.Status buildPartial() {
cz.o2.proxima.proto.service.Rpc.Status result = new cz.o2.proxima.proto.service.Rpc.Status(this);
result.uuid_ = uuid_;
result.status_ = status_;
result.statusMessage_ = statusMessage_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.o2.proxima.proto.service.Rpc.Status) {
return mergeFrom((cz.o2.proxima.proto.service.Rpc.Status)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.Status other) {
if (other == cz.o2.proxima.proto.service.Rpc.Status.getDefaultInstance()) return this;
if (!other.getUuid().isEmpty()) {
uuid_ = other.uuid_;
onChanged();
}
if (other.getStatus() != 0) {
setStatus(other.getStatus());
}
if (!other.getStatusMessage().isEmpty()) {
statusMessage_ = other.statusMessage_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.o2.proxima.proto.service.Rpc.Status parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.o2.proxima.proto.service.Rpc.Status) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object uuid_ = "";
/**
*
** The UUID of the original ingest request
*
*
* string uuid = 1;
* @return The uuid.
*/
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
uuid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
** The UUID of the original ingest request
*
*
* string uuid = 1;
* @return The bytes for uuid.
*/
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
** The UUID of the original ingest request
*
*
* string uuid = 1;
* @param value The uuid to set.
* @return This builder for chaining.
*/
public Builder setUuid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
uuid_ = value;
onChanged();
return this;
}
/**
*
** The UUID of the original ingest request
*
*
* string uuid = 1;
* @return This builder for chaining.
*/
public Builder clearUuid() {
uuid_ = getDefaultInstance().getUuid();
onChanged();
return this;
}
/**
*
** The UUID of the original ingest request
*
*
* string uuid = 1;
* @param value The bytes for uuid to set.
* @return This builder for chaining.
*/
public Builder setUuidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
uuid_ = value;
onChanged();
return this;
}
private int status_ ;
/**
*
** Status code:
* 200 - OK - the request was processed and is ingested
* 400 - Bad request - the request was missing some key parts
* 404 - Not found - the entity or attribute not found in the settings
* 412 - Not acceptable - the message has unknown format (unable to validate the scheme)
* 502 - Bad gateway - cannot connect to the target storage
* 504 - Gateway timeout - the request timeouted
*
*
* uint32 status = 2;
* @return The status.
*/
public int getStatus() {
return status_;
}
/**
*
** Status code:
* 200 - OK - the request was processed and is ingested
* 400 - Bad request - the request was missing some key parts
* 404 - Not found - the entity or attribute not found in the settings
* 412 - Not acceptable - the message has unknown format (unable to validate the scheme)
* 502 - Bad gateway - cannot connect to the target storage
* 504 - Gateway timeout - the request timeouted
*
*
* uint32 status = 2;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(int value) {
status_ = value;
onChanged();
return this;
}
/**
*
** Status code:
* 200 - OK - the request was processed and is ingested
* 400 - Bad request - the request was missing some key parts
* 404 - Not found - the entity or attribute not found in the settings
* 412 - Not acceptable - the message has unknown format (unable to validate the scheme)
* 502 - Bad gateway - cannot connect to the target storage
* 504 - Gateway timeout - the request timeouted
*
*
* uint32 status = 2;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
private java.lang.Object statusMessage_ = "";
/**
*
**
* Textual information for the event. Might be missing for 200 OK.
* Contains error message if any error occurs
*
*
* string statusMessage = 3;
* @return The statusMessage.
*/
public java.lang.String getStatusMessage() {
java.lang.Object ref = statusMessage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
statusMessage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
**
* Textual information for the event. Might be missing for 200 OK.
* Contains error message if any error occurs
*
*
* string statusMessage = 3;
* @return The bytes for statusMessage.
*/
public com.google.protobuf.ByteString
getStatusMessageBytes() {
java.lang.Object ref = statusMessage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
statusMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
**
* Textual information for the event. Might be missing for 200 OK.
* Contains error message if any error occurs
*
*
* string statusMessage = 3;
* @param value The statusMessage to set.
* @return This builder for chaining.
*/
public Builder setStatusMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
statusMessage_ = value;
onChanged();
return this;
}
/**
*
**
* Textual information for the event. Might be missing for 200 OK.
* Contains error message if any error occurs
*
*
* string statusMessage = 3;
* @return This builder for chaining.
*/
public Builder clearStatusMessage() {
statusMessage_ = getDefaultInstance().getStatusMessage();
onChanged();
return this;
}
/**
*
**
* Textual information for the event. Might be missing for 200 OK.
* Contains error message if any error occurs
*
*
* string statusMessage = 3;
* @param value The bytes for statusMessage to set.
* @return This builder for chaining.
*/
public Builder setStatusMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
statusMessage_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Status)
}
// @@protoc_insertion_point(class_scope:Status)
private static final cz.o2.proxima.proto.service.Rpc.Status DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.Status();
}
public static cz.o2.proxima.proto.service.Rpc.Status getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Status parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Status(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.Status getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface IngestBulkOrBuilder extends
// @@protoc_insertion_point(interface_extends:IngestBulk)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .Ingest ingest = 1;
*/
java.util.List
getIngestList();
/**
* repeated .Ingest ingest = 1;
*/
cz.o2.proxima.proto.service.Rpc.Ingest getIngest(int index);
/**
* repeated .Ingest ingest = 1;
*/
int getIngestCount();
/**
* repeated .Ingest ingest = 1;
*/
java.util.List extends cz.o2.proxima.proto.service.Rpc.IngestOrBuilder>
getIngestOrBuilderList();
/**
* repeated .Ingest ingest = 1;
*/
cz.o2.proxima.proto.service.Rpc.IngestOrBuilder getIngestOrBuilder(
int index);
}
/**
*
** Bulk of ingest requests.
*
*
* Protobuf type {@code IngestBulk}
*/
public static final class IngestBulk extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:IngestBulk)
IngestBulkOrBuilder {
private static final long serialVersionUID = 0L;
// Use IngestBulk.newBuilder() to construct.
private IngestBulk(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private IngestBulk() {
ingest_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new IngestBulk();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private IngestBulk(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
ingest_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
ingest_.add(
input.readMessage(cz.o2.proxima.proto.service.Rpc.Ingest.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, 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).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
ingest_ = java.util.Collections.unmodifiableList(ingest_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_IngestBulk_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_IngestBulk_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.IngestBulk.class, cz.o2.proxima.proto.service.Rpc.IngestBulk.Builder.class);
}
public static final int INGEST_FIELD_NUMBER = 1;
private java.util.List ingest_;
/**
* repeated .Ingest ingest = 1;
*/
public java.util.List getIngestList() {
return ingest_;
}
/**
* repeated .Ingest ingest = 1;
*/
public java.util.List extends cz.o2.proxima.proto.service.Rpc.IngestOrBuilder>
getIngestOrBuilderList() {
return ingest_;
}
/**
* repeated .Ingest ingest = 1;
*/
public int getIngestCount() {
return ingest_.size();
}
/**
* repeated .Ingest ingest = 1;
*/
public cz.o2.proxima.proto.service.Rpc.Ingest getIngest(int index) {
return ingest_.get(index);
}
/**
* repeated .Ingest ingest = 1;
*/
public cz.o2.proxima.proto.service.Rpc.IngestOrBuilder getIngestOrBuilder(
int index) {
return ingest_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < ingest_.size(); i++) {
output.writeMessage(1, ingest_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < ingest_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, ingest_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.o2.proxima.proto.service.Rpc.IngestBulk)) {
return super.equals(obj);
}
cz.o2.proxima.proto.service.Rpc.IngestBulk other = (cz.o2.proxima.proto.service.Rpc.IngestBulk) obj;
if (!getIngestList()
.equals(other.getIngestList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getIngestCount() > 0) {
hash = (37 * hash) + INGEST_FIELD_NUMBER;
hash = (53 * hash) + getIngestList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.o2.proxima.proto.service.Rpc.IngestBulk prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
** Bulk of ingest requests.
*
*
* Protobuf type {@code IngestBulk}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:IngestBulk)
cz.o2.proxima.proto.service.Rpc.IngestBulkOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_IngestBulk_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_IngestBulk_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.IngestBulk.class, cz.o2.proxima.proto.service.Rpc.IngestBulk.Builder.class);
}
// Construct using cz.o2.proxima.proto.service.Rpc.IngestBulk.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getIngestFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (ingestBuilder_ == null) {
ingest_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ingestBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.o2.proxima.proto.service.Rpc.internal_static_IngestBulk_descriptor;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.IngestBulk getDefaultInstanceForType() {
return cz.o2.proxima.proto.service.Rpc.IngestBulk.getDefaultInstance();
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.IngestBulk build() {
cz.o2.proxima.proto.service.Rpc.IngestBulk result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.IngestBulk buildPartial() {
cz.o2.proxima.proto.service.Rpc.IngestBulk result = new cz.o2.proxima.proto.service.Rpc.IngestBulk(this);
int from_bitField0_ = bitField0_;
if (ingestBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
ingest_ = java.util.Collections.unmodifiableList(ingest_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.ingest_ = ingest_;
} else {
result.ingest_ = ingestBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.o2.proxima.proto.service.Rpc.IngestBulk) {
return mergeFrom((cz.o2.proxima.proto.service.Rpc.IngestBulk)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.IngestBulk other) {
if (other == cz.o2.proxima.proto.service.Rpc.IngestBulk.getDefaultInstance()) return this;
if (ingestBuilder_ == null) {
if (!other.ingest_.isEmpty()) {
if (ingest_.isEmpty()) {
ingest_ = other.ingest_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureIngestIsMutable();
ingest_.addAll(other.ingest_);
}
onChanged();
}
} else {
if (!other.ingest_.isEmpty()) {
if (ingestBuilder_.isEmpty()) {
ingestBuilder_.dispose();
ingestBuilder_ = null;
ingest_ = other.ingest_;
bitField0_ = (bitField0_ & ~0x00000001);
ingestBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getIngestFieldBuilder() : null;
} else {
ingestBuilder_.addAllMessages(other.ingest_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.o2.proxima.proto.service.Rpc.IngestBulk parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.o2.proxima.proto.service.Rpc.IngestBulk) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List ingest_ =
java.util.Collections.emptyList();
private void ensureIngestIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
ingest_ = new java.util.ArrayList(ingest_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.o2.proxima.proto.service.Rpc.Ingest, cz.o2.proxima.proto.service.Rpc.Ingest.Builder, cz.o2.proxima.proto.service.Rpc.IngestOrBuilder> ingestBuilder_;
/**
* repeated .Ingest ingest = 1;
*/
public java.util.List getIngestList() {
if (ingestBuilder_ == null) {
return java.util.Collections.unmodifiableList(ingest_);
} else {
return ingestBuilder_.getMessageList();
}
}
/**
* repeated .Ingest ingest = 1;
*/
public int getIngestCount() {
if (ingestBuilder_ == null) {
return ingest_.size();
} else {
return ingestBuilder_.getCount();
}
}
/**
* repeated .Ingest ingest = 1;
*/
public cz.o2.proxima.proto.service.Rpc.Ingest getIngest(int index) {
if (ingestBuilder_ == null) {
return ingest_.get(index);
} else {
return ingestBuilder_.getMessage(index);
}
}
/**
* repeated .Ingest ingest = 1;
*/
public Builder setIngest(
int index, cz.o2.proxima.proto.service.Rpc.Ingest value) {
if (ingestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIngestIsMutable();
ingest_.set(index, value);
onChanged();
} else {
ingestBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Ingest ingest = 1;
*/
public Builder setIngest(
int index, cz.o2.proxima.proto.service.Rpc.Ingest.Builder builderForValue) {
if (ingestBuilder_ == null) {
ensureIngestIsMutable();
ingest_.set(index, builderForValue.build());
onChanged();
} else {
ingestBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ingest ingest = 1;
*/
public Builder addIngest(cz.o2.proxima.proto.service.Rpc.Ingest value) {
if (ingestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIngestIsMutable();
ingest_.add(value);
onChanged();
} else {
ingestBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Ingest ingest = 1;
*/
public Builder addIngest(
int index, cz.o2.proxima.proto.service.Rpc.Ingest value) {
if (ingestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIngestIsMutable();
ingest_.add(index, value);
onChanged();
} else {
ingestBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Ingest ingest = 1;
*/
public Builder addIngest(
cz.o2.proxima.proto.service.Rpc.Ingest.Builder builderForValue) {
if (ingestBuilder_ == null) {
ensureIngestIsMutable();
ingest_.add(builderForValue.build());
onChanged();
} else {
ingestBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Ingest ingest = 1;
*/
public Builder addIngest(
int index, cz.o2.proxima.proto.service.Rpc.Ingest.Builder builderForValue) {
if (ingestBuilder_ == null) {
ensureIngestIsMutable();
ingest_.add(index, builderForValue.build());
onChanged();
} else {
ingestBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ingest ingest = 1;
*/
public Builder addAllIngest(
java.lang.Iterable extends cz.o2.proxima.proto.service.Rpc.Ingest> values) {
if (ingestBuilder_ == null) {
ensureIngestIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ingest_);
onChanged();
} else {
ingestBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Ingest ingest = 1;
*/
public Builder clearIngest() {
if (ingestBuilder_ == null) {
ingest_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
ingestBuilder_.clear();
}
return this;
}
/**
* repeated .Ingest ingest = 1;
*/
public Builder removeIngest(int index) {
if (ingestBuilder_ == null) {
ensureIngestIsMutable();
ingest_.remove(index);
onChanged();
} else {
ingestBuilder_.remove(index);
}
return this;
}
/**
* repeated .Ingest ingest = 1;
*/
public cz.o2.proxima.proto.service.Rpc.Ingest.Builder getIngestBuilder(
int index) {
return getIngestFieldBuilder().getBuilder(index);
}
/**
* repeated .Ingest ingest = 1;
*/
public cz.o2.proxima.proto.service.Rpc.IngestOrBuilder getIngestOrBuilder(
int index) {
if (ingestBuilder_ == null) {
return ingest_.get(index); } else {
return ingestBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Ingest ingest = 1;
*/
public java.util.List extends cz.o2.proxima.proto.service.Rpc.IngestOrBuilder>
getIngestOrBuilderList() {
if (ingestBuilder_ != null) {
return ingestBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(ingest_);
}
}
/**
* repeated .Ingest ingest = 1;
*/
public cz.o2.proxima.proto.service.Rpc.Ingest.Builder addIngestBuilder() {
return getIngestFieldBuilder().addBuilder(
cz.o2.proxima.proto.service.Rpc.Ingest.getDefaultInstance());
}
/**
* repeated .Ingest ingest = 1;
*/
public cz.o2.proxima.proto.service.Rpc.Ingest.Builder addIngestBuilder(
int index) {
return getIngestFieldBuilder().addBuilder(
index, cz.o2.proxima.proto.service.Rpc.Ingest.getDefaultInstance());
}
/**
* repeated .Ingest ingest = 1;
*/
public java.util.List
getIngestBuilderList() {
return getIngestFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.o2.proxima.proto.service.Rpc.Ingest, cz.o2.proxima.proto.service.Rpc.Ingest.Builder, cz.o2.proxima.proto.service.Rpc.IngestOrBuilder>
getIngestFieldBuilder() {
if (ingestBuilder_ == null) {
ingestBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.o2.proxima.proto.service.Rpc.Ingest, cz.o2.proxima.proto.service.Rpc.Ingest.Builder, cz.o2.proxima.proto.service.Rpc.IngestOrBuilder>(
ingest_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
ingest_ = null;
}
return ingestBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:IngestBulk)
}
// @@protoc_insertion_point(class_scope:IngestBulk)
private static final cz.o2.proxima.proto.service.Rpc.IngestBulk DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.IngestBulk();
}
public static cz.o2.proxima.proto.service.Rpc.IngestBulk getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public IngestBulk parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new IngestBulk(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.IngestBulk getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StatusBulkOrBuilder extends
// @@protoc_insertion_point(interface_extends:StatusBulk)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .Status status = 1;
*/
java.util.List
getStatusList();
/**
* repeated .Status status = 1;
*/
cz.o2.proxima.proto.service.Rpc.Status getStatus(int index);
/**
* repeated .Status status = 1;
*/
int getStatusCount();
/**
* repeated .Status status = 1;
*/
java.util.List extends cz.o2.proxima.proto.service.Rpc.StatusOrBuilder>
getStatusOrBuilderList();
/**
* repeated .Status status = 1;
*/
cz.o2.proxima.proto.service.Rpc.StatusOrBuilder getStatusOrBuilder(
int index);
}
/**
*
**
* Bulk of status responses for the client.
* The server is free to buffer the responses and send them by single
* ack message to lower the network pressure.
*
*
* Protobuf type {@code StatusBulk}
*/
public static final class StatusBulk extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:StatusBulk)
StatusBulkOrBuilder {
private static final long serialVersionUID = 0L;
// Use StatusBulk.newBuilder() to construct.
private StatusBulk(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StatusBulk() {
status_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StatusBulk();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StatusBulk(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
status_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
status_.add(
input.readMessage(cz.o2.proxima.proto.service.Rpc.Status.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, 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).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
status_ = java.util.Collections.unmodifiableList(status_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_StatusBulk_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_StatusBulk_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.StatusBulk.class, cz.o2.proxima.proto.service.Rpc.StatusBulk.Builder.class);
}
public static final int STATUS_FIELD_NUMBER = 1;
private java.util.List status_;
/**
* repeated .Status status = 1;
*/
public java.util.List getStatusList() {
return status_;
}
/**
* repeated .Status status = 1;
*/
public java.util.List extends cz.o2.proxima.proto.service.Rpc.StatusOrBuilder>
getStatusOrBuilderList() {
return status_;
}
/**
* repeated .Status status = 1;
*/
public int getStatusCount() {
return status_.size();
}
/**
* repeated .Status status = 1;
*/
public cz.o2.proxima.proto.service.Rpc.Status getStatus(int index) {
return status_.get(index);
}
/**
* repeated .Status status = 1;
*/
public cz.o2.proxima.proto.service.Rpc.StatusOrBuilder getStatusOrBuilder(
int index) {
return status_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < status_.size(); i++) {
output.writeMessage(1, status_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < status_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, status_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.o2.proxima.proto.service.Rpc.StatusBulk)) {
return super.equals(obj);
}
cz.o2.proxima.proto.service.Rpc.StatusBulk other = (cz.o2.proxima.proto.service.Rpc.StatusBulk) obj;
if (!getStatusList()
.equals(other.getStatusList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getStatusCount() > 0) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatusList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.o2.proxima.proto.service.Rpc.StatusBulk prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Bulk of status responses for the client.
* The server is free to buffer the responses and send them by single
* ack message to lower the network pressure.
*
*
* Protobuf type {@code StatusBulk}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:StatusBulk)
cz.o2.proxima.proto.service.Rpc.StatusBulkOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_StatusBulk_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_StatusBulk_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.StatusBulk.class, cz.o2.proxima.proto.service.Rpc.StatusBulk.Builder.class);
}
// Construct using cz.o2.proxima.proto.service.Rpc.StatusBulk.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (statusBuilder_ == null) {
status_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
statusBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.o2.proxima.proto.service.Rpc.internal_static_StatusBulk_descriptor;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.StatusBulk getDefaultInstanceForType() {
return cz.o2.proxima.proto.service.Rpc.StatusBulk.getDefaultInstance();
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.StatusBulk build() {
cz.o2.proxima.proto.service.Rpc.StatusBulk result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.StatusBulk buildPartial() {
cz.o2.proxima.proto.service.Rpc.StatusBulk result = new cz.o2.proxima.proto.service.Rpc.StatusBulk(this);
int from_bitField0_ = bitField0_;
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
status_ = java.util.Collections.unmodifiableList(status_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.status_ = status_;
} else {
result.status_ = statusBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.o2.proxima.proto.service.Rpc.StatusBulk) {
return mergeFrom((cz.o2.proxima.proto.service.Rpc.StatusBulk)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.StatusBulk other) {
if (other == cz.o2.proxima.proto.service.Rpc.StatusBulk.getDefaultInstance()) return this;
if (statusBuilder_ == null) {
if (!other.status_.isEmpty()) {
if (status_.isEmpty()) {
status_ = other.status_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStatusIsMutable();
status_.addAll(other.status_);
}
onChanged();
}
} else {
if (!other.status_.isEmpty()) {
if (statusBuilder_.isEmpty()) {
statusBuilder_.dispose();
statusBuilder_ = null;
status_ = other.status_;
bitField0_ = (bitField0_ & ~0x00000001);
statusBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStatusFieldBuilder() : null;
} else {
statusBuilder_.addAllMessages(other.status_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.o2.proxima.proto.service.Rpc.StatusBulk parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.o2.proxima.proto.service.Rpc.StatusBulk) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List status_ =
java.util.Collections.emptyList();
private void ensureStatusIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
status_ = new java.util.ArrayList(status_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.o2.proxima.proto.service.Rpc.Status, cz.o2.proxima.proto.service.Rpc.Status.Builder, cz.o2.proxima.proto.service.Rpc.StatusOrBuilder> statusBuilder_;
/**
* repeated .Status status = 1;
*/
public java.util.List getStatusList() {
if (statusBuilder_ == null) {
return java.util.Collections.unmodifiableList(status_);
} else {
return statusBuilder_.getMessageList();
}
}
/**
* repeated .Status status = 1;
*/
public int getStatusCount() {
if (statusBuilder_ == null) {
return status_.size();
} else {
return statusBuilder_.getCount();
}
}
/**
* repeated .Status status = 1;
*/
public cz.o2.proxima.proto.service.Rpc.Status getStatus(int index) {
if (statusBuilder_ == null) {
return status_.get(index);
} else {
return statusBuilder_.getMessage(index);
}
}
/**
* repeated .Status status = 1;
*/
public Builder setStatus(
int index, cz.o2.proxima.proto.service.Rpc.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStatusIsMutable();
status_.set(index, value);
onChanged();
} else {
statusBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Status status = 1;
*/
public Builder setStatus(
int index, cz.o2.proxima.proto.service.Rpc.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
ensureStatusIsMutable();
status_.set(index, builderForValue.build());
onChanged();
} else {
statusBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Status status = 1;
*/
public Builder addStatus(cz.o2.proxima.proto.service.Rpc.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStatusIsMutable();
status_.add(value);
onChanged();
} else {
statusBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Status status = 1;
*/
public Builder addStatus(
int index, cz.o2.proxima.proto.service.Rpc.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStatusIsMutable();
status_.add(index, value);
onChanged();
} else {
statusBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Status status = 1;
*/
public Builder addStatus(
cz.o2.proxima.proto.service.Rpc.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
ensureStatusIsMutable();
status_.add(builderForValue.build());
onChanged();
} else {
statusBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Status status = 1;
*/
public Builder addStatus(
int index, cz.o2.proxima.proto.service.Rpc.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
ensureStatusIsMutable();
status_.add(index, builderForValue.build());
onChanged();
} else {
statusBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Status status = 1;
*/
public Builder addAllStatus(
java.lang.Iterable extends cz.o2.proxima.proto.service.Rpc.Status> values) {
if (statusBuilder_ == null) {
ensureStatusIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, status_);
onChanged();
} else {
statusBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Status status = 1;
*/
public Builder clearStatus() {
if (statusBuilder_ == null) {
status_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
statusBuilder_.clear();
}
return this;
}
/**
* repeated .Status status = 1;
*/
public Builder removeStatus(int index) {
if (statusBuilder_ == null) {
ensureStatusIsMutable();
status_.remove(index);
onChanged();
} else {
statusBuilder_.remove(index);
}
return this;
}
/**
* repeated .Status status = 1;
*/
public cz.o2.proxima.proto.service.Rpc.Status.Builder getStatusBuilder(
int index) {
return getStatusFieldBuilder().getBuilder(index);
}
/**
* repeated .Status status = 1;
*/
public cz.o2.proxima.proto.service.Rpc.StatusOrBuilder getStatusOrBuilder(
int index) {
if (statusBuilder_ == null) {
return status_.get(index); } else {
return statusBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Status status = 1;
*/
public java.util.List extends cz.o2.proxima.proto.service.Rpc.StatusOrBuilder>
getStatusOrBuilderList() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(status_);
}
}
/**
* repeated .Status status = 1;
*/
public cz.o2.proxima.proto.service.Rpc.Status.Builder addStatusBuilder() {
return getStatusFieldBuilder().addBuilder(
cz.o2.proxima.proto.service.Rpc.Status.getDefaultInstance());
}
/**
* repeated .Status status = 1;
*/
public cz.o2.proxima.proto.service.Rpc.Status.Builder addStatusBuilder(
int index) {
return getStatusFieldBuilder().addBuilder(
index, cz.o2.proxima.proto.service.Rpc.Status.getDefaultInstance());
}
/**
* repeated .Status status = 1;
*/
public java.util.List
getStatusBuilderList() {
return getStatusFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.o2.proxima.proto.service.Rpc.Status, cz.o2.proxima.proto.service.Rpc.Status.Builder, cz.o2.proxima.proto.service.Rpc.StatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.o2.proxima.proto.service.Rpc.Status, cz.o2.proxima.proto.service.Rpc.Status.Builder, cz.o2.proxima.proto.service.Rpc.StatusOrBuilder>(
status_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:StatusBulk)
}
// @@protoc_insertion_point(class_scope:StatusBulk)
private static final cz.o2.proxima.proto.service.Rpc.StatusBulk DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.StatusBulk();
}
public static cz.o2.proxima.proto.service.Rpc.StatusBulk getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StatusBulk parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StatusBulk(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.StatusBulk getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return The entity.
*/
java.lang.String getEntity();
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return The bytes for entity.
*/
com.google.protobuf.ByteString
getEntityBytes();
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return The key.
*/
java.lang.String getKey();
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
*
** Name of the attribute.
*
*
* string attribute = 3;
* @return The attribute.
*/
java.lang.String getAttribute();
/**
*
** Name of the attribute.
*
*
* string attribute = 3;
* @return The bytes for attribute.
*/
com.google.protobuf.ByteString
getAttributeBytes();
}
/**
*
**
* Request to read data from the system.
*
*
* Protobuf type {@code GetRequest}
*/
public static final class GetRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetRequest)
GetRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetRequest.newBuilder() to construct.
private GetRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetRequest() {
entity_ = "";
key_ = "";
attribute_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
entity_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
key_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
attribute_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, 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).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_GetRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_GetRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.GetRequest.class, cz.o2.proxima.proto.service.Rpc.GetRequest.Builder.class);
}
public static final int ENTITY_FIELD_NUMBER = 1;
private volatile java.lang.Object entity_;
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return The entity.
*/
public java.lang.String getEntity() {
java.lang.Object ref = entity_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
entity_ = s;
return s;
}
}
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return The bytes for entity.
*/
public com.google.protobuf.ByteString
getEntityBytes() {
java.lang.Object ref = entity_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
entity_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KEY_FIELD_NUMBER = 2;
private volatile java.lang.Object key_;
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
key_ = s;
return s;
}
}
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return The bytes for key.
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ATTRIBUTE_FIELD_NUMBER = 3;
private volatile java.lang.Object attribute_;
/**
*
** Name of the attribute.
*
*
* string attribute = 3;
* @return The attribute.
*/
public java.lang.String getAttribute() {
java.lang.Object ref = attribute_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attribute_ = s;
return s;
}
}
/**
*
** Name of the attribute.
*
*
* string attribute = 3;
* @return The bytes for attribute.
*/
public com.google.protobuf.ByteString
getAttributeBytes() {
java.lang.Object ref = attribute_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attribute_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getEntityBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entity_);
}
if (!getKeyBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_);
}
if (!getAttributeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, attribute_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getEntityBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entity_);
}
if (!getKeyBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_);
}
if (!getAttributeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, attribute_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.o2.proxima.proto.service.Rpc.GetRequest)) {
return super.equals(obj);
}
cz.o2.proxima.proto.service.Rpc.GetRequest other = (cz.o2.proxima.proto.service.Rpc.GetRequest) obj;
if (!getEntity()
.equals(other.getEntity())) return false;
if (!getKey()
.equals(other.getKey())) return false;
if (!getAttribute()
.equals(other.getAttribute())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ENTITY_FIELD_NUMBER;
hash = (53 * hash) + getEntity().hashCode();
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER;
hash = (53 * hash) + getAttribute().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.o2.proxima.proto.service.Rpc.GetRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Request to read data from the system.
*
*
* Protobuf type {@code GetRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetRequest)
cz.o2.proxima.proto.service.Rpc.GetRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_GetRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_GetRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.GetRequest.class, cz.o2.proxima.proto.service.Rpc.GetRequest.Builder.class);
}
// Construct using cz.o2.proxima.proto.service.Rpc.GetRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
entity_ = "";
key_ = "";
attribute_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.o2.proxima.proto.service.Rpc.internal_static_GetRequest_descriptor;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.GetRequest getDefaultInstanceForType() {
return cz.o2.proxima.proto.service.Rpc.GetRequest.getDefaultInstance();
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.GetRequest build() {
cz.o2.proxima.proto.service.Rpc.GetRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.GetRequest buildPartial() {
cz.o2.proxima.proto.service.Rpc.GetRequest result = new cz.o2.proxima.proto.service.Rpc.GetRequest(this);
result.entity_ = entity_;
result.key_ = key_;
result.attribute_ = attribute_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.o2.proxima.proto.service.Rpc.GetRequest) {
return mergeFrom((cz.o2.proxima.proto.service.Rpc.GetRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.GetRequest other) {
if (other == cz.o2.proxima.proto.service.Rpc.GetRequest.getDefaultInstance()) return this;
if (!other.getEntity().isEmpty()) {
entity_ = other.entity_;
onChanged();
}
if (!other.getKey().isEmpty()) {
key_ = other.key_;
onChanged();
}
if (!other.getAttribute().isEmpty()) {
attribute_ = other.attribute_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.o2.proxima.proto.service.Rpc.GetRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.o2.proxima.proto.service.Rpc.GetRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object entity_ = "";
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return The entity.
*/
public java.lang.String getEntity() {
java.lang.Object ref = entity_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
entity_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return The bytes for entity.
*/
public com.google.protobuf.ByteString
getEntityBytes() {
java.lang.Object ref = entity_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
entity_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @param value The entity to set.
* @return This builder for chaining.
*/
public Builder setEntity(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
entity_ = value;
onChanged();
return this;
}
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return This builder for chaining.
*/
public Builder clearEntity() {
entity_ = getDefaultInstance().getEntity();
onChanged();
return this;
}
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @param value The bytes for entity to set.
* @return This builder for chaining.
*/
public Builder setEntityBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
entity_ = value;
onChanged();
return this;
}
private java.lang.Object key_ = "";
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
key_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return The bytes for key.
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
** Key of the entity.
*
*
* string key = 2;
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
return this;
}
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return This builder for chaining.
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
*
** Key of the entity.
*
*
* string key = 2;
* @param value The bytes for key to set.
* @return This builder for chaining.
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
key_ = value;
onChanged();
return this;
}
private java.lang.Object attribute_ = "";
/**
*
** Name of the attribute.
*
*
* string attribute = 3;
* @return The attribute.
*/
public java.lang.String getAttribute() {
java.lang.Object ref = attribute_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attribute_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
** Name of the attribute.
*
*
* string attribute = 3;
* @return The bytes for attribute.
*/
public com.google.protobuf.ByteString
getAttributeBytes() {
java.lang.Object ref = attribute_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attribute_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
** Name of the attribute.
*
*
* string attribute = 3;
* @param value The attribute to set.
* @return This builder for chaining.
*/
public Builder setAttribute(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
attribute_ = value;
onChanged();
return this;
}
/**
*
** Name of the attribute.
*
*
* string attribute = 3;
* @return This builder for chaining.
*/
public Builder clearAttribute() {
attribute_ = getDefaultInstance().getAttribute();
onChanged();
return this;
}
/**
*
** Name of the attribute.
*
*
* string attribute = 3;
* @param value The bytes for attribute to set.
* @return This builder for chaining.
*/
public Builder setAttributeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
attribute_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:GetRequest)
}
// @@protoc_insertion_point(class_scope:GetRequest)
private static final cz.o2.proxima.proto.service.Rpc.GetRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.GetRequest();
}
public static cz.o2.proxima.proto.service.Rpc.GetRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.GetRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* Status code. Can be
* 200 - OK
* 400 - Bad request - if missing some required field(s) in request
* 404 - Entity or attribute not found
* 500 - Internal server error
*
*
* uint32 status = 1;
* @return The status.
*/
int getStatus();
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return The statusMessage.
*/
java.lang.String getStatusMessage();
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return The bytes for statusMessage.
*/
com.google.protobuf.ByteString
getStatusMessageBytes();
/**
*
**
* Value of the requested attribute.
*
*
* bytes value = 3;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
}
/**
*
**
* Response to the GetRequest.
*
*
* Protobuf type {@code GetResponse}
*/
public static final class GetResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetResponse)
GetResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetResponse.newBuilder() to construct.
private GetResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetResponse() {
statusMessage_ = "";
value_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
status_ = input.readUInt32();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
statusMessage_ = s;
break;
}
case 26: {
value_ = input.readBytes();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, 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).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_GetResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_GetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.GetResponse.class, cz.o2.proxima.proto.service.Rpc.GetResponse.Builder.class);
}
public static final int STATUS_FIELD_NUMBER = 1;
private int status_;
/**
*
**
* Status code. Can be
* 200 - OK
* 400 - Bad request - if missing some required field(s) in request
* 404 - Entity or attribute not found
* 500 - Internal server error
*
*
* uint32 status = 1;
* @return The status.
*/
public int getStatus() {
return status_;
}
public static final int STATUSMESSAGE_FIELD_NUMBER = 2;
private volatile java.lang.Object statusMessage_;
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return The statusMessage.
*/
public java.lang.String getStatusMessage() {
java.lang.Object ref = statusMessage_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
statusMessage_ = s;
return s;
}
}
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return The bytes for statusMessage.
*/
public com.google.protobuf.ByteString
getStatusMessageBytes() {
java.lang.Object ref = statusMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
statusMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString value_;
/**
*
**
* Value of the requested attribute.
*
*
* bytes value = 3;
* @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (status_ != 0) {
output.writeUInt32(1, status_);
}
if (!getStatusMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, statusMessage_);
}
if (!value_.isEmpty()) {
output.writeBytes(3, value_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (status_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, status_);
}
if (!getStatusMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, statusMessage_);
}
if (!value_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.o2.proxima.proto.service.Rpc.GetResponse)) {
return super.equals(obj);
}
cz.o2.proxima.proto.service.Rpc.GetResponse other = (cz.o2.proxima.proto.service.Rpc.GetResponse) obj;
if (getStatus()
!= other.getStatus()) return false;
if (!getStatusMessage()
.equals(other.getStatusMessage())) return false;
if (!getValue()
.equals(other.getValue())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus();
hash = (37 * hash) + STATUSMESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getStatusMessage().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.o2.proxima.proto.service.Rpc.GetResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Response to the GetRequest.
*
*
* Protobuf type {@code GetResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetResponse)
cz.o2.proxima.proto.service.Rpc.GetResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_GetResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_GetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.GetResponse.class, cz.o2.proxima.proto.service.Rpc.GetResponse.Builder.class);
}
// Construct using cz.o2.proxima.proto.service.Rpc.GetResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
status_ = 0;
statusMessage_ = "";
value_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.o2.proxima.proto.service.Rpc.internal_static_GetResponse_descriptor;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.GetResponse getDefaultInstanceForType() {
return cz.o2.proxima.proto.service.Rpc.GetResponse.getDefaultInstance();
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.GetResponse build() {
cz.o2.proxima.proto.service.Rpc.GetResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.GetResponse buildPartial() {
cz.o2.proxima.proto.service.Rpc.GetResponse result = new cz.o2.proxima.proto.service.Rpc.GetResponse(this);
result.status_ = status_;
result.statusMessage_ = statusMessage_;
result.value_ = value_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.o2.proxima.proto.service.Rpc.GetResponse) {
return mergeFrom((cz.o2.proxima.proto.service.Rpc.GetResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.GetResponse other) {
if (other == cz.o2.proxima.proto.service.Rpc.GetResponse.getDefaultInstance()) return this;
if (other.getStatus() != 0) {
setStatus(other.getStatus());
}
if (!other.getStatusMessage().isEmpty()) {
statusMessage_ = other.statusMessage_;
onChanged();
}
if (other.getValue() != com.google.protobuf.ByteString.EMPTY) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.o2.proxima.proto.service.Rpc.GetResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.o2.proxima.proto.service.Rpc.GetResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int status_ ;
/**
*
**
* Status code. Can be
* 200 - OK
* 400 - Bad request - if missing some required field(s) in request
* 404 - Entity or attribute not found
* 500 - Internal server error
*
*
* uint32 status = 1;
* @return The status.
*/
public int getStatus() {
return status_;
}
/**
*
**
* Status code. Can be
* 200 - OK
* 400 - Bad request - if missing some required field(s) in request
* 404 - Entity or attribute not found
* 500 - Internal server error
*
*
* uint32 status = 1;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(int value) {
status_ = value;
onChanged();
return this;
}
/**
*
**
* Status code. Can be
* 200 - OK
* 400 - Bad request - if missing some required field(s) in request
* 404 - Entity or attribute not found
* 500 - Internal server error
*
*
* uint32 status = 1;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
private java.lang.Object statusMessage_ = "";
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return The statusMessage.
*/
public java.lang.String getStatusMessage() {
java.lang.Object ref = statusMessage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
statusMessage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return The bytes for statusMessage.
*/
public com.google.protobuf.ByteString
getStatusMessageBytes() {
java.lang.Object ref = statusMessage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
statusMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @param value The statusMessage to set.
* @return This builder for chaining.
*/
public Builder setStatusMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
statusMessage_ = value;
onChanged();
return this;
}
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return This builder for chaining.
*/
public Builder clearStatusMessage() {
statusMessage_ = getDefaultInstance().getStatusMessage();
onChanged();
return this;
}
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @param value The bytes for statusMessage to set.
* @return This builder for chaining.
*/
public Builder setStatusMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
statusMessage_ = value;
onChanged();
return this;
}
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
*
**
* Value of the requested attribute.
*
*
* bytes value = 3;
* @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
*
**
* Value of the requested attribute.
*
*
* bytes value = 3;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
*
**
* Value of the requested attribute.
*
*
* bytes value = 3;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:GetResponse)
}
// @@protoc_insertion_point(class_scope:GetResponse)
private static final cz.o2.proxima.proto.service.Rpc.GetResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.GetResponse();
}
public static cz.o2.proxima.proto.service.Rpc.GetResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.GetResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:ListRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return The entity.
*/
java.lang.String getEntity();
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return The bytes for entity.
*/
com.google.protobuf.ByteString
getEntityBytes();
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return The key.
*/
java.lang.String getKey();
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
*
** Prefix of the wildcard attribute (i.e. the name without tha last `.*')
*
*
* string wildcardPrefix = 3;
* @return The wildcardPrefix.
*/
java.lang.String getWildcardPrefix();
/**
*
** Prefix of the wildcard attribute (i.e. the name without tha last `.*')
*
*
* string wildcardPrefix = 3;
* @return The bytes for wildcardPrefix.
*/
com.google.protobuf.ByteString
getWildcardPrefixBytes();
/**
*
** Offset. If present, return attribute that follows the given one.
*
*
* string offset = 4;
* @return The offset.
*/
java.lang.String getOffset();
/**
*
** Offset. If present, return attribute that follows the given one.
*
*
* string offset = 4;
* @return The bytes for offset.
*/
com.google.protobuf.ByteString
getOffsetBytes();
/**
*
** Maximal number of items to return. If less or equal to zero than unlimited.
*
*
* uint32 limit = 5;
* @return The limit.
*/
int getLimit();
}
/**
*
**
* Request to list attributes of given entity by known wildcard prefix.
*
*
* Protobuf type {@code ListRequest}
*/
public static final class ListRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ListRequest)
ListRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListRequest.newBuilder() to construct.
private ListRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListRequest() {
entity_ = "";
key_ = "";
wildcardPrefix_ = "";
offset_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ListRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ListRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
entity_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
key_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
wildcardPrefix_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
offset_ = s;
break;
}
case 40: {
limit_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, 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).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.ListRequest.class, cz.o2.proxima.proto.service.Rpc.ListRequest.Builder.class);
}
public static final int ENTITY_FIELD_NUMBER = 1;
private volatile java.lang.Object entity_;
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return The entity.
*/
public java.lang.String getEntity() {
java.lang.Object ref = entity_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
entity_ = s;
return s;
}
}
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return The bytes for entity.
*/
public com.google.protobuf.ByteString
getEntityBytes() {
java.lang.Object ref = entity_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
entity_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KEY_FIELD_NUMBER = 2;
private volatile java.lang.Object key_;
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
key_ = s;
return s;
}
}
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return The bytes for key.
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WILDCARDPREFIX_FIELD_NUMBER = 3;
private volatile java.lang.Object wildcardPrefix_;
/**
*
** Prefix of the wildcard attribute (i.e. the name without tha last `.*')
*
*
* string wildcardPrefix = 3;
* @return The wildcardPrefix.
*/
public java.lang.String getWildcardPrefix() {
java.lang.Object ref = wildcardPrefix_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
wildcardPrefix_ = s;
return s;
}
}
/**
*
** Prefix of the wildcard attribute (i.e. the name without tha last `.*')
*
*
* string wildcardPrefix = 3;
* @return The bytes for wildcardPrefix.
*/
public com.google.protobuf.ByteString
getWildcardPrefixBytes() {
java.lang.Object ref = wildcardPrefix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
wildcardPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OFFSET_FIELD_NUMBER = 4;
private volatile java.lang.Object offset_;
/**
*
** Offset. If present, return attribute that follows the given one.
*
*
* string offset = 4;
* @return The offset.
*/
public java.lang.String getOffset() {
java.lang.Object ref = offset_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
offset_ = s;
return s;
}
}
/**
*
** Offset. If present, return attribute that follows the given one.
*
*
* string offset = 4;
* @return The bytes for offset.
*/
public com.google.protobuf.ByteString
getOffsetBytes() {
java.lang.Object ref = offset_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
offset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LIMIT_FIELD_NUMBER = 5;
private int limit_;
/**
*
** Maximal number of items to return. If less or equal to zero than unlimited.
*
*
* uint32 limit = 5;
* @return The limit.
*/
public int getLimit() {
return limit_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getEntityBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entity_);
}
if (!getKeyBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_);
}
if (!getWildcardPrefixBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, wildcardPrefix_);
}
if (!getOffsetBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, offset_);
}
if (limit_ != 0) {
output.writeUInt32(5, limit_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getEntityBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entity_);
}
if (!getKeyBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_);
}
if (!getWildcardPrefixBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, wildcardPrefix_);
}
if (!getOffsetBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, offset_);
}
if (limit_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, limit_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.o2.proxima.proto.service.Rpc.ListRequest)) {
return super.equals(obj);
}
cz.o2.proxima.proto.service.Rpc.ListRequest other = (cz.o2.proxima.proto.service.Rpc.ListRequest) obj;
if (!getEntity()
.equals(other.getEntity())) return false;
if (!getKey()
.equals(other.getKey())) return false;
if (!getWildcardPrefix()
.equals(other.getWildcardPrefix())) return false;
if (!getOffset()
.equals(other.getOffset())) return false;
if (getLimit()
!= other.getLimit()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ENTITY_FIELD_NUMBER;
hash = (53 * hash) + getEntity().hashCode();
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
hash = (37 * hash) + WILDCARDPREFIX_FIELD_NUMBER;
hash = (53 * hash) + getWildcardPrefix().hashCode();
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
hash = (53 * hash) + getOffset().hashCode();
hash = (37 * hash) + LIMIT_FIELD_NUMBER;
hash = (53 * hash) + getLimit();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.o2.proxima.proto.service.Rpc.ListRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Request to list attributes of given entity by known wildcard prefix.
*
*
* Protobuf type {@code ListRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ListRequest)
cz.o2.proxima.proto.service.Rpc.ListRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.ListRequest.class, cz.o2.proxima.proto.service.Rpc.ListRequest.Builder.class);
}
// Construct using cz.o2.proxima.proto.service.Rpc.ListRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
entity_ = "";
key_ = "";
wildcardPrefix_ = "";
offset_ = "";
limit_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListRequest_descriptor;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.ListRequest getDefaultInstanceForType() {
return cz.o2.proxima.proto.service.Rpc.ListRequest.getDefaultInstance();
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.ListRequest build() {
cz.o2.proxima.proto.service.Rpc.ListRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.ListRequest buildPartial() {
cz.o2.proxima.proto.service.Rpc.ListRequest result = new cz.o2.proxima.proto.service.Rpc.ListRequest(this);
result.entity_ = entity_;
result.key_ = key_;
result.wildcardPrefix_ = wildcardPrefix_;
result.offset_ = offset_;
result.limit_ = limit_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.o2.proxima.proto.service.Rpc.ListRequest) {
return mergeFrom((cz.o2.proxima.proto.service.Rpc.ListRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.ListRequest other) {
if (other == cz.o2.proxima.proto.service.Rpc.ListRequest.getDefaultInstance()) return this;
if (!other.getEntity().isEmpty()) {
entity_ = other.entity_;
onChanged();
}
if (!other.getKey().isEmpty()) {
key_ = other.key_;
onChanged();
}
if (!other.getWildcardPrefix().isEmpty()) {
wildcardPrefix_ = other.wildcardPrefix_;
onChanged();
}
if (!other.getOffset().isEmpty()) {
offset_ = other.offset_;
onChanged();
}
if (other.getLimit() != 0) {
setLimit(other.getLimit());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.o2.proxima.proto.service.Rpc.ListRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.o2.proxima.proto.service.Rpc.ListRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object entity_ = "";
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return The entity.
*/
public java.lang.String getEntity() {
java.lang.Object ref = entity_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
entity_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return The bytes for entity.
*/
public com.google.protobuf.ByteString
getEntityBytes() {
java.lang.Object ref = entity_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
entity_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @param value The entity to set.
* @return This builder for chaining.
*/
public Builder setEntity(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
entity_ = value;
onChanged();
return this;
}
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @return This builder for chaining.
*/
public Builder clearEntity() {
entity_ = getDefaultInstance().getEntity();
onChanged();
return this;
}
/**
*
** Name of the entity.
*
*
* string entity = 1;
* @param value The bytes for entity to set.
* @return This builder for chaining.
*/
public Builder setEntityBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
entity_ = value;
onChanged();
return this;
}
private java.lang.Object key_ = "";
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
key_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return The bytes for key.
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
** Key of the entity.
*
*
* string key = 2;
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
return this;
}
/**
*
** Key of the entity.
*
*
* string key = 2;
* @return This builder for chaining.
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
*
** Key of the entity.
*
*
* string key = 2;
* @param value The bytes for key to set.
* @return This builder for chaining.
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
key_ = value;
onChanged();
return this;
}
private java.lang.Object wildcardPrefix_ = "";
/**
*
** Prefix of the wildcard attribute (i.e. the name without tha last `.*')
*
*
* string wildcardPrefix = 3;
* @return The wildcardPrefix.
*/
public java.lang.String getWildcardPrefix() {
java.lang.Object ref = wildcardPrefix_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
wildcardPrefix_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
** Prefix of the wildcard attribute (i.e. the name without tha last `.*')
*
*
* string wildcardPrefix = 3;
* @return The bytes for wildcardPrefix.
*/
public com.google.protobuf.ByteString
getWildcardPrefixBytes() {
java.lang.Object ref = wildcardPrefix_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
wildcardPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
** Prefix of the wildcard attribute (i.e. the name without tha last `.*')
*
*
* string wildcardPrefix = 3;
* @param value The wildcardPrefix to set.
* @return This builder for chaining.
*/
public Builder setWildcardPrefix(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
wildcardPrefix_ = value;
onChanged();
return this;
}
/**
*
** Prefix of the wildcard attribute (i.e. the name without tha last `.*')
*
*
* string wildcardPrefix = 3;
* @return This builder for chaining.
*/
public Builder clearWildcardPrefix() {
wildcardPrefix_ = getDefaultInstance().getWildcardPrefix();
onChanged();
return this;
}
/**
*
** Prefix of the wildcard attribute (i.e. the name without tha last `.*')
*
*
* string wildcardPrefix = 3;
* @param value The bytes for wildcardPrefix to set.
* @return This builder for chaining.
*/
public Builder setWildcardPrefixBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
wildcardPrefix_ = value;
onChanged();
return this;
}
private java.lang.Object offset_ = "";
/**
*
** Offset. If present, return attribute that follows the given one.
*
*
* string offset = 4;
* @return The offset.
*/
public java.lang.String getOffset() {
java.lang.Object ref = offset_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
offset_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
** Offset. If present, return attribute that follows the given one.
*
*
* string offset = 4;
* @return The bytes for offset.
*/
public com.google.protobuf.ByteString
getOffsetBytes() {
java.lang.Object ref = offset_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
offset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
** Offset. If present, return attribute that follows the given one.
*
*
* string offset = 4;
* @param value The offset to set.
* @return This builder for chaining.
*/
public Builder setOffset(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
offset_ = value;
onChanged();
return this;
}
/**
*
** Offset. If present, return attribute that follows the given one.
*
*
* string offset = 4;
* @return This builder for chaining.
*/
public Builder clearOffset() {
offset_ = getDefaultInstance().getOffset();
onChanged();
return this;
}
/**
*
** Offset. If present, return attribute that follows the given one.
*
*
* string offset = 4;
* @param value The bytes for offset to set.
* @return This builder for chaining.
*/
public Builder setOffsetBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
offset_ = value;
onChanged();
return this;
}
private int limit_ ;
/**
*
** Maximal number of items to return. If less or equal to zero than unlimited.
*
*
* uint32 limit = 5;
* @return The limit.
*/
public int getLimit() {
return limit_;
}
/**
*
** Maximal number of items to return. If less or equal to zero than unlimited.
*
*
* uint32 limit = 5;
* @param value The limit to set.
* @return This builder for chaining.
*/
public Builder setLimit(int value) {
limit_ = value;
onChanged();
return this;
}
/**
*
** Maximal number of items to return. If less or equal to zero than unlimited.
*
*
* uint32 limit = 5;
* @return This builder for chaining.
*/
public Builder clearLimit() {
limit_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ListRequest)
}
// @@protoc_insertion_point(class_scope:ListRequest)
private static final cz.o2.proxima.proto.service.Rpc.ListRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.ListRequest();
}
public static cz.o2.proxima.proto.service.Rpc.ListRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ListRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.ListRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:ListResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* Status code. Can be
* 200 - OK
* 400 - Bad request - if missing some required field(s) in the request
* 404 - The entity or the attribute prefix is not found
* 500 - Internal server error
*
*
* uint32 status = 1;
* @return The status.
*/
int getStatus();
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return The statusMessage.
*/
java.lang.String getStatusMessage();
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return The bytes for statusMessage.
*/
com.google.protobuf.ByteString
getStatusMessageBytes();
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
java.util.List
getValueList();
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue getValue(int index);
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
int getValueCount();
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
java.util.List extends cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValueOrBuilder>
getValueOrBuilderList();
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValueOrBuilder getValueOrBuilder(
int index);
}
/**
*
**
* Response to the ListRequest.
*
*
* Protobuf type {@code ListResponse}
*/
public static final class ListResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ListResponse)
ListResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListResponse.newBuilder() to construct.
private ListResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListResponse() {
statusMessage_ = "";
value_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ListResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ListResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
status_ = input.readUInt32();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
statusMessage_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
value_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
value_.add(
input.readMessage(cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, 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).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
value_ = java.util.Collections.unmodifiableList(value_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.ListResponse.class, cz.o2.proxima.proto.service.Rpc.ListResponse.Builder.class);
}
public interface AttrValueOrBuilder extends
// @@protoc_insertion_point(interface_extends:ListResponse.AttrValue)
com.google.protobuf.MessageOrBuilder {
/**
*
** The fully qualified attribute.
*
*
* string attribute = 1;
* @return The attribute.
*/
java.lang.String getAttribute();
/**
*
** The fully qualified attribute.
*
*
* string attribute = 1;
* @return The bytes for attribute.
*/
com.google.protobuf.ByteString
getAttributeBytes();
/**
*
** The value of the attribute.
*
*
* bytes value = 2;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
}
/**
*
** The attribute-value returned from the storage.
*
*
* Protobuf type {@code ListResponse.AttrValue}
*/
public static final class AttrValue extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ListResponse.AttrValue)
AttrValueOrBuilder {
private static final long serialVersionUID = 0L;
// Use AttrValue.newBuilder() to construct.
private AttrValue(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AttrValue() {
attribute_ = "";
value_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AttrValue();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AttrValue(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
attribute_ = s;
break;
}
case 18: {
value_ = input.readBytes();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, 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).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListResponse_AttrValue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListResponse_AttrValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.class, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.Builder.class);
}
public static final int ATTRIBUTE_FIELD_NUMBER = 1;
private volatile java.lang.Object attribute_;
/**
*
** The fully qualified attribute.
*
*
* string attribute = 1;
* @return The attribute.
*/
public java.lang.String getAttribute() {
java.lang.Object ref = attribute_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attribute_ = s;
return s;
}
}
/**
*
** The fully qualified attribute.
*
*
* string attribute = 1;
* @return The bytes for attribute.
*/
public com.google.protobuf.ByteString
getAttributeBytes() {
java.lang.Object ref = attribute_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attribute_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString value_;
/**
*
** The value of the attribute.
*
*
* bytes value = 2;
* @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getAttributeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attribute_);
}
if (!value_.isEmpty()) {
output.writeBytes(2, value_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getAttributeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attribute_);
}
if (!value_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue)) {
return super.equals(obj);
}
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue other = (cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue) obj;
if (!getAttribute()
.equals(other.getAttribute())) return false;
if (!getValue()
.equals(other.getValue())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER;
hash = (53 * hash) + getAttribute().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
** The attribute-value returned from the storage.
*
*
* Protobuf type {@code ListResponse.AttrValue}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ListResponse.AttrValue)
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListResponse_AttrValue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListResponse_AttrValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.class, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.Builder.class);
}
// Construct using cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
attribute_ = "";
value_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListResponse_AttrValue_descriptor;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue getDefaultInstanceForType() {
return cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.getDefaultInstance();
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue build() {
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue buildPartial() {
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue result = new cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue(this);
result.attribute_ = attribute_;
result.value_ = value_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue) {
return mergeFrom((cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue other) {
if (other == cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.getDefaultInstance()) return this;
if (!other.getAttribute().isEmpty()) {
attribute_ = other.attribute_;
onChanged();
}
if (other.getValue() != com.google.protobuf.ByteString.EMPTY) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object attribute_ = "";
/**
*
** The fully qualified attribute.
*
*
* string attribute = 1;
* @return The attribute.
*/
public java.lang.String getAttribute() {
java.lang.Object ref = attribute_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attribute_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
** The fully qualified attribute.
*
*
* string attribute = 1;
* @return The bytes for attribute.
*/
public com.google.protobuf.ByteString
getAttributeBytes() {
java.lang.Object ref = attribute_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attribute_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
** The fully qualified attribute.
*
*
* string attribute = 1;
* @param value The attribute to set.
* @return This builder for chaining.
*/
public Builder setAttribute(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
attribute_ = value;
onChanged();
return this;
}
/**
*
** The fully qualified attribute.
*
*
* string attribute = 1;
* @return This builder for chaining.
*/
public Builder clearAttribute() {
attribute_ = getDefaultInstance().getAttribute();
onChanged();
return this;
}
/**
*
** The fully qualified attribute.
*
*
* string attribute = 1;
* @param value The bytes for attribute to set.
* @return This builder for chaining.
*/
public Builder setAttributeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
attribute_ = value;
onChanged();
return this;
}
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
*
** The value of the attribute.
*
*
* bytes value = 2;
* @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
*
** The value of the attribute.
*
*
* bytes value = 2;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
*
** The value of the attribute.
*
*
* bytes value = 2;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ListResponse.AttrValue)
}
// @@protoc_insertion_point(class_scope:ListResponse.AttrValue)
private static final cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue();
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AttrValue parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AttrValue(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int STATUS_FIELD_NUMBER = 1;
private int status_;
/**
*
**
* Status code. Can be
* 200 - OK
* 400 - Bad request - if missing some required field(s) in the request
* 404 - The entity or the attribute prefix is not found
* 500 - Internal server error
*
*
* uint32 status = 1;
* @return The status.
*/
public int getStatus() {
return status_;
}
public static final int STATUSMESSAGE_FIELD_NUMBER = 2;
private volatile java.lang.Object statusMessage_;
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return The statusMessage.
*/
public java.lang.String getStatusMessage() {
java.lang.Object ref = statusMessage_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
statusMessage_ = s;
return s;
}
}
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return The bytes for statusMessage.
*/
public com.google.protobuf.ByteString
getStatusMessageBytes() {
java.lang.Object ref = statusMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
statusMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 3;
private java.util.List value_;
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public java.util.List getValueList() {
return value_;
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public java.util.List extends cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValueOrBuilder>
getValueOrBuilderList() {
return value_;
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public int getValueCount() {
return value_.size();
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue getValue(int index) {
return value_.get(index);
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValueOrBuilder getValueOrBuilder(
int index) {
return value_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (status_ != 0) {
output.writeUInt32(1, status_);
}
if (!getStatusMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, statusMessage_);
}
for (int i = 0; i < value_.size(); i++) {
output.writeMessage(3, value_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (status_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, status_);
}
if (!getStatusMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, statusMessage_);
}
for (int i = 0; i < value_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, value_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.o2.proxima.proto.service.Rpc.ListResponse)) {
return super.equals(obj);
}
cz.o2.proxima.proto.service.Rpc.ListResponse other = (cz.o2.proxima.proto.service.Rpc.ListResponse) obj;
if (getStatus()
!= other.getStatus()) return false;
if (!getStatusMessage()
.equals(other.getStatusMessage())) return false;
if (!getValueList()
.equals(other.getValueList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus();
hash = (37 * hash) + STATUSMESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getStatusMessage().hashCode();
if (getValueCount() > 0) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValueList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.o2.proxima.proto.service.Rpc.ListResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* Response to the ListRequest.
*
*
* Protobuf type {@code ListResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ListResponse)
cz.o2.proxima.proto.service.Rpc.ListResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.o2.proxima.proto.service.Rpc.ListResponse.class, cz.o2.proxima.proto.service.Rpc.ListResponse.Builder.class);
}
// Construct using cz.o2.proxima.proto.service.Rpc.ListResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getValueFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
status_ = 0;
statusMessage_ = "";
if (valueBuilder_ == null) {
value_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
valueBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.o2.proxima.proto.service.Rpc.internal_static_ListResponse_descriptor;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.ListResponse getDefaultInstanceForType() {
return cz.o2.proxima.proto.service.Rpc.ListResponse.getDefaultInstance();
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.ListResponse build() {
cz.o2.proxima.proto.service.Rpc.ListResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.ListResponse buildPartial() {
cz.o2.proxima.proto.service.Rpc.ListResponse result = new cz.o2.proxima.proto.service.Rpc.ListResponse(this);
int from_bitField0_ = bitField0_;
result.status_ = status_;
result.statusMessage_ = statusMessage_;
if (valueBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
value_ = java.util.Collections.unmodifiableList(value_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.value_ = value_;
} else {
result.value_ = valueBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.o2.proxima.proto.service.Rpc.ListResponse) {
return mergeFrom((cz.o2.proxima.proto.service.Rpc.ListResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.ListResponse other) {
if (other == cz.o2.proxima.proto.service.Rpc.ListResponse.getDefaultInstance()) return this;
if (other.getStatus() != 0) {
setStatus(other.getStatus());
}
if (!other.getStatusMessage().isEmpty()) {
statusMessage_ = other.statusMessage_;
onChanged();
}
if (valueBuilder_ == null) {
if (!other.value_.isEmpty()) {
if (value_.isEmpty()) {
value_ = other.value_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureValueIsMutable();
value_.addAll(other.value_);
}
onChanged();
}
} else {
if (!other.value_.isEmpty()) {
if (valueBuilder_.isEmpty()) {
valueBuilder_.dispose();
valueBuilder_ = null;
value_ = other.value_;
bitField0_ = (bitField0_ & ~0x00000001);
valueBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getValueFieldBuilder() : null;
} else {
valueBuilder_.addAllMessages(other.value_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.o2.proxima.proto.service.Rpc.ListResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.o2.proxima.proto.service.Rpc.ListResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int status_ ;
/**
*
**
* Status code. Can be
* 200 - OK
* 400 - Bad request - if missing some required field(s) in the request
* 404 - The entity or the attribute prefix is not found
* 500 - Internal server error
*
*
* uint32 status = 1;
* @return The status.
*/
public int getStatus() {
return status_;
}
/**
*
**
* Status code. Can be
* 200 - OK
* 400 - Bad request - if missing some required field(s) in the request
* 404 - The entity or the attribute prefix is not found
* 500 - Internal server error
*
*
* uint32 status = 1;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(int value) {
status_ = value;
onChanged();
return this;
}
/**
*
**
* Status code. Can be
* 200 - OK
* 400 - Bad request - if missing some required field(s) in the request
* 404 - The entity or the attribute prefix is not found
* 500 - Internal server error
*
*
* uint32 status = 1;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
private java.lang.Object statusMessage_ = "";
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return The statusMessage.
*/
public java.lang.String getStatusMessage() {
java.lang.Object ref = statusMessage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
statusMessage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return The bytes for statusMessage.
*/
public com.google.protobuf.ByteString
getStatusMessageBytes() {
java.lang.Object ref = statusMessage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
statusMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @param value The statusMessage to set.
* @return This builder for chaining.
*/
public Builder setStatusMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
statusMessage_ = value;
onChanged();
return this;
}
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @return This builder for chaining.
*/
public Builder clearStatusMessage() {
statusMessage_ = getDefaultInstance().getStatusMessage();
onChanged();
return this;
}
/**
*
**
* The status message. Might be omitted if status is 200.
*
*
* string statusMessage = 2;
* @param value The bytes for statusMessage to set.
* @return This builder for chaining.
*/
public Builder setStatusMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
statusMessage_ = value;
onChanged();
return this;
}
private java.util.List value_ =
java.util.Collections.emptyList();
private void ensureValueIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
value_ = new java.util.ArrayList(value_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.Builder, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValueOrBuilder> valueBuilder_;
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public java.util.List getValueList() {
if (valueBuilder_ == null) {
return java.util.Collections.unmodifiableList(value_);
} else {
return valueBuilder_.getMessageList();
}
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public int getValueCount() {
if (valueBuilder_ == null) {
return value_.size();
} else {
return valueBuilder_.getCount();
}
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue getValue(int index) {
if (valueBuilder_ == null) {
return value_.get(index);
} else {
return valueBuilder_.getMessage(index);
}
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public Builder setValue(
int index, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValueIsMutable();
value_.set(index, value);
onChanged();
} else {
valueBuilder_.setMessage(index, value);
}
return this;
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public Builder setValue(
int index, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.Builder builderForValue) {
if (valueBuilder_ == null) {
ensureValueIsMutable();
value_.set(index, builderForValue.build());
onChanged();
} else {
valueBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public Builder addValue(cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValueIsMutable();
value_.add(value);
onChanged();
} else {
valueBuilder_.addMessage(value);
}
return this;
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public Builder addValue(
int index, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValueIsMutable();
value_.add(index, value);
onChanged();
} else {
valueBuilder_.addMessage(index, value);
}
return this;
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public Builder addValue(
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.Builder builderForValue) {
if (valueBuilder_ == null) {
ensureValueIsMutable();
value_.add(builderForValue.build());
onChanged();
} else {
valueBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public Builder addValue(
int index, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.Builder builderForValue) {
if (valueBuilder_ == null) {
ensureValueIsMutable();
value_.add(index, builderForValue.build());
onChanged();
} else {
valueBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public Builder addAllValue(
java.lang.Iterable extends cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue> values) {
if (valueBuilder_ == null) {
ensureValueIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, value_);
onChanged();
} else {
valueBuilder_.addAllMessages(values);
}
return this;
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public Builder clearValue() {
if (valueBuilder_ == null) {
value_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
valueBuilder_.clear();
}
return this;
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public Builder removeValue(int index) {
if (valueBuilder_ == null) {
ensureValueIsMutable();
value_.remove(index);
onChanged();
} else {
valueBuilder_.remove(index);
}
return this;
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.Builder getValueBuilder(
int index) {
return getValueFieldBuilder().getBuilder(index);
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValueOrBuilder getValueOrBuilder(
int index) {
if (valueBuilder_ == null) {
return value_.get(index); } else {
return valueBuilder_.getMessageOrBuilder(index);
}
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public java.util.List extends cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValueOrBuilder>
getValueOrBuilderList() {
if (valueBuilder_ != null) {
return valueBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(value_);
}
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.Builder addValueBuilder() {
return getValueFieldBuilder().addBuilder(
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.getDefaultInstance());
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.Builder addValueBuilder(
int index) {
return getValueFieldBuilder().addBuilder(
index, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.getDefaultInstance());
}
/**
*
**
* All scanned values.
*
*
* repeated .ListResponse.AttrValue value = 3;
*/
public java.util.List
getValueBuilderList() {
return getValueFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.Builder, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValueOrBuilder>
getValueFieldBuilder() {
if (valueBuilder_ == null) {
valueBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue.Builder, cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValueOrBuilder>(
value_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
value_ = null;
}
return valueBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ListResponse)
}
// @@protoc_insertion_point(class_scope:ListResponse)
private static final cz.o2.proxima.proto.service.Rpc.ListResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.ListResponse();
}
public static cz.o2.proxima.proto.service.Rpc.ListResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ListResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.o2.proxima.proto.service.Rpc.ListResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ingest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ingest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Status_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Status_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_IngestBulk_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_IngestBulk_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_StatusBulk_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_StatusBulk_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GetResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GetResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ListRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ListRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ListResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ListResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ListResponse_AttrValue_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ListResponse_AttrValue_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\trpc.proto\"t\n\006Ingest\022\014\n\004uuid\030\001 \001(\t\022\016\n\006e" +
"ntity\030\002 \001(\t\022\021\n\tattribute\030\003 \001(\t\022\013\n\003key\030\004 " +
"\001(\t\022\r\n\005value\030\005 \001(\014\022\r\n\005stamp\030\007 \001(\004\022\016\n\006del" +
"ete\030\006 \001(\010\"=\n\006Status\022\014\n\004uuid\030\001 \001(\t\022\016\n\006sta" +
"tus\030\002 \001(\r\022\025\n\rstatusMessage\030\003 \001(\t\"%\n\nInge" +
"stBulk\022\027\n\006ingest\030\001 \003(\0132\007.Ingest\"%\n\nStatu" +
"sBulk\022\027\n\006status\030\001 \003(\0132\007.Status\"<\n\nGetReq" +
"uest\022\016\n\006entity\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\022\021\n\tatt" +
"ribute\030\003 \001(\t\"C\n\013GetResponse\022\016\n\006status\030\001 " +
"\001(\r\022\025\n\rstatusMessage\030\002 \001(\t\022\r\n\005value\030\003 \001(" +
"\014\"a\n\013ListRequest\022\016\n\006entity\030\001 \001(\t\022\013\n\003key\030" +
"\002 \001(\t\022\026\n\016wildcardPrefix\030\003 \001(\t\022\016\n\006offset\030" +
"\004 \001(\t\022\r\n\005limit\030\005 \001(\r\"\214\001\n\014ListResponse\022\016\n" +
"\006status\030\001 \001(\r\022\025\n\rstatusMessage\030\002 \001(\t\022&\n\005" +
"value\030\003 \003(\0132\027.ListResponse.AttrValue\032-\n\t" +
"AttrValue\022\021\n\tattribute\030\001 \001(\t\022\r\n\005value\030\002 " +
"\001(\0142}\n\rIngestService\022*\n\ningestBulk\022\013.Ing" +
"estBulk\032\013.StatusBulk(\0010\001\022$\n\014ingestSingle" +
"\022\007.Ingest\032\007.Status(\0010\001\022\032\n\006ingest\022\007.Inges" +
"t\032\007.Status2b\n\017RetrieveService\022 \n\003get\022\013.G" +
"etRequest\032\014.GetResponse\022-\n\016listAttribute" +
"s\022\014.ListRequest\032\r.ListResponseB%\n\033cz.o2." +
"proxima.proto.serviceZ\006ingestb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_Ingest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_Ingest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ingest_descriptor,
new java.lang.String[] { "Uuid", "Entity", "Attribute", "Key", "Value", "Stamp", "Delete", });
internal_static_Status_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_Status_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Status_descriptor,
new java.lang.String[] { "Uuid", "Status", "StatusMessage", });
internal_static_IngestBulk_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_IngestBulk_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_IngestBulk_descriptor,
new java.lang.String[] { "Ingest", });
internal_static_StatusBulk_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_StatusBulk_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_StatusBulk_descriptor,
new java.lang.String[] { "Status", });
internal_static_GetRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_GetRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetRequest_descriptor,
new java.lang.String[] { "Entity", "Key", "Attribute", });
internal_static_GetResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_GetResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetResponse_descriptor,
new java.lang.String[] { "Status", "StatusMessage", "Value", });
internal_static_ListRequest_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_ListRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ListRequest_descriptor,
new java.lang.String[] { "Entity", "Key", "WildcardPrefix", "Offset", "Limit", });
internal_static_ListResponse_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_ListResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ListResponse_descriptor,
new java.lang.String[] { "Status", "StatusMessage", "Value", });
internal_static_ListResponse_AttrValue_descriptor =
internal_static_ListResponse_descriptor.getNestedTypes().get(0);
internal_static_ListResponse_AttrValue_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ListResponse_AttrValue_descriptor,
new java.lang.String[] { "Attribute", "Value", });
}
// @@protoc_insertion_point(outer_class_scope)
}