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

alluxio.proto.journal.Policy Maven / Gradle / Ivy

There is a newer version: 313
Show newest version
// Generated by the protocol buffer alluxio.shaded.client.com.iler.  DO NOT EDIT!
// source: proto/journal/policy.proto

package alluxio.proto.journal;

public final class Policy {
  private Policy() {}
  public static void registerAllExtensions(
      alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      alluxio.shaded.client.com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface PolicyDefinitionEntryOrBuilder extends
      // @@protoc_insertion_point(interface_extends:alluxio.proto.journal.PolicyDefinitionEntry)
      alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {

    /**
     * optional int64 id = 1;
     * @return Whether the id field is set.
     */
    boolean hasId();
    /**
     * optional int64 id = 1;
     * @return The id.
     */
    long getId();

    /**
     * optional string name = 2;
     * @return Whether the name field is set.
     */
    boolean hasName();
    /**
     * optional string name = 2;
     * @return The name.
     */
    java.lang.String getName();
    /**
     * optional string name = 2;
     * @return The bytes for name.
     */
    alluxio.shaded.client.com.google.protobuf.ByteString
        getNameBytes();

    /**
     * optional int64 created_at = 3;
     * @return Whether the createdAt field is set.
     */
    boolean hasCreatedAt();
    /**
     * optional int64 created_at = 3;
     * @return The createdAt.
     */
    long getCreatedAt();

    /**
     * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4;
     * @return Whether the options field is set.
     */
    boolean hasOptions();
    /**
     * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4;
     * @return The options.
     */
    alluxio.grpc.AddPolicyPOptions getOptions();
    /**
     * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4;
     */
    alluxio.grpc.AddPolicyPOptionsOrBuilder getOptionsOrBuilder();
  }
  /**
   * 
   * next available id: 5
   * 
* * Protobuf type {@code alluxio.proto.journal.PolicyDefinitionEntry} */ public static final class PolicyDefinitionEntry extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:alluxio.proto.journal.PolicyDefinitionEntry) PolicyDefinitionEntryOrBuilder { private static final long serialVersionUID = 0L; // Use PolicyDefinitionEntry.newBuilder() to construct. private PolicyDefinitionEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PolicyDefinitionEntry() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PolicyDefinitionEntry(); } @java.lang.Override public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Policy.internal_static_alluxio_proto_journal_PolicyDefinitionEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Policy.internal_static_alluxio_proto_journal_PolicyDefinitionEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Policy.PolicyDefinitionEntry.class, alluxio.proto.journal.Policy.PolicyDefinitionEntry.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private long id_; /** * optional int64 id = 1; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 2; * @return The bytes for name. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int CREATED_AT_FIELD_NUMBER = 3; private long createdAt_; /** * optional int64 created_at = 3; * @return Whether the createdAt field is set. */ @java.lang.Override public boolean hasCreatedAt() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 created_at = 3; * @return The createdAt. */ @java.lang.Override public long getCreatedAt() { return createdAt_; } public static final int OPTIONS_FIELD_NUMBER = 4; private alluxio.grpc.AddPolicyPOptions options_; /** * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; * @return Whether the options field is set. */ @java.lang.Override public boolean hasOptions() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; * @return The options. */ @java.lang.Override public alluxio.grpc.AddPolicyPOptions getOptions() { return options_ == null ? alluxio.grpc.AddPolicyPOptions.getDefaultInstance() : options_; } /** * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; */ @java.lang.Override public alluxio.grpc.AddPolicyPOptionsOrBuilder getOptionsOrBuilder() { return options_ == null ? alluxio.grpc.AddPolicyPOptions.getDefaultInstance() : options_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output) throws java.alluxio.shaded.client.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, id_); } if (((bitField0_ & 0x00000002) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(3, createdAt_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getOptions()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(1, id_); } if (((bitField0_ & 0x00000002) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(2, name_); } if (((bitField0_ & 0x00000004) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(3, createdAt_); } if (((bitField0_ & 0x00000008) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteMessageSize(4, getOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof alluxio.proto.journal.Policy.PolicyDefinitionEntry)) { return super.equals(obj); } alluxio.proto.journal.Policy.PolicyDefinitionEntry other = (alluxio.proto.journal.Policy.PolicyDefinitionEntry) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (getId() != other.getId()) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasCreatedAt() != other.hasCreatedAt()) return false; if (hasCreatedAt()) { if (getCreatedAt() != other.getCreatedAt()) return false; } if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { if (!getOptions() .equals(other.getOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getId()); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasCreatedAt()) { hash = (37 * hash) + CREATED_AT_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getCreatedAt()); } if (hasOptions()) { hash = (37 * hash) + OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getOptions().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry parseFrom( java.nio.ByteBuffer data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry parseFrom( byte[] data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry parseFrom(java.alluxio.shaded.client.io.InputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry parseFrom( java.alluxio.shaded.client.io.InputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry parseDelimitedFrom( java.alluxio.shaded.client.io.InputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry parseFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry parseFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(alluxio.proto.journal.Policy.PolicyDefinitionEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * next available id: 5
     * 
* * Protobuf type {@code alluxio.proto.journal.PolicyDefinitionEntry} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.proto.journal.PolicyDefinitionEntry) alluxio.proto.journal.Policy.PolicyDefinitionEntryOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Policy.internal_static_alluxio_proto_journal_PolicyDefinitionEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Policy.internal_static_alluxio_proto_journal_PolicyDefinitionEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Policy.PolicyDefinitionEntry.class, alluxio.proto.journal.Policy.PolicyDefinitionEntry.Builder.class); } // Construct using alluxio.proto.journal.Policy.PolicyDefinitionEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOptionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); createdAt_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); if (optionsBuilder_ == null) { options_ = null; } else { optionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.Policy.internal_static_alluxio_proto_journal_PolicyDefinitionEntry_descriptor; } @java.lang.Override public alluxio.proto.journal.Policy.PolicyDefinitionEntry getDefaultInstanceForType() { return alluxio.proto.journal.Policy.PolicyDefinitionEntry.getDefaultInstance(); } @java.lang.Override public alluxio.proto.journal.Policy.PolicyDefinitionEntry build() { alluxio.proto.journal.Policy.PolicyDefinitionEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.proto.journal.Policy.PolicyDefinitionEntry buildPartial() { alluxio.proto.journal.Policy.PolicyDefinitionEntry result = new alluxio.proto.journal.Policy.PolicyDefinitionEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; if (((from_bitField0_ & 0x00000004) != 0)) { result.createdAt_ = createdAt_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (optionsBuilder_ == null) { result.options_ = options_; } else { result.options_ = optionsBuilder_.build(); } to_bitField0_ |= 0x00000008; } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.Policy.PolicyDefinitionEntry) { return mergeFrom((alluxio.proto.journal.Policy.PolicyDefinitionEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.Policy.PolicyDefinitionEntry other) { if (other == alluxio.proto.journal.Policy.PolicyDefinitionEntry.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } if (other.hasCreatedAt()) { setCreatedAt(other.getCreatedAt()); } if (other.hasOptions()) { mergeOptions(other.getOptions()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { id_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { name_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { createdAt_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 34: { input.readMessage( getOptionsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long id_ ; /** * optional int64 id = 1; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 id = 1; * @return The id. */ @java.lang.Override public long getId() { return id_; } /** * optional int64 id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /** * optional int64 id = 1; * @return This builder for chaining. */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; } private java.lang.Object name_ = ""; /** * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 2; * @return The bytes for name. */ public alluxio.shaded.client.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private long createdAt_ ; /** * optional int64 created_at = 3; * @return Whether the createdAt field is set. */ @java.lang.Override public boolean hasCreatedAt() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int64 created_at = 3; * @return The createdAt. */ @java.lang.Override public long getCreatedAt() { return createdAt_; } /** * optional int64 created_at = 3; * @param value The createdAt to set. * @return This builder for chaining. */ public Builder setCreatedAt(long value) { bitField0_ |= 0x00000004; createdAt_ = value; onChanged(); return this; } /** * optional int64 created_at = 3; * @return This builder for chaining. */ public Builder clearCreatedAt() { bitField0_ = (bitField0_ & ~0x00000004); createdAt_ = 0L; onChanged(); return this; } private alluxio.grpc.AddPolicyPOptions options_; private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.AddPolicyPOptions, alluxio.grpc.AddPolicyPOptions.Builder, alluxio.grpc.AddPolicyPOptionsOrBuilder> optionsBuilder_; /** * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; * @return Whether the options field is set. */ public boolean hasOptions() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; * @return The options. */ public alluxio.grpc.AddPolicyPOptions getOptions() { if (optionsBuilder_ == null) { return options_ == null ? alluxio.grpc.AddPolicyPOptions.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } } /** * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; */ public Builder setOptions(alluxio.grpc.AddPolicyPOptions value) { if (optionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } options_ = value; onChanged(); } else { optionsBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; */ public Builder setOptions( alluxio.grpc.AddPolicyPOptions.Builder builderForValue) { if (optionsBuilder_ == null) { options_ = builderForValue.build(); onChanged(); } else { optionsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; */ public Builder mergeOptions(alluxio.grpc.AddPolicyPOptions value) { if (optionsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && options_ != null && options_ != alluxio.grpc.AddPolicyPOptions.getDefaultInstance()) { options_ = alluxio.grpc.AddPolicyPOptions.newBuilder(options_).mergeFrom(value).buildPartial(); } else { options_ = value; } onChanged(); } else { optionsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; */ public Builder clearOptions() { if (optionsBuilder_ == null) { options_ = null; onChanged(); } else { optionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; */ public alluxio.grpc.AddPolicyPOptions.Builder getOptionsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getOptionsFieldBuilder().getBuilder(); } /** * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; */ public alluxio.grpc.AddPolicyPOptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { return options_ == null ? alluxio.grpc.AddPolicyPOptions.getDefaultInstance() : options_; } } /** * optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; */ private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.AddPolicyPOptions, alluxio.grpc.AddPolicyPOptions.Builder, alluxio.grpc.AddPolicyPOptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { optionsBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.AddPolicyPOptions, alluxio.grpc.AddPolicyPOptions.Builder, alluxio.grpc.AddPolicyPOptionsOrBuilder>( getOptions(), getParentForChildren(), isClean()); options_ = null; } return optionsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:alluxio.proto.journal.PolicyDefinitionEntry) } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.PolicyDefinitionEntry) private static final alluxio.proto.journal.Policy.PolicyDefinitionEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.proto.journal.Policy.PolicyDefinitionEntry(); } public static alluxio.proto.journal.Policy.PolicyDefinitionEntry getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() { @java.lang.Override public PolicyDefinitionEntry parsePartialFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.alluxio.shaded.client.io.IOException e) { throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static alluxio.shaded.client.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public alluxio.proto.journal.Policy.PolicyDefinitionEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PolicyRemoveEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:alluxio.proto.journal.PolicyRemoveEntry) alluxio.shaded.client.com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; * @return Whether the name field is set. */ boolean hasName(); /** * optional string name = 1; * @return The name. */ java.lang.String getName(); /** * optional string name = 1; * @return The bytes for name. */ alluxio.shaded.client.com.google.protobuf.ByteString getNameBytes(); } /** *
   * next available id: 2
   * 
* * Protobuf type {@code alluxio.proto.journal.PolicyRemoveEntry} */ public static final class PolicyRemoveEntry extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:alluxio.proto.journal.PolicyRemoveEntry) PolicyRemoveEntryOrBuilder { private static final long serialVersionUID = 0L; // Use PolicyRemoveEntry.newBuilder() to construct. private PolicyRemoveEntry(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PolicyRemoveEntry() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PolicyRemoveEntry(); } @java.lang.Override public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Policy.internal_static_alluxio_proto_journal_PolicyRemoveEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Policy.internal_static_alluxio_proto_journal_PolicyRemoveEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Policy.PolicyRemoveEntry.class, alluxio.proto.journal.Policy.PolicyRemoveEntry.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; * @return The bytes for name. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output) throws java.alluxio.shaded.client.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof alluxio.proto.journal.Policy.PolicyRemoveEntry)) { return super.equals(obj); } alluxio.proto.journal.Policy.PolicyRemoveEntry other = (alluxio.proto.journal.Policy.PolicyRemoveEntry) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.proto.journal.Policy.PolicyRemoveEntry parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Policy.PolicyRemoveEntry parseFrom( java.nio.ByteBuffer data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.Policy.PolicyRemoveEntry parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Policy.PolicyRemoveEntry parseFrom( alluxio.shaded.client.com.google.protobuf.ByteString data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.Policy.PolicyRemoveEntry parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.proto.journal.Policy.PolicyRemoveEntry parseFrom( byte[] data, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static alluxio.proto.journal.Policy.PolicyRemoveEntry parseFrom(java.alluxio.shaded.client.io.InputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static alluxio.proto.journal.Policy.PolicyRemoveEntry parseFrom( java.alluxio.shaded.client.io.InputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static alluxio.proto.journal.Policy.PolicyRemoveEntry parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static alluxio.proto.journal.Policy.PolicyRemoveEntry parseDelimitedFrom( java.alluxio.shaded.client.io.InputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static alluxio.proto.journal.Policy.PolicyRemoveEntry parseFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static alluxio.proto.journal.Policy.PolicyRemoveEntry parseFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(alluxio.proto.journal.Policy.PolicyRemoveEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * next available id: 2
     * 
* * Protobuf type {@code alluxio.proto.journal.PolicyRemoveEntry} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.proto.journal.PolicyRemoveEntry) alluxio.proto.journal.Policy.PolicyRemoveEntryOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.proto.journal.Policy.internal_static_alluxio_proto_journal_PolicyRemoveEntry_descriptor; } @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return alluxio.proto.journal.Policy.internal_static_alluxio_proto_journal_PolicyRemoveEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.proto.journal.Policy.PolicyRemoveEntry.class, alluxio.proto.journal.Policy.PolicyRemoveEntry.Builder.class); } // Construct using alluxio.proto.journal.Policy.PolicyRemoveEntry.newBuilder() private Builder() { } private Builder( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return alluxio.proto.journal.Policy.internal_static_alluxio_proto_journal_PolicyRemoveEntry_descriptor; } @java.lang.Override public alluxio.proto.journal.Policy.PolicyRemoveEntry getDefaultInstanceForType() { return alluxio.proto.journal.Policy.PolicyRemoveEntry.getDefaultInstance(); } @java.lang.Override public alluxio.proto.journal.Policy.PolicyRemoveEntry build() { alluxio.proto.journal.Policy.PolicyRemoveEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.proto.journal.Policy.PolicyRemoveEntry buildPartial() { alluxio.proto.journal.Policy.PolicyRemoveEntry result = new alluxio.proto.journal.Policy.PolicyRemoveEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.Policy.PolicyRemoveEntry) { return mergeFrom((alluxio.proto.journal.Policy.PolicyRemoveEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.proto.journal.Policy.PolicyRemoveEntry other) { if (other == alluxio.proto.journal.Policy.PolicyRemoveEntry.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.alluxio.shaded.client.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { name_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { alluxio.shaded.client.com.google.protobuf.ByteString bs = (alluxio.shaded.client.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; * @return The bytes for name. */ public alluxio.shaded.client.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:alluxio.proto.journal.PolicyRemoveEntry) } // @@protoc_insertion_point(class_scope:alluxio.proto.journal.PolicyRemoveEntry) private static final alluxio.proto.journal.Policy.PolicyRemoveEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.proto.journal.Policy.PolicyRemoveEntry(); } public static alluxio.proto.journal.Policy.PolicyRemoveEntry getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() { @java.lang.Override public PolicyRemoveEntry parsePartialFrom( alluxio.shaded.client.com.google.protobuf.CodedInputStream input, alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.alluxio.shaded.client.io.IOException e) { throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static alluxio.shaded.client.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public alluxio.proto.journal.Policy.PolicyRemoveEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_PolicyDefinitionEntry_descriptor; private static final alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_alluxio_proto_journal_PolicyDefinitionEntry_fieldAccessorTable; private static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor internal_static_alluxio_proto_journal_PolicyRemoveEntry_descriptor; private static final alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_alluxio_proto_journal_PolicyRemoveEntry_fieldAccessorTable; public static alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\032proto/journal/policy.proto\022\025alluxio.pr" + "oto.journal\032\030grpc/policy_master.proto\"~\n" + "\025PolicyDefinitionEntry\022\n\n\002id\030\001 \001(\003\022\014\n\004na" + "me\030\002 \001(\t\022\022\n\ncreated_at\030\003 \001(\003\0227\n\007options\030" + "\004 \001(\0132&.alluxio.grpc.policy.AddPolicyPOp" + "tions\"!\n\021PolicyRemoveEntry\022\014\n\004name\030\001 \001(\t" }; descriptor = alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new alluxio.shaded.client.com.google.protobuf.Descriptors.FileDescriptor[] { alluxio.grpc.PolicyMasterProto.getDescriptor(), }); internal_static_alluxio_proto_journal_PolicyDefinitionEntry_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_alluxio_proto_journal_PolicyDefinitionEntry_fieldAccessorTable = new alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_alluxio_proto_journal_PolicyDefinitionEntry_descriptor, new java.lang.String[] { "Id", "Name", "CreatedAt", "Options", }); internal_static_alluxio_proto_journal_PolicyRemoveEntry_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_alluxio_proto_journal_PolicyRemoveEntry_fieldAccessorTable = new alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_alluxio_proto_journal_PolicyRemoveEntry_descriptor, new java.lang.String[] { "Name", }); alluxio.grpc.PolicyMasterProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy