All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cz.o2.proxima.proto.service.Rpc Maven / Gradle / Ivy

There is a newer version: 0.14.0
Show newest version
// 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(); /** *
     **
     * Optional transaction ID associated with the ingest.
     * 
* * string transactionId = 8; * @return The transactionId. */ java.lang.String getTransactionId(); /** *
     **
     * Optional transaction ID associated with the ingest.
     * 
* * string transactionId = 8; * @return The bytes for transactionId. */ com.google.protobuf.ByteString getTransactionIdBytes(); } /** *
   ** 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; transactionId_ = ""; } @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; } case 66: { java.lang.String s = input.readStringRequireUtf8(); transactionId_ = 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_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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override public boolean getDelete() { return delete_; } public static final int TRANSACTIONID_FIELD_NUMBER = 8; private volatile java.lang.Object transactionId_; /** *
     **
     * Optional transaction ID associated with the ingest.
     * 
* * string transactionId = 8; * @return The transactionId. */ @java.lang.Override public java.lang.String getTransactionId() { java.lang.Object ref = transactionId_; 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(); transactionId_ = s; return s; } } /** *
     **
     * Optional transaction ID associated with the ingest.
     * 
* * string transactionId = 8; * @return The bytes for transactionId. */ @java.lang.Override public com.google.protobuf.ByteString getTransactionIdBytes() { java.lang.Object ref = transactionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionId_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, entity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attribute_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, attribute_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { 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_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, transactionId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attribute_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, attribute_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { 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_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, transactionId_); } 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 (!getTransactionId() .equals(other.getTransactionId())) 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 = (37 * hash) + TRANSACTIONID_FIELD_NUMBER; hash = (53 * hash) + getTransactionId().hashCode(); 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; transactionId_ = ""; 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_; result.transactionId_ = transactionId_; 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()); } if (!other.getTransactionId().isEmpty()) { transactionId_ = other.transactionId_; 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.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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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; } private java.lang.Object transactionId_ = ""; /** *
       **
       * Optional transaction ID associated with the ingest.
       * 
* * string transactionId = 8; * @return The transactionId. */ public java.lang.String getTransactionId() { java.lang.Object ref = transactionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       **
       * Optional transaction ID associated with the ingest.
       * 
* * string transactionId = 8; * @return The bytes for transactionId. */ public com.google.protobuf.ByteString getTransactionIdBytes() { java.lang.Object ref = transactionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       **
       * Optional transaction ID associated with the ingest.
       * 
* * string transactionId = 8; * @param value The transactionId to set. * @return This builder for chaining. */ public Builder setTransactionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionId_ = value; onChanged(); return this; } /** *
       **
       * Optional transaction ID associated with the ingest.
       * 
* * string transactionId = 8; * @return This builder for chaining. */ public Builder clearTransactionId() { transactionId_ = getDefaultInstance().getTransactionId(); onChanged(); return this; } /** *
       **
       * Optional transaction ID associated with the ingest.
       * 
* * string transactionId = 8; * @param value The bytes for transactionId to set. * @return This builder for chaining. */ public Builder setTransactionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionId_ = 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: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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_); } if (status_ != 0) { output.writeUInt32(2, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_); } if (status_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { 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. */ @java.lang.Override 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 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; */ @java.lang.Override public java.util.List getIngestList() { return ingest_; } /** * repeated .Ingest ingest = 1; */ @java.lang.Override public java.util.List getIngestOrBuilderList() { return ingest_; } /** * repeated .Ingest ingest = 1; */ @java.lang.Override public int getIngestCount() { return ingest_.size(); } /** * repeated .Ingest ingest = 1; */ @java.lang.Override public cz.o2.proxima.proto.service.Rpc.Ingest getIngest(int index) { return ingest_.get(index); } /** * repeated .Ingest ingest = 1; */ @java.lang.Override 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 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 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 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; */ @java.lang.Override public java.util.List getStatusList() { return status_; } /** * repeated .Status status = 1; */ @java.lang.Override public java.util.List getStatusOrBuilderList() { return status_; } /** * repeated .Status status = 1; */ @java.lang.Override public int getStatusCount() { return status_.size(); } /** * repeated .Status status = 1; */ @java.lang.Override public cz.o2.proxima.proto.service.Rpc.Status getStatus(int index) { return status_.get(index); } /** * repeated .Status status = 1; */ @java.lang.Override 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 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 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 TransactionCommitRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:TransactionCommitRequest) com.google.protobuf.MessageOrBuilder { /** * string transactionId = 1; * @return The transactionId. */ java.lang.String getTransactionId(); /** * string transactionId = 1; * @return The bytes for transactionId. */ com.google.protobuf.ByteString getTransactionIdBytes(); } /** * Protobuf type {@code TransactionCommitRequest} */ public static final class TransactionCommitRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:TransactionCommitRequest) TransactionCommitRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TransactionCommitRequest.newBuilder() to construct. private TransactionCommitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransactionCommitRequest() { transactionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransactionCommitRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransactionCommitRequest( 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(); transactionId_ = 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_TransactionCommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.o2.proxima.proto.service.Rpc.internal_static_TransactionCommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest.class, cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest.Builder.class); } public static final int TRANSACTIONID_FIELD_NUMBER = 1; private volatile java.lang.Object transactionId_; /** * string transactionId = 1; * @return The transactionId. */ @java.lang.Override public java.lang.String getTransactionId() { java.lang.Object ref = transactionId_; 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(); transactionId_ = s; return s; } } /** * string transactionId = 1; * @return The bytes for transactionId. */ @java.lang.Override public com.google.protobuf.ByteString getTransactionIdBytes() { java.lang.Object ref = transactionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionId_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transactionId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transactionId_); } 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.TransactionCommitRequest)) { return super.equals(obj); } cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest other = (cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest) obj; if (!getTransactionId() .equals(other.getTransactionId())) 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) + TRANSACTIONID_FIELD_NUMBER; hash = (53 * hash) + getTransactionId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest 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.TransactionCommitRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest 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.TransactionCommitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest 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.TransactionCommitRequest 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.TransactionCommitRequest 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.TransactionCommitRequest 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.TransactionCommitRequest 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.TransactionCommitRequest 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.TransactionCommitRequest 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.TransactionCommitRequest 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; } /** * Protobuf type {@code TransactionCommitRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:TransactionCommitRequest) cz.o2.proxima.proto.service.Rpc.TransactionCommitRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.o2.proxima.proto.service.Rpc.internal_static_TransactionCommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.o2.proxima.proto.service.Rpc.internal_static_TransactionCommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest.class, cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest.Builder.class); } // Construct using cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest.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(); transactionId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.o2.proxima.proto.service.Rpc.internal_static_TransactionCommitRequest_descriptor; } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest getDefaultInstanceForType() { return cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest.getDefaultInstance(); } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest build() { cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest buildPartial() { cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest result = new cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest(this); result.transactionId_ = transactionId_; 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.TransactionCommitRequest) { return mergeFrom((cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest other) { if (other == cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest.getDefaultInstance()) return this; if (!other.getTransactionId().isEmpty()) { transactionId_ = other.transactionId_; 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.TransactionCommitRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object transactionId_ = ""; /** * string transactionId = 1; * @return The transactionId. */ public java.lang.String getTransactionId() { java.lang.Object ref = transactionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string transactionId = 1; * @return The bytes for transactionId. */ public com.google.protobuf.ByteString getTransactionIdBytes() { java.lang.Object ref = transactionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string transactionId = 1; * @param value The transactionId to set. * @return This builder for chaining. */ public Builder setTransactionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionId_ = value; onChanged(); return this; } /** * string transactionId = 1; * @return This builder for chaining. */ public Builder clearTransactionId() { transactionId_ = getDefaultInstance().getTransactionId(); onChanged(); return this; } /** * string transactionId = 1; * @param value The bytes for transactionId to set. * @return This builder for chaining. */ public Builder setTransactionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionId_ = 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:TransactionCommitRequest) } // @@protoc_insertion_point(class_scope:TransactionCommitRequest) private static final cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest(); } public static cz.o2.proxima.proto.service.Rpc.TransactionCommitRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransactionCommitRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TransactionCommitRequest(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.TransactionCommitRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TransactionCommitResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:TransactionCommitResponse) com.google.protobuf.MessageOrBuilder { /** * .TransactionCommitResponse.Status status = 1; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** * .TransactionCommitResponse.Status status = 1; * @return The status. */ cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Status getStatus(); } /** * Protobuf type {@code TransactionCommitResponse} */ public static final class TransactionCommitResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:TransactionCommitResponse) TransactionCommitResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TransactionCommitResponse.newBuilder() to construct. private TransactionCommitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransactionCommitResponse() { status_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransactionCommitResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransactionCommitResponse( 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: { int rawValue = input.readEnum(); status_ = rawValue; 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_TransactionCommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.o2.proxima.proto.service.Rpc.internal_static_TransactionCommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.class, cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Builder.class); } /** * Protobuf enum {@code TransactionCommitResponse.Status} */ public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN = 0; */ UNKNOWN(0), /** * COMMITTED = 1; */ COMMITTED(1), /** * REJECTED = 2; */ REJECTED(2), /** * FAILED = 3; */ FAILED(3), UNRECOGNIZED(-1), ; /** * UNKNOWN = 0; */ public static final int UNKNOWN_VALUE = 0; /** * COMMITTED = 1; */ public static final int COMMITTED_VALUE = 1; /** * REJECTED = 2; */ public static final int REJECTED_VALUE = 2; /** * FAILED = 3; */ public static final int FAILED_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Status valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Status forNumber(int value) { switch (value) { case 0: return UNKNOWN; case 1: return COMMITTED; case 2: return REJECTED; case 3: return FAILED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Status> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Status findValueByNumber(int number) { return Status.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.getDescriptor().getEnumTypes().get(0); } private static final Status[] VALUES = values(); public static Status valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Status(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:TransactionCommitResponse.Status) } public static final int STATUS_FIELD_NUMBER = 1; private int status_; /** * .TransactionCommitResponse.Status status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * .TransactionCommitResponse.Status status = 1; * @return The status. */ @java.lang.Override public cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Status getStatus() { @SuppressWarnings("deprecation") cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Status result = cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Status.valueOf(status_); return result == null ? cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Status.UNRECOGNIZED : result; } 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_ != cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Status.UNKNOWN.getNumber()) { output.writeEnum(1, status_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Status.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } 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.TransactionCommitResponse)) { return super.equals(obj); } cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse other = (cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse) obj; if (status_ != other.status_) 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) + status_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse 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.TransactionCommitResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse 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.TransactionCommitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse 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.TransactionCommitResponse 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.TransactionCommitResponse 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.TransactionCommitResponse 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.TransactionCommitResponse 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.TransactionCommitResponse 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.TransactionCommitResponse 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.TransactionCommitResponse 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; } /** * Protobuf type {@code TransactionCommitResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:TransactionCommitResponse) cz.o2.proxima.proto.service.Rpc.TransactionCommitResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.o2.proxima.proto.service.Rpc.internal_static_TransactionCommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.o2.proxima.proto.service.Rpc.internal_static_TransactionCommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.class, cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Builder.class); } // Construct using cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.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; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.o2.proxima.proto.service.Rpc.internal_static_TransactionCommitResponse_descriptor; } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse getDefaultInstanceForType() { return cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.getDefaultInstance(); } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse build() { cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse buildPartial() { cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse result = new cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse(this); result.status_ = status_; 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.TransactionCommitResponse) { return mergeFrom((cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse other) { if (other == cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } 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.TransactionCommitResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int status_ = 0; /** * .TransactionCommitResponse.Status status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * .TransactionCommitResponse.Status status = 1; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** * .TransactionCommitResponse.Status status = 1; * @return The status. */ @java.lang.Override public cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Status getStatus() { @SuppressWarnings("deprecation") cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Status result = cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Status.valueOf(status_); return result == null ? cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Status.UNRECOGNIZED : result; } /** * .TransactionCommitResponse.Status status = 1; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse.Status value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** * .TransactionCommitResponse.Status status = 1; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 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:TransactionCommitResponse) } // @@protoc_insertion_point(class_scope:TransactionCommitResponse) private static final cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse(); } public static cz.o2.proxima.proto.service.Rpc.TransactionCommitResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransactionCommitResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TransactionCommitResponse(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.TransactionCommitResponse 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(); /** *
     **
     * ID of transaction that is part of this request (if any).
     * If empty, the request is not part of any ongoing transaction.
     * 
* * string transactionId = 4; * @return The transactionId. */ java.lang.String getTransactionId(); /** *
     **
     * ID of transaction that is part of this request (if any).
     * If empty, the request is not part of any ongoing transaction.
     * 
* * string transactionId = 4; * @return The bytes for transactionId. */ com.google.protobuf.ByteString getTransactionIdBytes(); } /** *
   **
   * 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_ = ""; transactionId_ = ""; } @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; } case 34: { java.lang.String s = input.readStringRequireUtf8(); transactionId_ = 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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 TRANSACTIONID_FIELD_NUMBER = 4; private volatile java.lang.Object transactionId_; /** *
     **
     * ID of transaction that is part of this request (if any).
     * If empty, the request is not part of any ongoing transaction.
     * 
* * string transactionId = 4; * @return The transactionId. */ @java.lang.Override public java.lang.String getTransactionId() { java.lang.Object ref = transactionId_; 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(); transactionId_ = s; return s; } } /** *
     **
     * ID of transaction that is part of this request (if any).
     * If empty, the request is not part of any ongoing transaction.
     * 
* * string transactionId = 4; * @return The bytes for transactionId. */ @java.lang.Override public com.google.protobuf.ByteString getTransactionIdBytes() { java.lang.Object ref = transactionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionId_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attribute_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, attribute_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, transactionId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attribute_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, attribute_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, transactionId_); } 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 (!getTransactionId() .equals(other.getTransactionId())) 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 = (37 * hash) + TRANSACTIONID_FIELD_NUMBER; hash = (53 * hash) + getTransactionId().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_ = ""; transactionId_ = ""; 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_; result.transactionId_ = transactionId_; 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(); } if (!other.getTransactionId().isEmpty()) { transactionId_ = other.transactionId_; 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; } private java.lang.Object transactionId_ = ""; /** *
       **
       * ID of transaction that is part of this request (if any).
       * If empty, the request is not part of any ongoing transaction.
       * 
* * string transactionId = 4; * @return The transactionId. */ public java.lang.String getTransactionId() { java.lang.Object ref = transactionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       **
       * ID of transaction that is part of this request (if any).
       * If empty, the request is not part of any ongoing transaction.
       * 
* * string transactionId = 4; * @return The bytes for transactionId. */ public com.google.protobuf.ByteString getTransactionIdBytes() { java.lang.Object ref = transactionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       **
       * ID of transaction that is part of this request (if any).
       * If empty, the request is not part of any ongoing transaction.
       * 
* * string transactionId = 4; * @param value The transactionId to set. * @return This builder for chaining. */ public Builder setTransactionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionId_ = value; onChanged(); return this; } /** *
       **
       * ID of transaction that is part of this request (if any).
       * If empty, the request is not part of any ongoing transaction.
       * 
* * string transactionId = 4; * @return This builder for chaining. */ public Builder clearTransactionId() { transactionId_ = getDefaultInstance().getTransactionId(); onChanged(); return this; } /** *
       **
       * ID of transaction that is part of this request (if any).
       * If empty, the request is not part of any ongoing transaction.
       * 
* * string transactionId = 4; * @param value The bytes for transactionId to set. * @return This builder for chaining. */ public Builder setTransactionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionId_ = 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { 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. */ @java.lang.Override 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. */ @java.lang.Override 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(); /** *
     **
     * ID of transaction that is part of this request (if any).
     * If empty, the request is not part of any ongoing transaction.
     * 
* * string transactionId = 6; * @return The transactionId. */ java.lang.String getTransactionId(); /** *
     **
     * ID of transaction that is part of this request (if any).
     * If empty, the request is not part of any ongoing transaction.
     * 
* * string transactionId = 6; * @return The bytes for transactionId. */ com.google.protobuf.ByteString getTransactionIdBytes(); } /** *
   **
   * 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_ = ""; transactionId_ = ""; } @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; } case 50: { java.lang.String s = input.readStringRequireUtf8(); transactionId_ = 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_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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override public int getLimit() { return limit_; } public static final int TRANSACTIONID_FIELD_NUMBER = 6; private volatile java.lang.Object transactionId_; /** *
     **
     * ID of transaction that is part of this request (if any).
     * If empty, the request is not part of any ongoing transaction.
     * 
* * string transactionId = 6; * @return The transactionId. */ @java.lang.Override public java.lang.String getTransactionId() { java.lang.Object ref = transactionId_; 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(); transactionId_ = s; return s; } } /** *
     **
     * ID of transaction that is part of this request (if any).
     * If empty, the request is not part of any ongoing transaction.
     * 
* * string transactionId = 6; * @return The bytes for transactionId. */ @java.lang.Override public com.google.protobuf.ByteString getTransactionIdBytes() { java.lang.Object ref = transactionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionId_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(wildcardPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, wildcardPrefix_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(offset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, offset_); } if (limit_ != 0) { output.writeUInt32(5, limit_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, transactionId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(wildcardPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, wildcardPrefix_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(offset_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, offset_); } if (limit_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, limit_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, transactionId_); } 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 (!getTransactionId() .equals(other.getTransactionId())) 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 = (37 * hash) + TRANSACTIONID_FIELD_NUMBER; hash = (53 * hash) + getTransactionId().hashCode(); 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; transactionId_ = ""; 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_; result.transactionId_ = transactionId_; 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()); } if (!other.getTransactionId().isEmpty()) { transactionId_ = other.transactionId_; 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.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. */ @java.lang.Override 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; } private java.lang.Object transactionId_ = ""; /** *
       **
       * ID of transaction that is part of this request (if any).
       * If empty, the request is not part of any ongoing transaction.
       * 
* * string transactionId = 6; * @return The transactionId. */ public java.lang.String getTransactionId() { java.lang.Object ref = transactionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       **
       * ID of transaction that is part of this request (if any).
       * If empty, the request is not part of any ongoing transaction.
       * 
* * string transactionId = 6; * @return The bytes for transactionId. */ public com.google.protobuf.ByteString getTransactionIdBytes() { java.lang.Object ref = transactionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       **
       * ID of transaction that is part of this request (if any).
       * If empty, the request is not part of any ongoing transaction.
       * 
* * string transactionId = 6; * @param value The transactionId to set. * @return This builder for chaining. */ public Builder setTransactionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionId_ = value; onChanged(); return this; } /** *
       **
       * ID of transaction that is part of this request (if any).
       * If empty, the request is not part of any ongoing transaction.
       * 
* * string transactionId = 6; * @return This builder for chaining. */ public Builder clearTransactionId() { transactionId_ = getDefaultInstance().getTransactionId(); onChanged(); return this; } /** *
       **
       * ID of transaction that is part of this request (if any).
       * If empty, the request is not part of any ongoing transaction.
       * 
* * string transactionId = 6; * @param value The bytes for transactionId to set. * @return This builder for chaining. */ public Builder setTransactionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionId_ = 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: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 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attribute_)) { 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attribute_)) { 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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; */ @java.lang.Override public java.util.List getValueList() { return value_; } /** *
     **
     * All scanned values.
     * 
* * repeated .ListResponse.AttrValue value = 3; */ @java.lang.Override public java.util.List getValueOrBuilderList() { return value_; } /** *
     **
     * All scanned values.
     * 
* * repeated .ListResponse.AttrValue value = 3; */ @java.lang.Override public int getValueCount() { return value_.size(); } /** *
     **
     * All scanned values.
     * 
* * repeated .ListResponse.AttrValue value = 3; */ @java.lang.Override public cz.o2.proxima.proto.service.Rpc.ListResponse.AttrValue getValue(int index) { return value_.get(index); } /** *
     **
     * All scanned values.
     * 
* * repeated .ListResponse.AttrValue value = 3; */ @java.lang.Override 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { 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. */ @java.lang.Override 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 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 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; } } public interface KeyAttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:KeyAttribute) com.google.protobuf.MessageOrBuilder { /** *
     ** Name of entity. 
     * 
* * string entity = 1; * @return The entity. */ java.lang.String getEntity(); /** *
     ** Name of entity. 
     * 
* * string entity = 1; * @return The bytes for entity. */ com.google.protobuf.ByteString getEntityBytes(); /** *
     ** Key of entity. 
     * 
* * string key = 2; * @return The key. */ java.lang.String getKey(); /** *
     ** Key of entity. 
     * 
* * string key = 2; * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** *
     ** The attribute. 
     * 
* * string attribute = 3; * @return The attribute. */ java.lang.String getAttribute(); /** *
     ** The attribute. 
     * 
* * string attribute = 3; * @return The bytes for attribute. */ com.google.protobuf.ByteString getAttributeBytes(); } /** *
   **
   * A message describing entity-key-attribute without actual data.
   * Transactions use this information to properly route requests to transaction managers
   * that are able to ensure the required isolation level.
   * 
* * Protobuf type {@code KeyAttribute} */ public static final class KeyAttribute extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:KeyAttribute) KeyAttributeOrBuilder { private static final long serialVersionUID = 0L; // Use KeyAttribute.newBuilder() to construct. private KeyAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private KeyAttribute() { entity_ = ""; key_ = ""; attribute_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new KeyAttribute(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private KeyAttribute( 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_KeyAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.o2.proxima.proto.service.Rpc.internal_static_KeyAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.o2.proxima.proto.service.Rpc.KeyAttribute.class, cz.o2.proxima.proto.service.Rpc.KeyAttribute.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; private volatile java.lang.Object entity_; /** *
     ** Name of entity. 
     * 
* * string entity = 1; * @return The entity. */ @java.lang.Override 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 entity. 
     * 
* * string entity = 1; * @return The bytes for entity. */ @java.lang.Override 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 entity. 
     * 
* * string key = 2; * @return The key. */ @java.lang.Override 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 entity. 
     * 
* * string key = 2; * @return The bytes for key. */ @java.lang.Override 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_; /** *
     ** The attribute. 
     * 
* * string attribute = 3; * @return The attribute. */ @java.lang.Override 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 attribute. 
     * 
* * string attribute = 3; * @return The bytes for attribute. */ @java.lang.Override 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attribute_)) { 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entity_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attribute_)) { 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.KeyAttribute)) { return super.equals(obj); } cz.o2.proxima.proto.service.Rpc.KeyAttribute other = (cz.o2.proxima.proto.service.Rpc.KeyAttribute) 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.KeyAttribute parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.KeyAttribute 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.KeyAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.KeyAttribute 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.KeyAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.KeyAttribute 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.KeyAttribute 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.KeyAttribute 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.KeyAttribute 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.KeyAttribute 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.KeyAttribute 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.KeyAttribute 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.KeyAttribute 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; } /** *
     **
     * A message describing entity-key-attribute without actual data.
     * Transactions use this information to properly route requests to transaction managers
     * that are able to ensure the required isolation level.
     * 
* * Protobuf type {@code KeyAttribute} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:KeyAttribute) cz.o2.proxima.proto.service.Rpc.KeyAttributeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.o2.proxima.proto.service.Rpc.internal_static_KeyAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.o2.proxima.proto.service.Rpc.internal_static_KeyAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.o2.proxima.proto.service.Rpc.KeyAttribute.class, cz.o2.proxima.proto.service.Rpc.KeyAttribute.Builder.class); } // Construct using cz.o2.proxima.proto.service.Rpc.KeyAttribute.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_KeyAttribute_descriptor; } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.KeyAttribute getDefaultInstanceForType() { return cz.o2.proxima.proto.service.Rpc.KeyAttribute.getDefaultInstance(); } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.KeyAttribute build() { cz.o2.proxima.proto.service.Rpc.KeyAttribute result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.KeyAttribute buildPartial() { cz.o2.proxima.proto.service.Rpc.KeyAttribute result = new cz.o2.proxima.proto.service.Rpc.KeyAttribute(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.KeyAttribute) { return mergeFrom((cz.o2.proxima.proto.service.Rpc.KeyAttribute)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.KeyAttribute other) { if (other == cz.o2.proxima.proto.service.Rpc.KeyAttribute.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.KeyAttribute parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.o2.proxima.proto.service.Rpc.KeyAttribute) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object entity_ = ""; /** *
       ** Name of 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 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 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 entity. 
       * 
* * string entity = 1; * @return This builder for chaining. */ public Builder clearEntity() { entity_ = getDefaultInstance().getEntity(); onChanged(); return this; } /** *
       ** Name of 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 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 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 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 entity. 
       * 
* * string key = 2; * @return This builder for chaining. */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** *
       ** Key of 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_ = ""; /** *
       ** 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; } } /** *
       ** 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; } } /** *
       ** 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; } /** *
       ** The attribute. 
       * 
* * string attribute = 3; * @return This builder for chaining. */ public Builder clearAttribute() { attribute_ = getDefaultInstance().getAttribute(); onChanged(); return this; } /** *
       ** 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:KeyAttribute) } // @@protoc_insertion_point(class_scope:KeyAttribute) private static final cz.o2.proxima.proto.service.Rpc.KeyAttribute DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.KeyAttribute(); } public static cz.o2.proxima.proto.service.Rpc.KeyAttribute getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public KeyAttribute parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new KeyAttribute(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.KeyAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BeginTransactionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:BeginTransactionRequest) com.google.protobuf.MessageOrBuilder { /** *
     **
     * A list of entity-key-attributes that will be involved during the transaction.
     * The list will be automatically updated as new requests with the same transaction ID
     * arrive, but at least the outputs need to be known in advance.
     * 
     * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
     * 
* * repeated .KeyAttribute attributesInvolved = 1; */ java.util.List getAttributesInvolvedList(); /** *
     **
     * A list of entity-key-attributes that will be involved during the transaction.
     * The list will be automatically updated as new requests with the same transaction ID
     * arrive, but at least the outputs need to be known in advance.
     * 
     * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
     * 
* * repeated .KeyAttribute attributesInvolved = 1; */ cz.o2.proxima.proto.service.Rpc.KeyAttribute getAttributesInvolved(int index); /** *
     **
     * A list of entity-key-attributes that will be involved during the transaction.
     * The list will be automatically updated as new requests with the same transaction ID
     * arrive, but at least the outputs need to be known in advance.
     * 
     * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
     * 
* * repeated .KeyAttribute attributesInvolved = 1; */ int getAttributesInvolvedCount(); /** *
     **
     * A list of entity-key-attributes that will be involved during the transaction.
     * The list will be automatically updated as new requests with the same transaction ID
     * arrive, but at least the outputs need to be known in advance.
     * 
     * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
     * 
* * repeated .KeyAttribute attributesInvolved = 1; */ java.util.List getAttributesInvolvedOrBuilderList(); /** *
     **
     * A list of entity-key-attributes that will be involved during the transaction.
     * The list will be automatically updated as new requests with the same transaction ID
     * arrive, but at least the outputs need to be known in advance.
     * 
     * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
     * 
* * repeated .KeyAttribute attributesInvolved = 1; */ cz.o2.proxima.proto.service.Rpc.KeyAttributeOrBuilder getAttributesInvolvedOrBuilder( int index); /** *
     ** An optional transaction ID. When omitted a new transaction ID will be generated. 
     * 
* * string transcationId = 2; * @return The transcationId. */ java.lang.String getTranscationId(); /** *
     ** An optional transaction ID. When omitted a new transaction ID will be generated. 
     * 
* * string transcationId = 2; * @return The bytes for transcationId. */ com.google.protobuf.ByteString getTranscationIdBytes(); } /** * Protobuf type {@code BeginTransactionRequest} */ public static final class BeginTransactionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:BeginTransactionRequest) BeginTransactionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use BeginTransactionRequest.newBuilder() to construct. private BeginTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BeginTransactionRequest() { attributesInvolved_ = java.util.Collections.emptyList(); transcationId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BeginTransactionRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BeginTransactionRequest( 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)) { attributesInvolved_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } attributesInvolved_.add( input.readMessage(cz.o2.proxima.proto.service.Rpc.KeyAttribute.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); transcationId_ = 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { attributesInvolved_ = java.util.Collections.unmodifiableList(attributesInvolved_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.o2.proxima.proto.service.Rpc.internal_static_BeginTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.o2.proxima.proto.service.Rpc.internal_static_BeginTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest.class, cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest.Builder.class); } public static final int ATTRIBUTESINVOLVED_FIELD_NUMBER = 1; private java.util.List attributesInvolved_; /** *
     **
     * A list of entity-key-attributes that will be involved during the transaction.
     * The list will be automatically updated as new requests with the same transaction ID
     * arrive, but at least the outputs need to be known in advance.
     * 
     * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
     * 
* * repeated .KeyAttribute attributesInvolved = 1; */ @java.lang.Override public java.util.List getAttributesInvolvedList() { return attributesInvolved_; } /** *
     **
     * A list of entity-key-attributes that will be involved during the transaction.
     * The list will be automatically updated as new requests with the same transaction ID
     * arrive, but at least the outputs need to be known in advance.
     * 
     * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
     * 
* * repeated .KeyAttribute attributesInvolved = 1; */ @java.lang.Override public java.util.List getAttributesInvolvedOrBuilderList() { return attributesInvolved_; } /** *
     **
     * A list of entity-key-attributes that will be involved during the transaction.
     * The list will be automatically updated as new requests with the same transaction ID
     * arrive, but at least the outputs need to be known in advance.
     * 
     * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
     * 
* * repeated .KeyAttribute attributesInvolved = 1; */ @java.lang.Override public int getAttributesInvolvedCount() { return attributesInvolved_.size(); } /** *
     **
     * A list of entity-key-attributes that will be involved during the transaction.
     * The list will be automatically updated as new requests with the same transaction ID
     * arrive, but at least the outputs need to be known in advance.
     * 
     * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
     * 
* * repeated .KeyAttribute attributesInvolved = 1; */ @java.lang.Override public cz.o2.proxima.proto.service.Rpc.KeyAttribute getAttributesInvolved(int index) { return attributesInvolved_.get(index); } /** *
     **
     * A list of entity-key-attributes that will be involved during the transaction.
     * The list will be automatically updated as new requests with the same transaction ID
     * arrive, but at least the outputs need to be known in advance.
     * 
     * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
     * 
* * repeated .KeyAttribute attributesInvolved = 1; */ @java.lang.Override public cz.o2.proxima.proto.service.Rpc.KeyAttributeOrBuilder getAttributesInvolvedOrBuilder( int index) { return attributesInvolved_.get(index); } public static final int TRANSCATIONID_FIELD_NUMBER = 2; private volatile java.lang.Object transcationId_; /** *
     ** An optional transaction ID. When omitted a new transaction ID will be generated. 
     * 
* * string transcationId = 2; * @return The transcationId. */ @java.lang.Override public java.lang.String getTranscationId() { java.lang.Object ref = transcationId_; 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(); transcationId_ = s; return s; } } /** *
     ** An optional transaction ID. When omitted a new transaction ID will be generated. 
     * 
* * string transcationId = 2; * @return The bytes for transcationId. */ @java.lang.Override public com.google.protobuf.ByteString getTranscationIdBytes() { java.lang.Object ref = transcationId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transcationId_ = 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 { for (int i = 0; i < attributesInvolved_.size(); i++) { output.writeMessage(1, attributesInvolved_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transcationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, transcationId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < attributesInvolved_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, attributesInvolved_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transcationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, transcationId_); } 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.BeginTransactionRequest)) { return super.equals(obj); } cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest other = (cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest) obj; if (!getAttributesInvolvedList() .equals(other.getAttributesInvolvedList())) return false; if (!getTranscationId() .equals(other.getTranscationId())) 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 (getAttributesInvolvedCount() > 0) { hash = (37 * hash) + ATTRIBUTESINVOLVED_FIELD_NUMBER; hash = (53 * hash) + getAttributesInvolvedList().hashCode(); } hash = (37 * hash) + TRANSCATIONID_FIELD_NUMBER; hash = (53 * hash) + getTranscationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest 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.BeginTransactionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest 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.BeginTransactionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest 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.BeginTransactionRequest 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.BeginTransactionRequest 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.BeginTransactionRequest 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.BeginTransactionRequest 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.BeginTransactionRequest 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.BeginTransactionRequest 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.BeginTransactionRequest 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; } /** * Protobuf type {@code BeginTransactionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:BeginTransactionRequest) cz.o2.proxima.proto.service.Rpc.BeginTransactionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.o2.proxima.proto.service.Rpc.internal_static_BeginTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.o2.proxima.proto.service.Rpc.internal_static_BeginTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest.class, cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest.Builder.class); } // Construct using cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAttributesInvolvedFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (attributesInvolvedBuilder_ == null) { attributesInvolved_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { attributesInvolvedBuilder_.clear(); } transcationId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.o2.proxima.proto.service.Rpc.internal_static_BeginTransactionRequest_descriptor; } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest getDefaultInstanceForType() { return cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest.getDefaultInstance(); } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest build() { cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest buildPartial() { cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest result = new cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest(this); int from_bitField0_ = bitField0_; if (attributesInvolvedBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { attributesInvolved_ = java.util.Collections.unmodifiableList(attributesInvolved_); bitField0_ = (bitField0_ & ~0x00000001); } result.attributesInvolved_ = attributesInvolved_; } else { result.attributesInvolved_ = attributesInvolvedBuilder_.build(); } result.transcationId_ = transcationId_; 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.BeginTransactionRequest) { return mergeFrom((cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest other) { if (other == cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest.getDefaultInstance()) return this; if (attributesInvolvedBuilder_ == null) { if (!other.attributesInvolved_.isEmpty()) { if (attributesInvolved_.isEmpty()) { attributesInvolved_ = other.attributesInvolved_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAttributesInvolvedIsMutable(); attributesInvolved_.addAll(other.attributesInvolved_); } onChanged(); } } else { if (!other.attributesInvolved_.isEmpty()) { if (attributesInvolvedBuilder_.isEmpty()) { attributesInvolvedBuilder_.dispose(); attributesInvolvedBuilder_ = null; attributesInvolved_ = other.attributesInvolved_; bitField0_ = (bitField0_ & ~0x00000001); attributesInvolvedBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAttributesInvolvedFieldBuilder() : null; } else { attributesInvolvedBuilder_.addAllMessages(other.attributesInvolved_); } } } if (!other.getTranscationId().isEmpty()) { transcationId_ = other.transcationId_; 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.BeginTransactionRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List attributesInvolved_ = java.util.Collections.emptyList(); private void ensureAttributesInvolvedIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { attributesInvolved_ = new java.util.ArrayList(attributesInvolved_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.o2.proxima.proto.service.Rpc.KeyAttribute, cz.o2.proxima.proto.service.Rpc.KeyAttribute.Builder, cz.o2.proxima.proto.service.Rpc.KeyAttributeOrBuilder> attributesInvolvedBuilder_; /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public java.util.List getAttributesInvolvedList() { if (attributesInvolvedBuilder_ == null) { return java.util.Collections.unmodifiableList(attributesInvolved_); } else { return attributesInvolvedBuilder_.getMessageList(); } } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public int getAttributesInvolvedCount() { if (attributesInvolvedBuilder_ == null) { return attributesInvolved_.size(); } else { return attributesInvolvedBuilder_.getCount(); } } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public cz.o2.proxima.proto.service.Rpc.KeyAttribute getAttributesInvolved(int index) { if (attributesInvolvedBuilder_ == null) { return attributesInvolved_.get(index); } else { return attributesInvolvedBuilder_.getMessage(index); } } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public Builder setAttributesInvolved( int index, cz.o2.proxima.proto.service.Rpc.KeyAttribute value) { if (attributesInvolvedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesInvolvedIsMutable(); attributesInvolved_.set(index, value); onChanged(); } else { attributesInvolvedBuilder_.setMessage(index, value); } return this; } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public Builder setAttributesInvolved( int index, cz.o2.proxima.proto.service.Rpc.KeyAttribute.Builder builderForValue) { if (attributesInvolvedBuilder_ == null) { ensureAttributesInvolvedIsMutable(); attributesInvolved_.set(index, builderForValue.build()); onChanged(); } else { attributesInvolvedBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public Builder addAttributesInvolved(cz.o2.proxima.proto.service.Rpc.KeyAttribute value) { if (attributesInvolvedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesInvolvedIsMutable(); attributesInvolved_.add(value); onChanged(); } else { attributesInvolvedBuilder_.addMessage(value); } return this; } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public Builder addAttributesInvolved( int index, cz.o2.proxima.proto.service.Rpc.KeyAttribute value) { if (attributesInvolvedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesInvolvedIsMutable(); attributesInvolved_.add(index, value); onChanged(); } else { attributesInvolvedBuilder_.addMessage(index, value); } return this; } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public Builder addAttributesInvolved( cz.o2.proxima.proto.service.Rpc.KeyAttribute.Builder builderForValue) { if (attributesInvolvedBuilder_ == null) { ensureAttributesInvolvedIsMutable(); attributesInvolved_.add(builderForValue.build()); onChanged(); } else { attributesInvolvedBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public Builder addAttributesInvolved( int index, cz.o2.proxima.proto.service.Rpc.KeyAttribute.Builder builderForValue) { if (attributesInvolvedBuilder_ == null) { ensureAttributesInvolvedIsMutable(); attributesInvolved_.add(index, builderForValue.build()); onChanged(); } else { attributesInvolvedBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public Builder addAllAttributesInvolved( java.lang.Iterable values) { if (attributesInvolvedBuilder_ == null) { ensureAttributesInvolvedIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, attributesInvolved_); onChanged(); } else { attributesInvolvedBuilder_.addAllMessages(values); } return this; } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public Builder clearAttributesInvolved() { if (attributesInvolvedBuilder_ == null) { attributesInvolved_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { attributesInvolvedBuilder_.clear(); } return this; } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public Builder removeAttributesInvolved(int index) { if (attributesInvolvedBuilder_ == null) { ensureAttributesInvolvedIsMutable(); attributesInvolved_.remove(index); onChanged(); } else { attributesInvolvedBuilder_.remove(index); } return this; } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public cz.o2.proxima.proto.service.Rpc.KeyAttribute.Builder getAttributesInvolvedBuilder( int index) { return getAttributesInvolvedFieldBuilder().getBuilder(index); } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public cz.o2.proxima.proto.service.Rpc.KeyAttributeOrBuilder getAttributesInvolvedOrBuilder( int index) { if (attributesInvolvedBuilder_ == null) { return attributesInvolved_.get(index); } else { return attributesInvolvedBuilder_.getMessageOrBuilder(index); } } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public java.util.List getAttributesInvolvedOrBuilderList() { if (attributesInvolvedBuilder_ != null) { return attributesInvolvedBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(attributesInvolved_); } } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public cz.o2.proxima.proto.service.Rpc.KeyAttribute.Builder addAttributesInvolvedBuilder() { return getAttributesInvolvedFieldBuilder().addBuilder( cz.o2.proxima.proto.service.Rpc.KeyAttribute.getDefaultInstance()); } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public cz.o2.proxima.proto.service.Rpc.KeyAttribute.Builder addAttributesInvolvedBuilder( int index) { return getAttributesInvolvedFieldBuilder().addBuilder( index, cz.o2.proxima.proto.service.Rpc.KeyAttribute.getDefaultInstance()); } /** *
       **
       * A list of entity-key-attributes that will be involved during the transaction.
       * The list will be automatically updated as new requests with the same transaction ID
       * arrive, but at least the outputs need to be known in advance.
       * 
       * An empty list will create a GLOBAL transaction, with resulting scalability concerns.
       * 
* * repeated .KeyAttribute attributesInvolved = 1; */ public java.util.List getAttributesInvolvedBuilderList() { return getAttributesInvolvedFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.o2.proxima.proto.service.Rpc.KeyAttribute, cz.o2.proxima.proto.service.Rpc.KeyAttribute.Builder, cz.o2.proxima.proto.service.Rpc.KeyAttributeOrBuilder> getAttributesInvolvedFieldBuilder() { if (attributesInvolvedBuilder_ == null) { attributesInvolvedBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.o2.proxima.proto.service.Rpc.KeyAttribute, cz.o2.proxima.proto.service.Rpc.KeyAttribute.Builder, cz.o2.proxima.proto.service.Rpc.KeyAttributeOrBuilder>( attributesInvolved_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); attributesInvolved_ = null; } return attributesInvolvedBuilder_; } private java.lang.Object transcationId_ = ""; /** *
       ** An optional transaction ID. When omitted a new transaction ID will be generated. 
       * 
* * string transcationId = 2; * @return The transcationId. */ public java.lang.String getTranscationId() { java.lang.Object ref = transcationId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transcationId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       ** An optional transaction ID. When omitted a new transaction ID will be generated. 
       * 
* * string transcationId = 2; * @return The bytes for transcationId. */ public com.google.protobuf.ByteString getTranscationIdBytes() { java.lang.Object ref = transcationId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transcationId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       ** An optional transaction ID. When omitted a new transaction ID will be generated. 
       * 
* * string transcationId = 2; * @param value The transcationId to set. * @return This builder for chaining. */ public Builder setTranscationId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transcationId_ = value; onChanged(); return this; } /** *
       ** An optional transaction ID. When omitted a new transaction ID will be generated. 
       * 
* * string transcationId = 2; * @return This builder for chaining. */ public Builder clearTranscationId() { transcationId_ = getDefaultInstance().getTranscationId(); onChanged(); return this; } /** *
       ** An optional transaction ID. When omitted a new transaction ID will be generated. 
       * 
* * string transcationId = 2; * @param value The bytes for transcationId to set. * @return This builder for chaining. */ public Builder setTranscationIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transcationId_ = 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:BeginTransactionRequest) } // @@protoc_insertion_point(class_scope:BeginTransactionRequest) private static final cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest(); } public static cz.o2.proxima.proto.service.Rpc.BeginTransactionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BeginTransactionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BeginTransactionRequest(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.BeginTransactionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BeginTransactionResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:BeginTransactionResponse) com.google.protobuf.MessageOrBuilder { /** *
     ** ID associated to the transcation. 
     * 
* * string transactionId = 1; * @return The transactionId. */ java.lang.String getTransactionId(); /** *
     ** ID associated to the transcation. 
     * 
* * string transactionId = 1; * @return The bytes for transactionId. */ com.google.protobuf.ByteString getTransactionIdBytes(); } /** * Protobuf type {@code BeginTransactionResponse} */ public static final class BeginTransactionResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:BeginTransactionResponse) BeginTransactionResponseOrBuilder { private static final long serialVersionUID = 0L; // Use BeginTransactionResponse.newBuilder() to construct. private BeginTransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BeginTransactionResponse() { transactionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BeginTransactionResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BeginTransactionResponse( 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(); transactionId_ = 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_BeginTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.o2.proxima.proto.service.Rpc.internal_static_BeginTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse.class, cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse.Builder.class); } public static final int TRANSACTIONID_FIELD_NUMBER = 1; private volatile java.lang.Object transactionId_; /** *
     ** ID associated to the transcation. 
     * 
* * string transactionId = 1; * @return The transactionId. */ @java.lang.Override public java.lang.String getTransactionId() { java.lang.Object ref = transactionId_; 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(); transactionId_ = s; return s; } } /** *
     ** ID associated to the transcation. 
     * 
* * string transactionId = 1; * @return The bytes for transactionId. */ @java.lang.Override public com.google.protobuf.ByteString getTransactionIdBytes() { java.lang.Object ref = transactionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionId_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transactionId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transactionId_); } 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.BeginTransactionResponse)) { return super.equals(obj); } cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse other = (cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse) obj; if (!getTransactionId() .equals(other.getTransactionId())) 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) + TRANSACTIONID_FIELD_NUMBER; hash = (53 * hash) + getTransactionId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse 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.BeginTransactionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse 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.BeginTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse 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.BeginTransactionResponse 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.BeginTransactionResponse 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.BeginTransactionResponse 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.BeginTransactionResponse 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.BeginTransactionResponse 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.BeginTransactionResponse 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.BeginTransactionResponse 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; } /** * Protobuf type {@code BeginTransactionResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:BeginTransactionResponse) cz.o2.proxima.proto.service.Rpc.BeginTransactionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.o2.proxima.proto.service.Rpc.internal_static_BeginTransactionResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.o2.proxima.proto.service.Rpc.internal_static_BeginTransactionResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse.class, cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse.Builder.class); } // Construct using cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse.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(); transactionId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.o2.proxima.proto.service.Rpc.internal_static_BeginTransactionResponse_descriptor; } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse getDefaultInstanceForType() { return cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse.getDefaultInstance(); } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse build() { cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse buildPartial() { cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse result = new cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse(this); result.transactionId_ = transactionId_; 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.BeginTransactionResponse) { return mergeFrom((cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse other) { if (other == cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse.getDefaultInstance()) return this; if (!other.getTransactionId().isEmpty()) { transactionId_ = other.transactionId_; 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.BeginTransactionResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object transactionId_ = ""; /** *
       ** ID associated to the transcation. 
       * 
* * string transactionId = 1; * @return The transactionId. */ public java.lang.String getTransactionId() { java.lang.Object ref = transactionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       ** ID associated to the transcation. 
       * 
* * string transactionId = 1; * @return The bytes for transactionId. */ public com.google.protobuf.ByteString getTransactionIdBytes() { java.lang.Object ref = transactionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       ** ID associated to the transcation. 
       * 
* * string transactionId = 1; * @param value The transactionId to set. * @return This builder for chaining. */ public Builder setTransactionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionId_ = value; onChanged(); return this; } /** *
       ** ID associated to the transcation. 
       * 
* * string transactionId = 1; * @return This builder for chaining. */ public Builder clearTransactionId() { transactionId_ = getDefaultInstance().getTransactionId(); onChanged(); return this; } /** *
       ** ID associated to the transcation. 
       * 
* * string transactionId = 1; * @param value The bytes for transactionId to set. * @return This builder for chaining. */ public Builder setTransactionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionId_ = 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:BeginTransactionResponse) } // @@protoc_insertion_point(class_scope:BeginTransactionResponse) private static final cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse(); } public static cz.o2.proxima.proto.service.Rpc.BeginTransactionResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BeginTransactionResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BeginTransactionResponse(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.BeginTransactionResponse 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_TransactionCommitRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_TransactionCommitRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_TransactionCommitResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_TransactionCommitResponse_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; private static final com.google.protobuf.Descriptors.Descriptor internal_static_KeyAttribute_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_KeyAttribute_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_BeginTransactionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BeginTransactionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_BeginTransactionResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BeginTransactionResponse_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\"\213\001\n\006Ingest\022\014\n\004uuid\030\001 \001(\t\022\016\n\006" + "entity\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\006de" + "lete\030\006 \001(\010\022\025\n\rtransactionId\030\010 \001(\t\"=\n\006Sta" + "tus\022\014\n\004uuid\030\001 \001(\t\022\016\n\006status\030\002 \001(\r\022\025\n\rsta" + "tusMessage\030\003 \001(\t\"%\n\nIngestBulk\022\027\n\006ingest" + "\030\001 \003(\0132\007.Ingest\"%\n\nStatusBulk\022\027\n\006status\030" + "\001 \003(\0132\007.Status\"1\n\030TransactionCommitReque" + "st\022\025\n\rtransactionId\030\001 \001(\t\"\216\001\n\031Transactio" + "nCommitResponse\0221\n\006status\030\001 \001(\0162!.Transa" + "ctionCommitResponse.Status\">\n\006Status\022\013\n\007" + "UNKNOWN\020\000\022\r\n\tCOMMITTED\020\001\022\014\n\010REJECTED\020\002\022\n" + "\n\006FAILED\020\003\"S\n\nGetRequest\022\016\n\006entity\030\001 \001(\t" + "\022\013\n\003key\030\002 \001(\t\022\021\n\tattribute\030\003 \001(\t\022\025\n\rtran" + "sactionId\030\004 \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\"x\n\013ListRequest\022\016\n\006entity\030\001 \001(\t\022\013\n\003k" + "ey\030\002 \001(\t\022\026\n\016wildcardPrefix\030\003 \001(\t\022\016\n\006offs" + "et\030\004 \001(\t\022\r\n\005limit\030\005 \001(\r\022\025\n\rtransactionId" + "\030\006 \001(\t\"\214\001\n\014ListResponse\022\016\n\006status\030\001 \001(\r\022" + "\025\n\rstatusMessage\030\002 \001(\t\022&\n\005value\030\003 \003(\0132\027." + "ListResponse.AttrValue\032-\n\tAttrValue\022\021\n\ta" + "ttribute\030\001 \001(\t\022\r\n\005value\030\002 \001(\014\">\n\014KeyAttr" + "ibute\022\016\n\006entity\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\022\021\n\tat" + "tribute\030\003 \001(\t\"[\n\027BeginTransactionRequest" + "\022)\n\022attributesInvolved\030\001 \003(\0132\r.KeyAttrib" + "ute\022\025\n\rtranscationId\030\002 \001(\t\"1\n\030BeginTrans" + "actionResponse\022\025\n\rtransactionId\030\001 \001(\t2\276\001" + "\n\rIngestService\022*\n\ningestBulk\022\013.IngestBu" + "lk\032\013.StatusBulk(\0010\001\022$\n\014ingestSingle\022\007.In" + "gest\032\007.Status(\0010\001\022\032\n\006ingest\022\007.Ingest\032\007.S" + "tatus\022?\n\006commit\022\031.TransactionCommitReque" + "st\032\032.TransactionCommitResponse2\240\001\n\017Retri" + "eveService\022 \n\003get\022\013.GetRequest\032\014.GetResp" + "onse\022-\n\016listAttributes\022\014.ListRequest\032\r.L" + "istResponse\022<\n\005begin\022\030.BeginTransactionR" + "equest\032\031.BeginTransactionResponseB%\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", "TransactionId", }); 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_TransactionCommitRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_TransactionCommitRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_TransactionCommitRequest_descriptor, new java.lang.String[] { "TransactionId", }); internal_static_TransactionCommitResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_TransactionCommitResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_TransactionCommitResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_GetRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_GetRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_GetRequest_descriptor, new java.lang.String[] { "Entity", "Key", "Attribute", "TransactionId", }); internal_static_GetResponse_descriptor = getDescriptor().getMessageTypes().get(7); 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(8); internal_static_ListRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ListRequest_descriptor, new java.lang.String[] { "Entity", "Key", "WildcardPrefix", "Offset", "Limit", "TransactionId", }); internal_static_ListResponse_descriptor = getDescriptor().getMessageTypes().get(9); 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", }); internal_static_KeyAttribute_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_KeyAttribute_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_KeyAttribute_descriptor, new java.lang.String[] { "Entity", "Key", "Attribute", }); internal_static_BeginTransactionRequest_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_BeginTransactionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BeginTransactionRequest_descriptor, new java.lang.String[] { "AttributesInvolved", "TranscationId", }); internal_static_BeginTransactionResponse_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_BeginTransactionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BeginTransactionResponse_descriptor, new java.lang.String[] { "TransactionId", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy