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

deadlock.DeadlockOuterClass Maven / Gradle / Ivy

There is a newer version: 3.2.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: deadlock.proto

package deadlock;

public final class DeadlockOuterClass {
  private DeadlockOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code deadlock.DeadlockRequestType}
   */
  public enum DeadlockRequestType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * Detect = 0;
     */
    Detect(0),
    /**
     * 
     * CleanUpWaitFor cleans a single entry the transaction is waiting.
     * 
* * CleanUpWaitFor = 1; */ CleanUpWaitFor(1), /** *
     * CleanUp cleans all entries the transaction is waiting.
     * 
* * CleanUp = 2; */ CleanUp(2), UNRECOGNIZED(-1), ; /** * Detect = 0; */ public static final int Detect_VALUE = 0; /** *
     * CleanUpWaitFor cleans a single entry the transaction is waiting.
     * 
* * CleanUpWaitFor = 1; */ public static final int CleanUpWaitFor_VALUE = 1; /** *
     * CleanUp cleans all entries the transaction is waiting.
     * 
* * CleanUp = 2; */ public static final int CleanUp_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DeadlockRequestType valueOf(int value) { return forNumber(value); } public static DeadlockRequestType forNumber(int value) { switch (value) { case 0: return Detect; case 1: return CleanUpWaitFor; case 2: return CleanUp; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< DeadlockRequestType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public DeadlockRequestType findValueByNumber(int number) { return DeadlockRequestType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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 deadlock.DeadlockOuterClass.getDescriptor().getEnumTypes().get(0); } private static final DeadlockRequestType[] VALUES = values(); public static DeadlockRequestType 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 DeadlockRequestType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:deadlock.DeadlockRequestType) } public interface WaitForEntriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:deadlock.WaitForEntriesRequest) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code deadlock.WaitForEntriesRequest} */ public static final class WaitForEntriesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:deadlock.WaitForEntriesRequest) WaitForEntriesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use WaitForEntriesRequest.newBuilder() to construct. private WaitForEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WaitForEntriesRequest() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WaitForEntriesRequest( 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; default: { if (!parseUnknownFieldProto3( 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 deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntriesRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( deadlock.DeadlockOuterClass.WaitForEntriesRequest.class, deadlock.DeadlockOuterClass.WaitForEntriesRequest.Builder.class); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 deadlock.DeadlockOuterClass.WaitForEntriesRequest)) { return super.equals(obj); } deadlock.DeadlockOuterClass.WaitForEntriesRequest other = (deadlock.DeadlockOuterClass.WaitForEntriesRequest) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static deadlock.DeadlockOuterClass.WaitForEntriesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.WaitForEntriesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.WaitForEntriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.WaitForEntriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.WaitForEntriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.WaitForEntriesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.WaitForEntriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.WaitForEntriesRequest 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 deadlock.DeadlockOuterClass.WaitForEntriesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.WaitForEntriesRequest 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 deadlock.DeadlockOuterClass.WaitForEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.WaitForEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(deadlock.DeadlockOuterClass.WaitForEntriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 deadlock.WaitForEntriesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:deadlock.WaitForEntriesRequest) deadlock.DeadlockOuterClass.WaitForEntriesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntriesRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( deadlock.DeadlockOuterClass.WaitForEntriesRequest.class, deadlock.DeadlockOuterClass.WaitForEntriesRequest.Builder.class); } // Construct using deadlock.DeadlockOuterClass.WaitForEntriesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntriesRequest_descriptor; } public deadlock.DeadlockOuterClass.WaitForEntriesRequest getDefaultInstanceForType() { return deadlock.DeadlockOuterClass.WaitForEntriesRequest.getDefaultInstance(); } public deadlock.DeadlockOuterClass.WaitForEntriesRequest build() { deadlock.DeadlockOuterClass.WaitForEntriesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public deadlock.DeadlockOuterClass.WaitForEntriesRequest buildPartial() { deadlock.DeadlockOuterClass.WaitForEntriesRequest result = new deadlock.DeadlockOuterClass.WaitForEntriesRequest(this); onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof deadlock.DeadlockOuterClass.WaitForEntriesRequest) { return mergeFrom((deadlock.DeadlockOuterClass.WaitForEntriesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(deadlock.DeadlockOuterClass.WaitForEntriesRequest other) { if (other == deadlock.DeadlockOuterClass.WaitForEntriesRequest.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { deadlock.DeadlockOuterClass.WaitForEntriesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (deadlock.DeadlockOuterClass.WaitForEntriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:deadlock.WaitForEntriesRequest) } // @@protoc_insertion_point(class_scope:deadlock.WaitForEntriesRequest) private static final deadlock.DeadlockOuterClass.WaitForEntriesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new deadlock.DeadlockOuterClass.WaitForEntriesRequest(); } public static deadlock.DeadlockOuterClass.WaitForEntriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public WaitForEntriesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new WaitForEntriesRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public deadlock.DeadlockOuterClass.WaitForEntriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WaitForEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:deadlock.WaitForEntriesResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ java.util.List getEntriesList(); /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ deadlock.DeadlockOuterClass.WaitForEntry getEntries(int index); /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ int getEntriesCount(); /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ java.util.List getEntriesOrBuilderList(); /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ deadlock.DeadlockOuterClass.WaitForEntryOrBuilder getEntriesOrBuilder( int index); } /** * Protobuf type {@code deadlock.WaitForEntriesResponse} */ public static final class WaitForEntriesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:deadlock.WaitForEntriesResponse) WaitForEntriesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use WaitForEntriesResponse.newBuilder() to construct. private WaitForEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WaitForEntriesResponse() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WaitForEntriesResponse( 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; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { entries_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } entries_.add( input.readMessage(deadlock.DeadlockOuterClass.WaitForEntry.parser(), extensionRegistry)); 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) == 0x00000001)) { entries_ = java.util.Collections.unmodifiableList(entries_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntriesResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( deadlock.DeadlockOuterClass.WaitForEntriesResponse.class, deadlock.DeadlockOuterClass.WaitForEntriesResponse.Builder.class); } public static final int ENTRIES_FIELD_NUMBER = 1; private java.util.List entries_; /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getEntriesList() { return entries_; } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getEntriesOrBuilderList() { return entries_; } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public int getEntriesCount() { return entries_.size(); } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntry getEntries(int index) { return entries_.get(index); } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntryOrBuilder getEntriesOrBuilder( int index) { return entries_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < entries_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, entries_.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 deadlock.DeadlockOuterClass.WaitForEntriesResponse)) { return super.equals(obj); } deadlock.DeadlockOuterClass.WaitForEntriesResponse other = (deadlock.DeadlockOuterClass.WaitForEntriesResponse) obj; boolean result = true; result = result && getEntriesList() .equals(other.getEntriesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getEntriesCount() > 0) { hash = (37 * hash) + ENTRIES_FIELD_NUMBER; hash = (53 * hash) + getEntriesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static deadlock.DeadlockOuterClass.WaitForEntriesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.WaitForEntriesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.WaitForEntriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.WaitForEntriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.WaitForEntriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.WaitForEntriesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.WaitForEntriesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.WaitForEntriesResponse 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 deadlock.DeadlockOuterClass.WaitForEntriesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.WaitForEntriesResponse 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 deadlock.DeadlockOuterClass.WaitForEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.WaitForEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(deadlock.DeadlockOuterClass.WaitForEntriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 deadlock.WaitForEntriesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:deadlock.WaitForEntriesResponse) deadlock.DeadlockOuterClass.WaitForEntriesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntriesResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( deadlock.DeadlockOuterClass.WaitForEntriesResponse.class, deadlock.DeadlockOuterClass.WaitForEntriesResponse.Builder.class); } // Construct using deadlock.DeadlockOuterClass.WaitForEntriesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getEntriesFieldBuilder(); } } public Builder clear() { super.clear(); if (entriesBuilder_ == null) { entries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { entriesBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntriesResponse_descriptor; } public deadlock.DeadlockOuterClass.WaitForEntriesResponse getDefaultInstanceForType() { return deadlock.DeadlockOuterClass.WaitForEntriesResponse.getDefaultInstance(); } public deadlock.DeadlockOuterClass.WaitForEntriesResponse build() { deadlock.DeadlockOuterClass.WaitForEntriesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public deadlock.DeadlockOuterClass.WaitForEntriesResponse buildPartial() { deadlock.DeadlockOuterClass.WaitForEntriesResponse result = new deadlock.DeadlockOuterClass.WaitForEntriesResponse(this); int from_bitField0_ = bitField0_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { entries_ = java.util.Collections.unmodifiableList(entries_); bitField0_ = (bitField0_ & ~0x00000001); } result.entries_ = entries_; } else { result.entries_ = entriesBuilder_.build(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof deadlock.DeadlockOuterClass.WaitForEntriesResponse) { return mergeFrom((deadlock.DeadlockOuterClass.WaitForEntriesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(deadlock.DeadlockOuterClass.WaitForEntriesResponse other) { if (other == deadlock.DeadlockOuterClass.WaitForEntriesResponse.getDefaultInstance()) return this; if (entriesBuilder_ == null) { if (!other.entries_.isEmpty()) { if (entries_.isEmpty()) { entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntriesIsMutable(); entries_.addAll(other.entries_); } onChanged(); } } else { if (!other.entries_.isEmpty()) { if (entriesBuilder_.isEmpty()) { entriesBuilder_.dispose(); entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); entriesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { deadlock.DeadlockOuterClass.WaitForEntriesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (deadlock.DeadlockOuterClass.WaitForEntriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List entries_ = java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< deadlock.DeadlockOuterClass.WaitForEntry, deadlock.DeadlockOuterClass.WaitForEntry.Builder, deadlock.DeadlockOuterClass.WaitForEntryOrBuilder> entriesBuilder_; /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getEntriesList() { if (entriesBuilder_ == null) { return java.util.Collections.unmodifiableList(entries_); } else { return entriesBuilder_.getMessageList(); } } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public int getEntriesCount() { if (entriesBuilder_ == null) { return entries_.size(); } else { return entriesBuilder_.getCount(); } } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntry getEntries(int index) { if (entriesBuilder_ == null) { return entries_.get(index); } else { return entriesBuilder_.getMessage(index); } } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public Builder setEntries( int index, deadlock.DeadlockOuterClass.WaitForEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntriesIsMutable(); entries_.set(index, value); onChanged(); } else { entriesBuilder_.setMessage(index, value); } return this; } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public Builder setEntries( int index, deadlock.DeadlockOuterClass.WaitForEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.set(index, builderForValue.build()); onChanged(); } else { entriesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public Builder addEntries(deadlock.DeadlockOuterClass.WaitForEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntriesIsMutable(); entries_.add(value); onChanged(); } else { entriesBuilder_.addMessage(value); } return this; } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public Builder addEntries( int index, deadlock.DeadlockOuterClass.WaitForEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntriesIsMutable(); entries_.add(index, value); onChanged(); } else { entriesBuilder_.addMessage(index, value); } return this; } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public Builder addEntries( deadlock.DeadlockOuterClass.WaitForEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); onChanged(); } else { entriesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public Builder addEntries( int index, deadlock.DeadlockOuterClass.WaitForEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(index, builderForValue.build()); onChanged(); } else { entriesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); } return this; } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public Builder clearEntries() { if (entriesBuilder_ == null) { entries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entriesBuilder_.clear(); } return this; } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public Builder removeEntries(int index) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.remove(index); onChanged(); } else { entriesBuilder_.remove(index); } return this; } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntry.Builder getEntriesBuilder( int index) { return getEntriesFieldBuilder().getBuilder(index); } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntryOrBuilder getEntriesOrBuilder( int index) { if (entriesBuilder_ == null) { return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entries_); } } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntry.Builder addEntriesBuilder() { return getEntriesFieldBuilder().addBuilder( deadlock.DeadlockOuterClass.WaitForEntry.getDefaultInstance()); } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntry.Builder addEntriesBuilder( int index) { return getEntriesFieldBuilder().addBuilder( index, deadlock.DeadlockOuterClass.WaitForEntry.getDefaultInstance()); } /** * repeated .deadlock.WaitForEntry entries = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< deadlock.DeadlockOuterClass.WaitForEntry, deadlock.DeadlockOuterClass.WaitForEntry.Builder, deadlock.DeadlockOuterClass.WaitForEntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< deadlock.DeadlockOuterClass.WaitForEntry, deadlock.DeadlockOuterClass.WaitForEntry.Builder, deadlock.DeadlockOuterClass.WaitForEntryOrBuilder>( entries_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); entries_ = null; } return entriesBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:deadlock.WaitForEntriesResponse) } // @@protoc_insertion_point(class_scope:deadlock.WaitForEntriesResponse) private static final deadlock.DeadlockOuterClass.WaitForEntriesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new deadlock.DeadlockOuterClass.WaitForEntriesResponse(); } public static deadlock.DeadlockOuterClass.WaitForEntriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public WaitForEntriesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new WaitForEntriesResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public deadlock.DeadlockOuterClass.WaitForEntriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WaitForEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:deadlock.WaitForEntry) com.google.protobuf.MessageOrBuilder { /** *
     * The transaction id that is waiting.
     * 
* * uint64 txn = 1; */ long getTxn(); /** *
     * The transaction id that is being waited for.
     * 
* * uint64 wait_for_txn = 2; */ long getWaitForTxn(); /** *
     * The hash value of the key is being waited for.
     * 
* * uint64 key_hash = 3; */ long getKeyHash(); } /** * Protobuf type {@code deadlock.WaitForEntry} */ public static final class WaitForEntry extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:deadlock.WaitForEntry) WaitForEntryOrBuilder { private static final long serialVersionUID = 0L; // Use WaitForEntry.newBuilder() to construct. private WaitForEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WaitForEntry() { txn_ = 0L; waitForTxn_ = 0L; keyHash_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WaitForEntry( 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; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { txn_ = input.readUInt64(); break; } case 16: { waitForTxn_ = input.readUInt64(); break; } case 24: { keyHash_ = input.readUInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntry_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( deadlock.DeadlockOuterClass.WaitForEntry.class, deadlock.DeadlockOuterClass.WaitForEntry.Builder.class); } public static final int TXN_FIELD_NUMBER = 1; private long txn_; /** *
     * The transaction id that is waiting.
     * 
* * uint64 txn = 1; */ public long getTxn() { return txn_; } public static final int WAIT_FOR_TXN_FIELD_NUMBER = 2; private long waitForTxn_; /** *
     * The transaction id that is being waited for.
     * 
* * uint64 wait_for_txn = 2; */ public long getWaitForTxn() { return waitForTxn_; } public static final int KEY_HASH_FIELD_NUMBER = 3; private long keyHash_; /** *
     * The hash value of the key is being waited for.
     * 
* * uint64 key_hash = 3; */ public long getKeyHash() { return keyHash_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (txn_ != 0L) { output.writeUInt64(1, txn_); } if (waitForTxn_ != 0L) { output.writeUInt64(2, waitForTxn_); } if (keyHash_ != 0L) { output.writeUInt64(3, keyHash_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (txn_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, txn_); } if (waitForTxn_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, waitForTxn_); } if (keyHash_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, keyHash_); } 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 deadlock.DeadlockOuterClass.WaitForEntry)) { return super.equals(obj); } deadlock.DeadlockOuterClass.WaitForEntry other = (deadlock.DeadlockOuterClass.WaitForEntry) obj; boolean result = true; result = result && (getTxn() == other.getTxn()); result = result && (getWaitForTxn() == other.getWaitForTxn()); result = result && (getKeyHash() == other.getKeyHash()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TXN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTxn()); hash = (37 * hash) + WAIT_FOR_TXN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWaitForTxn()); hash = (37 * hash) + KEY_HASH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getKeyHash()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static deadlock.DeadlockOuterClass.WaitForEntry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.WaitForEntry parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.WaitForEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.WaitForEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.WaitForEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.WaitForEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.WaitForEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.WaitForEntry 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 deadlock.DeadlockOuterClass.WaitForEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.WaitForEntry 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 deadlock.DeadlockOuterClass.WaitForEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.WaitForEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(deadlock.DeadlockOuterClass.WaitForEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 deadlock.WaitForEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:deadlock.WaitForEntry) deadlock.DeadlockOuterClass.WaitForEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntry_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( deadlock.DeadlockOuterClass.WaitForEntry.class, deadlock.DeadlockOuterClass.WaitForEntry.Builder.class); } // Construct using deadlock.DeadlockOuterClass.WaitForEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); txn_ = 0L; waitForTxn_ = 0L; keyHash_ = 0L; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return deadlock.DeadlockOuterClass.internal_static_deadlock_WaitForEntry_descriptor; } public deadlock.DeadlockOuterClass.WaitForEntry getDefaultInstanceForType() { return deadlock.DeadlockOuterClass.WaitForEntry.getDefaultInstance(); } public deadlock.DeadlockOuterClass.WaitForEntry build() { deadlock.DeadlockOuterClass.WaitForEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public deadlock.DeadlockOuterClass.WaitForEntry buildPartial() { deadlock.DeadlockOuterClass.WaitForEntry result = new deadlock.DeadlockOuterClass.WaitForEntry(this); result.txn_ = txn_; result.waitForTxn_ = waitForTxn_; result.keyHash_ = keyHash_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof deadlock.DeadlockOuterClass.WaitForEntry) { return mergeFrom((deadlock.DeadlockOuterClass.WaitForEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(deadlock.DeadlockOuterClass.WaitForEntry other) { if (other == deadlock.DeadlockOuterClass.WaitForEntry.getDefaultInstance()) return this; if (other.getTxn() != 0L) { setTxn(other.getTxn()); } if (other.getWaitForTxn() != 0L) { setWaitForTxn(other.getWaitForTxn()); } if (other.getKeyHash() != 0L) { setKeyHash(other.getKeyHash()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { deadlock.DeadlockOuterClass.WaitForEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (deadlock.DeadlockOuterClass.WaitForEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long txn_ ; /** *
       * The transaction id that is waiting.
       * 
* * uint64 txn = 1; */ public long getTxn() { return txn_; } /** *
       * The transaction id that is waiting.
       * 
* * uint64 txn = 1; */ public Builder setTxn(long value) { txn_ = value; onChanged(); return this; } /** *
       * The transaction id that is waiting.
       * 
* * uint64 txn = 1; */ public Builder clearTxn() { txn_ = 0L; onChanged(); return this; } private long waitForTxn_ ; /** *
       * The transaction id that is being waited for.
       * 
* * uint64 wait_for_txn = 2; */ public long getWaitForTxn() { return waitForTxn_; } /** *
       * The transaction id that is being waited for.
       * 
* * uint64 wait_for_txn = 2; */ public Builder setWaitForTxn(long value) { waitForTxn_ = value; onChanged(); return this; } /** *
       * The transaction id that is being waited for.
       * 
* * uint64 wait_for_txn = 2; */ public Builder clearWaitForTxn() { waitForTxn_ = 0L; onChanged(); return this; } private long keyHash_ ; /** *
       * The hash value of the key is being waited for.
       * 
* * uint64 key_hash = 3; */ public long getKeyHash() { return keyHash_; } /** *
       * The hash value of the key is being waited for.
       * 
* * uint64 key_hash = 3; */ public Builder setKeyHash(long value) { keyHash_ = value; onChanged(); return this; } /** *
       * The hash value of the key is being waited for.
       * 
* * uint64 key_hash = 3; */ public Builder clearKeyHash() { keyHash_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:deadlock.WaitForEntry) } // @@protoc_insertion_point(class_scope:deadlock.WaitForEntry) private static final deadlock.DeadlockOuterClass.WaitForEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new deadlock.DeadlockOuterClass.WaitForEntry(); } public static deadlock.DeadlockOuterClass.WaitForEntry getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public WaitForEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new WaitForEntry(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public deadlock.DeadlockOuterClass.WaitForEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeadlockRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:deadlock.DeadlockRequest) com.google.protobuf.MessageOrBuilder { /** * .deadlock.DeadlockRequestType tp = 1; */ int getTpValue(); /** * .deadlock.DeadlockRequestType tp = 1; */ deadlock.DeadlockOuterClass.DeadlockRequestType getTp(); /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ boolean hasEntry(); /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ deadlock.DeadlockOuterClass.WaitForEntry getEntry(); /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ deadlock.DeadlockOuterClass.WaitForEntryOrBuilder getEntryOrBuilder(); } /** * Protobuf type {@code deadlock.DeadlockRequest} */ public static final class DeadlockRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:deadlock.DeadlockRequest) DeadlockRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DeadlockRequest.newBuilder() to construct. private DeadlockRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeadlockRequest() { tp_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeadlockRequest( 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; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); tp_ = rawValue; break; } case 18: { deadlock.DeadlockOuterClass.WaitForEntry.Builder subBuilder = null; if (entry_ != null) { subBuilder = entry_.toBuilder(); } entry_ = input.readMessage(deadlock.DeadlockOuterClass.WaitForEntry.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(entry_); entry_ = subBuilder.buildPartial(); } 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 deadlock.DeadlockOuterClass.internal_static_deadlock_DeadlockRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return deadlock.DeadlockOuterClass.internal_static_deadlock_DeadlockRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( deadlock.DeadlockOuterClass.DeadlockRequest.class, deadlock.DeadlockOuterClass.DeadlockRequest.Builder.class); } public static final int TP_FIELD_NUMBER = 1; private int tp_; /** * .deadlock.DeadlockRequestType tp = 1; */ public int getTpValue() { return tp_; } /** * .deadlock.DeadlockRequestType tp = 1; */ public deadlock.DeadlockOuterClass.DeadlockRequestType getTp() { deadlock.DeadlockOuterClass.DeadlockRequestType result = deadlock.DeadlockOuterClass.DeadlockRequestType.valueOf(tp_); return result == null ? deadlock.DeadlockOuterClass.DeadlockRequestType.UNRECOGNIZED : result; } public static final int ENTRY_FIELD_NUMBER = 2; private deadlock.DeadlockOuterClass.WaitForEntry entry_; /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ public boolean hasEntry() { return entry_ != null; } /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntry getEntry() { return entry_ == null ? deadlock.DeadlockOuterClass.WaitForEntry.getDefaultInstance() : entry_; } /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntryOrBuilder getEntryOrBuilder() { return getEntry(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tp_ != deadlock.DeadlockOuterClass.DeadlockRequestType.Detect.getNumber()) { output.writeEnum(1, tp_); } if (entry_ != null) { output.writeMessage(2, getEntry()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tp_ != deadlock.DeadlockOuterClass.DeadlockRequestType.Detect.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, tp_); } if (entry_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getEntry()); } 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 deadlock.DeadlockOuterClass.DeadlockRequest)) { return super.equals(obj); } deadlock.DeadlockOuterClass.DeadlockRequest other = (deadlock.DeadlockOuterClass.DeadlockRequest) obj; boolean result = true; result = result && tp_ == other.tp_; result = result && (hasEntry() == other.hasEntry()); if (hasEntry()) { result = result && getEntry() .equals(other.getEntry()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TP_FIELD_NUMBER; hash = (53 * hash) + tp_; if (hasEntry()) { hash = (37 * hash) + ENTRY_FIELD_NUMBER; hash = (53 * hash) + getEntry().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static deadlock.DeadlockOuterClass.DeadlockRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.DeadlockRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.DeadlockRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.DeadlockRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.DeadlockRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.DeadlockRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.DeadlockRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.DeadlockRequest 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 deadlock.DeadlockOuterClass.DeadlockRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.DeadlockRequest 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 deadlock.DeadlockOuterClass.DeadlockRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.DeadlockRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(deadlock.DeadlockOuterClass.DeadlockRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 deadlock.DeadlockRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:deadlock.DeadlockRequest) deadlock.DeadlockOuterClass.DeadlockRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return deadlock.DeadlockOuterClass.internal_static_deadlock_DeadlockRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return deadlock.DeadlockOuterClass.internal_static_deadlock_DeadlockRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( deadlock.DeadlockOuterClass.DeadlockRequest.class, deadlock.DeadlockOuterClass.DeadlockRequest.Builder.class); } // Construct using deadlock.DeadlockOuterClass.DeadlockRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); tp_ = 0; if (entryBuilder_ == null) { entry_ = null; } else { entry_ = null; entryBuilder_ = null; } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return deadlock.DeadlockOuterClass.internal_static_deadlock_DeadlockRequest_descriptor; } public deadlock.DeadlockOuterClass.DeadlockRequest getDefaultInstanceForType() { return deadlock.DeadlockOuterClass.DeadlockRequest.getDefaultInstance(); } public deadlock.DeadlockOuterClass.DeadlockRequest build() { deadlock.DeadlockOuterClass.DeadlockRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public deadlock.DeadlockOuterClass.DeadlockRequest buildPartial() { deadlock.DeadlockOuterClass.DeadlockRequest result = new deadlock.DeadlockOuterClass.DeadlockRequest(this); result.tp_ = tp_; if (entryBuilder_ == null) { result.entry_ = entry_; } else { result.entry_ = entryBuilder_.build(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof deadlock.DeadlockOuterClass.DeadlockRequest) { return mergeFrom((deadlock.DeadlockOuterClass.DeadlockRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(deadlock.DeadlockOuterClass.DeadlockRequest other) { if (other == deadlock.DeadlockOuterClass.DeadlockRequest.getDefaultInstance()) return this; if (other.tp_ != 0) { setTpValue(other.getTpValue()); } if (other.hasEntry()) { mergeEntry(other.getEntry()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { deadlock.DeadlockOuterClass.DeadlockRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (deadlock.DeadlockOuterClass.DeadlockRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int tp_ = 0; /** * .deadlock.DeadlockRequestType tp = 1; */ public int getTpValue() { return tp_; } /** * .deadlock.DeadlockRequestType tp = 1; */ public Builder setTpValue(int value) { tp_ = value; onChanged(); return this; } /** * .deadlock.DeadlockRequestType tp = 1; */ public deadlock.DeadlockOuterClass.DeadlockRequestType getTp() { deadlock.DeadlockOuterClass.DeadlockRequestType result = deadlock.DeadlockOuterClass.DeadlockRequestType.valueOf(tp_); return result == null ? deadlock.DeadlockOuterClass.DeadlockRequestType.UNRECOGNIZED : result; } /** * .deadlock.DeadlockRequestType tp = 1; */ public Builder setTp(deadlock.DeadlockOuterClass.DeadlockRequestType value) { if (value == null) { throw new NullPointerException(); } tp_ = value.getNumber(); onChanged(); return this; } /** * .deadlock.DeadlockRequestType tp = 1; */ public Builder clearTp() { tp_ = 0; onChanged(); return this; } private deadlock.DeadlockOuterClass.WaitForEntry entry_ = null; private com.google.protobuf.SingleFieldBuilderV3< deadlock.DeadlockOuterClass.WaitForEntry, deadlock.DeadlockOuterClass.WaitForEntry.Builder, deadlock.DeadlockOuterClass.WaitForEntryOrBuilder> entryBuilder_; /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ public boolean hasEntry() { return entryBuilder_ != null || entry_ != null; } /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntry getEntry() { if (entryBuilder_ == null) { return entry_ == null ? deadlock.DeadlockOuterClass.WaitForEntry.getDefaultInstance() : entry_; } else { return entryBuilder_.getMessage(); } } /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ public Builder setEntry(deadlock.DeadlockOuterClass.WaitForEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } entry_ = value; onChanged(); } else { entryBuilder_.setMessage(value); } return this; } /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ public Builder setEntry( deadlock.DeadlockOuterClass.WaitForEntry.Builder builderForValue) { if (entryBuilder_ == null) { entry_ = builderForValue.build(); onChanged(); } else { entryBuilder_.setMessage(builderForValue.build()); } return this; } /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ public Builder mergeEntry(deadlock.DeadlockOuterClass.WaitForEntry value) { if (entryBuilder_ == null) { if (entry_ != null) { entry_ = deadlock.DeadlockOuterClass.WaitForEntry.newBuilder(entry_).mergeFrom(value).buildPartial(); } else { entry_ = value; } onChanged(); } else { entryBuilder_.mergeFrom(value); } return this; } /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ public Builder clearEntry() { if (entryBuilder_ == null) { entry_ = null; onChanged(); } else { entry_ = null; entryBuilder_ = null; } return this; } /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntry.Builder getEntryBuilder() { onChanged(); return getEntryFieldBuilder().getBuilder(); } /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntryOrBuilder getEntryOrBuilder() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilder(); } else { return entry_ == null ? deadlock.DeadlockOuterClass.WaitForEntry.getDefaultInstance() : entry_; } } /** * .deadlock.WaitForEntry entry = 2 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< deadlock.DeadlockOuterClass.WaitForEntry, deadlock.DeadlockOuterClass.WaitForEntry.Builder, deadlock.DeadlockOuterClass.WaitForEntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { entryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< deadlock.DeadlockOuterClass.WaitForEntry, deadlock.DeadlockOuterClass.WaitForEntry.Builder, deadlock.DeadlockOuterClass.WaitForEntryOrBuilder>( getEntry(), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:deadlock.DeadlockRequest) } // @@protoc_insertion_point(class_scope:deadlock.DeadlockRequest) private static final deadlock.DeadlockOuterClass.DeadlockRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new deadlock.DeadlockOuterClass.DeadlockRequest(); } public static deadlock.DeadlockOuterClass.DeadlockRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public DeadlockRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeadlockRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public deadlock.DeadlockOuterClass.DeadlockRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeadlockResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:deadlock.DeadlockResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The same entry sent by DeadlockRequest, identifies the sender.
     * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ boolean hasEntry(); /** *
     * The same entry sent by DeadlockRequest, identifies the sender.
     * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ deadlock.DeadlockOuterClass.WaitForEntry getEntry(); /** *
     * The same entry sent by DeadlockRequest, identifies the sender.
     * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ deadlock.DeadlockOuterClass.WaitForEntryOrBuilder getEntryOrBuilder(); /** *
     * The key hash of the lock that is hold by the waiting transaction.
     * 
* * uint64 deadlock_key_hash = 2; */ long getDeadlockKeyHash(); } /** * Protobuf type {@code deadlock.DeadlockResponse} */ public static final class DeadlockResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:deadlock.DeadlockResponse) DeadlockResponseOrBuilder { private static final long serialVersionUID = 0L; // Use DeadlockResponse.newBuilder() to construct. private DeadlockResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeadlockResponse() { deadlockKeyHash_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeadlockResponse( 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; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { deadlock.DeadlockOuterClass.WaitForEntry.Builder subBuilder = null; if (entry_ != null) { subBuilder = entry_.toBuilder(); } entry_ = input.readMessage(deadlock.DeadlockOuterClass.WaitForEntry.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(entry_); entry_ = subBuilder.buildPartial(); } break; } case 16: { deadlockKeyHash_ = input.readUInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return deadlock.DeadlockOuterClass.internal_static_deadlock_DeadlockResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return deadlock.DeadlockOuterClass.internal_static_deadlock_DeadlockResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( deadlock.DeadlockOuterClass.DeadlockResponse.class, deadlock.DeadlockOuterClass.DeadlockResponse.Builder.class); } public static final int ENTRY_FIELD_NUMBER = 1; private deadlock.DeadlockOuterClass.WaitForEntry entry_; /** *
     * The same entry sent by DeadlockRequest, identifies the sender.
     * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ public boolean hasEntry() { return entry_ != null; } /** *
     * The same entry sent by DeadlockRequest, identifies the sender.
     * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntry getEntry() { return entry_ == null ? deadlock.DeadlockOuterClass.WaitForEntry.getDefaultInstance() : entry_; } /** *
     * The same entry sent by DeadlockRequest, identifies the sender.
     * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntryOrBuilder getEntryOrBuilder() { return getEntry(); } public static final int DEADLOCK_KEY_HASH_FIELD_NUMBER = 2; private long deadlockKeyHash_; /** *
     * The key hash of the lock that is hold by the waiting transaction.
     * 
* * uint64 deadlock_key_hash = 2; */ public long getDeadlockKeyHash() { return deadlockKeyHash_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (entry_ != null) { output.writeMessage(1, getEntry()); } if (deadlockKeyHash_ != 0L) { output.writeUInt64(2, deadlockKeyHash_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (entry_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getEntry()); } if (deadlockKeyHash_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, deadlockKeyHash_); } 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 deadlock.DeadlockOuterClass.DeadlockResponse)) { return super.equals(obj); } deadlock.DeadlockOuterClass.DeadlockResponse other = (deadlock.DeadlockOuterClass.DeadlockResponse) obj; boolean result = true; result = result && (hasEntry() == other.hasEntry()); if (hasEntry()) { result = result && getEntry() .equals(other.getEntry()); } result = result && (getDeadlockKeyHash() == other.getDeadlockKeyHash()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasEntry()) { hash = (37 * hash) + ENTRY_FIELD_NUMBER; hash = (53 * hash) + getEntry().hashCode(); } hash = (37 * hash) + DEADLOCK_KEY_HASH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDeadlockKeyHash()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static deadlock.DeadlockOuterClass.DeadlockResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.DeadlockResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.DeadlockResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.DeadlockResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.DeadlockResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static deadlock.DeadlockOuterClass.DeadlockResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static deadlock.DeadlockOuterClass.DeadlockResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.DeadlockResponse 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 deadlock.DeadlockOuterClass.DeadlockResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.DeadlockResponse 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 deadlock.DeadlockOuterClass.DeadlockResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static deadlock.DeadlockOuterClass.DeadlockResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(deadlock.DeadlockOuterClass.DeadlockResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 deadlock.DeadlockResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:deadlock.DeadlockResponse) deadlock.DeadlockOuterClass.DeadlockResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return deadlock.DeadlockOuterClass.internal_static_deadlock_DeadlockResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return deadlock.DeadlockOuterClass.internal_static_deadlock_DeadlockResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( deadlock.DeadlockOuterClass.DeadlockResponse.class, deadlock.DeadlockOuterClass.DeadlockResponse.Builder.class); } // Construct using deadlock.DeadlockOuterClass.DeadlockResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); if (entryBuilder_ == null) { entry_ = null; } else { entry_ = null; entryBuilder_ = null; } deadlockKeyHash_ = 0L; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return deadlock.DeadlockOuterClass.internal_static_deadlock_DeadlockResponse_descriptor; } public deadlock.DeadlockOuterClass.DeadlockResponse getDefaultInstanceForType() { return deadlock.DeadlockOuterClass.DeadlockResponse.getDefaultInstance(); } public deadlock.DeadlockOuterClass.DeadlockResponse build() { deadlock.DeadlockOuterClass.DeadlockResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public deadlock.DeadlockOuterClass.DeadlockResponse buildPartial() { deadlock.DeadlockOuterClass.DeadlockResponse result = new deadlock.DeadlockOuterClass.DeadlockResponse(this); if (entryBuilder_ == null) { result.entry_ = entry_; } else { result.entry_ = entryBuilder_.build(); } result.deadlockKeyHash_ = deadlockKeyHash_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof deadlock.DeadlockOuterClass.DeadlockResponse) { return mergeFrom((deadlock.DeadlockOuterClass.DeadlockResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(deadlock.DeadlockOuterClass.DeadlockResponse other) { if (other == deadlock.DeadlockOuterClass.DeadlockResponse.getDefaultInstance()) return this; if (other.hasEntry()) { mergeEntry(other.getEntry()); } if (other.getDeadlockKeyHash() != 0L) { setDeadlockKeyHash(other.getDeadlockKeyHash()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { deadlock.DeadlockOuterClass.DeadlockResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (deadlock.DeadlockOuterClass.DeadlockResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private deadlock.DeadlockOuterClass.WaitForEntry entry_ = null; private com.google.protobuf.SingleFieldBuilderV3< deadlock.DeadlockOuterClass.WaitForEntry, deadlock.DeadlockOuterClass.WaitForEntry.Builder, deadlock.DeadlockOuterClass.WaitForEntryOrBuilder> entryBuilder_; /** *
       * The same entry sent by DeadlockRequest, identifies the sender.
       * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ public boolean hasEntry() { return entryBuilder_ != null || entry_ != null; } /** *
       * The same entry sent by DeadlockRequest, identifies the sender.
       * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntry getEntry() { if (entryBuilder_ == null) { return entry_ == null ? deadlock.DeadlockOuterClass.WaitForEntry.getDefaultInstance() : entry_; } else { return entryBuilder_.getMessage(); } } /** *
       * The same entry sent by DeadlockRequest, identifies the sender.
       * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ public Builder setEntry(deadlock.DeadlockOuterClass.WaitForEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } entry_ = value; onChanged(); } else { entryBuilder_.setMessage(value); } return this; } /** *
       * The same entry sent by DeadlockRequest, identifies the sender.
       * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ public Builder setEntry( deadlock.DeadlockOuterClass.WaitForEntry.Builder builderForValue) { if (entryBuilder_ == null) { entry_ = builderForValue.build(); onChanged(); } else { entryBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The same entry sent by DeadlockRequest, identifies the sender.
       * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ public Builder mergeEntry(deadlock.DeadlockOuterClass.WaitForEntry value) { if (entryBuilder_ == null) { if (entry_ != null) { entry_ = deadlock.DeadlockOuterClass.WaitForEntry.newBuilder(entry_).mergeFrom(value).buildPartial(); } else { entry_ = value; } onChanged(); } else { entryBuilder_.mergeFrom(value); } return this; } /** *
       * The same entry sent by DeadlockRequest, identifies the sender.
       * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ public Builder clearEntry() { if (entryBuilder_ == null) { entry_ = null; onChanged(); } else { entry_ = null; entryBuilder_ = null; } return this; } /** *
       * The same entry sent by DeadlockRequest, identifies the sender.
       * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntry.Builder getEntryBuilder() { onChanged(); return getEntryFieldBuilder().getBuilder(); } /** *
       * The same entry sent by DeadlockRequest, identifies the sender.
       * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ public deadlock.DeadlockOuterClass.WaitForEntryOrBuilder getEntryOrBuilder() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilder(); } else { return entry_ == null ? deadlock.DeadlockOuterClass.WaitForEntry.getDefaultInstance() : entry_; } } /** *
       * The same entry sent by DeadlockRequest, identifies the sender.
       * 
* * .deadlock.WaitForEntry entry = 1 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< deadlock.DeadlockOuterClass.WaitForEntry, deadlock.DeadlockOuterClass.WaitForEntry.Builder, deadlock.DeadlockOuterClass.WaitForEntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { entryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< deadlock.DeadlockOuterClass.WaitForEntry, deadlock.DeadlockOuterClass.WaitForEntry.Builder, deadlock.DeadlockOuterClass.WaitForEntryOrBuilder>( getEntry(), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } private long deadlockKeyHash_ ; /** *
       * The key hash of the lock that is hold by the waiting transaction.
       * 
* * uint64 deadlock_key_hash = 2; */ public long getDeadlockKeyHash() { return deadlockKeyHash_; } /** *
       * The key hash of the lock that is hold by the waiting transaction.
       * 
* * uint64 deadlock_key_hash = 2; */ public Builder setDeadlockKeyHash(long value) { deadlockKeyHash_ = value; onChanged(); return this; } /** *
       * The key hash of the lock that is hold by the waiting transaction.
       * 
* * uint64 deadlock_key_hash = 2; */ public Builder clearDeadlockKeyHash() { deadlockKeyHash_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:deadlock.DeadlockResponse) } // @@protoc_insertion_point(class_scope:deadlock.DeadlockResponse) private static final deadlock.DeadlockOuterClass.DeadlockResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new deadlock.DeadlockOuterClass.DeadlockResponse(); } public static deadlock.DeadlockOuterClass.DeadlockResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public DeadlockResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeadlockResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public deadlock.DeadlockOuterClass.DeadlockResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_deadlock_WaitForEntriesRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_deadlock_WaitForEntriesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_deadlock_WaitForEntriesResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_deadlock_WaitForEntriesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_deadlock_WaitForEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_deadlock_WaitForEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_deadlock_DeadlockRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_deadlock_DeadlockRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_deadlock_DeadlockResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_deadlock_DeadlockResponse_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\016deadlock.proto\022\010deadlock\032\024gogoproto/go" + "go.proto\"\027\n\025WaitForEntriesRequest\"G\n\026Wai" + "tForEntriesResponse\022-\n\007entries\030\001 \003(\0132\026.d" + "eadlock.WaitForEntryB\004\310\336\037\000\"C\n\014WaitForEnt" + "ry\022\013\n\003txn\030\001 \001(\004\022\024\n\014wait_for_txn\030\002 \001(\004\022\020\n" + "\010key_hash\030\003 \001(\004\"i\n\017DeadlockRequest\022)\n\002tp" + "\030\001 \001(\0162\035.deadlock.DeadlockRequestType\022+\n" + "\005entry\030\002 \001(\0132\026.deadlock.WaitForEntryB\004\310\336" + "\037\000\"Z\n\020DeadlockResponse\022+\n\005entry\030\001 \001(\0132\026." + "deadlock.WaitForEntryB\004\310\336\037\000\022\031\n\021deadlock_" + "key_hash\030\002 \001(\004*B\n\023DeadlockRequestType\022\n\n" + "\006Detect\020\000\022\022\n\016CleanUpWaitFor\020\001\022\013\n\007CleanUp" + "\020\0022\253\001\n\010Deadlock\022X\n\021GetWaitForEntries\022\037.d" + "eadlock.WaitForEntriesRequest\032 .deadlock" + ".WaitForEntriesResponse\"\000\022E\n\006Detect\022\031.de" + "adlock.DeadlockRequest\032\032.deadlock.Deadlo" + "ckResponse\"\000(\0010\001b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.GoGoProtos.getDescriptor(), }, assigner); internal_static_deadlock_WaitForEntriesRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_deadlock_WaitForEntriesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_deadlock_WaitForEntriesRequest_descriptor, new java.lang.String[] { }); internal_static_deadlock_WaitForEntriesResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_deadlock_WaitForEntriesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_deadlock_WaitForEntriesResponse_descriptor, new java.lang.String[] { "Entries", }); internal_static_deadlock_WaitForEntry_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_deadlock_WaitForEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_deadlock_WaitForEntry_descriptor, new java.lang.String[] { "Txn", "WaitForTxn", "KeyHash", }); internal_static_deadlock_DeadlockRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_deadlock_DeadlockRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_deadlock_DeadlockRequest_descriptor, new java.lang.String[] { "Tp", "Entry", }); internal_static_deadlock_DeadlockResponse_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_deadlock_DeadlockResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_deadlock_DeadlockResponse_descriptor, new java.lang.String[] { "Entry", "DeadlockKeyHash", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.protobuf.GoGoProtos.nullable); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.protobuf.GoGoProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy