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

org.apache.skywalking.banyandb.property.v1.BanyandbProperty Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: banyandb/v1/banyandb-property.proto

// Protobuf Java Version: 3.25.3
package org.apache.skywalking.banyandb.property.v1;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface MetadataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:banyandb.property.v1.Metadata)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * container is created when it receives the first property
     * 
* * .banyandb.common.v1.Metadata container = 1; * @return Whether the container field is set. */ boolean hasContainer(); /** *
     * container is created when it receives the first property
     * 
* * .banyandb.common.v1.Metadata container = 1; * @return The container. */ org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata getContainer(); /** *
     * container is created when it receives the first property
     * 
* * .banyandb.common.v1.Metadata container = 1; */ org.apache.skywalking.banyandb.common.v1.BanyandbCommon.MetadataOrBuilder getContainerOrBuilder(); /** *
     * id identifies a property
     * 
* * string id = 2; * @return The id. */ java.lang.String getId(); /** *
     * id identifies a property
     * 
* * string id = 2; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); } /** *
   * Metadata is for multi-tenant use
   * 
* * Protobuf type {@code banyandb.property.v1.Metadata} */ public static final class Metadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:banyandb.property.v1.Metadata) MetadataOrBuilder { private static final long serialVersionUID = 0L; // Use Metadata.newBuilder() to construct. private Metadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Metadata() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Metadata(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_Metadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder.class); } private int bitField0_; public static final int CONTAINER_FIELD_NUMBER = 1; private org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata container_; /** *
     * container is created when it receives the first property
     * 
* * .banyandb.common.v1.Metadata container = 1; * @return Whether the container field is set. */ @java.lang.Override public boolean hasContainer() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * container is created when it receives the first property
     * 
* * .banyandb.common.v1.Metadata container = 1; * @return The container. */ @java.lang.Override public org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata getContainer() { return container_ == null ? org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.getDefaultInstance() : container_; } /** *
     * container is created when it receives the first property
     * 
* * .banyandb.common.v1.Metadata container = 1; */ @java.lang.Override public org.apache.skywalking.banyandb.common.v1.BanyandbCommon.MetadataOrBuilder getContainerOrBuilder() { return container_ == null ? org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.getDefaultInstance() : container_; } public static final int ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** *
     * id identifies a property
     * 
* * string id = 2; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** *
     * id identifies a property
     * 
* * string id = 2; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getContainer()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getContainer()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); } 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata)) { return super.equals(obj); } org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata other = (org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata) obj; if (hasContainer() != other.hasContainer()) return false; if (hasContainer()) { if (!getContainer() .equals(other.getContainer())) return false; } if (!getId() .equals(other.getId())) 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 (hasContainer()) { hash = (37 * hash) + CONTAINER_FIELD_NUMBER; hash = (53 * hash) + getContainer().hashCode(); } hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Metadata is for multi-tenant use
     * 
* * Protobuf type {@code banyandb.property.v1.Metadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:banyandb.property.v1.Metadata) org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_Metadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder.class); } // Construct using org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getContainerFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; container_ = null; if (containerBuilder_ != null) { containerBuilder_.dispose(); containerBuilder_ = null; } id_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_Metadata_descriptor; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata getDefaultInstanceForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance(); } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata build() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata buildPartial() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata result = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.container_ = containerBuilder_ == null ? container_ : containerBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.id_ = id_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata) { return mergeFrom((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata other) { if (other == org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance()) return this; if (other.hasContainer()) { mergeContainer(other.getContainer()); } if (!other.getId().isEmpty()) { id_ = other.id_; bitField0_ |= 0x00000002; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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: { input.readMessage( getContainerFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { id_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata container_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata, org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.Builder, org.apache.skywalking.banyandb.common.v1.BanyandbCommon.MetadataOrBuilder> containerBuilder_; /** *
       * container is created when it receives the first property
       * 
* * .banyandb.common.v1.Metadata container = 1; * @return Whether the container field is set. */ public boolean hasContainer() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * container is created when it receives the first property
       * 
* * .banyandb.common.v1.Metadata container = 1; * @return The container. */ public org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata getContainer() { if (containerBuilder_ == null) { return container_ == null ? org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.getDefaultInstance() : container_; } else { return containerBuilder_.getMessage(); } } /** *
       * container is created when it receives the first property
       * 
* * .banyandb.common.v1.Metadata container = 1; */ public Builder setContainer(org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata value) { if (containerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } container_ = value; } else { containerBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * container is created when it receives the first property
       * 
* * .banyandb.common.v1.Metadata container = 1; */ public Builder setContainer( org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.Builder builderForValue) { if (containerBuilder_ == null) { container_ = builderForValue.build(); } else { containerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * container is created when it receives the first property
       * 
* * .banyandb.common.v1.Metadata container = 1; */ public Builder mergeContainer(org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata value) { if (containerBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && container_ != null && container_ != org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.getDefaultInstance()) { getContainerBuilder().mergeFrom(value); } else { container_ = value; } } else { containerBuilder_.mergeFrom(value); } if (container_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * container is created when it receives the first property
       * 
* * .banyandb.common.v1.Metadata container = 1; */ public Builder clearContainer() { bitField0_ = (bitField0_ & ~0x00000001); container_ = null; if (containerBuilder_ != null) { containerBuilder_.dispose(); containerBuilder_ = null; } onChanged(); return this; } /** *
       * container is created when it receives the first property
       * 
* * .banyandb.common.v1.Metadata container = 1; */ public org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.Builder getContainerBuilder() { bitField0_ |= 0x00000001; onChanged(); return getContainerFieldBuilder().getBuilder(); } /** *
       * container is created when it receives the first property
       * 
* * .banyandb.common.v1.Metadata container = 1; */ public org.apache.skywalking.banyandb.common.v1.BanyandbCommon.MetadataOrBuilder getContainerOrBuilder() { if (containerBuilder_ != null) { return containerBuilder_.getMessageOrBuilder(); } else { return container_ == null ? org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.getDefaultInstance() : container_; } } /** *
       * container is created when it receives the first property
       * 
* * .banyandb.common.v1.Metadata container = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata, org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.Builder, org.apache.skywalking.banyandb.common.v1.BanyandbCommon.MetadataOrBuilder> getContainerFieldBuilder() { if (containerBuilder_ == null) { containerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata, org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.Builder, org.apache.skywalking.banyandb.common.v1.BanyandbCommon.MetadataOrBuilder>( getContainer(), getParentForChildren(), isClean()); container_ = null; } return containerBuilder_; } private java.lang.Object id_ = ""; /** *
       * id identifies a property
       * 
* * string id = 2; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * id identifies a property
       * 
* * string id = 2; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * id identifies a property
       * 
* * string id = 2; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * id identifies a property
       * 
* * string id = 2; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * id identifies a property
       * 
* * string id = 2; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:banyandb.property.v1.Metadata) } // @@protoc_insertion_point(class_scope:banyandb.property.v1.Metadata) private static final org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata(); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Metadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PropertyOrBuilder extends // @@protoc_insertion_point(interface_extends:banyandb.property.v1.Property) com.google.protobuf.MessageOrBuilder { /** *
     * metadata is the identity of a property
     * 
* * .banyandb.property.v1.Metadata metadata = 1; * @return Whether the metadata field is set. */ boolean hasMetadata(); /** *
     * metadata is the identity of a property
     * 
* * .banyandb.property.v1.Metadata metadata = 1; * @return The metadata. */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata getMetadata(); /** *
     * metadata is the identity of a property
     * 
* * .banyandb.property.v1.Metadata metadata = 1; */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder getMetadataOrBuilder(); /** *
     * tag stores the content of a property
     * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ java.util.List getTagsList(); /** *
     * tag stores the content of a property
     * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag getTags(int index); /** *
     * tag stores the content of a property
     * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ int getTagsCount(); /** *
     * tag stores the content of a property
     * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ java.util.List getTagsOrBuilderList(); /** *
     * tag stores the content of a property
     * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ org.apache.skywalking.banyandb.model.v1.BanyandbModel.TagOrBuilder getTagsOrBuilder( int index); /** *
     * updated_at indicates when the property is updated
     * 
* * .google.protobuf.Timestamp updated_at = 3; * @return Whether the updatedAt field is set. */ boolean hasUpdatedAt(); /** *
     * updated_at indicates when the property is updated
     * 
* * .google.protobuf.Timestamp updated_at = 3; * @return The updatedAt. */ com.google.protobuf.Timestamp getUpdatedAt(); /** *
     * updated_at indicates when the property is updated
     * 
* * .google.protobuf.Timestamp updated_at = 3; */ com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder(); /** *
     * readonly. lease_id is the ID of the lease that attached to key.
     * 
* * int64 lease_id = 4; * @return The leaseId. */ long getLeaseId(); /** *
     * ttl indicates the time to live of the property.
     * It's a string in the format of "1h", "2m", "3s", "1500ms".
     * It defaults to 0s, which means the property never expires.
     * The minimum allowed ttl is 1s.
     * 
* * string ttl = 5; * @return The ttl. */ java.lang.String getTtl(); /** *
     * ttl indicates the time to live of the property.
     * It's a string in the format of "1h", "2m", "3s", "1500ms".
     * It defaults to 0s, which means the property never expires.
     * The minimum allowed ttl is 1s.
     * 
* * string ttl = 5; * @return The bytes for ttl. */ com.google.protobuf.ByteString getTtlBytes(); } /** *
   * Property stores the user defined data
   * 
* * Protobuf type {@code banyandb.property.v1.Property} */ public static final class Property extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:banyandb.property.v1.Property) PropertyOrBuilder { private static final long serialVersionUID = 0L; // Use Property.newBuilder() to construct. private Property(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Property() { tags_ = java.util.Collections.emptyList(); ttl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Property(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_Property_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_Property_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder.class); } private int bitField0_; public static final int METADATA_FIELD_NUMBER = 1; private org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata metadata_; /** *
     * metadata is the identity of a property
     * 
* * .banyandb.property.v1.Metadata metadata = 1; * @return Whether the metadata field is set. */ @java.lang.Override public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * metadata is the identity of a property
     * 
* * .banyandb.property.v1.Metadata metadata = 1; * @return The metadata. */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata getMetadata() { return metadata_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance() : metadata_; } /** *
     * metadata is the identity of a property
     * 
* * .banyandb.property.v1.Metadata metadata = 1; */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder getMetadataOrBuilder() { return metadata_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance() : metadata_; } public static final int TAGS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List tags_; /** *
     * tag stores the content of a property
     * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ @java.lang.Override public java.util.List getTagsList() { return tags_; } /** *
     * tag stores the content of a property
     * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ @java.lang.Override public java.util.List getTagsOrBuilderList() { return tags_; } /** *
     * tag stores the content of a property
     * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ @java.lang.Override public int getTagsCount() { return tags_.size(); } /** *
     * tag stores the content of a property
     * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ @java.lang.Override public org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag getTags(int index) { return tags_.get(index); } /** *
     * tag stores the content of a property
     * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ @java.lang.Override public org.apache.skywalking.banyandb.model.v1.BanyandbModel.TagOrBuilder getTagsOrBuilder( int index) { return tags_.get(index); } public static final int UPDATED_AT_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updatedAt_; /** *
     * updated_at indicates when the property is updated
     * 
* * .google.protobuf.Timestamp updated_at = 3; * @return Whether the updatedAt field is set. */ @java.lang.Override public boolean hasUpdatedAt() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * updated_at indicates when the property is updated
     * 
* * .google.protobuf.Timestamp updated_at = 3; * @return The updatedAt. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdatedAt() { return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; } /** *
     * updated_at indicates when the property is updated
     * 
* * .google.protobuf.Timestamp updated_at = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() { return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; } public static final int LEASE_ID_FIELD_NUMBER = 4; private long leaseId_ = 0L; /** *
     * readonly. lease_id is the ID of the lease that attached to key.
     * 
* * int64 lease_id = 4; * @return The leaseId. */ @java.lang.Override public long getLeaseId() { return leaseId_; } public static final int TTL_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object ttl_ = ""; /** *
     * ttl indicates the time to live of the property.
     * It's a string in the format of "1h", "2m", "3s", "1500ms".
     * It defaults to 0s, which means the property never expires.
     * The minimum allowed ttl is 1s.
     * 
* * string ttl = 5; * @return The ttl. */ @java.lang.Override public java.lang.String getTtl() { java.lang.Object ref = ttl_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ttl_ = s; return s; } } /** *
     * ttl indicates the time to live of the property.
     * It's a string in the format of "1h", "2m", "3s", "1500ms".
     * It defaults to 0s, which means the property never expires.
     * The minimum allowed ttl is 1s.
     * 
* * string ttl = 5; * @return The bytes for ttl. */ @java.lang.Override public com.google.protobuf.ByteString getTtlBytes() { java.lang.Object ref = ttl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ttl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getMetadata()); } for (int i = 0; i < tags_.size(); i++) { output.writeMessage(2, tags_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getUpdatedAt()); } if (leaseId_ != 0L) { output.writeInt64(4, leaseId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ttl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ttl_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getMetadata()); } for (int i = 0; i < tags_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, tags_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getUpdatedAt()); } if (leaseId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, leaseId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ttl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ttl_); } 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property)) { return super.equals(obj); } org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property other = (org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property) obj; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { if (!getMetadata() .equals(other.getMetadata())) return false; } if (!getTagsList() .equals(other.getTagsList())) return false; if (hasUpdatedAt() != other.hasUpdatedAt()) return false; if (hasUpdatedAt()) { if (!getUpdatedAt() .equals(other.getUpdatedAt())) return false; } if (getLeaseId() != other.getLeaseId()) return false; if (!getTtl() .equals(other.getTtl())) 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 (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } if (getTagsCount() > 0) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTagsList().hashCode(); } if (hasUpdatedAt()) { hash = (37 * hash) + UPDATED_AT_FIELD_NUMBER; hash = (53 * hash) + getUpdatedAt().hashCode(); } hash = (37 * hash) + LEASE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLeaseId()); hash = (37 * hash) + TTL_FIELD_NUMBER; hash = (53 * hash) + getTtl().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Property stores the user defined data
     * 
* * Protobuf type {@code banyandb.property.v1.Property} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:banyandb.property.v1.Property) org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_Property_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_Property_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder.class); } // Construct using org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getMetadataFieldBuilder(); getTagsFieldBuilder(); getUpdatedAtFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; metadata_ = null; if (metadataBuilder_ != null) { metadataBuilder_.dispose(); metadataBuilder_ = null; } if (tagsBuilder_ == null) { tags_ = java.util.Collections.emptyList(); } else { tags_ = null; tagsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); updatedAt_ = null; if (updatedAtBuilder_ != null) { updatedAtBuilder_.dispose(); updatedAtBuilder_ = null; } leaseId_ = 0L; ttl_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_Property_descriptor; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property getDefaultInstanceForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance(); } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property build() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property buildPartial() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property result = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property result) { if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); bitField0_ = (bitField0_ & ~0x00000002); } result.tags_ = tags_; } else { result.tags_ = tagsBuilder_.build(); } } private void buildPartial0(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.updatedAt_ = updatedAtBuilder_ == null ? updatedAt_ : updatedAtBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.leaseId_ = leaseId_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.ttl_ = ttl_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property) { return mergeFrom((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property other) { if (other == org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance()) return this; if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); } onChanged(); } } else { if (!other.tags_.isEmpty()) { if (tagsBuilder_.isEmpty()) { tagsBuilder_.dispose(); tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000002); tagsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTagsFieldBuilder() : null; } else { tagsBuilder_.addAllMessages(other.tags_); } } } if (other.hasUpdatedAt()) { mergeUpdatedAt(other.getUpdatedAt()); } if (other.getLeaseId() != 0L) { setLeaseId(other.getLeaseId()); } if (!other.getTtl().isEmpty()) { ttl_ = other.ttl_; bitField0_ |= 0x00000010; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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: { input.readMessage( getMetadataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag m = input.readMessage( org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag.parser(), extensionRegistry); if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(m); } else { tagsBuilder_.addMessage(m); } break; } // case 18 case 26: { input.readMessage( getUpdatedAtFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 32: { leaseId_ = input.readInt64(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { ttl_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder> metadataBuilder_; /** *
       * metadata is the identity of a property
       * 
* * .banyandb.property.v1.Metadata metadata = 1; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * metadata is the identity of a property
       * 
* * .banyandb.property.v1.Metadata metadata = 1; * @return The metadata. */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** *
       * metadata is the identity of a property
       * 
* * .banyandb.property.v1.Metadata metadata = 1; */ public Builder setMetadata(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadata_ = value; } else { metadataBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * metadata is the identity of a property
       * 
* * .banyandb.property.v1.Metadata metadata = 1; */ public Builder setMetadata( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); } else { metadataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * metadata is the identity of a property
       * 
* * .banyandb.property.v1.Metadata metadata = 1; */ public Builder mergeMetadata(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata value) { if (metadataBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && metadata_ != null && metadata_ != org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance()) { getMetadataBuilder().mergeFrom(value); } else { metadata_ = value; } } else { metadataBuilder_.mergeFrom(value); } if (metadata_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * metadata is the identity of a property
       * 
* * .banyandb.property.v1.Metadata metadata = 1; */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000001); metadata_ = null; if (metadataBuilder_ != null) { metadataBuilder_.dispose(); metadataBuilder_ = null; } onChanged(); return this; } /** *
       * metadata is the identity of a property
       * 
* * .banyandb.property.v1.Metadata metadata = 1; */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder getMetadataBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** *
       * metadata is the identity of a property
       * 
* * .banyandb.property.v1.Metadata metadata = 1; */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance() : metadata_; } } /** *
       * metadata is the identity of a property
       * 
* * .banyandb.property.v1.Metadata metadata = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder>( getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } private java.util.List tags_ = java.util.Collections.emptyList(); private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag, org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag.Builder, org.apache.skywalking.banyandb.model.v1.BanyandbModel.TagOrBuilder> tagsBuilder_; /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public java.util.List getTagsList() { if (tagsBuilder_ == null) { return java.util.Collections.unmodifiableList(tags_); } else { return tagsBuilder_.getMessageList(); } } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public int getTagsCount() { if (tagsBuilder_ == null) { return tags_.size(); } else { return tagsBuilder_.getCount(); } } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag getTags(int index) { if (tagsBuilder_ == null) { return tags_.get(index); } else { return tagsBuilder_.getMessage(index); } } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public Builder setTags( int index, org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.set(index, value); onChanged(); } else { tagsBuilder_.setMessage(index, value); } return this; } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public Builder setTags( int index, org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.set(index, builderForValue.build()); onChanged(); } else { tagsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public Builder addTags(org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(value); onChanged(); } else { tagsBuilder_.addMessage(value); } return this; } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public Builder addTags( int index, org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(index, value); onChanged(); } else { tagsBuilder_.addMessage(index, value); } return this; } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public Builder addTags( org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); onChanged(); } else { tagsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public Builder addTags( int index, org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(index, builderForValue.build()); onChanged(); } else { tagsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); } return this; } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public Builder clearTags() { if (tagsBuilder_ == null) { tags_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { tagsBuilder_.clear(); } return this; } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public Builder removeTags(int index) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.remove(index); onChanged(); } else { tagsBuilder_.remove(index); } return this; } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag.Builder getTagsBuilder( int index) { return getTagsFieldBuilder().getBuilder(index); } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public org.apache.skywalking.banyandb.model.v1.BanyandbModel.TagOrBuilder getTagsOrBuilder( int index) { if (tagsBuilder_ == null) { return tags_.get(index); } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public java.util.List getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tags_); } } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag.Builder addTagsBuilder() { return getTagsFieldBuilder().addBuilder( org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag.getDefaultInstance()); } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag.Builder addTagsBuilder( int index) { return getTagsFieldBuilder().addBuilder( index, org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag.getDefaultInstance()); } /** *
       * tag stores the content of a property
       * 
* * repeated .banyandb.model.v1.Tag tags = 2; */ public java.util.List getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag, org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag.Builder, org.apache.skywalking.banyandb.model.v1.BanyandbModel.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag, org.apache.skywalking.banyandb.model.v1.BanyandbModel.Tag.Builder, org.apache.skywalking.banyandb.model.v1.BanyandbModel.TagOrBuilder>( tags_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; } private com.google.protobuf.Timestamp updatedAt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedAtBuilder_; /** *
       * updated_at indicates when the property is updated
       * 
* * .google.protobuf.Timestamp updated_at = 3; * @return Whether the updatedAt field is set. */ public boolean hasUpdatedAt() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * updated_at indicates when the property is updated
       * 
* * .google.protobuf.Timestamp updated_at = 3; * @return The updatedAt. */ public com.google.protobuf.Timestamp getUpdatedAt() { if (updatedAtBuilder_ == null) { return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; } else { return updatedAtBuilder_.getMessage(); } } /** *
       * updated_at indicates when the property is updated
       * 
* * .google.protobuf.Timestamp updated_at = 3; */ public Builder setUpdatedAt(com.google.protobuf.Timestamp value) { if (updatedAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updatedAt_ = value; } else { updatedAtBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * updated_at indicates when the property is updated
       * 
* * .google.protobuf.Timestamp updated_at = 3; */ public Builder setUpdatedAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (updatedAtBuilder_ == null) { updatedAt_ = builderForValue.build(); } else { updatedAtBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * updated_at indicates when the property is updated
       * 
* * .google.protobuf.Timestamp updated_at = 3; */ public Builder mergeUpdatedAt(com.google.protobuf.Timestamp value) { if (updatedAtBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && updatedAt_ != null && updatedAt_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdatedAtBuilder().mergeFrom(value); } else { updatedAt_ = value; } } else { updatedAtBuilder_.mergeFrom(value); } if (updatedAt_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * updated_at indicates when the property is updated
       * 
* * .google.protobuf.Timestamp updated_at = 3; */ public Builder clearUpdatedAt() { bitField0_ = (bitField0_ & ~0x00000004); updatedAt_ = null; if (updatedAtBuilder_ != null) { updatedAtBuilder_.dispose(); updatedAtBuilder_ = null; } onChanged(); return this; } /** *
       * updated_at indicates when the property is updated
       * 
* * .google.protobuf.Timestamp updated_at = 3; */ public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder() { bitField0_ |= 0x00000004; onChanged(); return getUpdatedAtFieldBuilder().getBuilder(); } /** *
       * updated_at indicates when the property is updated
       * 
* * .google.protobuf.Timestamp updated_at = 3; */ public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() { if (updatedAtBuilder_ != null) { return updatedAtBuilder_.getMessageOrBuilder(); } else { return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; } } /** *
       * updated_at indicates when the property is updated
       * 
* * .google.protobuf.Timestamp updated_at = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdatedAtFieldBuilder() { if (updatedAtBuilder_ == null) { updatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getUpdatedAt(), getParentForChildren(), isClean()); updatedAt_ = null; } return updatedAtBuilder_; } private long leaseId_ ; /** *
       * readonly. lease_id is the ID of the lease that attached to key.
       * 
* * int64 lease_id = 4; * @return The leaseId. */ @java.lang.Override public long getLeaseId() { return leaseId_; } /** *
       * readonly. lease_id is the ID of the lease that attached to key.
       * 
* * int64 lease_id = 4; * @param value The leaseId to set. * @return This builder for chaining. */ public Builder setLeaseId(long value) { leaseId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * readonly. lease_id is the ID of the lease that attached to key.
       * 
* * int64 lease_id = 4; * @return This builder for chaining. */ public Builder clearLeaseId() { bitField0_ = (bitField0_ & ~0x00000008); leaseId_ = 0L; onChanged(); return this; } private java.lang.Object ttl_ = ""; /** *
       * ttl indicates the time to live of the property.
       * It's a string in the format of "1h", "2m", "3s", "1500ms".
       * It defaults to 0s, which means the property never expires.
       * The minimum allowed ttl is 1s.
       * 
* * string ttl = 5; * @return The ttl. */ public java.lang.String getTtl() { java.lang.Object ref = ttl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ttl_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ttl indicates the time to live of the property.
       * It's a string in the format of "1h", "2m", "3s", "1500ms".
       * It defaults to 0s, which means the property never expires.
       * The minimum allowed ttl is 1s.
       * 
* * string ttl = 5; * @return The bytes for ttl. */ public com.google.protobuf.ByteString getTtlBytes() { java.lang.Object ref = ttl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ttl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ttl indicates the time to live of the property.
       * It's a string in the format of "1h", "2m", "3s", "1500ms".
       * It defaults to 0s, which means the property never expires.
       * The minimum allowed ttl is 1s.
       * 
* * string ttl = 5; * @param value The ttl to set. * @return This builder for chaining. */ public Builder setTtl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ttl_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * ttl indicates the time to live of the property.
       * It's a string in the format of "1h", "2m", "3s", "1500ms".
       * It defaults to 0s, which means the property never expires.
       * The minimum allowed ttl is 1s.
       * 
* * string ttl = 5; * @return This builder for chaining. */ public Builder clearTtl() { ttl_ = getDefaultInstance().getTtl(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
       * ttl indicates the time to live of the property.
       * It's a string in the format of "1h", "2m", "3s", "1500ms".
       * It defaults to 0s, which means the property never expires.
       * The minimum allowed ttl is 1s.
       * 
* * string ttl = 5; * @param value The bytes for ttl to set. * @return This builder for chaining. */ public Builder setTtlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ttl_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:banyandb.property.v1.Property) } // @@protoc_insertion_point(class_scope:banyandb.property.v1.Property) private static final org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property(); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Property parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ApplyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:banyandb.property.v1.ApplyRequest) com.google.protobuf.MessageOrBuilder { /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } * @return Whether the property field is set. */ boolean hasProperty(); /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } * @return The property. */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property getProperty(); /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder getPropertyOrBuilder(); /** *
     * strategy indicates how to update a property. It defaults to STRATEGY_MERGE
     * 
* * .banyandb.property.v1.ApplyRequest.Strategy strategy = 2; * @return The enum numeric value on the wire for strategy. */ int getStrategyValue(); /** *
     * strategy indicates how to update a property. It defaults to STRATEGY_MERGE
     * 
* * .banyandb.property.v1.ApplyRequest.Strategy strategy = 2; * @return The strategy. */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Strategy getStrategy(); } /** * Protobuf type {@code banyandb.property.v1.ApplyRequest} */ public static final class ApplyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:banyandb.property.v1.ApplyRequest) ApplyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ApplyRequest.newBuilder() to construct. private ApplyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ApplyRequest() { strategy_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ApplyRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ApplyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ApplyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Builder.class); } /** * Protobuf enum {@code banyandb.property.v1.ApplyRequest.Strategy} */ public enum Strategy implements com.google.protobuf.ProtocolMessageEnum { /** * STRATEGY_UNSPECIFIED = 0; */ STRATEGY_UNSPECIFIED(0), /** * STRATEGY_MERGE = 1; */ STRATEGY_MERGE(1), /** * STRATEGY_REPLACE = 2; */ STRATEGY_REPLACE(2), UNRECOGNIZED(-1), ; /** * STRATEGY_UNSPECIFIED = 0; */ public static final int STRATEGY_UNSPECIFIED_VALUE = 0; /** * STRATEGY_MERGE = 1; */ public static final int STRATEGY_MERGE_VALUE = 1; /** * STRATEGY_REPLACE = 2; */ public static final int STRATEGY_REPLACE_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; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Strategy valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Strategy forNumber(int value) { switch (value) { case 0: return STRATEGY_UNSPECIFIED; case 1: return STRATEGY_MERGE; case 2: return STRATEGY_REPLACE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Strategy> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Strategy findValueByNumber(int number) { return Strategy.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.getDescriptor().getEnumTypes().get(0); } private static final Strategy[] VALUES = values(); public static Strategy 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 Strategy(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:banyandb.property.v1.ApplyRequest.Strategy) } private int bitField0_; public static final int PROPERTY_FIELD_NUMBER = 1; private org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property property_; /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } * @return Whether the property field is set. */ @java.lang.Override public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } * @return The property. */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property getProperty() { return property_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance() : property_; } /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder getPropertyOrBuilder() { return property_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance() : property_; } public static final int STRATEGY_FIELD_NUMBER = 2; private int strategy_ = 0; /** *
     * strategy indicates how to update a property. It defaults to STRATEGY_MERGE
     * 
* * .banyandb.property.v1.ApplyRequest.Strategy strategy = 2; * @return The enum numeric value on the wire for strategy. */ @java.lang.Override public int getStrategyValue() { return strategy_; } /** *
     * strategy indicates how to update a property. It defaults to STRATEGY_MERGE
     * 
* * .banyandb.property.v1.ApplyRequest.Strategy strategy = 2; * @return The strategy. */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Strategy getStrategy() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Strategy result = org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Strategy.forNumber(strategy_); return result == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Strategy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProperty()); } if (strategy_ != org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Strategy.STRATEGY_UNSPECIFIED.getNumber()) { output.writeEnum(2, strategy_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getProperty()); } if (strategy_ != org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Strategy.STRATEGY_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, strategy_); } 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest)) { return super.equals(obj); } org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest other = (org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { if (!getProperty() .equals(other.getProperty())) return false; } if (strategy_ != other.strategy_) 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 (hasProperty()) { hash = (37 * hash) + PROPERTY_FIELD_NUMBER; hash = (53 * hash) + getProperty().hashCode(); } hash = (37 * hash) + STRATEGY_FIELD_NUMBER; hash = (53 * hash) + strategy_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code banyandb.property.v1.ApplyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:banyandb.property.v1.ApplyRequest) org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ApplyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ApplyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Builder.class); } // Construct using org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPropertyFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; property_ = null; if (propertyBuilder_ != null) { propertyBuilder_.dispose(); propertyBuilder_ = null; } strategy_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ApplyRequest_descriptor; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest getDefaultInstanceForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.getDefaultInstance(); } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest build() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest buildPartial() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest result = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.strategy_ = strategy_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest) { return mergeFrom((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest other) { if (other == org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.getDefaultInstance()) return this; if (other.hasProperty()) { mergeProperty(other.getProperty()); } if (other.strategy_ != 0) { setStrategyValue(other.getStrategyValue()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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: { input.readMessage( getPropertyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { strategy_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property property_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder> propertyBuilder_; /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } * @return The property. */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property getProperty() { if (propertyBuilder_ == null) { return property_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance() : property_; } else { return propertyBuilder_.getMessage(); } } /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } */ public Builder setProperty(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property value) { if (propertyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } property_ = value; } else { propertyBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } */ public Builder setProperty( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder builderForValue) { if (propertyBuilder_ == null) { property_ = builderForValue.build(); } else { propertyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } */ public Builder mergeProperty(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property value) { if (propertyBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && property_ != null && property_ != org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; } } else { propertyBuilder_.mergeFrom(value); } if (property_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } */ public Builder clearProperty() { bitField0_ = (bitField0_ & ~0x00000001); property_ = null; if (propertyBuilder_ != null) { propertyBuilder_.dispose(); propertyBuilder_ = null; } onChanged(); return this; } /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder getPropertyBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPropertyFieldBuilder().getBuilder(); } /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder getPropertyOrBuilder() { if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { return property_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance() : property_; } } /** * .banyandb.property.v1.Property property = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder>( getProperty(), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; } private int strategy_ = 0; /** *
       * strategy indicates how to update a property. It defaults to STRATEGY_MERGE
       * 
* * .banyandb.property.v1.ApplyRequest.Strategy strategy = 2; * @return The enum numeric value on the wire for strategy. */ @java.lang.Override public int getStrategyValue() { return strategy_; } /** *
       * strategy indicates how to update a property. It defaults to STRATEGY_MERGE
       * 
* * .banyandb.property.v1.ApplyRequest.Strategy strategy = 2; * @param value The enum numeric value on the wire for strategy to set. * @return This builder for chaining. */ public Builder setStrategyValue(int value) { strategy_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * strategy indicates how to update a property. It defaults to STRATEGY_MERGE
       * 
* * .banyandb.property.v1.ApplyRequest.Strategy strategy = 2; * @return The strategy. */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Strategy getStrategy() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Strategy result = org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Strategy.forNumber(strategy_); return result == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Strategy.UNRECOGNIZED : result; } /** *
       * strategy indicates how to update a property. It defaults to STRATEGY_MERGE
       * 
* * .banyandb.property.v1.ApplyRequest.Strategy strategy = 2; * @param value The strategy to set. * @return This builder for chaining. */ public Builder setStrategy(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest.Strategy value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; strategy_ = value.getNumber(); onChanged(); return this; } /** *
       * strategy indicates how to update a property. It defaults to STRATEGY_MERGE
       * 
* * .banyandb.property.v1.ApplyRequest.Strategy strategy = 2; * @return This builder for chaining. */ public Builder clearStrategy() { bitField0_ = (bitField0_ & ~0x00000002); strategy_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:banyandb.property.v1.ApplyRequest) } // @@protoc_insertion_point(class_scope:banyandb.property.v1.ApplyRequest) private static final org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest(); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ApplyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ApplyResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:banyandb.property.v1.ApplyResponse) com.google.protobuf.MessageOrBuilder { /** *
     * created indicates whether the property existed.
     * True: the property is absent. False: the property existed.
     * 
* * bool created = 1; * @return The created. */ boolean getCreated(); /** * uint32 tags_num = 2; * @return The tagsNum. */ int getTagsNum(); /** * int64 lease_id = 3; * @return The leaseId. */ long getLeaseId(); } /** * Protobuf type {@code banyandb.property.v1.ApplyResponse} */ public static final class ApplyResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:banyandb.property.v1.ApplyResponse) ApplyResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ApplyResponse.newBuilder() to construct. private ApplyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ApplyResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ApplyResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ApplyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ApplyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse.Builder.class); } public static final int CREATED_FIELD_NUMBER = 1; private boolean created_ = false; /** *
     * created indicates whether the property existed.
     * True: the property is absent. False: the property existed.
     * 
* * bool created = 1; * @return The created. */ @java.lang.Override public boolean getCreated() { return created_; } public static final int TAGS_NUM_FIELD_NUMBER = 2; private int tagsNum_ = 0; /** * uint32 tags_num = 2; * @return The tagsNum. */ @java.lang.Override public int getTagsNum() { return tagsNum_; } public static final int LEASE_ID_FIELD_NUMBER = 3; private long leaseId_ = 0L; /** * int64 lease_id = 3; * @return The leaseId. */ @java.lang.Override public long getLeaseId() { return leaseId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (created_ != false) { output.writeBool(1, created_); } if (tagsNum_ != 0) { output.writeUInt32(2, tagsNum_); } if (leaseId_ != 0L) { output.writeInt64(3, leaseId_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (created_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, created_); } if (tagsNum_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, tagsNum_); } if (leaseId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, leaseId_); } 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse)) { return super.equals(obj); } org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse other = (org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse) obj; if (getCreated() != other.getCreated()) return false; if (getTagsNum() != other.getTagsNum()) return false; if (getLeaseId() != other.getLeaseId()) 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(); hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCreated()); hash = (37 * hash) + TAGS_NUM_FIELD_NUMBER; hash = (53 * hash) + getTagsNum(); hash = (37 * hash) + LEASE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLeaseId()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code banyandb.property.v1.ApplyResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:banyandb.property.v1.ApplyResponse) org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ApplyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ApplyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse.Builder.class); } // Construct using org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; created_ = false; tagsNum_ = 0; leaseId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ApplyResponse_descriptor; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse getDefaultInstanceForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse.getDefaultInstance(); } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse build() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse buildPartial() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse result = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.created_ = created_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.tagsNum_ = tagsNum_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.leaseId_ = leaseId_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse) { return mergeFrom((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse other) { if (other == org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse.getDefaultInstance()) return this; if (other.getCreated() != false) { setCreated(other.getCreated()); } if (other.getTagsNum() != 0) { setTagsNum(other.getTagsNum()); } if (other.getLeaseId() != 0L) { setLeaseId(other.getLeaseId()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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: { created_ = input.readBool(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { tagsNum_ = input.readUInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { leaseId_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 24 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private boolean created_ ; /** *
       * created indicates whether the property existed.
       * True: the property is absent. False: the property existed.
       * 
* * bool created = 1; * @return The created. */ @java.lang.Override public boolean getCreated() { return created_; } /** *
       * created indicates whether the property existed.
       * True: the property is absent. False: the property existed.
       * 
* * bool created = 1; * @param value The created to set. * @return This builder for chaining. */ public Builder setCreated(boolean value) { created_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * created indicates whether the property existed.
       * True: the property is absent. False: the property existed.
       * 
* * bool created = 1; * @return This builder for chaining. */ public Builder clearCreated() { bitField0_ = (bitField0_ & ~0x00000001); created_ = false; onChanged(); return this; } private int tagsNum_ ; /** * uint32 tags_num = 2; * @return The tagsNum. */ @java.lang.Override public int getTagsNum() { return tagsNum_; } /** * uint32 tags_num = 2; * @param value The tagsNum to set. * @return This builder for chaining. */ public Builder setTagsNum(int value) { tagsNum_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * uint32 tags_num = 2; * @return This builder for chaining. */ public Builder clearTagsNum() { bitField0_ = (bitField0_ & ~0x00000002); tagsNum_ = 0; onChanged(); return this; } private long leaseId_ ; /** * int64 lease_id = 3; * @return The leaseId. */ @java.lang.Override public long getLeaseId() { return leaseId_; } /** * int64 lease_id = 3; * @param value The leaseId to set. * @return This builder for chaining. */ public Builder setLeaseId(long value) { leaseId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * int64 lease_id = 3; * @return This builder for chaining. */ public Builder clearLeaseId() { bitField0_ = (bitField0_ & ~0x00000004); leaseId_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:banyandb.property.v1.ApplyResponse) } // @@protoc_insertion_point(class_scope:banyandb.property.v1.ApplyResponse) private static final org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse(); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ApplyResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ApplyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:banyandb.property.v1.DeleteRequest) com.google.protobuf.MessageOrBuilder { /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } * @return Whether the metadata field is set. */ boolean hasMetadata(); /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } * @return The metadata. */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata getMetadata(); /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder getMetadataOrBuilder(); /** * repeated string tags = 2; * @return A list containing the tags. */ java.util.List getTagsList(); /** * repeated string tags = 2; * @return The count of tags. */ int getTagsCount(); /** * repeated string tags = 2; * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** * repeated string tags = 2; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ com.google.protobuf.ByteString getTagsBytes(int index); } /** * Protobuf type {@code banyandb.property.v1.DeleteRequest} */ public static final class DeleteRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:banyandb.property.v1.DeleteRequest) DeleteRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteRequest.newBuilder() to construct. private DeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteRequest() { tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_DeleteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_DeleteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest.Builder.class); } private int bitField0_; public static final int METADATA_FIELD_NUMBER = 1; private org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata metadata_; /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } * @return Whether the metadata field is set. */ @java.lang.Override public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } * @return The metadata. */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata getMetadata() { return metadata_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance() : metadata_; } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder getMetadataOrBuilder() { return metadata_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance() : metadata_; } public static final int TAGS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string tags = 2; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** * repeated string tags = 2; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** * repeated string tags = 2; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** * repeated string tags = 2; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getMetadata()); } for (int i = 0; i < tags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tags_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getMetadata()); } { int dataSize = 0; for (int i = 0; i < tags_.size(); i++) { dataSize += computeStringSizeNoTag(tags_.getRaw(i)); } size += dataSize; size += 1 * getTagsList().size(); } 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest)) { return super.equals(obj); } org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest other = (org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest) obj; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { if (!getMetadata() .equals(other.getMetadata())) return false; } if (!getTagsList() .equals(other.getTagsList())) 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 (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } if (getTagsCount() > 0) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTagsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code banyandb.property.v1.DeleteRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:banyandb.property.v1.DeleteRequest) org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_DeleteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_DeleteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest.Builder.class); } // Construct using org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getMetadataFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; metadata_ = null; if (metadataBuilder_ != null) { metadataBuilder_.dispose(); metadataBuilder_ = null; } tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_DeleteRequest_descriptor; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest getDefaultInstanceForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest.getDefaultInstance(); } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest build() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest buildPartial() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest result = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { tags_.makeImmutable(); result.tags_ = tags_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest) { return mergeFrom((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest other) { if (other == org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest.getDefaultInstance()) return this; if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; bitField0_ |= 0x00000002; } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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: { input.readMessage( getMetadataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { java.lang.String s = input.readStringRequireUtf8(); ensureTagsIsMutable(); tags_.add(s); break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder> metadataBuilder_; /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } * @return The metadata. */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ public Builder setMetadata(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadata_ = value; } else { metadataBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ public Builder setMetadata( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); } else { metadataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ public Builder mergeMetadata(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata value) { if (metadataBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && metadata_ != null && metadata_ != org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance()) { getMetadataBuilder().mergeFrom(value); } else { metadata_ = value; } } else { metadataBuilder_.mergeFrom(value); } if (metadata_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000001); metadata_ = null; if (metadataBuilder_ != null) { metadataBuilder_.dispose(); metadataBuilder_ = null; } onChanged(); return this; } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder getMetadataBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance() : metadata_; } } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder>( getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } private com.google.protobuf.LazyStringArrayList tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureTagsIsMutable() { if (!tags_.isModifiable()) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); } bitField0_ |= 0x00000002; } /** * repeated string tags = 2; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { tags_.makeImmutable(); return tags_; } /** * repeated string tags = 2; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** * repeated string tags = 2; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** * repeated string tags = 2; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** * repeated string tags = 2; * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ public Builder setTags( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.set(index, value); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string tags = 2; * @param value The tags to add. * @return This builder for chaining. */ public Builder addTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string tags = 2; * @param values The tags to add. * @return This builder for chaining. */ public Builder addAllTags( java.lang.Iterable values) { ensureTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tags_); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string tags = 2; * @return This builder for chaining. */ public Builder clearTags() { tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** * repeated string tags = 2; * @param value The bytes of the tags to add. * @return This builder for chaining. */ public Builder addTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:banyandb.property.v1.DeleteRequest) } // @@protoc_insertion_point(class_scope:banyandb.property.v1.DeleteRequest) private static final org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest(); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:banyandb.property.v1.DeleteResponse) com.google.protobuf.MessageOrBuilder { /** * bool deleted = 1; * @return The deleted. */ boolean getDeleted(); /** * uint32 tags_num = 2; * @return The tagsNum. */ int getTagsNum(); } /** * Protobuf type {@code banyandb.property.v1.DeleteResponse} */ public static final class DeleteResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:banyandb.property.v1.DeleteResponse) DeleteResponseOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteResponse.newBuilder() to construct. private DeleteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_DeleteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_DeleteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse.Builder.class); } public static final int DELETED_FIELD_NUMBER = 1; private boolean deleted_ = false; /** * bool deleted = 1; * @return The deleted. */ @java.lang.Override public boolean getDeleted() { return deleted_; } public static final int TAGS_NUM_FIELD_NUMBER = 2; private int tagsNum_ = 0; /** * uint32 tags_num = 2; * @return The tagsNum. */ @java.lang.Override public int getTagsNum() { return tagsNum_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (deleted_ != false) { output.writeBool(1, deleted_); } if (tagsNum_ != 0) { output.writeUInt32(2, tagsNum_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (deleted_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, deleted_); } if (tagsNum_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, tagsNum_); } 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse)) { return super.equals(obj); } org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse other = (org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse) obj; if (getDeleted() != other.getDeleted()) return false; if (getTagsNum() != other.getTagsNum()) 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(); hash = (37 * hash) + DELETED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeleted()); hash = (37 * hash) + TAGS_NUM_FIELD_NUMBER; hash = (53 * hash) + getTagsNum(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code banyandb.property.v1.DeleteResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:banyandb.property.v1.DeleteResponse) org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_DeleteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_DeleteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse.Builder.class); } // Construct using org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; deleted_ = false; tagsNum_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_DeleteResponse_descriptor; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse getDefaultInstanceForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse.getDefaultInstance(); } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse build() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse buildPartial() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse result = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.deleted_ = deleted_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.tagsNum_ = tagsNum_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse) { return mergeFrom((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse other) { if (other == org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse.getDefaultInstance()) return this; if (other.getDeleted() != false) { setDeleted(other.getDeleted()); } if (other.getTagsNum() != 0) { setTagsNum(other.getTagsNum()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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: { deleted_ = input.readBool(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { tagsNum_ = input.readUInt32(); bitField0_ |= 0x00000002; break; } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private boolean deleted_ ; /** * bool deleted = 1; * @return The deleted. */ @java.lang.Override public boolean getDeleted() { return deleted_; } /** * bool deleted = 1; * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { deleted_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * bool deleted = 1; * @return This builder for chaining. */ public Builder clearDeleted() { bitField0_ = (bitField0_ & ~0x00000001); deleted_ = false; onChanged(); return this; } private int tagsNum_ ; /** * uint32 tags_num = 2; * @return The tagsNum. */ @java.lang.Override public int getTagsNum() { return tagsNum_; } /** * uint32 tags_num = 2; * @param value The tagsNum to set. * @return This builder for chaining. */ public Builder setTagsNum(int value) { tagsNum_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * uint32 tags_num = 2; * @return This builder for chaining. */ public Builder clearTagsNum() { bitField0_ = (bitField0_ & ~0x00000002); tagsNum_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:banyandb.property.v1.DeleteResponse) } // @@protoc_insertion_point(class_scope:banyandb.property.v1.DeleteResponse) private static final org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse(); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.DeleteResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:banyandb.property.v1.GetRequest) com.google.protobuf.MessageOrBuilder { /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } * @return Whether the metadata field is set. */ boolean hasMetadata(); /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } * @return The metadata. */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata getMetadata(); /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder getMetadataOrBuilder(); /** * repeated string tags = 2; * @return A list containing the tags. */ java.util.List getTagsList(); /** * repeated string tags = 2; * @return The count of tags. */ int getTagsCount(); /** * repeated string tags = 2; * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** * repeated string tags = 2; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ com.google.protobuf.ByteString getTagsBytes(int index); } /** * Protobuf type {@code banyandb.property.v1.GetRequest} */ public static final class GetRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:banyandb.property.v1.GetRequest) GetRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetRequest.newBuilder() to construct. private GetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetRequest() { tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_GetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_GetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest.Builder.class); } private int bitField0_; public static final int METADATA_FIELD_NUMBER = 1; private org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata metadata_; /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } * @return Whether the metadata field is set. */ @java.lang.Override public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } * @return The metadata. */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata getMetadata() { return metadata_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance() : metadata_; } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder getMetadataOrBuilder() { return metadata_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance() : metadata_; } public static final int TAGS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string tags = 2; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** * repeated string tags = 2; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** * repeated string tags = 2; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** * repeated string tags = 2; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getMetadata()); } for (int i = 0; i < tags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tags_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getMetadata()); } { int dataSize = 0; for (int i = 0; i < tags_.size(); i++) { dataSize += computeStringSizeNoTag(tags_.getRaw(i)); } size += dataSize; size += 1 * getTagsList().size(); } 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest)) { return super.equals(obj); } org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest other = (org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest) obj; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { if (!getMetadata() .equals(other.getMetadata())) return false; } if (!getTagsList() .equals(other.getTagsList())) 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 (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } if (getTagsCount() > 0) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTagsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code banyandb.property.v1.GetRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:banyandb.property.v1.GetRequest) org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_GetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_GetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest.Builder.class); } // Construct using org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getMetadataFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; metadata_ = null; if (metadataBuilder_ != null) { metadataBuilder_.dispose(); metadataBuilder_ = null; } tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_GetRequest_descriptor; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest getDefaultInstanceForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest.getDefaultInstance(); } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest build() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest buildPartial() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest result = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { tags_.makeImmutable(); result.tags_ = tags_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest) { return mergeFrom((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest other) { if (other == org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest.getDefaultInstance()) return this; if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; bitField0_ |= 0x00000002; } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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: { input.readMessage( getMetadataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { java.lang.String s = input.readStringRequireUtf8(); ensureTagsIsMutable(); tags_.add(s); break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder> metadataBuilder_; /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } * @return The metadata. */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ public Builder setMetadata(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadata_ = value; } else { metadataBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ public Builder setMetadata( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); } else { metadataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ public Builder mergeMetadata(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata value) { if (metadataBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && metadata_ != null && metadata_ != org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance()) { getMetadataBuilder().mergeFrom(value); } else { metadata_ = value; } } else { metadataBuilder_.mergeFrom(value); } if (metadata_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000001); metadata_ = null; if (metadataBuilder_ != null) { metadataBuilder_.dispose(); metadataBuilder_ = null; } onChanged(); return this; } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder getMetadataBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.getDefaultInstance() : metadata_; } } /** * .banyandb.property.v1.Metadata metadata = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Metadata.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.MetadataOrBuilder>( getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } private com.google.protobuf.LazyStringArrayList tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureTagsIsMutable() { if (!tags_.isModifiable()) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); } bitField0_ |= 0x00000002; } /** * repeated string tags = 2; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { tags_.makeImmutable(); return tags_; } /** * repeated string tags = 2; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** * repeated string tags = 2; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** * repeated string tags = 2; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** * repeated string tags = 2; * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ public Builder setTags( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.set(index, value); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string tags = 2; * @param value The tags to add. * @return This builder for chaining. */ public Builder addTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string tags = 2; * @param values The tags to add. * @return This builder for chaining. */ public Builder addAllTags( java.lang.Iterable values) { ensureTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tags_); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string tags = 2; * @return This builder for chaining. */ public Builder clearTags() { tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** * repeated string tags = 2; * @param value The bytes of the tags to add. * @return This builder for chaining. */ public Builder addTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:banyandb.property.v1.GetRequest) } // @@protoc_insertion_point(class_scope:banyandb.property.v1.GetRequest) private static final org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest(); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:banyandb.property.v1.GetResponse) com.google.protobuf.MessageOrBuilder { /** * .banyandb.property.v1.Property property = 1; * @return Whether the property field is set. */ boolean hasProperty(); /** * .banyandb.property.v1.Property property = 1; * @return The property. */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property getProperty(); /** * .banyandb.property.v1.Property property = 1; */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder getPropertyOrBuilder(); } /** * Protobuf type {@code banyandb.property.v1.GetResponse} */ public static final class GetResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:banyandb.property.v1.GetResponse) GetResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetResponse.newBuilder() to construct. private GetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_GetResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_GetResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse.Builder.class); } private int bitField0_; public static final int PROPERTY_FIELD_NUMBER = 1; private org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property property_; /** * .banyandb.property.v1.Property property = 1; * @return Whether the property field is set. */ @java.lang.Override public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** * .banyandb.property.v1.Property property = 1; * @return The property. */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property getProperty() { return property_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance() : property_; } /** * .banyandb.property.v1.Property property = 1; */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder getPropertyOrBuilder() { return property_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance() : property_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProperty()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getProperty()); } 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse)) { return super.equals(obj); } org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse other = (org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { if (!getProperty() .equals(other.getProperty())) 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 (hasProperty()) { hash = (37 * hash) + PROPERTY_FIELD_NUMBER; hash = (53 * hash) + getProperty().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code banyandb.property.v1.GetResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:banyandb.property.v1.GetResponse) org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_GetResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_GetResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse.Builder.class); } // Construct using org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPropertyFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; property_ = null; if (propertyBuilder_ != null) { propertyBuilder_.dispose(); propertyBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_GetResponse_descriptor; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse getDefaultInstanceForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse.getDefaultInstance(); } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse build() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse buildPartial() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse result = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse) { return mergeFrom((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse other) { if (other == org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse.getDefaultInstance()) return this; if (other.hasProperty()) { mergeProperty(other.getProperty()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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: { input.readMessage( getPropertyFieldBuilder().getBuilder(), extensionRegistry); 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 (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property property_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder> propertyBuilder_; /** * .banyandb.property.v1.Property property = 1; * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** * .banyandb.property.v1.Property property = 1; * @return The property. */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property getProperty() { if (propertyBuilder_ == null) { return property_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance() : property_; } else { return propertyBuilder_.getMessage(); } } /** * .banyandb.property.v1.Property property = 1; */ public Builder setProperty(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property value) { if (propertyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } property_ = value; } else { propertyBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .banyandb.property.v1.Property property = 1; */ public Builder setProperty( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder builderForValue) { if (propertyBuilder_ == null) { property_ = builderForValue.build(); } else { propertyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .banyandb.property.v1.Property property = 1; */ public Builder mergeProperty(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property value) { if (propertyBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && property_ != null && property_ != org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; } } else { propertyBuilder_.mergeFrom(value); } if (property_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .banyandb.property.v1.Property property = 1; */ public Builder clearProperty() { bitField0_ = (bitField0_ & ~0x00000001); property_ = null; if (propertyBuilder_ != null) { propertyBuilder_.dispose(); propertyBuilder_ = null; } onChanged(); return this; } /** * .banyandb.property.v1.Property property = 1; */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder getPropertyBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPropertyFieldBuilder().getBuilder(); } /** * .banyandb.property.v1.Property property = 1; */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder getPropertyOrBuilder() { if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { return property_ == null ? org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance() : property_; } } /** * .banyandb.property.v1.Property property = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder>( getProperty(), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:banyandb.property.v1.GetResponse) } // @@protoc_insertion_point(class_scope:banyandb.property.v1.GetResponse) private static final org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse(); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.GetResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:banyandb.property.v1.ListRequest) com.google.protobuf.MessageOrBuilder { /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } * @return Whether the container field is set. */ boolean hasContainer(); /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } * @return The container. */ org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata getContainer(); /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } */ org.apache.skywalking.banyandb.common.v1.BanyandbCommon.MetadataOrBuilder getContainerOrBuilder(); /** * repeated string ids = 2; * @return A list containing the ids. */ java.util.List getIdsList(); /** * repeated string ids = 2; * @return The count of ids. */ int getIdsCount(); /** * repeated string ids = 2; * @param index The index of the element to return. * @return The ids at the given index. */ java.lang.String getIds(int index); /** * repeated string ids = 2; * @param index The index of the value to return. * @return The bytes of the ids at the given index. */ com.google.protobuf.ByteString getIdsBytes(int index); /** * repeated string tags = 3; * @return A list containing the tags. */ java.util.List getTagsList(); /** * repeated string tags = 3; * @return The count of tags. */ int getTagsCount(); /** * repeated string tags = 3; * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** * repeated string tags = 3; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ com.google.protobuf.ByteString getTagsBytes(int index); } /** * Protobuf type {@code banyandb.property.v1.ListRequest} */ public static final class ListRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:banyandb.property.v1.ListRequest) ListRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListRequest.newBuilder() to construct. private ListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListRequest() { ids_ = com.google.protobuf.LazyStringArrayList.emptyList(); tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ListRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest.Builder.class); } private int bitField0_; public static final int CONTAINER_FIELD_NUMBER = 1; private org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata container_; /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } * @return Whether the container field is set. */ @java.lang.Override public boolean hasContainer() { return ((bitField0_ & 0x00000001) != 0); } /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } * @return The container. */ @java.lang.Override public org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata getContainer() { return container_ == null ? org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.getDefaultInstance() : container_; } /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } */ @java.lang.Override public org.apache.skywalking.banyandb.common.v1.BanyandbCommon.MetadataOrBuilder getContainerOrBuilder() { return container_ == null ? org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.getDefaultInstance() : container_; } public static final int IDS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList ids_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string ids = 2; * @return A list containing the ids. */ public com.google.protobuf.ProtocolStringList getIdsList() { return ids_; } /** * repeated string ids = 2; * @return The count of ids. */ public int getIdsCount() { return ids_.size(); } /** * repeated string ids = 2; * @param index The index of the element to return. * @return The ids at the given index. */ public java.lang.String getIds(int index) { return ids_.get(index); } /** * repeated string ids = 2; * @param index The index of the value to return. * @return The bytes of the ids at the given index. */ public com.google.protobuf.ByteString getIdsBytes(int index) { return ids_.getByteString(index); } public static final int TAGS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string tags = 3; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** * repeated string tags = 3; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** * repeated string tags = 3; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** * repeated string tags = 3; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getContainer()); } for (int i = 0; i < ids_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ids_.getRaw(i)); } for (int i = 0; i < tags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tags_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getContainer()); } { int dataSize = 0; for (int i = 0; i < ids_.size(); i++) { dataSize += computeStringSizeNoTag(ids_.getRaw(i)); } size += dataSize; size += 1 * getIdsList().size(); } { int dataSize = 0; for (int i = 0; i < tags_.size(); i++) { dataSize += computeStringSizeNoTag(tags_.getRaw(i)); } size += dataSize; size += 1 * getTagsList().size(); } 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest)) { return super.equals(obj); } org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest other = (org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest) obj; if (hasContainer() != other.hasContainer()) return false; if (hasContainer()) { if (!getContainer() .equals(other.getContainer())) return false; } if (!getIdsList() .equals(other.getIdsList())) return false; if (!getTagsList() .equals(other.getTagsList())) 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 (hasContainer()) { hash = (37 * hash) + CONTAINER_FIELD_NUMBER; hash = (53 * hash) + getContainer().hashCode(); } if (getIdsCount() > 0) { hash = (37 * hash) + IDS_FIELD_NUMBER; hash = (53 * hash) + getIdsList().hashCode(); } if (getTagsCount() > 0) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTagsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code banyandb.property.v1.ListRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:banyandb.property.v1.ListRequest) org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ListRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest.Builder.class); } // Construct using org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getContainerFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; container_ = null; if (containerBuilder_ != null) { containerBuilder_.dispose(); containerBuilder_ = null; } ids_ = com.google.protobuf.LazyStringArrayList.emptyList(); tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ListRequest_descriptor; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest getDefaultInstanceForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest.getDefaultInstance(); } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest build() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest buildPartial() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest result = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.container_ = containerBuilder_ == null ? container_ : containerBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { ids_.makeImmutable(); result.ids_ = ids_; } if (((from_bitField0_ & 0x00000004) != 0)) { tags_.makeImmutable(); result.tags_ = tags_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest) { return mergeFrom((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest other) { if (other == org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest.getDefaultInstance()) return this; if (other.hasContainer()) { mergeContainer(other.getContainer()); } if (!other.ids_.isEmpty()) { if (ids_.isEmpty()) { ids_ = other.ids_; bitField0_ |= 0x00000002; } else { ensureIdsIsMutable(); ids_.addAll(other.ids_); } onChanged(); } if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; bitField0_ |= 0x00000004; } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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: { input.readMessage( getContainerFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { java.lang.String s = input.readStringRequireUtf8(); ensureIdsIsMutable(); ids_.add(s); break; } // case 18 case 26: { java.lang.String s = input.readStringRequireUtf8(); ensureTagsIsMutable(); tags_.add(s); break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata container_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata, org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.Builder, org.apache.skywalking.banyandb.common.v1.BanyandbCommon.MetadataOrBuilder> containerBuilder_; /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } * @return Whether the container field is set. */ public boolean hasContainer() { return ((bitField0_ & 0x00000001) != 0); } /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } * @return The container. */ public org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata getContainer() { if (containerBuilder_ == null) { return container_ == null ? org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.getDefaultInstance() : container_; } else { return containerBuilder_.getMessage(); } } /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } */ public Builder setContainer(org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata value) { if (containerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } container_ = value; } else { containerBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } */ public Builder setContainer( org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.Builder builderForValue) { if (containerBuilder_ == null) { container_ = builderForValue.build(); } else { containerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } */ public Builder mergeContainer(org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata value) { if (containerBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && container_ != null && container_ != org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.getDefaultInstance()) { getContainerBuilder().mergeFrom(value); } else { container_ = value; } } else { containerBuilder_.mergeFrom(value); } if (container_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } */ public Builder clearContainer() { bitField0_ = (bitField0_ & ~0x00000001); container_ = null; if (containerBuilder_ != null) { containerBuilder_.dispose(); containerBuilder_ = null; } onChanged(); return this; } /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } */ public org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.Builder getContainerBuilder() { bitField0_ |= 0x00000001; onChanged(); return getContainerFieldBuilder().getBuilder(); } /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } */ public org.apache.skywalking.banyandb.common.v1.BanyandbCommon.MetadataOrBuilder getContainerOrBuilder() { if (containerBuilder_ != null) { return containerBuilder_.getMessageOrBuilder(); } else { return container_ == null ? org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.getDefaultInstance() : container_; } } /** * .banyandb.common.v1.Metadata container = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata, org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.Builder, org.apache.skywalking.banyandb.common.v1.BanyandbCommon.MetadataOrBuilder> getContainerFieldBuilder() { if (containerBuilder_ == null) { containerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata, org.apache.skywalking.banyandb.common.v1.BanyandbCommon.Metadata.Builder, org.apache.skywalking.banyandb.common.v1.BanyandbCommon.MetadataOrBuilder>( getContainer(), getParentForChildren(), isClean()); container_ = null; } return containerBuilder_; } private com.google.protobuf.LazyStringArrayList ids_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureIdsIsMutable() { if (!ids_.isModifiable()) { ids_ = new com.google.protobuf.LazyStringArrayList(ids_); } bitField0_ |= 0x00000002; } /** * repeated string ids = 2; * @return A list containing the ids. */ public com.google.protobuf.ProtocolStringList getIdsList() { ids_.makeImmutable(); return ids_; } /** * repeated string ids = 2; * @return The count of ids. */ public int getIdsCount() { return ids_.size(); } /** * repeated string ids = 2; * @param index The index of the element to return. * @return The ids at the given index. */ public java.lang.String getIds(int index) { return ids_.get(index); } /** * repeated string ids = 2; * @param index The index of the value to return. * @return The bytes of the ids at the given index. */ public com.google.protobuf.ByteString getIdsBytes(int index) { return ids_.getByteString(index); } /** * repeated string ids = 2; * @param index The index to set the value at. * @param value The ids to set. * @return This builder for chaining. */ public Builder setIds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureIdsIsMutable(); ids_.set(index, value); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string ids = 2; * @param value The ids to add. * @return This builder for chaining. */ public Builder addIds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureIdsIsMutable(); ids_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string ids = 2; * @param values The ids to add. * @return This builder for chaining. */ public Builder addAllIds( java.lang.Iterable values) { ensureIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, ids_); bitField0_ |= 0x00000002; onChanged(); return this; } /** * repeated string ids = 2; * @return This builder for chaining. */ public Builder clearIds() { ids_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** * repeated string ids = 2; * @param value The bytes of the ids to add. * @return This builder for chaining. */ public Builder addIdsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureIdsIsMutable(); ids_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureTagsIsMutable() { if (!tags_.isModifiable()) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); } bitField0_ |= 0x00000004; } /** * repeated string tags = 3; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { tags_.makeImmutable(); return tags_; } /** * repeated string tags = 3; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** * repeated string tags = 3; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** * repeated string tags = 3; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** * repeated string tags = 3; * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ public Builder setTags( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.set(index, value); bitField0_ |= 0x00000004; onChanged(); return this; } /** * repeated string tags = 3; * @param value The tags to add. * @return This builder for chaining. */ public Builder addTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(value); bitField0_ |= 0x00000004; onChanged(); return this; } /** * repeated string tags = 3; * @param values The tags to add. * @return This builder for chaining. */ public Builder addAllTags( java.lang.Iterable values) { ensureTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tags_); bitField0_ |= 0x00000004; onChanged(); return this; } /** * repeated string tags = 3; * @return This builder for chaining. */ public Builder clearTags() { tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** * repeated string tags = 3; * @param value The bytes of the tags to add. * @return This builder for chaining. */ public Builder addTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); bitField0_ |= 0x00000004; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:banyandb.property.v1.ListRequest) } // @@protoc_insertion_point(class_scope:banyandb.property.v1.ListRequest) private static final org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest(); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:banyandb.property.v1.ListResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .banyandb.property.v1.Property property = 1; */ java.util.List getPropertyList(); /** * repeated .banyandb.property.v1.Property property = 1; */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property getProperty(int index); /** * repeated .banyandb.property.v1.Property property = 1; */ int getPropertyCount(); /** * repeated .banyandb.property.v1.Property property = 1; */ java.util.List getPropertyOrBuilderList(); /** * repeated .banyandb.property.v1.Property property = 1; */ org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder getPropertyOrBuilder( int index); } /** * Protobuf type {@code banyandb.property.v1.ListResponse} */ public static final class ListResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:banyandb.property.v1.ListResponse) ListResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListResponse.newBuilder() to construct. private ListResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListResponse() { property_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ListResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ListResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List property_; /** * repeated .banyandb.property.v1.Property property = 1; */ @java.lang.Override public java.util.List getPropertyList() { return property_; } /** * repeated .banyandb.property.v1.Property property = 1; */ @java.lang.Override public java.util.List getPropertyOrBuilderList() { return property_; } /** * repeated .banyandb.property.v1.Property property = 1; */ @java.lang.Override public int getPropertyCount() { return property_.size(); } /** * repeated .banyandb.property.v1.Property property = 1; */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property getProperty(int index) { return property_.get(index); } /** * repeated .banyandb.property.v1.Property property = 1; */ @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder getPropertyOrBuilder( int index) { return property_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < property_.size(); i++) { output.writeMessage(1, property_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < property_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, property_.get(i)); } 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse)) { return super.equals(obj); } org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse other = (org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse) obj; if (!getPropertyList() .equals(other.getPropertyList())) 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 (getPropertyCount() > 0) { hash = (37 * hash) + PROPERTY_FIELD_NUMBER; hash = (53 * hash) + getPropertyList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code banyandb.property.v1.ListResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:banyandb.property.v1.ListResponse) org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ListResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ListResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse.Builder.class); } // Construct using org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (propertyBuilder_ == null) { property_ = java.util.Collections.emptyList(); } else { property_ = null; propertyBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_ListResponse_descriptor; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse getDefaultInstanceForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse.getDefaultInstance(); } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse build() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse buildPartial() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse result = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse result) { if (propertyBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { property_ = java.util.Collections.unmodifiableList(property_); bitField0_ = (bitField0_ & ~0x00000001); } result.property_ = property_; } else { result.property_ = propertyBuilder_.build(); } } private void buildPartial0(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse) { return mergeFrom((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse other) { if (other == org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse.getDefaultInstance()) return this; if (propertyBuilder_ == null) { if (!other.property_.isEmpty()) { if (property_.isEmpty()) { property_ = other.property_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePropertyIsMutable(); property_.addAll(other.property_); } onChanged(); } } else { if (!other.property_.isEmpty()) { if (propertyBuilder_.isEmpty()) { propertyBuilder_.dispose(); propertyBuilder_ = null; property_ = other.property_; bitField0_ = (bitField0_ & ~0x00000001); propertyBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPropertyFieldBuilder() : null; } else { propertyBuilder_.addAllMessages(other.property_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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: { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property m = input.readMessage( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.parser(), extensionRegistry); if (propertyBuilder_ == null) { ensurePropertyIsMutable(); property_.add(m); } else { propertyBuilder_.addMessage(m); } break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List property_ = java.util.Collections.emptyList(); private void ensurePropertyIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { property_ = new java.util.ArrayList(property_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder> propertyBuilder_; /** * repeated .banyandb.property.v1.Property property = 1; */ public java.util.List getPropertyList() { if (propertyBuilder_ == null) { return java.util.Collections.unmodifiableList(property_); } else { return propertyBuilder_.getMessageList(); } } /** * repeated .banyandb.property.v1.Property property = 1; */ public int getPropertyCount() { if (propertyBuilder_ == null) { return property_.size(); } else { return propertyBuilder_.getCount(); } } /** * repeated .banyandb.property.v1.Property property = 1; */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property getProperty(int index) { if (propertyBuilder_ == null) { return property_.get(index); } else { return propertyBuilder_.getMessage(index); } } /** * repeated .banyandb.property.v1.Property property = 1; */ public Builder setProperty( int index, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property value) { if (propertyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertyIsMutable(); property_.set(index, value); onChanged(); } else { propertyBuilder_.setMessage(index, value); } return this; } /** * repeated .banyandb.property.v1.Property property = 1; */ public Builder setProperty( int index, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder builderForValue) { if (propertyBuilder_ == null) { ensurePropertyIsMutable(); property_.set(index, builderForValue.build()); onChanged(); } else { propertyBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .banyandb.property.v1.Property property = 1; */ public Builder addProperty(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property value) { if (propertyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertyIsMutable(); property_.add(value); onChanged(); } else { propertyBuilder_.addMessage(value); } return this; } /** * repeated .banyandb.property.v1.Property property = 1; */ public Builder addProperty( int index, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property value) { if (propertyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertyIsMutable(); property_.add(index, value); onChanged(); } else { propertyBuilder_.addMessage(index, value); } return this; } /** * repeated .banyandb.property.v1.Property property = 1; */ public Builder addProperty( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder builderForValue) { if (propertyBuilder_ == null) { ensurePropertyIsMutable(); property_.add(builderForValue.build()); onChanged(); } else { propertyBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .banyandb.property.v1.Property property = 1; */ public Builder addProperty( int index, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder builderForValue) { if (propertyBuilder_ == null) { ensurePropertyIsMutable(); property_.add(index, builderForValue.build()); onChanged(); } else { propertyBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .banyandb.property.v1.Property property = 1; */ public Builder addAllProperty( java.lang.Iterable values) { if (propertyBuilder_ == null) { ensurePropertyIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, property_); onChanged(); } else { propertyBuilder_.addAllMessages(values); } return this; } /** * repeated .banyandb.property.v1.Property property = 1; */ public Builder clearProperty() { if (propertyBuilder_ == null) { property_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { propertyBuilder_.clear(); } return this; } /** * repeated .banyandb.property.v1.Property property = 1; */ public Builder removeProperty(int index) { if (propertyBuilder_ == null) { ensurePropertyIsMutable(); property_.remove(index); onChanged(); } else { propertyBuilder_.remove(index); } return this; } /** * repeated .banyandb.property.v1.Property property = 1; */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder getPropertyBuilder( int index) { return getPropertyFieldBuilder().getBuilder(index); } /** * repeated .banyandb.property.v1.Property property = 1; */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder getPropertyOrBuilder( int index) { if (propertyBuilder_ == null) { return property_.get(index); } else { return propertyBuilder_.getMessageOrBuilder(index); } } /** * repeated .banyandb.property.v1.Property property = 1; */ public java.util.List getPropertyOrBuilderList() { if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(property_); } } /** * repeated .banyandb.property.v1.Property property = 1; */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder addPropertyBuilder() { return getPropertyFieldBuilder().addBuilder( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance()); } /** * repeated .banyandb.property.v1.Property property = 1; */ public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder addPropertyBuilder( int index) { return getPropertyFieldBuilder().addBuilder( index, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.getDefaultInstance()); } /** * repeated .banyandb.property.v1.Property property = 1; */ public java.util.List getPropertyBuilderList() { return getPropertyFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { propertyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.Property.Builder, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.PropertyOrBuilder>( property_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:banyandb.property.v1.ListResponse) } // @@protoc_insertion_point(class_scope:banyandb.property.v1.ListResponse) private static final org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse(); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.ListResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface KeepAliveRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:banyandb.property.v1.KeepAliveRequest) com.google.protobuf.MessageOrBuilder { /** * int64 lease_id = 1; * @return The leaseId. */ long getLeaseId(); } /** * Protobuf type {@code banyandb.property.v1.KeepAliveRequest} */ public static final class KeepAliveRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:banyandb.property.v1.KeepAliveRequest) KeepAliveRequestOrBuilder { private static final long serialVersionUID = 0L; // Use KeepAliveRequest.newBuilder() to construct. private KeepAliveRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private KeepAliveRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new KeepAliveRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_KeepAliveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_KeepAliveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest.Builder.class); } public static final int LEASE_ID_FIELD_NUMBER = 1; private long leaseId_ = 0L; /** * int64 lease_id = 1; * @return The leaseId. */ @java.lang.Override public long getLeaseId() { return leaseId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (leaseId_ != 0L) { output.writeInt64(1, leaseId_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (leaseId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, leaseId_); } 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest)) { return super.equals(obj); } org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest other = (org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest) obj; if (getLeaseId() != other.getLeaseId()) 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(); hash = (37 * hash) + LEASE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLeaseId()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code banyandb.property.v1.KeepAliveRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:banyandb.property.v1.KeepAliveRequest) org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_KeepAliveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_KeepAliveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest.Builder.class); } // Construct using org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; leaseId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_KeepAliveRequest_descriptor; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest getDefaultInstanceForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest.getDefaultInstance(); } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest build() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest buildPartial() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest result = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.leaseId_ = leaseId_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest) { return mergeFrom((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest other) { if (other == org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest.getDefaultInstance()) return this; if (other.getLeaseId() != 0L) { setLeaseId(other.getLeaseId()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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: { leaseId_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long leaseId_ ; /** * int64 lease_id = 1; * @return The leaseId. */ @java.lang.Override public long getLeaseId() { return leaseId_; } /** * int64 lease_id = 1; * @param value The leaseId to set. * @return This builder for chaining. */ public Builder setLeaseId(long value) { leaseId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * int64 lease_id = 1; * @return This builder for chaining. */ public Builder clearLeaseId() { bitField0_ = (bitField0_ & ~0x00000001); leaseId_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:banyandb.property.v1.KeepAliveRequest) } // @@protoc_insertion_point(class_scope:banyandb.property.v1.KeepAliveRequest) private static final org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest(); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public KeepAliveRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface KeepAliveResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:banyandb.property.v1.KeepAliveResponse) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code banyandb.property.v1.KeepAliveResponse} */ public static final class KeepAliveResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:banyandb.property.v1.KeepAliveResponse) KeepAliveResponseOrBuilder { private static final long serialVersionUID = 0L; // Use KeepAliveResponse.newBuilder() to construct. private KeepAliveResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private KeepAliveResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new KeepAliveResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_KeepAliveResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_KeepAliveResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse)) { return super.equals(obj); } org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse other = (org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse) obj; 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(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse 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 org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code banyandb.property.v1.KeepAliveResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:banyandb.property.v1.KeepAliveResponse) org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_KeepAliveResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_KeepAliveResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse.class, org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse.Builder.class); } // Construct using org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.internal_static_banyandb_property_v1_KeepAliveResponse_descriptor; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse getDefaultInstanceForType() { return org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse.getDefaultInstance(); } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse build() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse buildPartial() { org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse result = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse) { return mergeFrom((org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse other) { if (other == org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { 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; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:banyandb.property.v1.KeepAliveResponse) } // @@protoc_insertion_point(class_scope:banyandb.property.v1.KeepAliveResponse) private static final org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse(); } public static org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public KeepAliveResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.skywalking.banyandb.property.v1.BanyandbProperty.KeepAliveResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_banyandb_property_v1_Metadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_banyandb_property_v1_Metadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_banyandb_property_v1_Property_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_banyandb_property_v1_Property_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_banyandb_property_v1_ApplyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_banyandb_property_v1_ApplyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_banyandb_property_v1_ApplyResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_banyandb_property_v1_ApplyResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_banyandb_property_v1_DeleteRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_banyandb_property_v1_DeleteRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_banyandb_property_v1_DeleteResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_banyandb_property_v1_DeleteResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_banyandb_property_v1_GetRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_banyandb_property_v1_GetRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_banyandb_property_v1_GetResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_banyandb_property_v1_GetResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_banyandb_property_v1_ListRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_banyandb_property_v1_ListRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_banyandb_property_v1_ListResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_banyandb_property_v1_ListResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_banyandb_property_v1_KeepAliveRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_banyandb_property_v1_KeepAliveRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_banyandb_property_v1_KeepAliveResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_banyandb_property_v1_KeepAliveResponse_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#banyandb/v1/banyandb-property.proto\022\024b" + "anyandb.property.v1\032\037google/protobuf/tim" + "estamp.proto\032\027validate/validate.proto\032!b" + "anyandb/v1/banyandb-common.proto\032 banyan" + "db/v1/banyandb-model.proto\"G\n\010Metadata\022/" + "\n\tcontainer\030\001 \001(\0132\034.banyandb.common.v1.M" + "etadata\022\n\n\002id\030\002 \001(\t\"\261\001\n\010Property\0220\n\010meta" + "data\030\001 \001(\0132\036.banyandb.property.v1.Metada" + "ta\022$\n\004tags\030\002 \003(\0132\026.banyandb.model.v1.Tag" + "\022.\n\nupdated_at\030\003 \001(\0132\032.google.protobuf.T" + "imestamp\022\020\n\010lease_id\030\004 \001(\003\022\013\n\003ttl\030\005 \001(\t\"" + "\331\001\n\014ApplyRequest\022:\n\010property\030\001 \001(\0132\036.ban" + "yandb.property.v1.PropertyB\010\372B\005\212\001\002\020\001\022=\n\010" + "strategy\030\002 \001(\0162+.banyandb.property.v1.Ap" + "plyRequest.Strategy\"N\n\010Strategy\022\030\n\024STRAT" + "EGY_UNSPECIFIED\020\000\022\022\n\016STRATEGY_MERGE\020\001\022\024\n" + "\020STRATEGY_REPLACE\020\002\"D\n\rApplyResponse\022\017\n\007" + "created\030\001 \001(\010\022\020\n\010tags_num\030\002 \001(\r\022\020\n\010lease" + "_id\030\003 \001(\003\"Y\n\rDeleteRequest\022:\n\010metadata\030\001" + " \001(\0132\036.banyandb.property.v1.MetadataB\010\372B" + "\005\212\001\002\020\001\022\014\n\004tags\030\002 \003(\t\"3\n\016DeleteResponse\022\017" + "\n\007deleted\030\001 \001(\010\022\020\n\010tags_num\030\002 \001(\r\"V\n\nGet" + "Request\022:\n\010metadata\030\001 \001(\0132\036.banyandb.pro" + "perty.v1.MetadataB\010\372B\005\212\001\002\020\001\022\014\n\004tags\030\002 \003(" + "\t\"?\n\013GetResponse\0220\n\010property\030\001 \001(\0132\036.ban" + "yandb.property.v1.Property\"c\n\013ListReques" + "t\0229\n\tcontainer\030\001 \001(\0132\034.banyandb.common.v" + "1.MetadataB\010\372B\005\212\001\002\020\001\022\013\n\003ids\030\002 \003(\t\022\014\n\004tag" + "s\030\003 \003(\t\"@\n\014ListResponse\0220\n\010property\030\001 \003(" + "\0132\036.banyandb.property.v1.Property\"$\n\020Kee" + "pAliveRequest\022\020\n\010lease_id\030\001 \001(\003\"\023\n\021KeepA" + "liveResponse2\261\003\n\017PropertyService\022P\n\005Appl" + "y\022\".banyandb.property.v1.ApplyRequest\032#." + "banyandb.property.v1.ApplyResponse\022S\n\006De" + "lete\022#.banyandb.property.v1.DeleteReques" + "t\032$.banyandb.property.v1.DeleteResponse\022" + "J\n\003Get\022 .banyandb.property.v1.GetRequest" + "\032!.banyandb.property.v1.GetResponse\022M\n\004L" + "ist\022!.banyandb.property.v1.ListRequest\032\"" + ".banyandb.property.v1.ListResponse\022\\\n\tKe" + "epAlive\022&.banyandb.property.v1.KeepAlive" + "Request\032\'.banyandb.property.v1.KeepAlive" + "ResponseB,\n*org.apache.skywalking.banyan" + "db.property.v1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.TimestampProto.getDescriptor(), io.envoyproxy.pgv.validate.Validate.getDescriptor(), org.apache.skywalking.banyandb.common.v1.BanyandbCommon.getDescriptor(), org.apache.skywalking.banyandb.model.v1.BanyandbModel.getDescriptor(), }); internal_static_banyandb_property_v1_Metadata_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_banyandb_property_v1_Metadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_banyandb_property_v1_Metadata_descriptor, new java.lang.String[] { "Container", "Id", }); internal_static_banyandb_property_v1_Property_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_banyandb_property_v1_Property_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_banyandb_property_v1_Property_descriptor, new java.lang.String[] { "Metadata", "Tags", "UpdatedAt", "LeaseId", "Ttl", }); internal_static_banyandb_property_v1_ApplyRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_banyandb_property_v1_ApplyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_banyandb_property_v1_ApplyRequest_descriptor, new java.lang.String[] { "Property", "Strategy", }); internal_static_banyandb_property_v1_ApplyResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_banyandb_property_v1_ApplyResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_banyandb_property_v1_ApplyResponse_descriptor, new java.lang.String[] { "Created", "TagsNum", "LeaseId", }); internal_static_banyandb_property_v1_DeleteRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_banyandb_property_v1_DeleteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_banyandb_property_v1_DeleteRequest_descriptor, new java.lang.String[] { "Metadata", "Tags", }); internal_static_banyandb_property_v1_DeleteResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_banyandb_property_v1_DeleteResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_banyandb_property_v1_DeleteResponse_descriptor, new java.lang.String[] { "Deleted", "TagsNum", }); internal_static_banyandb_property_v1_GetRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_banyandb_property_v1_GetRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_banyandb_property_v1_GetRequest_descriptor, new java.lang.String[] { "Metadata", "Tags", }); internal_static_banyandb_property_v1_GetResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_banyandb_property_v1_GetResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_banyandb_property_v1_GetResponse_descriptor, new java.lang.String[] { "Property", }); internal_static_banyandb_property_v1_ListRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_banyandb_property_v1_ListRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_banyandb_property_v1_ListRequest_descriptor, new java.lang.String[] { "Container", "Ids", "Tags", }); internal_static_banyandb_property_v1_ListResponse_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_banyandb_property_v1_ListResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_banyandb_property_v1_ListResponse_descriptor, new java.lang.String[] { "Property", }); internal_static_banyandb_property_v1_KeepAliveRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_banyandb_property_v1_KeepAliveRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_banyandb_property_v1_KeepAliveRequest_descriptor, new java.lang.String[] { "LeaseId", }); internal_static_banyandb_property_v1_KeepAliveResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_banyandb_property_v1_KeepAliveResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_banyandb_property_v1_KeepAliveResponse_descriptor, new java.lang.String[] { }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(io.envoyproxy.pgv.validate.Validate.rules); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.protobuf.TimestampProto.getDescriptor(); io.envoyproxy.pgv.validate.Validate.getDescriptor(); org.apache.skywalking.banyandb.common.v1.BanyandbCommon.getDescriptor(); org.apache.skywalking.banyandb.model.v1.BanyandbModel.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy