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

io.dapr.v1.DaprAppCallbackProtos Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: dapr/proto/runtime/v1/appcallback.proto

package io.dapr.v1;

public final class DaprAppCallbackProtos {
  private DaprAppCallbackProtos() {}
  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 JobEventRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.JobEventRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Job name.
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Job name.
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Job data to be sent back to app.
     * 
* * .google.protobuf.Any data = 2; * @return Whether the data field is set. */ boolean hasData(); /** *
     * Job data to be sent back to app.
     * 
* * .google.protobuf.Any data = 2; * @return The data. */ com.google.protobuf.Any getData(); /** *
     * Job data to be sent back to app.
     * 
* * .google.protobuf.Any data = 2; */ com.google.protobuf.AnyOrBuilder getDataOrBuilder(); /** *
     * Required. method is a method name which will be invoked by caller.
     * 
* * string method = 3; * @return The method. */ java.lang.String getMethod(); /** *
     * Required. method is a method name which will be invoked by caller.
     * 
* * string method = 3; * @return The bytes for method. */ com.google.protobuf.ByteString getMethodBytes(); /** *
     * The type of data content.
     * This field is required if data delivers http request body
     * Otherwise, this is optional.
     * 
* * string content_type = 4; * @return The contentType. */ java.lang.String getContentType(); /** *
     * The type of data content.
     * This field is required if data delivers http request body
     * Otherwise, this is optional.
     * 
* * string content_type = 4; * @return The bytes for contentType. */ com.google.protobuf.ByteString getContentTypeBytes(); /** *
     * HTTP specific fields if request conveys http-compatible request.
     * This field is required for http-compatible request. Otherwise,
     * this field is optional.
     * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; * @return Whether the httpExtension field is set. */ boolean hasHttpExtension(); /** *
     * HTTP specific fields if request conveys http-compatible request.
     * This field is required for http-compatible request. Otherwise,
     * this field is optional.
     * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; * @return The httpExtension. */ io.dapr.v1.CommonProtos.HTTPExtension getHttpExtension(); /** *
     * HTTP specific fields if request conveys http-compatible request.
     * This field is required for http-compatible request. Otherwise,
     * this field is optional.
     * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; */ io.dapr.v1.CommonProtos.HTTPExtensionOrBuilder getHttpExtensionOrBuilder(); } /** * Protobuf type {@code dapr.proto.runtime.v1.JobEventRequest} */ public static final class JobEventRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.JobEventRequest) JobEventRequestOrBuilder { private static final long serialVersionUID = 0L; // Use JobEventRequest.newBuilder() to construct. private JobEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JobEventRequest() { name_ = ""; method_ = ""; contentType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JobEventRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JobEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { com.google.protobuf.Any.Builder subBuilder = null; if (data_ != null) { subBuilder = data_.toBuilder(); } data_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(data_); data_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); method_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); contentType_ = s; break; } case 42: { io.dapr.v1.CommonProtos.HTTPExtension.Builder subBuilder = null; if (httpExtension_ != null) { subBuilder = httpExtension_.toBuilder(); } httpExtension_ = input.readMessage(io.dapr.v1.CommonProtos.HTTPExtension.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(httpExtension_); httpExtension_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_JobEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_JobEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.JobEventRequest.class, io.dapr.v1.DaprAppCallbackProtos.JobEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * Job name.
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * Job name.
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.Any data_; /** *
     * Job data to be sent back to app.
     * 
* * .google.protobuf.Any data = 2; * @return Whether the data field is set. */ @java.lang.Override public boolean hasData() { return data_ != null; } /** *
     * Job data to be sent back to app.
     * 
* * .google.protobuf.Any data = 2; * @return The data. */ @java.lang.Override public com.google.protobuf.Any getData() { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; } /** *
     * Job data to be sent back to app.
     * 
* * .google.protobuf.Any data = 2; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getDataOrBuilder() { return getData(); } public static final int METHOD_FIELD_NUMBER = 3; private volatile java.lang.Object method_; /** *
     * Required. method is a method name which will be invoked by caller.
     * 
* * string method = 3; * @return The method. */ @java.lang.Override public java.lang.String getMethod() { java.lang.Object ref = method_; 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(); method_ = s; return s; } } /** *
     * Required. method is a method name which will be invoked by caller.
     * 
* * string method = 3; * @return The bytes for method. */ @java.lang.Override public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private volatile java.lang.Object contentType_; /** *
     * The type of data content.
     * This field is required if data delivers http request body
     * Otherwise, this is optional.
     * 
* * string content_type = 4; * @return The contentType. */ @java.lang.Override public java.lang.String getContentType() { java.lang.Object ref = contentType_; 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(); contentType_ = s; return s; } } /** *
     * The type of data content.
     * This field is required if data delivers http request body
     * Otherwise, this is optional.
     * 
* * string content_type = 4; * @return The bytes for contentType. */ @java.lang.Override public com.google.protobuf.ByteString getContentTypeBytes() { java.lang.Object ref = contentType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HTTP_EXTENSION_FIELD_NUMBER = 5; private io.dapr.v1.CommonProtos.HTTPExtension httpExtension_; /** *
     * HTTP specific fields if request conveys http-compatible request.
     * This field is required for http-compatible request. Otherwise,
     * this field is optional.
     * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; * @return Whether the httpExtension field is set. */ @java.lang.Override public boolean hasHttpExtension() { return httpExtension_ != null; } /** *
     * HTTP specific fields if request conveys http-compatible request.
     * This field is required for http-compatible request. Otherwise,
     * this field is optional.
     * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; * @return The httpExtension. */ @java.lang.Override public io.dapr.v1.CommonProtos.HTTPExtension getHttpExtension() { return httpExtension_ == null ? io.dapr.v1.CommonProtos.HTTPExtension.getDefaultInstance() : httpExtension_; } /** *
     * HTTP specific fields if request conveys http-compatible request.
     * This field is required for http-compatible request. Otherwise,
     * this field is optional.
     * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; */ @java.lang.Override public io.dapr.v1.CommonProtos.HTTPExtensionOrBuilder getHttpExtensionOrBuilder() { return getHttpExtension(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (data_ != null) { output.writeMessage(2, getData()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, method_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, contentType_); } if (httpExtension_ != null) { output.writeMessage(5, getHttpExtension()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (data_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getData()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, method_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, contentType_); } if (httpExtension_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getHttpExtension()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.JobEventRequest)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.JobEventRequest other = (io.dapr.v1.DaprAppCallbackProtos.JobEventRequest) obj; if (!getName() .equals(other.getName())) return false; if (hasData() != other.hasData()) return false; if (hasData()) { if (!getData() .equals(other.getData())) return false; } if (!getMethod() .equals(other.getMethod())) return false; if (!getContentType() .equals(other.getContentType())) return false; if (hasHttpExtension() != other.hasHttpExtension()) return false; if (hasHttpExtension()) { if (!getHttpExtension() .equals(other.getHttpExtension())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (hasData()) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); } hash = (37 * hash) + METHOD_FIELD_NUMBER; hash = (53 * hash) + getMethod().hashCode(); hash = (37 * hash) + CONTENT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getContentType().hashCode(); if (hasHttpExtension()) { hash = (37 * hash) + HTTP_EXTENSION_FIELD_NUMBER; hash = (53 * hash) + getHttpExtension().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.JobEventRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventRequest 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 io.dapr.v1.DaprAppCallbackProtos.JobEventRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventRequest 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 io.dapr.v1.DaprAppCallbackProtos.JobEventRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventRequest 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(io.dapr.v1.DaprAppCallbackProtos.JobEventRequest 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 dapr.proto.runtime.v1.JobEventRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.JobEventRequest) io.dapr.v1.DaprAppCallbackProtos.JobEventRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_JobEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_JobEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.JobEventRequest.class, io.dapr.v1.DaprAppCallbackProtos.JobEventRequest.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.JobEventRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; if (dataBuilder_ == null) { data_ = null; } else { data_ = null; dataBuilder_ = null; } method_ = ""; contentType_ = ""; if (httpExtensionBuilder_ == null) { httpExtension_ = null; } else { httpExtension_ = null; httpExtensionBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_JobEventRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.JobEventRequest getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.JobEventRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.JobEventRequest build() { io.dapr.v1.DaprAppCallbackProtos.JobEventRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.JobEventRequest buildPartial() { io.dapr.v1.DaprAppCallbackProtos.JobEventRequest result = new io.dapr.v1.DaprAppCallbackProtos.JobEventRequest(this); result.name_ = name_; if (dataBuilder_ == null) { result.data_ = data_; } else { result.data_ = dataBuilder_.build(); } result.method_ = method_; result.contentType_ = contentType_; if (httpExtensionBuilder_ == null) { result.httpExtension_ = httpExtension_; } else { result.httpExtension_ = httpExtensionBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprAppCallbackProtos.JobEventRequest) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.JobEventRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.JobEventRequest other) { if (other == io.dapr.v1.DaprAppCallbackProtos.JobEventRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.hasData()) { mergeData(other.getData()); } if (!other.getMethod().isEmpty()) { method_ = other.method_; onChanged(); } if (!other.getContentType().isEmpty()) { contentType_ = other.contentType_; onChanged(); } if (other.hasHttpExtension()) { mergeHttpExtension(other.getHttpExtension()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.JobEventRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.JobEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object name_ = ""; /** *
       * Job name.
       * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Job name.
       * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Job name.
       * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Job name.
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Job name.
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private com.google.protobuf.Any data_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> dataBuilder_; /** *
       * Job data to be sent back to app.
       * 
* * .google.protobuf.Any data = 2; * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** *
       * Job data to be sent back to app.
       * 
* * .google.protobuf.Any data = 2; * @return The data. */ public com.google.protobuf.Any getData() { if (dataBuilder_ == null) { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; } else { return dataBuilder_.getMessage(); } } /** *
       * Job data to be sent back to app.
       * 
* * .google.protobuf.Any data = 2; */ public Builder setData(com.google.protobuf.Any value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { dataBuilder_.setMessage(value); } return this; } /** *
       * Job data to be sent back to app.
       * 
* * .google.protobuf.Any data = 2; */ public Builder setData( com.google.protobuf.Any.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { dataBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Job data to be sent back to app.
       * 
* * .google.protobuf.Any data = 2; */ public Builder mergeData(com.google.protobuf.Any value) { if (dataBuilder_ == null) { if (data_ != null) { data_ = com.google.protobuf.Any.newBuilder(data_).mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { dataBuilder_.mergeFrom(value); } return this; } /** *
       * Job data to be sent back to app.
       * 
* * .google.protobuf.Any data = 2; */ public Builder clearData() { if (dataBuilder_ == null) { data_ = null; onChanged(); } else { data_ = null; dataBuilder_ = null; } return this; } /** *
       * Job data to be sent back to app.
       * 
* * .google.protobuf.Any data = 2; */ public com.google.protobuf.Any.Builder getDataBuilder() { onChanged(); return getDataFieldBuilder().getBuilder(); } /** *
       * Job data to be sent back to app.
       * 
* * .google.protobuf.Any data = 2; */ public com.google.protobuf.AnyOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; } } /** *
       * Job data to be sent back to app.
       * 
* * .google.protobuf.Any data = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getData(), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } private java.lang.Object method_ = ""; /** *
       * Required. method is a method name which will be invoked by caller.
       * 
* * string method = 3; * @return The method. */ public java.lang.String getMethod() { java.lang.Object ref = method_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); method_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Required. method is a method name which will be invoked by caller.
       * 
* * string method = 3; * @return The bytes for method. */ public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Required. method is a method name which will be invoked by caller.
       * 
* * string method = 3; * @param value The method to set. * @return This builder for chaining. */ public Builder setMethod( java.lang.String value) { if (value == null) { throw new NullPointerException(); } method_ = value; onChanged(); return this; } /** *
       * Required. method is a method name which will be invoked by caller.
       * 
* * string method = 3; * @return This builder for chaining. */ public Builder clearMethod() { method_ = getDefaultInstance().getMethod(); onChanged(); return this; } /** *
       * Required. method is a method name which will be invoked by caller.
       * 
* * string method = 3; * @param value The bytes for method to set. * @return This builder for chaining. */ public Builder setMethodBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); method_ = value; onChanged(); return this; } private java.lang.Object contentType_ = ""; /** *
       * The type of data content.
       * This field is required if data delivers http request body
       * Otherwise, this is optional.
       * 
* * string content_type = 4; * @return The contentType. */ public java.lang.String getContentType() { java.lang.Object ref = contentType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); contentType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The type of data content.
       * This field is required if data delivers http request body
       * Otherwise, this is optional.
       * 
* * string content_type = 4; * @return The bytes for contentType. */ public com.google.protobuf.ByteString getContentTypeBytes() { java.lang.Object ref = contentType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The type of data content.
       * This field is required if data delivers http request body
       * Otherwise, this is optional.
       * 
* * string content_type = 4; * @param value The contentType to set. * @return This builder for chaining. */ public Builder setContentType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } contentType_ = value; onChanged(); return this; } /** *
       * The type of data content.
       * This field is required if data delivers http request body
       * Otherwise, this is optional.
       * 
* * string content_type = 4; * @return This builder for chaining. */ public Builder clearContentType() { contentType_ = getDefaultInstance().getContentType(); onChanged(); return this; } /** *
       * The type of data content.
       * This field is required if data delivers http request body
       * Otherwise, this is optional.
       * 
* * string content_type = 4; * @param value The bytes for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); contentType_ = value; onChanged(); return this; } private io.dapr.v1.CommonProtos.HTTPExtension httpExtension_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.HTTPExtension, io.dapr.v1.CommonProtos.HTTPExtension.Builder, io.dapr.v1.CommonProtos.HTTPExtensionOrBuilder> httpExtensionBuilder_; /** *
       * HTTP specific fields if request conveys http-compatible request.
       * This field is required for http-compatible request. Otherwise,
       * this field is optional.
       * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; * @return Whether the httpExtension field is set. */ public boolean hasHttpExtension() { return httpExtensionBuilder_ != null || httpExtension_ != null; } /** *
       * HTTP specific fields if request conveys http-compatible request.
       * This field is required for http-compatible request. Otherwise,
       * this field is optional.
       * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; * @return The httpExtension. */ public io.dapr.v1.CommonProtos.HTTPExtension getHttpExtension() { if (httpExtensionBuilder_ == null) { return httpExtension_ == null ? io.dapr.v1.CommonProtos.HTTPExtension.getDefaultInstance() : httpExtension_; } else { return httpExtensionBuilder_.getMessage(); } } /** *
       * HTTP specific fields if request conveys http-compatible request.
       * This field is required for http-compatible request. Otherwise,
       * this field is optional.
       * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; */ public Builder setHttpExtension(io.dapr.v1.CommonProtos.HTTPExtension value) { if (httpExtensionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } httpExtension_ = value; onChanged(); } else { httpExtensionBuilder_.setMessage(value); } return this; } /** *
       * HTTP specific fields if request conveys http-compatible request.
       * This field is required for http-compatible request. Otherwise,
       * this field is optional.
       * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; */ public Builder setHttpExtension( io.dapr.v1.CommonProtos.HTTPExtension.Builder builderForValue) { if (httpExtensionBuilder_ == null) { httpExtension_ = builderForValue.build(); onChanged(); } else { httpExtensionBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * HTTP specific fields if request conveys http-compatible request.
       * This field is required for http-compatible request. Otherwise,
       * this field is optional.
       * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; */ public Builder mergeHttpExtension(io.dapr.v1.CommonProtos.HTTPExtension value) { if (httpExtensionBuilder_ == null) { if (httpExtension_ != null) { httpExtension_ = io.dapr.v1.CommonProtos.HTTPExtension.newBuilder(httpExtension_).mergeFrom(value).buildPartial(); } else { httpExtension_ = value; } onChanged(); } else { httpExtensionBuilder_.mergeFrom(value); } return this; } /** *
       * HTTP specific fields if request conveys http-compatible request.
       * This field is required for http-compatible request. Otherwise,
       * this field is optional.
       * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; */ public Builder clearHttpExtension() { if (httpExtensionBuilder_ == null) { httpExtension_ = null; onChanged(); } else { httpExtension_ = null; httpExtensionBuilder_ = null; } return this; } /** *
       * HTTP specific fields if request conveys http-compatible request.
       * This field is required for http-compatible request. Otherwise,
       * this field is optional.
       * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; */ public io.dapr.v1.CommonProtos.HTTPExtension.Builder getHttpExtensionBuilder() { onChanged(); return getHttpExtensionFieldBuilder().getBuilder(); } /** *
       * HTTP specific fields if request conveys http-compatible request.
       * This field is required for http-compatible request. Otherwise,
       * this field is optional.
       * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; */ public io.dapr.v1.CommonProtos.HTTPExtensionOrBuilder getHttpExtensionOrBuilder() { if (httpExtensionBuilder_ != null) { return httpExtensionBuilder_.getMessageOrBuilder(); } else { return httpExtension_ == null ? io.dapr.v1.CommonProtos.HTTPExtension.getDefaultInstance() : httpExtension_; } } /** *
       * HTTP specific fields if request conveys http-compatible request.
       * This field is required for http-compatible request. Otherwise,
       * this field is optional.
       * 
* * .dapr.proto.common.v1.HTTPExtension http_extension = 5; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.HTTPExtension, io.dapr.v1.CommonProtos.HTTPExtension.Builder, io.dapr.v1.CommonProtos.HTTPExtensionOrBuilder> getHttpExtensionFieldBuilder() { if (httpExtensionBuilder_ == null) { httpExtensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.HTTPExtension, io.dapr.v1.CommonProtos.HTTPExtension.Builder, io.dapr.v1.CommonProtos.HTTPExtensionOrBuilder>( getHttpExtension(), getParentForChildren(), isClean()); httpExtension_ = null; } return httpExtensionBuilder_; } @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:dapr.proto.runtime.v1.JobEventRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.JobEventRequest) private static final io.dapr.v1.DaprAppCallbackProtos.JobEventRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.JobEventRequest(); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobEventRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobEventRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.JobEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JobEventResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.JobEventResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * JobEventResponse is the response from the app when a job is triggered.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.JobEventResponse} */ public static final class JobEventResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.JobEventResponse) JobEventResponseOrBuilder { private static final long serialVersionUID = 0L; // Use JobEventResponse.newBuilder() to construct. private JobEventResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JobEventResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JobEventResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JobEventResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_JobEventResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_JobEventResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.JobEventResponse.class, io.dapr.v1.DaprAppCallbackProtos.JobEventResponse.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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.JobEventResponse)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.JobEventResponse other = (io.dapr.v1.DaprAppCallbackProtos.JobEventResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.JobEventResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventResponse 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 io.dapr.v1.DaprAppCallbackProtos.JobEventResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventResponse 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 io.dapr.v1.DaprAppCallbackProtos.JobEventResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventResponse 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(io.dapr.v1.DaprAppCallbackProtos.JobEventResponse 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; } /** *
     * JobEventResponse is the response from the app when a job is triggered.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.JobEventResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.JobEventResponse) io.dapr.v1.DaprAppCallbackProtos.JobEventResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_JobEventResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_JobEventResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.JobEventResponse.class, io.dapr.v1.DaprAppCallbackProtos.JobEventResponse.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.JobEventResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_JobEventResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.JobEventResponse getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.JobEventResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.JobEventResponse build() { io.dapr.v1.DaprAppCallbackProtos.JobEventResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.JobEventResponse buildPartial() { io.dapr.v1.DaprAppCallbackProtos.JobEventResponse result = new io.dapr.v1.DaprAppCallbackProtos.JobEventResponse(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 io.dapr.v1.DaprAppCallbackProtos.JobEventResponse) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.JobEventResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.JobEventResponse other) { if (other == io.dapr.v1.DaprAppCallbackProtos.JobEventResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.JobEventResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.JobEventResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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:dapr.proto.runtime.v1.JobEventResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.JobEventResponse) private static final io.dapr.v1.DaprAppCallbackProtos.JobEventResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.JobEventResponse(); } public static io.dapr.v1.DaprAppCallbackProtos.JobEventResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobEventResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobEventResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.JobEventResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TopicEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TopicEventRequest) com.google.protobuf.MessageOrBuilder { /** *
     * id identifies the event. Producers MUST ensure that source + id 
     * is unique for each distinct event. If a duplicate event is re-sent
     * (e.g. due to a network error) it MAY have the same id. 
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * id identifies the event. Producers MUST ensure that source + id 
     * is unique for each distinct event. If a duplicate event is re-sent
     * (e.g. due to a network error) it MAY have the same id. 
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * source identifies the context in which an event happened.
     * Often this will include information such as the type of the
     * event source, the organization publishing the event or the process
     * that produced the event. The exact syntax and semantics behind
     * the data encoded in the URI is defined by the event producer.
     * 
* * string source = 2; * @return The source. */ java.lang.String getSource(); /** *
     * source identifies the context in which an event happened.
     * Often this will include information such as the type of the
     * event source, the organization publishing the event or the process
     * that produced the event. The exact syntax and semantics behind
     * the data encoded in the URI is defined by the event producer.
     * 
* * string source = 2; * @return The bytes for source. */ com.google.protobuf.ByteString getSourceBytes(); /** *
     * The type of event related to the originating occurrence. 
     * 
* * string type = 3; * @return The type. */ java.lang.String getType(); /** *
     * The type of event related to the originating occurrence. 
     * 
* * string type = 3; * @return The bytes for type. */ com.google.protobuf.ByteString getTypeBytes(); /** *
     * The version of the CloudEvents specification. 
     * 
* * string spec_version = 4; * @return The specVersion. */ java.lang.String getSpecVersion(); /** *
     * The version of the CloudEvents specification. 
     * 
* * string spec_version = 4; * @return The bytes for specVersion. */ com.google.protobuf.ByteString getSpecVersionBytes(); /** *
     * The content type of data value.
     * 
* * string data_content_type = 5; * @return The dataContentType. */ java.lang.String getDataContentType(); /** *
     * The content type of data value.
     * 
* * string data_content_type = 5; * @return The bytes for dataContentType. */ com.google.protobuf.ByteString getDataContentTypeBytes(); /** *
     * The content of the event.
     * 
* * bytes data = 7; * @return The data. */ com.google.protobuf.ByteString getData(); /** *
     * The pubsub topic which publisher sent to.
     * 
* * string topic = 6; * @return The topic. */ java.lang.String getTopic(); /** *
     * The pubsub topic which publisher sent to.
     * 
* * string topic = 6; * @return The bytes for topic. */ com.google.protobuf.ByteString getTopicBytes(); /** *
     * The name of the pubsub the publisher sent to.
     * 
* * string pubsub_name = 8; * @return The pubsubName. */ java.lang.String getPubsubName(); /** *
     * The name of the pubsub the publisher sent to.
     * 
* * string pubsub_name = 8; * @return The bytes for pubsubName. */ com.google.protobuf.ByteString getPubsubNameBytes(); /** *
     * The matching path from TopicSubscription/routes (if specified) for this event.
     * This value is used by OnTopicEvent to "switch" inside the handler.
     * 
* * string path = 9; * @return The path. */ java.lang.String getPath(); /** *
     * The matching path from TopicSubscription/routes (if specified) for this event.
     * This value is used by OnTopicEvent to "switch" inside the handler.
     * 
* * string path = 9; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** *
     * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
     * 
* * .google.protobuf.Struct extensions = 10; * @return Whether the extensions field is set. */ boolean hasExtensions(); /** *
     * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
     * 
* * .google.protobuf.Struct extensions = 10; * @return The extensions. */ com.google.protobuf.Struct getExtensions(); /** *
     * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
     * 
* * .google.protobuf.Struct extensions = 10; */ com.google.protobuf.StructOrBuilder getExtensionsOrBuilder(); } /** *
   * TopicEventRequest message is compatible with CloudEvent spec v1.0
   * https://github.com/cloudevents/spec/blob/v1.0/spec.md
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventRequest} */ public static final class TopicEventRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TopicEventRequest) TopicEventRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TopicEventRequest.newBuilder() to construct. private TopicEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TopicEventRequest() { id_ = ""; source_ = ""; type_ = ""; specVersion_ = ""; dataContentType_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; topic_ = ""; pubsubName_ = ""; path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TopicEventRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TopicEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); source_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); type_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); specVersion_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); dataContentType_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); topic_ = s; break; } case 58: { data_ = input.readBytes(); break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); pubsubName_ = s; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } case 82: { com.google.protobuf.Struct.Builder subBuilder = null; if (extensions_ != null) { subBuilder = extensions_.toBuilder(); } extensions_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(extensions_); extensions_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * id identifies the event. Producers MUST ensure that source + id 
     * is unique for each distinct event. If a duplicate event is re-sent
     * (e.g. due to a network error) it MAY have the same id. 
     * 
* * string id = 1; * @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 the event. Producers MUST ensure that source + id 
     * is unique for each distinct event. If a duplicate event is re-sent
     * (e.g. due to a network error) it MAY have the same id. 
     * 
* * string id = 1; * @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; } } public static final int SOURCE_FIELD_NUMBER = 2; private volatile java.lang.Object source_; /** *
     * source identifies the context in which an event happened.
     * Often this will include information such as the type of the
     * event source, the organization publishing the event or the process
     * that produced the event. The exact syntax and semantics behind
     * the data encoded in the URI is defined by the event producer.
     * 
* * string source = 2; * @return The source. */ @java.lang.Override public java.lang.String getSource() { java.lang.Object ref = source_; 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(); source_ = s; return s; } } /** *
     * source identifies the context in which an event happened.
     * Often this will include information such as the type of the
     * event source, the organization publishing the event or the process
     * that produced the event. The exact syntax and semantics behind
     * the data encoded in the URI is defined by the event producer.
     * 
* * string source = 2; * @return The bytes for source. */ @java.lang.Override public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); source_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object type_; /** *
     * The type of event related to the originating occurrence. 
     * 
* * string type = 3; * @return The type. */ @java.lang.Override public java.lang.String getType() { java.lang.Object ref = type_; 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(); type_ = s; return s; } } /** *
     * The type of event related to the originating occurrence. 
     * 
* * string type = 3; * @return The bytes for type. */ @java.lang.Override public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SPEC_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object specVersion_; /** *
     * The version of the CloudEvents specification. 
     * 
* * string spec_version = 4; * @return The specVersion. */ @java.lang.Override public java.lang.String getSpecVersion() { java.lang.Object ref = specVersion_; 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(); specVersion_ = s; return s; } } /** *
     * The version of the CloudEvents specification. 
     * 
* * string spec_version = 4; * @return The bytes for specVersion. */ @java.lang.Override public com.google.protobuf.ByteString getSpecVersionBytes() { java.lang.Object ref = specVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); specVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_CONTENT_TYPE_FIELD_NUMBER = 5; private volatile java.lang.Object dataContentType_; /** *
     * The content type of data value.
     * 
* * string data_content_type = 5; * @return The dataContentType. */ @java.lang.Override public java.lang.String getDataContentType() { java.lang.Object ref = dataContentType_; 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(); dataContentType_ = s; return s; } } /** *
     * The content type of data value.
     * 
* * string data_content_type = 5; * @return The bytes for dataContentType. */ @java.lang.Override public com.google.protobuf.ByteString getDataContentTypeBytes() { java.lang.Object ref = dataContentType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataContentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_FIELD_NUMBER = 7; private com.google.protobuf.ByteString data_; /** *
     * The content of the event.
     * 
* * bytes data = 7; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } public static final int TOPIC_FIELD_NUMBER = 6; private volatile java.lang.Object topic_; /** *
     * The pubsub topic which publisher sent to.
     * 
* * string topic = 6; * @return The topic. */ @java.lang.Override public java.lang.String getTopic() { java.lang.Object ref = topic_; 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(); topic_ = s; return s; } } /** *
     * The pubsub topic which publisher sent to.
     * 
* * string topic = 6; * @return The bytes for topic. */ @java.lang.Override public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PUBSUB_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object pubsubName_; /** *
     * The name of the pubsub the publisher sent to.
     * 
* * string pubsub_name = 8; * @return The pubsubName. */ @java.lang.Override public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; 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(); pubsubName_ = s; return s; } } /** *
     * The name of the pubsub the publisher sent to.
     * 
* * string pubsub_name = 8; * @return The bytes for pubsubName. */ @java.lang.Override public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 9; private volatile java.lang.Object path_; /** *
     * The matching path from TopicSubscription/routes (if specified) for this event.
     * This value is used by OnTopicEvent to "switch" inside the handler.
     * 
* * string path = 9; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; } } /** *
     * The matching path from TopicSubscription/routes (if specified) for this event.
     * This value is used by OnTopicEvent to "switch" inside the handler.
     * 
* * string path = 9; * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXTENSIONS_FIELD_NUMBER = 10; private com.google.protobuf.Struct extensions_; /** *
     * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
     * 
* * .google.protobuf.Struct extensions = 10; * @return Whether the extensions field is set. */ @java.lang.Override public boolean hasExtensions() { return extensions_ != null; } /** *
     * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
     * 
* * .google.protobuf.Struct extensions = 10; * @return The extensions. */ @java.lang.Override public com.google.protobuf.Struct getExtensions() { return extensions_ == null ? com.google.protobuf.Struct.getDefaultInstance() : extensions_; } /** *
     * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
     * 
* * .google.protobuf.Struct extensions = 10; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getExtensionsOrBuilder() { return getExtensions(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(specVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, specVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataContentType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dataContentType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, topic_); } if (!data_.isEmpty()) { output.writeBytes(7, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, path_); } if (extensions_ != null) { output.writeMessage(10, getExtensions()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(specVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, specVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataContentType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataContentType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, topic_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, path_); } if (extensions_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getExtensions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest other = (io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest) obj; if (!getId() .equals(other.getId())) return false; if (!getSource() .equals(other.getSource())) return false; if (!getType() .equals(other.getType())) return false; if (!getSpecVersion() .equals(other.getSpecVersion())) return false; if (!getDataContentType() .equals(other.getDataContentType())) return false; if (!getData() .equals(other.getData())) return false; if (!getTopic() .equals(other.getTopic())) return false; if (!getPubsubName() .equals(other.getPubsubName())) return false; if (!getPath() .equals(other.getPath())) return false; if (hasExtensions() != other.hasExtensions()) return false; if (hasExtensions()) { if (!getExtensions() .equals(other.getExtensions())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + SOURCE_FIELD_NUMBER; hash = (53 * hash) + getSource().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); hash = (37 * hash) + SPEC_VERSION_FIELD_NUMBER; hash = (53 * hash) + getSpecVersion().hashCode(); hash = (37 * hash) + DATA_CONTENT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getDataContentType().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + TOPIC_FIELD_NUMBER; hash = (53 * hash) + getTopic().hashCode(); hash = (37 * hash) + PUBSUB_NAME_FIELD_NUMBER; hash = (53 * hash) + getPubsubName().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (hasExtensions()) { hash = (37 * hash) + EXTENSIONS_FIELD_NUMBER; hash = (53 * hash) + getExtensions().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest 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(io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest 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; } /** *
     * TopicEventRequest message is compatible with CloudEvent spec v1.0
     * https://github.com/cloudevents/spec/blob/v1.0/spec.md
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TopicEventRequest) io.dapr.v1.DaprAppCallbackProtos.TopicEventRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; source_ = ""; type_ = ""; specVersion_ = ""; dataContentType_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; topic_ = ""; pubsubName_ = ""; path_ = ""; if (extensionsBuilder_ == null) { extensions_ = null; } else { extensions_ = null; extensionsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest build() { io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest buildPartial() { io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest result = new io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest(this); result.id_ = id_; result.source_ = source_; result.type_ = type_; result.specVersion_ = specVersion_; result.dataContentType_ = dataContentType_; result.data_ = data_; result.topic_ = topic_; result.pubsubName_ = pubsubName_; result.path_ = path_; if (extensionsBuilder_ == null) { result.extensions_ = extensions_; } else { result.extensions_ = extensionsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest other) { if (other == io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getSource().isEmpty()) { source_ = other.source_; onChanged(); } if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (!other.getSpecVersion().isEmpty()) { specVersion_ = other.specVersion_; onChanged(); } if (!other.getDataContentType().isEmpty()) { dataContentType_ = other.dataContentType_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); } if (!other.getPubsubName().isEmpty()) { pubsubName_ = other.pubsubName_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (other.hasExtensions()) { mergeExtensions(other.getExtensions()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** *
       * id identifies the event. Producers MUST ensure that source + id 
       * is unique for each distinct event. If a duplicate event is re-sent
       * (e.g. due to a network error) it MAY have the same id. 
       * 
* * string id = 1; * @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 the event. Producers MUST ensure that source + id 
       * is unique for each distinct event. If a duplicate event is re-sent
       * (e.g. due to a network error) it MAY have the same id. 
       * 
* * string id = 1; * @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 the event. Producers MUST ensure that source + id 
       * is unique for each distinct event. If a duplicate event is re-sent
       * (e.g. due to a network error) it MAY have the same id. 
       * 
* * string id = 1; * @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; onChanged(); return this; } /** *
       * id identifies the event. Producers MUST ensure that source + id 
       * is unique for each distinct event. If a duplicate event is re-sent
       * (e.g. due to a network error) it MAY have the same id. 
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * id identifies the event. Producers MUST ensure that source + id 
       * is unique for each distinct event. If a duplicate event is re-sent
       * (e.g. due to a network error) it MAY have the same id. 
       * 
* * string id = 1; * @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; onChanged(); return this; } private java.lang.Object source_ = ""; /** *
       * source identifies the context in which an event happened.
       * Often this will include information such as the type of the
       * event source, the organization publishing the event or the process
       * that produced the event. The exact syntax and semantics behind
       * the data encoded in the URI is defined by the event producer.
       * 
* * string source = 2; * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * source identifies the context in which an event happened.
       * Often this will include information such as the type of the
       * event source, the organization publishing the event or the process
       * that produced the event. The exact syntax and semantics behind
       * the data encoded in the URI is defined by the event producer.
       * 
* * string source = 2; * @return The bytes for source. */ public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); source_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * source identifies the context in which an event happened.
       * Often this will include information such as the type of the
       * event source, the organization publishing the event or the process
       * that produced the event. The exact syntax and semantics behind
       * the data encoded in the URI is defined by the event producer.
       * 
* * string source = 2; * @param value The source to set. * @return This builder for chaining. */ public Builder setSource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } source_ = value; onChanged(); return this; } /** *
       * source identifies the context in which an event happened.
       * Often this will include information such as the type of the
       * event source, the organization publishing the event or the process
       * that produced the event. The exact syntax and semantics behind
       * the data encoded in the URI is defined by the event producer.
       * 
* * string source = 2; * @return This builder for chaining. */ public Builder clearSource() { source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** *
       * source identifies the context in which an event happened.
       * Often this will include information such as the type of the
       * event source, the organization publishing the event or the process
       * that produced the event. The exact syntax and semantics behind
       * the data encoded in the URI is defined by the event producer.
       * 
* * string source = 2; * @param value The bytes for source to set. * @return This builder for chaining. */ public Builder setSourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); source_ = value; onChanged(); return this; } private java.lang.Object type_ = ""; /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 3; * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 3; * @return The bytes for type. */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 3; * @param value The type to set. * @return This builder for chaining. */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); return this; } /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 3; * @return This builder for chaining. */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 3; * @param value The bytes for type to set. * @return This builder for chaining. */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; onChanged(); return this; } private java.lang.Object specVersion_ = ""; /** *
       * The version of the CloudEvents specification. 
       * 
* * string spec_version = 4; * @return The specVersion. */ public java.lang.String getSpecVersion() { java.lang.Object ref = specVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); specVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The version of the CloudEvents specification. 
       * 
* * string spec_version = 4; * @return The bytes for specVersion. */ public com.google.protobuf.ByteString getSpecVersionBytes() { java.lang.Object ref = specVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); specVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The version of the CloudEvents specification. 
       * 
* * string spec_version = 4; * @param value The specVersion to set. * @return This builder for chaining. */ public Builder setSpecVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } specVersion_ = value; onChanged(); return this; } /** *
       * The version of the CloudEvents specification. 
       * 
* * string spec_version = 4; * @return This builder for chaining. */ public Builder clearSpecVersion() { specVersion_ = getDefaultInstance().getSpecVersion(); onChanged(); return this; } /** *
       * The version of the CloudEvents specification. 
       * 
* * string spec_version = 4; * @param value The bytes for specVersion to set. * @return This builder for chaining. */ public Builder setSpecVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); specVersion_ = value; onChanged(); return this; } private java.lang.Object dataContentType_ = ""; /** *
       * The content type of data value.
       * 
* * string data_content_type = 5; * @return The dataContentType. */ public java.lang.String getDataContentType() { java.lang.Object ref = dataContentType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataContentType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The content type of data value.
       * 
* * string data_content_type = 5; * @return The bytes for dataContentType. */ public com.google.protobuf.ByteString getDataContentTypeBytes() { java.lang.Object ref = dataContentType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataContentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The content type of data value.
       * 
* * string data_content_type = 5; * @param value The dataContentType to set. * @return This builder for chaining. */ public Builder setDataContentType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dataContentType_ = value; onChanged(); return this; } /** *
       * The content type of data value.
       * 
* * string data_content_type = 5; * @return This builder for chaining. */ public Builder clearDataContentType() { dataContentType_ = getDefaultInstance().getDataContentType(); onChanged(); return this; } /** *
       * The content type of data value.
       * 
* * string data_content_type = 5; * @param value The bytes for dataContentType to set. * @return This builder for chaining. */ public Builder setDataContentTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataContentType_ = value; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The content of the event.
       * 
* * bytes data = 7; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** *
       * The content of the event.
       * 
* * bytes data = 7; * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** *
       * The content of the event.
       * 
* * bytes data = 7; * @return This builder for chaining. */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private java.lang.Object topic_ = ""; /** *
       * The pubsub topic which publisher sent to.
       * 
* * string topic = 6; * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The pubsub topic which publisher sent to.
       * 
* * string topic = 6; * @return The bytes for topic. */ public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The pubsub topic which publisher sent to.
       * 
* * string topic = 6; * @param value The topic to set. * @return This builder for chaining. */ public Builder setTopic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } topic_ = value; onChanged(); return this; } /** *
       * The pubsub topic which publisher sent to.
       * 
* * string topic = 6; * @return This builder for chaining. */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** *
       * The pubsub topic which publisher sent to.
       * 
* * string topic = 6; * @param value The bytes for topic to set. * @return This builder for chaining. */ public Builder setTopicBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); topic_ = value; onChanged(); return this; } private java.lang.Object pubsubName_ = ""; /** *
       * The name of the pubsub the publisher sent to.
       * 
* * string pubsub_name = 8; * @return The pubsubName. */ public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pubsubName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name of the pubsub the publisher sent to.
       * 
* * string pubsub_name = 8; * @return The bytes for pubsubName. */ public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name of the pubsub the publisher sent to.
       * 
* * string pubsub_name = 8; * @param value The pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pubsubName_ = value; onChanged(); return this; } /** *
       * The name of the pubsub the publisher sent to.
       * 
* * string pubsub_name = 8; * @return This builder for chaining. */ public Builder clearPubsubName() { pubsubName_ = getDefaultInstance().getPubsubName(); onChanged(); return this; } /** *
       * The name of the pubsub the publisher sent to.
       * 
* * string pubsub_name = 8; * @param value The bytes for pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pubsubName_ = value; onChanged(); return this; } private java.lang.Object path_ = ""; /** *
       * The matching path from TopicSubscription/routes (if specified) for this event.
       * This value is used by OnTopicEvent to "switch" inside the handler.
       * 
* * string path = 9; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The matching path from TopicSubscription/routes (if specified) for this event.
       * This value is used by OnTopicEvent to "switch" inside the handler.
       * 
* * string path = 9; * @return The bytes for path. */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The matching path from TopicSubscription/routes (if specified) for this event.
       * This value is used by OnTopicEvent to "switch" inside the handler.
       * 
* * string path = 9; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** *
       * The matching path from TopicSubscription/routes (if specified) for this event.
       * This value is used by OnTopicEvent to "switch" inside the handler.
       * 
* * string path = 9; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** *
       * The matching path from TopicSubscription/routes (if specified) for this event.
       * This value is used by OnTopicEvent to "switch" inside the handler.
       * 
* * string path = 9; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; } private com.google.protobuf.Struct extensions_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> extensionsBuilder_; /** *
       * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 10; * @return Whether the extensions field is set. */ public boolean hasExtensions() { return extensionsBuilder_ != null || extensions_ != null; } /** *
       * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 10; * @return The extensions. */ public com.google.protobuf.Struct getExtensions() { if (extensionsBuilder_ == null) { return extensions_ == null ? com.google.protobuf.Struct.getDefaultInstance() : extensions_; } else { return extensionsBuilder_.getMessage(); } } /** *
       * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 10; */ public Builder setExtensions(com.google.protobuf.Struct value) { if (extensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } extensions_ = value; onChanged(); } else { extensionsBuilder_.setMessage(value); } return this; } /** *
       * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 10; */ public Builder setExtensions( com.google.protobuf.Struct.Builder builderForValue) { if (extensionsBuilder_ == null) { extensions_ = builderForValue.build(); onChanged(); } else { extensionsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 10; */ public Builder mergeExtensions(com.google.protobuf.Struct value) { if (extensionsBuilder_ == null) { if (extensions_ != null) { extensions_ = com.google.protobuf.Struct.newBuilder(extensions_).mergeFrom(value).buildPartial(); } else { extensions_ = value; } onChanged(); } else { extensionsBuilder_.mergeFrom(value); } return this; } /** *
       * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 10; */ public Builder clearExtensions() { if (extensionsBuilder_ == null) { extensions_ = null; onChanged(); } else { extensions_ = null; extensionsBuilder_ = null; } return this; } /** *
       * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 10; */ public com.google.protobuf.Struct.Builder getExtensionsBuilder() { onChanged(); return getExtensionsFieldBuilder().getBuilder(); } /** *
       * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 10; */ public com.google.protobuf.StructOrBuilder getExtensionsOrBuilder() { if (extensionsBuilder_ != null) { return extensionsBuilder_.getMessageOrBuilder(); } else { return extensions_ == null ? com.google.protobuf.Struct.getDefaultInstance() : extensions_; } } /** *
       * The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getExtensionsFieldBuilder() { if (extensionsBuilder_ == null) { extensionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( getExtensions(), getParentForChildren(), isClean()); extensions_ = null; } return extensionsBuilder_; } @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:dapr.proto.runtime.v1.TopicEventRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TopicEventRequest) private static final io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest(); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TopicEventRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TopicEventRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TopicEventResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TopicEventResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The list of output bindings.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 1; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
     * The list of output bindings.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 1; * @return The status. */ io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus getStatus(); } /** *
   * TopicEventResponse is response from app on published message
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventResponse} */ public static final class TopicEventResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TopicEventResponse) TopicEventResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TopicEventResponse.newBuilder() to construct. private TopicEventResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TopicEventResponse() { status_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TopicEventResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TopicEventResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); status_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.Builder.class); } /** *
     * TopicEventResponseStatus allows apps to have finer control over handling of the message.
     * 
* * Protobuf enum {@code dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus} */ public enum TopicEventResponseStatus implements com.google.protobuf.ProtocolMessageEnum { /** *
       * SUCCESS is the default behavior: message is acknowledged and not retried or logged.
       * 
* * SUCCESS = 0; */ SUCCESS(0), /** *
       * RETRY status signals Dapr to retry the message as part of an expected scenario (no warning is logged).
       * 
* * RETRY = 1; */ RETRY(1), /** *
       * DROP status signals Dapr to drop the message as part of an unexpected scenario (warning is logged).
       * 
* * DROP = 2; */ DROP(2), UNRECOGNIZED(-1), ; /** *
       * SUCCESS is the default behavior: message is acknowledged and not retried or logged.
       * 
* * SUCCESS = 0; */ public static final int SUCCESS_VALUE = 0; /** *
       * RETRY status signals Dapr to retry the message as part of an expected scenario (no warning is logged).
       * 
* * RETRY = 1; */ public static final int RETRY_VALUE = 1; /** *
       * DROP status signals Dapr to drop the message as part of an unexpected scenario (warning is logged).
       * 
* * DROP = 2; */ public static final int DROP_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 TopicEventResponseStatus 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 TopicEventResponseStatus forNumber(int value) { switch (value) { case 0: return SUCCESS; case 1: return RETRY; case 2: return DROP; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< TopicEventResponseStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TopicEventResponseStatus findValueByNumber(int number) { return TopicEventResponseStatus.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 io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.getDescriptor().getEnumTypes().get(0); } private static final TopicEventResponseStatus[] VALUES = values(); public static TopicEventResponseStatus 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 TopicEventResponseStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus) } public static final int STATUS_FIELD_NUMBER = 1; private int status_; /** *
     * The list of output bindings.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * The list of output bindings.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 1; * @return The status. */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus getStatus() { @SuppressWarnings("deprecation") io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus result = io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus.valueOf(status_); return result == null ? io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (status_ != io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus.SUCCESS.getNumber()) { output.writeEnum(1, status_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus.SUCCESS.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse other = (io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse) obj; if (status_ != other.status_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse 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(io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse 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; } /** *
     * TopicEventResponse is response from app on published message
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TopicEventResponse) io.dapr.v1.DaprAppCallbackProtos.TopicEventResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); status_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse build() { io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse buildPartial() { io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse result = new io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse(this); result.status_ = status_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse other) { if (other == io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int status_ = 0; /** *
       * The list of output bindings.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
       * The list of output bindings.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 1; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** *
       * The list of output bindings.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 1; * @return The status. */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus getStatus() { @SuppressWarnings("deprecation") io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus result = io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus.valueOf(status_); return result == null ? io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus.UNRECOGNIZED : result; } /** *
       * The list of output bindings.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 1; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
       * The list of output bindings.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 1; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.TopicEventResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TopicEventResponse) private static final io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse(); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TopicEventResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TopicEventResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TopicEventCERequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TopicEventCERequest) com.google.protobuf.MessageOrBuilder { /** *
     * The unique identifier of this cloud event.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * The unique identifier of this cloud event.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * source identifies the context in which an event happened.
     * 
* * string source = 2; * @return The source. */ java.lang.String getSource(); /** *
     * source identifies the context in which an event happened.
     * 
* * string source = 2; * @return The bytes for source. */ com.google.protobuf.ByteString getSourceBytes(); /** *
     * The type of event related to the originating occurrence. 
     * 
* * string type = 3; * @return The type. */ java.lang.String getType(); /** *
     * The type of event related to the originating occurrence. 
     * 
* * string type = 3; * @return The bytes for type. */ com.google.protobuf.ByteString getTypeBytes(); /** *
     * The version of the CloudEvents specification. 
     * 
* * string spec_version = 4; * @return The specVersion. */ java.lang.String getSpecVersion(); /** *
     * The version of the CloudEvents specification. 
     * 
* * string spec_version = 4; * @return The bytes for specVersion. */ com.google.protobuf.ByteString getSpecVersionBytes(); /** *
     * The content type of data value.
     * 
* * string data_content_type = 5; * @return The dataContentType. */ java.lang.String getDataContentType(); /** *
     * The content type of data value.
     * 
* * string data_content_type = 5; * @return The bytes for dataContentType. */ com.google.protobuf.ByteString getDataContentTypeBytes(); /** *
     * The content of the event.
     * 
* * bytes data = 6; * @return The data. */ com.google.protobuf.ByteString getData(); /** *
     * Custom attributes which includes cloud event extensions.
     * 
* * .google.protobuf.Struct extensions = 7; * @return Whether the extensions field is set. */ boolean hasExtensions(); /** *
     * Custom attributes which includes cloud event extensions.
     * 
* * .google.protobuf.Struct extensions = 7; * @return The extensions. */ com.google.protobuf.Struct getExtensions(); /** *
     * Custom attributes which includes cloud event extensions.
     * 
* * .google.protobuf.Struct extensions = 7; */ com.google.protobuf.StructOrBuilder getExtensionsOrBuilder(); } /** *
   * TopicEventCERequest message is compatible with CloudEvent spec v1.0
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventCERequest} */ public static final class TopicEventCERequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TopicEventCERequest) TopicEventCERequestOrBuilder { private static final long serialVersionUID = 0L; // Use TopicEventCERequest.newBuilder() to construct. private TopicEventCERequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TopicEventCERequest() { id_ = ""; source_ = ""; type_ = ""; specVersion_ = ""; dataContentType_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TopicEventCERequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TopicEventCERequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); source_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); type_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); specVersion_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); dataContentType_ = s; break; } case 50: { data_ = input.readBytes(); break; } case 58: { com.google.protobuf.Struct.Builder subBuilder = null; if (extensions_ != null) { subBuilder = extensions_.toBuilder(); } extensions_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(extensions_); extensions_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventCERequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventCERequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * The unique identifier of this cloud event.
     * 
* * string id = 1; * @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; } } /** *
     * The unique identifier of this cloud event.
     * 
* * string id = 1; * @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; } } public static final int SOURCE_FIELD_NUMBER = 2; private volatile java.lang.Object source_; /** *
     * source identifies the context in which an event happened.
     * 
* * string source = 2; * @return The source. */ @java.lang.Override public java.lang.String getSource() { java.lang.Object ref = source_; 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(); source_ = s; return s; } } /** *
     * source identifies the context in which an event happened.
     * 
* * string source = 2; * @return The bytes for source. */ @java.lang.Override public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); source_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object type_; /** *
     * The type of event related to the originating occurrence. 
     * 
* * string type = 3; * @return The type. */ @java.lang.Override public java.lang.String getType() { java.lang.Object ref = type_; 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(); type_ = s; return s; } } /** *
     * The type of event related to the originating occurrence. 
     * 
* * string type = 3; * @return The bytes for type. */ @java.lang.Override public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SPEC_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object specVersion_; /** *
     * The version of the CloudEvents specification. 
     * 
* * string spec_version = 4; * @return The specVersion. */ @java.lang.Override public java.lang.String getSpecVersion() { java.lang.Object ref = specVersion_; 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(); specVersion_ = s; return s; } } /** *
     * The version of the CloudEvents specification. 
     * 
* * string spec_version = 4; * @return The bytes for specVersion. */ @java.lang.Override public com.google.protobuf.ByteString getSpecVersionBytes() { java.lang.Object ref = specVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); specVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_CONTENT_TYPE_FIELD_NUMBER = 5; private volatile java.lang.Object dataContentType_; /** *
     * The content type of data value.
     * 
* * string data_content_type = 5; * @return The dataContentType. */ @java.lang.Override public java.lang.String getDataContentType() { java.lang.Object ref = dataContentType_; 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(); dataContentType_ = s; return s; } } /** *
     * The content type of data value.
     * 
* * string data_content_type = 5; * @return The bytes for dataContentType. */ @java.lang.Override public com.google.protobuf.ByteString getDataContentTypeBytes() { java.lang.Object ref = dataContentType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataContentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_FIELD_NUMBER = 6; private com.google.protobuf.ByteString data_; /** *
     * The content of the event.
     * 
* * bytes data = 6; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } public static final int EXTENSIONS_FIELD_NUMBER = 7; private com.google.protobuf.Struct extensions_; /** *
     * Custom attributes which includes cloud event extensions.
     * 
* * .google.protobuf.Struct extensions = 7; * @return Whether the extensions field is set. */ @java.lang.Override public boolean hasExtensions() { return extensions_ != null; } /** *
     * Custom attributes which includes cloud event extensions.
     * 
* * .google.protobuf.Struct extensions = 7; * @return The extensions. */ @java.lang.Override public com.google.protobuf.Struct getExtensions() { return extensions_ == null ? com.google.protobuf.Struct.getDefaultInstance() : extensions_; } /** *
     * Custom attributes which includes cloud event extensions.
     * 
* * .google.protobuf.Struct extensions = 7; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getExtensionsOrBuilder() { return getExtensions(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(specVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, specVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataContentType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dataContentType_); } if (!data_.isEmpty()) { output.writeBytes(6, data_); } if (extensions_ != null) { output.writeMessage(7, getExtensions()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(specVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, specVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataContentType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataContentType_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, data_); } if (extensions_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getExtensions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest other = (io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) obj; if (!getId() .equals(other.getId())) return false; if (!getSource() .equals(other.getSource())) return false; if (!getType() .equals(other.getType())) return false; if (!getSpecVersion() .equals(other.getSpecVersion())) return false; if (!getDataContentType() .equals(other.getDataContentType())) return false; if (!getData() .equals(other.getData())) return false; if (hasExtensions() != other.hasExtensions()) return false; if (hasExtensions()) { if (!getExtensions() .equals(other.getExtensions())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + SOURCE_FIELD_NUMBER; hash = (53 * hash) + getSource().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); hash = (37 * hash) + SPEC_VERSION_FIELD_NUMBER; hash = (53 * hash) + getSpecVersion().hashCode(); hash = (37 * hash) + DATA_CONTENT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getDataContentType().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); if (hasExtensions()) { hash = (37 * hash) + EXTENSIONS_FIELD_NUMBER; hash = (53 * hash) + getExtensions().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest 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(io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest 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; } /** *
     * TopicEventCERequest message is compatible with CloudEvent spec v1.0
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventCERequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TopicEventCERequest) io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventCERequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventCERequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; source_ = ""; type_ = ""; specVersion_ = ""; dataContentType_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; if (extensionsBuilder_ == null) { extensions_ = null; } else { extensions_ = null; extensionsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventCERequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest build() { io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest buildPartial() { io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest result = new io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest(this); result.id_ = id_; result.source_ = source_; result.type_ = type_; result.specVersion_ = specVersion_; result.dataContentType_ = dataContentType_; result.data_ = data_; if (extensionsBuilder_ == null) { result.extensions_ = extensions_; } else { result.extensions_ = extensionsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest other) { if (other == io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getSource().isEmpty()) { source_ = other.source_; onChanged(); } if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (!other.getSpecVersion().isEmpty()) { specVersion_ = other.specVersion_; onChanged(); } if (!other.getDataContentType().isEmpty()) { dataContentType_ = other.dataContentType_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (other.hasExtensions()) { mergeExtensions(other.getExtensions()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** *
       * The unique identifier of this cloud event.
       * 
* * string id = 1; * @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; } } /** *
       * The unique identifier of this cloud event.
       * 
* * string id = 1; * @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; } } /** *
       * The unique identifier of this cloud event.
       * 
* * string id = 1; * @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; onChanged(); return this; } /** *
       * The unique identifier of this cloud event.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * The unique identifier of this cloud event.
       * 
* * string id = 1; * @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; onChanged(); return this; } private java.lang.Object source_ = ""; /** *
       * source identifies the context in which an event happened.
       * 
* * string source = 2; * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * source identifies the context in which an event happened.
       * 
* * string source = 2; * @return The bytes for source. */ public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); source_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * source identifies the context in which an event happened.
       * 
* * string source = 2; * @param value The source to set. * @return This builder for chaining. */ public Builder setSource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } source_ = value; onChanged(); return this; } /** *
       * source identifies the context in which an event happened.
       * 
* * string source = 2; * @return This builder for chaining. */ public Builder clearSource() { source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** *
       * source identifies the context in which an event happened.
       * 
* * string source = 2; * @param value The bytes for source to set. * @return This builder for chaining. */ public Builder setSourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); source_ = value; onChanged(); return this; } private java.lang.Object type_ = ""; /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 3; * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 3; * @return The bytes for type. */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 3; * @param value The type to set. * @return This builder for chaining. */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); return this; } /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 3; * @return This builder for chaining. */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 3; * @param value The bytes for type to set. * @return This builder for chaining. */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; onChanged(); return this; } private java.lang.Object specVersion_ = ""; /** *
       * The version of the CloudEvents specification. 
       * 
* * string spec_version = 4; * @return The specVersion. */ public java.lang.String getSpecVersion() { java.lang.Object ref = specVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); specVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The version of the CloudEvents specification. 
       * 
* * string spec_version = 4; * @return The bytes for specVersion. */ public com.google.protobuf.ByteString getSpecVersionBytes() { java.lang.Object ref = specVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); specVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The version of the CloudEvents specification. 
       * 
* * string spec_version = 4; * @param value The specVersion to set. * @return This builder for chaining. */ public Builder setSpecVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } specVersion_ = value; onChanged(); return this; } /** *
       * The version of the CloudEvents specification. 
       * 
* * string spec_version = 4; * @return This builder for chaining. */ public Builder clearSpecVersion() { specVersion_ = getDefaultInstance().getSpecVersion(); onChanged(); return this; } /** *
       * The version of the CloudEvents specification. 
       * 
* * string spec_version = 4; * @param value The bytes for specVersion to set. * @return This builder for chaining. */ public Builder setSpecVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); specVersion_ = value; onChanged(); return this; } private java.lang.Object dataContentType_ = ""; /** *
       * The content type of data value.
       * 
* * string data_content_type = 5; * @return The dataContentType. */ public java.lang.String getDataContentType() { java.lang.Object ref = dataContentType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataContentType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The content type of data value.
       * 
* * string data_content_type = 5; * @return The bytes for dataContentType. */ public com.google.protobuf.ByteString getDataContentTypeBytes() { java.lang.Object ref = dataContentType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataContentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The content type of data value.
       * 
* * string data_content_type = 5; * @param value The dataContentType to set. * @return This builder for chaining. */ public Builder setDataContentType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dataContentType_ = value; onChanged(); return this; } /** *
       * The content type of data value.
       * 
* * string data_content_type = 5; * @return This builder for chaining. */ public Builder clearDataContentType() { dataContentType_ = getDefaultInstance().getDataContentType(); onChanged(); return this; } /** *
       * The content type of data value.
       * 
* * string data_content_type = 5; * @param value The bytes for dataContentType to set. * @return This builder for chaining. */ public Builder setDataContentTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataContentType_ = value; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The content of the event.
       * 
* * bytes data = 6; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** *
       * The content of the event.
       * 
* * bytes data = 6; * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** *
       * The content of the event.
       * 
* * bytes data = 6; * @return This builder for chaining. */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private com.google.protobuf.Struct extensions_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> extensionsBuilder_; /** *
       * Custom attributes which includes cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 7; * @return Whether the extensions field is set. */ public boolean hasExtensions() { return extensionsBuilder_ != null || extensions_ != null; } /** *
       * Custom attributes which includes cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 7; * @return The extensions. */ public com.google.protobuf.Struct getExtensions() { if (extensionsBuilder_ == null) { return extensions_ == null ? com.google.protobuf.Struct.getDefaultInstance() : extensions_; } else { return extensionsBuilder_.getMessage(); } } /** *
       * Custom attributes which includes cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 7; */ public Builder setExtensions(com.google.protobuf.Struct value) { if (extensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } extensions_ = value; onChanged(); } else { extensionsBuilder_.setMessage(value); } return this; } /** *
       * Custom attributes which includes cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 7; */ public Builder setExtensions( com.google.protobuf.Struct.Builder builderForValue) { if (extensionsBuilder_ == null) { extensions_ = builderForValue.build(); onChanged(); } else { extensionsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Custom attributes which includes cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 7; */ public Builder mergeExtensions(com.google.protobuf.Struct value) { if (extensionsBuilder_ == null) { if (extensions_ != null) { extensions_ = com.google.protobuf.Struct.newBuilder(extensions_).mergeFrom(value).buildPartial(); } else { extensions_ = value; } onChanged(); } else { extensionsBuilder_.mergeFrom(value); } return this; } /** *
       * Custom attributes which includes cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 7; */ public Builder clearExtensions() { if (extensionsBuilder_ == null) { extensions_ = null; onChanged(); } else { extensions_ = null; extensionsBuilder_ = null; } return this; } /** *
       * Custom attributes which includes cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 7; */ public com.google.protobuf.Struct.Builder getExtensionsBuilder() { onChanged(); return getExtensionsFieldBuilder().getBuilder(); } /** *
       * Custom attributes which includes cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 7; */ public com.google.protobuf.StructOrBuilder getExtensionsOrBuilder() { if (extensionsBuilder_ != null) { return extensionsBuilder_.getMessageOrBuilder(); } else { return extensions_ == null ? com.google.protobuf.Struct.getDefaultInstance() : extensions_; } } /** *
       * Custom attributes which includes cloud event extensions.
       * 
* * .google.protobuf.Struct extensions = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getExtensionsFieldBuilder() { if (extensionsBuilder_ == null) { extensionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( getExtensions(), getParentForChildren(), isClean()); extensions_ = null; } return extensionsBuilder_; } @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:dapr.proto.runtime.v1.TopicEventCERequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TopicEventCERequest) private static final io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest(); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TopicEventCERequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TopicEventCERequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TopicEventBulkRequestEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TopicEventBulkRequestEntry) com.google.protobuf.MessageOrBuilder { /** *
     * Unique identifier for the message.
     * 
* * string entry_id = 1; * @return The entryId. */ java.lang.String getEntryId(); /** *
     * Unique identifier for the message.
     * 
* * string entry_id = 1; * @return The bytes for entryId. */ com.google.protobuf.ByteString getEntryIdBytes(); /** * bytes bytes = 2; * @return Whether the bytes field is set. */ boolean hasBytes(); /** * bytes bytes = 2; * @return The bytes. */ com.google.protobuf.ByteString getBytes(); /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; * @return Whether the cloudEvent field is set. */ boolean hasCloudEvent(); /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; * @return The cloudEvent. */ io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest getCloudEvent(); /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; */ io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequestOrBuilder getCloudEventOrBuilder(); /** *
     * content type of the event contained.
     * 
* * string content_type = 4; * @return The contentType. */ java.lang.String getContentType(); /** *
     * content type of the event contained.
     * 
* * string content_type = 4; * @return The bytes for contentType. */ com.google.protobuf.ByteString getContentTypeBytes(); /** *
     * The metadata associated with the event.
     * 
* * map<string, string> metadata = 5; */ int getMetadataCount(); /** *
     * The metadata associated with the event.
     * 
* * map<string, string> metadata = 5; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata associated with the event.
     * 
* * map<string, string> metadata = 5; */ java.util.Map getMetadataMap(); /** *
     * The metadata associated with the event.
     * 
* * map<string, string> metadata = 5; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata associated with the event.
     * 
* * map<string, string> metadata = 5; */ java.lang.String getMetadataOrThrow( java.lang.String key); public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.EventCase getEventCase(); } /** *
   * TopicEventBulkRequestEntry represents a single message inside a bulk request
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventBulkRequestEntry} */ public static final class TopicEventBulkRequestEntry extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TopicEventBulkRequestEntry) TopicEventBulkRequestEntryOrBuilder { private static final long serialVersionUID = 0L; // Use TopicEventBulkRequestEntry.newBuilder() to construct. private TopicEventBulkRequestEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TopicEventBulkRequestEntry() { entryId_ = ""; contentType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TopicEventBulkRequestEntry(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TopicEventBulkRequestEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); entryId_ = s; break; } case 18: { event_ = input.readBytes(); eventCase_ = 2; break; } case 26: { io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.Builder subBuilder = null; if (eventCase_ == 3) { subBuilder = ((io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) event_).toBuilder(); } event_ = input.readMessage(io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) event_); event_ = subBuilder.buildPartial(); } eventCase_ = 3; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); contentType_ = s; break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder.class); } private int eventCase_ = 0; private java.lang.Object event_; public enum EventCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BYTES(2), CLOUD_EVENT(3), EVENT_NOT_SET(0); private final int value; private EventCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static EventCase valueOf(int value) { return forNumber(value); } public static EventCase forNumber(int value) { switch (value) { case 2: return BYTES; case 3: return CLOUD_EVENT; case 0: return EVENT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public EventCase getEventCase() { return EventCase.forNumber( eventCase_); } public static final int ENTRY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entryId_; /** *
     * Unique identifier for the message.
     * 
* * string entry_id = 1; * @return The entryId. */ @java.lang.Override public java.lang.String getEntryId() { java.lang.Object ref = entryId_; 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(); entryId_ = s; return s; } } /** *
     * Unique identifier for the message.
     * 
* * string entry_id = 1; * @return The bytes for entryId. */ @java.lang.Override public com.google.protobuf.ByteString getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); entryId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BYTES_FIELD_NUMBER = 2; /** * bytes bytes = 2; * @return Whether the bytes field is set. */ @java.lang.Override public boolean hasBytes() { return eventCase_ == 2; } /** * bytes bytes = 2; * @return The bytes. */ @java.lang.Override public com.google.protobuf.ByteString getBytes() { if (eventCase_ == 2) { return (com.google.protobuf.ByteString) event_; } return com.google.protobuf.ByteString.EMPTY; } public static final int CLOUD_EVENT_FIELD_NUMBER = 3; /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; * @return Whether the cloudEvent field is set. */ @java.lang.Override public boolean hasCloudEvent() { return eventCase_ == 3; } /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; * @return The cloudEvent. */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest getCloudEvent() { if (eventCase_ == 3) { return (io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) event_; } return io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.getDefaultInstance(); } /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequestOrBuilder getCloudEventOrBuilder() { if (eventCase_ == 3) { return (io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) event_; } return io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.getDefaultInstance(); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private volatile java.lang.Object contentType_; /** *
     * content type of the event contained.
     * 
* * string content_type = 4; * @return The contentType. */ @java.lang.Override public java.lang.String getContentType() { java.lang.Object ref = contentType_; 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(); contentType_ = s; return s; } } /** *
     * content type of the event contained.
     * 
* * string content_type = 4; * @return The bytes for contentType. */ @java.lang.Override public com.google.protobuf.ByteString getContentTypeBytes() { java.lang.Object ref = contentType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METADATA_FIELD_NUMBER = 5; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_MetadataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** *
     * The metadata associated with the event.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata associated with the event.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata associated with the event.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata associated with the event.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entryId_); } if (eventCase_ == 2) { output.writeBytes( 2, (com.google.protobuf.ByteString) event_); } if (eventCase_ == 3) { output.writeMessage(3, (io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) event_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, contentType_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 5); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entryId_); } if (eventCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeBytesSize( 2, (com.google.protobuf.ByteString) event_); } if (eventCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) event_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, contentType_); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, metadata__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry other = (io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry) obj; if (!getEntryId() .equals(other.getEntryId())) return false; if (!getContentType() .equals(other.getContentType())) return false; if (!internalGetMetadata().equals( other.internalGetMetadata())) return false; if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 2: if (!getBytes() .equals(other.getBytes())) return false; break; case 3: if (!getCloudEvent() .equals(other.getCloudEvent())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENTRY_ID_FIELD_NUMBER; hash = (53 * hash) + getEntryId().hashCode(); hash = (37 * hash) + CONTENT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getContentType().hashCode(); if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); } switch (eventCase_) { case 2: hash = (37 * hash) + BYTES_FIELD_NUMBER; hash = (53 * hash) + getBytes().hashCode(); break; case 3: hash = (37 * hash) + CLOUD_EVENT_FIELD_NUMBER; hash = (53 * hash) + getCloudEvent().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry 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(io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry 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; } /** *
     * TopicEventBulkRequestEntry represents a single message inside a bulk request
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventBulkRequestEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TopicEventBulkRequestEntry) io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 5: return internalGetMutableMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); entryId_ = ""; contentType_ = ""; internalGetMutableMetadata().clear(); eventCase_ = 0; event_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry build() { io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry buildPartial() { io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry result = new io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry(this); int from_bitField0_ = bitField0_; result.entryId_ = entryId_; if (eventCase_ == 2) { result.event_ = event_; } if (eventCase_ == 3) { if (cloudEventBuilder_ == null) { result.event_ = event_; } else { result.event_ = cloudEventBuilder_.build(); } } result.contentType_ = contentType_; result.metadata_ = internalGetMetadata(); result.metadata_.makeImmutable(); result.eventCase_ = eventCase_; 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry other) { if (other == io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.getDefaultInstance()) return this; if (!other.getEntryId().isEmpty()) { entryId_ = other.entryId_; onChanged(); } if (!other.getContentType().isEmpty()) { contentType_ = other.contentType_; onChanged(); } internalGetMutableMetadata().mergeFrom( other.internalGetMetadata()); switch (other.getEventCase()) { case BYTES: { setBytes(other.getBytes()); break; } case CLOUD_EVENT: { mergeCloudEvent(other.getCloudEvent()); break; } case EVENT_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int eventCase_ = 0; private java.lang.Object event_; public EventCase getEventCase() { return EventCase.forNumber( eventCase_); } public Builder clearEvent() { eventCase_ = 0; event_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object entryId_ = ""; /** *
       * Unique identifier for the message.
       * 
* * string entry_id = 1; * @return The entryId. */ public java.lang.String getEntryId() { java.lang.Object ref = entryId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Unique identifier for the message.
       * 
* * string entry_id = 1; * @return The bytes for entryId. */ public com.google.protobuf.ByteString getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); entryId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Unique identifier for the message.
       * 
* * string entry_id = 1; * @param value The entryId to set. * @return This builder for chaining. */ public Builder setEntryId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } entryId_ = value; onChanged(); return this; } /** *
       * Unique identifier for the message.
       * 
* * string entry_id = 1; * @return This builder for chaining. */ public Builder clearEntryId() { entryId_ = getDefaultInstance().getEntryId(); onChanged(); return this; } /** *
       * Unique identifier for the message.
       * 
* * string entry_id = 1; * @param value The bytes for entryId to set. * @return This builder for chaining. */ public Builder setEntryIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entryId_ = value; onChanged(); return this; } /** * bytes bytes = 2; * @return Whether the bytes field is set. */ public boolean hasBytes() { return eventCase_ == 2; } /** * bytes bytes = 2; * @return The bytes. */ public com.google.protobuf.ByteString getBytes() { if (eventCase_ == 2) { return (com.google.protobuf.ByteString) event_; } return com.google.protobuf.ByteString.EMPTY; } /** * bytes bytes = 2; * @param value The bytes to set. * @return This builder for chaining. */ public Builder setBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } eventCase_ = 2; event_ = value; onChanged(); return this; } /** * bytes bytes = 2; * @return This builder for chaining. */ public Builder clearBytes() { if (eventCase_ == 2) { eventCase_ = 0; event_ = null; onChanged(); } return this; } private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest, io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequestOrBuilder> cloudEventBuilder_; /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; * @return Whether the cloudEvent field is set. */ @java.lang.Override public boolean hasCloudEvent() { return eventCase_ == 3; } /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; * @return The cloudEvent. */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest getCloudEvent() { if (cloudEventBuilder_ == null) { if (eventCase_ == 3) { return (io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) event_; } return io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.getDefaultInstance(); } else { if (eventCase_ == 3) { return cloudEventBuilder_.getMessage(); } return io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.getDefaultInstance(); } } /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; */ public Builder setCloudEvent(io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest value) { if (cloudEventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } event_ = value; onChanged(); } else { cloudEventBuilder_.setMessage(value); } eventCase_ = 3; return this; } /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; */ public Builder setCloudEvent( io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.Builder builderForValue) { if (cloudEventBuilder_ == null) { event_ = builderForValue.build(); onChanged(); } else { cloudEventBuilder_.setMessage(builderForValue.build()); } eventCase_ = 3; return this; } /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; */ public Builder mergeCloudEvent(io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest value) { if (cloudEventBuilder_ == null) { if (eventCase_ == 3 && event_ != io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.getDefaultInstance()) { event_ = io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.newBuilder((io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) event_) .mergeFrom(value).buildPartial(); } else { event_ = value; } onChanged(); } else { if (eventCase_ == 3) { cloudEventBuilder_.mergeFrom(value); } else { cloudEventBuilder_.setMessage(value); } } eventCase_ = 3; return this; } /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; */ public Builder clearCloudEvent() { if (cloudEventBuilder_ == null) { if (eventCase_ == 3) { eventCase_ = 0; event_ = null; onChanged(); } } else { if (eventCase_ == 3) { eventCase_ = 0; event_ = null; } cloudEventBuilder_.clear(); } return this; } /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.Builder getCloudEventBuilder() { return getCloudEventFieldBuilder().getBuilder(); } /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequestOrBuilder getCloudEventOrBuilder() { if ((eventCase_ == 3) && (cloudEventBuilder_ != null)) { return cloudEventBuilder_.getMessageOrBuilder(); } else { if (eventCase_ == 3) { return (io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) event_; } return io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.getDefaultInstance(); } } /** * .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest, io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequestOrBuilder> getCloudEventFieldBuilder() { if (cloudEventBuilder_ == null) { if (!(eventCase_ == 3)) { event_ = io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.getDefaultInstance(); } cloudEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest, io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequestOrBuilder>( (io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest) event_, getParentForChildren(), isClean()); event_ = null; } eventCase_ = 3; onChanged();; return cloudEventBuilder_; } private java.lang.Object contentType_ = ""; /** *
       * content type of the event contained.
       * 
* * string content_type = 4; * @return The contentType. */ public java.lang.String getContentType() { java.lang.Object ref = contentType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); contentType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * content type of the event contained.
       * 
* * string content_type = 4; * @return The bytes for contentType. */ public com.google.protobuf.ByteString getContentTypeBytes() { java.lang.Object ref = contentType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * content type of the event contained.
       * 
* * string content_type = 4; * @param value The contentType to set. * @return This builder for chaining. */ public Builder setContentType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } contentType_ = value; onChanged(); return this; } /** *
       * content type of the event contained.
       * 
* * string content_type = 4; * @return This builder for chaining. */ public Builder clearContentType() { contentType_ = getDefaultInstance().getContentType(); onChanged(); return this; } /** *
       * content type of the event contained.
       * 
* * string content_type = 4; * @param value The bytes for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); contentType_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } private com.google.protobuf.MapField internalGetMutableMetadata() { onChanged();; if (metadata_ == null) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** *
       * The metadata associated with the event.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata associated with the event.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata associated with the event.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata associated with the event.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata associated with the event.
       * 
* * map<string, string> metadata = 5; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata associated with the event.
       * 
* * map<string, string> metadata = 5; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata associated with the event.
       * 
* * map<string, string> metadata = 5; */ public Builder putAllMetadata( java.util.Map values) { internalGetMutableMetadata().getMutableMap() .putAll(values); 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:dapr.proto.runtime.v1.TopicEventBulkRequestEntry) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TopicEventBulkRequestEntry) private static final io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry(); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TopicEventBulkRequestEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TopicEventBulkRequestEntry(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TopicEventBulkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TopicEventBulkRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Unique identifier for the bulk request.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * Unique identifier for the bulk request.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * The list of items inside this bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ java.util.List getEntriesList(); /** *
     * The list of items inside this bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry getEntries(int index); /** *
     * The list of items inside this bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ int getEntriesCount(); /** *
     * The list of items inside this bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ java.util.List getEntriesOrBuilderList(); /** *
     * The list of items inside this bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder getEntriesOrBuilder( int index); /** *
     * The metadata associated with the this bulk request.
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * The metadata associated with the this bulk request.
     * 
* * map<string, string> metadata = 3; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata associated with the this bulk request.
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * The metadata associated with the this bulk request.
     * 
* * map<string, string> metadata = 3; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata associated with the this bulk request.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); /** *
     * The pubsub topic which publisher sent to.
     * 
* * string topic = 4; * @return The topic. */ java.lang.String getTopic(); /** *
     * The pubsub topic which publisher sent to.
     * 
* * string topic = 4; * @return The bytes for topic. */ com.google.protobuf.ByteString getTopicBytes(); /** *
     * The name of the pubsub the publisher sent to.
     * 
* * string pubsub_name = 5; * @return The pubsubName. */ java.lang.String getPubsubName(); /** *
     * The name of the pubsub the publisher sent to.
     * 
* * string pubsub_name = 5; * @return The bytes for pubsubName. */ com.google.protobuf.ByteString getPubsubNameBytes(); /** *
     * The type of event related to the originating occurrence. 
     * 
* * string type = 6; * @return The type. */ java.lang.String getType(); /** *
     * The type of event related to the originating occurrence. 
     * 
* * string type = 6; * @return The bytes for type. */ com.google.protobuf.ByteString getTypeBytes(); /** *
     * The matching path from TopicSubscription/routes (if specified) for this event.
     * This value is used by OnTopicEvent to "switch" inside the handler.
     * 
* * string path = 7; * @return The path. */ java.lang.String getPath(); /** *
     * The matching path from TopicSubscription/routes (if specified) for this event.
     * This value is used by OnTopicEvent to "switch" inside the handler.
     * 
* * string path = 7; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); } /** *
   * TopicEventBulkRequest represents request for bulk message
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventBulkRequest} */ public static final class TopicEventBulkRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TopicEventBulkRequest) TopicEventBulkRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TopicEventBulkRequest.newBuilder() to construct. private TopicEventBulkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TopicEventBulkRequest() { id_ = ""; entries_ = java.util.Collections.emptyList(); topic_ = ""; pubsubName_ = ""; type_ = ""; path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TopicEventBulkRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TopicEventBulkRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { entries_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } entries_.add( input.readMessage(io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); topic_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); pubsubName_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); type_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { entries_ = java.util.Collections.unmodifiableList(entries_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * Unique identifier for the bulk request.
     * 
* * string id = 1; * @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; } } /** *
     * Unique identifier for the bulk request.
     * 
* * string id = 1; * @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; } } public static final int ENTRIES_FIELD_NUMBER = 2; private java.util.List entries_; /** *
     * The list of items inside this bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ @java.lang.Override public java.util.List getEntriesList() { return entries_; } /** *
     * The list of items inside this bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ @java.lang.Override public java.util.List getEntriesOrBuilderList() { return entries_; } /** *
     * The list of items inside this bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ @java.lang.Override public int getEntriesCount() { return entries_.size(); } /** *
     * The list of items inside this bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry getEntries(int index) { return entries_.get(index); } /** *
     * The list of items inside this bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder getEntriesOrBuilder( int index) { return entries_.get(index); } public static final int METADATA_FIELD_NUMBER = 3; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_MetadataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** *
     * The metadata associated with the this bulk request.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata associated with the this bulk request.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata associated with the this bulk request.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata associated with the this bulk request.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int TOPIC_FIELD_NUMBER = 4; private volatile java.lang.Object topic_; /** *
     * The pubsub topic which publisher sent to.
     * 
* * string topic = 4; * @return The topic. */ @java.lang.Override public java.lang.String getTopic() { java.lang.Object ref = topic_; 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(); topic_ = s; return s; } } /** *
     * The pubsub topic which publisher sent to.
     * 
* * string topic = 4; * @return The bytes for topic. */ @java.lang.Override public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PUBSUB_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object pubsubName_; /** *
     * The name of the pubsub the publisher sent to.
     * 
* * string pubsub_name = 5; * @return The pubsubName. */ @java.lang.Override public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; 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(); pubsubName_ = s; return s; } } /** *
     * The name of the pubsub the publisher sent to.
     * 
* * string pubsub_name = 5; * @return The bytes for pubsubName. */ @java.lang.Override public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object type_; /** *
     * The type of event related to the originating occurrence. 
     * 
* * string type = 6; * @return The type. */ @java.lang.Override public java.lang.String getType() { java.lang.Object ref = type_; 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(); type_ = s; return s; } } /** *
     * The type of event related to the originating occurrence. 
     * 
* * string type = 6; * @return The bytes for type. */ @java.lang.Override public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 7; private volatile java.lang.Object path_; /** *
     * The matching path from TopicSubscription/routes (if specified) for this event.
     * This value is used by OnTopicEvent to "switch" inside the handler.
     * 
* * string path = 7; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; } } /** *
     * The matching path from TopicSubscription/routes (if specified) for this event.
     * This value is used by OnTopicEvent to "switch" inside the handler.
     * 
* * string path = 7; * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } for (int i = 0; i < entries_.size(); i++) { output.writeMessage(2, entries_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, topic_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, path_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } for (int i = 0; i < entries_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, entries_.get(i)); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, topic_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, path_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest other = (io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest) obj; if (!getId() .equals(other.getId())) return false; if (!getEntriesList() .equals(other.getEntriesList())) return false; if (!internalGetMetadata().equals( other.internalGetMetadata())) return false; if (!getTopic() .equals(other.getTopic())) return false; if (!getPubsubName() .equals(other.getPubsubName())) return false; if (!getType() .equals(other.getType())) return false; if (!getPath() .equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); if (getEntriesCount() > 0) { hash = (37 * hash) + ENTRIES_FIELD_NUMBER; hash = (53 * hash) + getEntriesList().hashCode(); } if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); } hash = (37 * hash) + TOPIC_FIELD_NUMBER; hash = (53 * hash) + getTopic().hashCode(); hash = (37 * hash) + PUBSUB_NAME_FIELD_NUMBER; hash = (53 * hash) + getPubsubName().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest 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(io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest 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; } /** *
     * TopicEventBulkRequest represents request for bulk message
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventBulkRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TopicEventBulkRequest) io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 3: return internalGetMutableMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getEntriesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; if (entriesBuilder_ == null) { entries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { entriesBuilder_.clear(); } internalGetMutableMetadata().clear(); topic_ = ""; pubsubName_ = ""; type_ = ""; path_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest build() { io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest buildPartial() { io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest result = new io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest(this); int from_bitField0_ = bitField0_; result.id_ = id_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { entries_ = java.util.Collections.unmodifiableList(entries_); bitField0_ = (bitField0_ & ~0x00000001); } result.entries_ = entries_; } else { result.entries_ = entriesBuilder_.build(); } result.metadata_ = internalGetMetadata(); result.metadata_.makeImmutable(); result.topic_ = topic_; result.pubsubName_ = pubsubName_; result.type_ = type_; result.path_ = path_; 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest other) { if (other == io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (entriesBuilder_ == null) { if (!other.entries_.isEmpty()) { if (entries_.isEmpty()) { entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntriesIsMutable(); entries_.addAll(other.entries_); } onChanged(); } } else { if (!other.entries_.isEmpty()) { if (entriesBuilder_.isEmpty()) { entriesBuilder_.dispose(); entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); entriesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } } } internalGetMutableMetadata().mergeFrom( other.internalGetMetadata()); if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); } if (!other.getPubsubName().isEmpty()) { pubsubName_ = other.pubsubName_; onChanged(); } if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** *
       * Unique identifier for the bulk request.
       * 
* * string id = 1; * @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; } } /** *
       * Unique identifier for the bulk request.
       * 
* * string id = 1; * @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; } } /** *
       * Unique identifier for the bulk request.
       * 
* * string id = 1; * @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; onChanged(); return this; } /** *
       * Unique identifier for the bulk request.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * Unique identifier for the bulk request.
       * 
* * string id = 1; * @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; onChanged(); return this; } private java.util.List entries_ = java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder> entriesBuilder_; /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public java.util.List getEntriesList() { if (entriesBuilder_ == null) { return java.util.Collections.unmodifiableList(entries_); } else { return entriesBuilder_.getMessageList(); } } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public int getEntriesCount() { if (entriesBuilder_ == null) { return entries_.size(); } else { return entriesBuilder_.getCount(); } } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry getEntries(int index) { if (entriesBuilder_ == null) { return entries_.get(index); } else { return entriesBuilder_.getMessage(index); } } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public Builder setEntries( int index, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntriesIsMutable(); entries_.set(index, value); onChanged(); } else { entriesBuilder_.setMessage(index, value); } return this; } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public Builder setEntries( int index, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.set(index, builderForValue.build()); onChanged(); } else { entriesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public Builder addEntries(io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntriesIsMutable(); entries_.add(value); onChanged(); } else { entriesBuilder_.addMessage(value); } return this; } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public Builder addEntries( int index, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntriesIsMutable(); entries_.add(index, value); onChanged(); } else { entriesBuilder_.addMessage(index, value); } return this; } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public Builder addEntries( io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); onChanged(); } else { entriesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public Builder addEntries( int index, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(index, builderForValue.build()); onChanged(); } else { entriesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); } return this; } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public Builder clearEntries() { if (entriesBuilder_ == null) { entries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entriesBuilder_.clear(); } return this; } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public Builder removeEntries(int index) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.remove(index); onChanged(); } else { entriesBuilder_.remove(index); } return this; } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder getEntriesBuilder( int index) { return getEntriesFieldBuilder().getBuilder(index); } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder getEntriesOrBuilder( int index) { if (entriesBuilder_ == null) { return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public java.util.List getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entries_); } } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder addEntriesBuilder() { return getEntriesFieldBuilder().addBuilder( io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.getDefaultInstance()); } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder addEntriesBuilder( int index) { return getEntriesFieldBuilder().addBuilder( index, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.getDefaultInstance()); } /** *
       * The list of items inside this bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2; */ public java.util.List getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder>( entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entries_ = null; } return entriesBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } private com.google.protobuf.MapField internalGetMutableMetadata() { onChanged();; if (metadata_ == null) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** *
       * The metadata associated with the this bulk request.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata associated with the this bulk request.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata associated with the this bulk request.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata associated with the this bulk request.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata associated with the this bulk request.
       * 
* * map<string, string> metadata = 3; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata associated with the this bulk request.
       * 
* * map<string, string> metadata = 3; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata associated with the this bulk request.
       * 
* * map<string, string> metadata = 3; */ public Builder putAllMetadata( java.util.Map values) { internalGetMutableMetadata().getMutableMap() .putAll(values); return this; } private java.lang.Object topic_ = ""; /** *
       * The pubsub topic which publisher sent to.
       * 
* * string topic = 4; * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The pubsub topic which publisher sent to.
       * 
* * string topic = 4; * @return The bytes for topic. */ public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The pubsub topic which publisher sent to.
       * 
* * string topic = 4; * @param value The topic to set. * @return This builder for chaining. */ public Builder setTopic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } topic_ = value; onChanged(); return this; } /** *
       * The pubsub topic which publisher sent to.
       * 
* * string topic = 4; * @return This builder for chaining. */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** *
       * The pubsub topic which publisher sent to.
       * 
* * string topic = 4; * @param value The bytes for topic to set. * @return This builder for chaining. */ public Builder setTopicBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); topic_ = value; onChanged(); return this; } private java.lang.Object pubsubName_ = ""; /** *
       * The name of the pubsub the publisher sent to.
       * 
* * string pubsub_name = 5; * @return The pubsubName. */ public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pubsubName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name of the pubsub the publisher sent to.
       * 
* * string pubsub_name = 5; * @return The bytes for pubsubName. */ public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name of the pubsub the publisher sent to.
       * 
* * string pubsub_name = 5; * @param value The pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pubsubName_ = value; onChanged(); return this; } /** *
       * The name of the pubsub the publisher sent to.
       * 
* * string pubsub_name = 5; * @return This builder for chaining. */ public Builder clearPubsubName() { pubsubName_ = getDefaultInstance().getPubsubName(); onChanged(); return this; } /** *
       * The name of the pubsub the publisher sent to.
       * 
* * string pubsub_name = 5; * @param value The bytes for pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pubsubName_ = value; onChanged(); return this; } private java.lang.Object type_ = ""; /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 6; * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 6; * @return The bytes for type. */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 6; * @param value The type to set. * @return This builder for chaining. */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); return this; } /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 6; * @return This builder for chaining. */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /** *
       * The type of event related to the originating occurrence. 
       * 
* * string type = 6; * @param value The bytes for type to set. * @return This builder for chaining. */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; onChanged(); return this; } private java.lang.Object path_ = ""; /** *
       * The matching path from TopicSubscription/routes (if specified) for this event.
       * This value is used by OnTopicEvent to "switch" inside the handler.
       * 
* * string path = 7; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The matching path from TopicSubscription/routes (if specified) for this event.
       * This value is used by OnTopicEvent to "switch" inside the handler.
       * 
* * string path = 7; * @return The bytes for path. */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The matching path from TopicSubscription/routes (if specified) for this event.
       * This value is used by OnTopicEvent to "switch" inside the handler.
       * 
* * string path = 7; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** *
       * The matching path from TopicSubscription/routes (if specified) for this event.
       * This value is used by OnTopicEvent to "switch" inside the handler.
       * 
* * string path = 7; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** *
       * The matching path from TopicSubscription/routes (if specified) for this event.
       * This value is used by OnTopicEvent to "switch" inside the handler.
       * 
* * string path = 7; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.TopicEventBulkRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TopicEventBulkRequest) private static final io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest(); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TopicEventBulkRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TopicEventBulkRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TopicEventBulkResponseEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TopicEventBulkResponseEntry) com.google.protobuf.MessageOrBuilder { /** *
     * Unique identifier associated the message.
     * 
* * string entry_id = 1; * @return The entryId. */ java.lang.String getEntryId(); /** *
     * Unique identifier associated the message.
     * 
* * string entry_id = 1; * @return The bytes for entryId. */ com.google.protobuf.ByteString getEntryIdBytes(); /** *
     * The status of the response.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 2; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
     * The status of the response.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 2; * @return The status. */ io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus getStatus(); } /** *
   * TopicEventBulkResponseEntry Represents single response, as part of TopicEventBulkResponse, to be
   * sent by subscibed App for the corresponding single message during bulk subscribe
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventBulkResponseEntry} */ public static final class TopicEventBulkResponseEntry extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TopicEventBulkResponseEntry) TopicEventBulkResponseEntryOrBuilder { private static final long serialVersionUID = 0L; // Use TopicEventBulkResponseEntry.newBuilder() to construct. private TopicEventBulkResponseEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TopicEventBulkResponseEntry() { entryId_ = ""; status_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TopicEventBulkResponseEntry(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TopicEventBulkResponseEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); entryId_ = s; break; } case 16: { int rawValue = input.readEnum(); status_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkResponseEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkResponseEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.Builder.class); } public static final int ENTRY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entryId_; /** *
     * Unique identifier associated the message.
     * 
* * string entry_id = 1; * @return The entryId. */ @java.lang.Override public java.lang.String getEntryId() { java.lang.Object ref = entryId_; 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(); entryId_ = s; return s; } } /** *
     * Unique identifier associated the message.
     * 
* * string entry_id = 1; * @return The bytes for entryId. */ @java.lang.Override public com.google.protobuf.ByteString getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); entryId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 2; private int status_; /** *
     * The status of the response.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 2; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * The status of the response.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 2; * @return The status. */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus getStatus() { @SuppressWarnings("deprecation") io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus result = io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus.valueOf(status_); return result == null ? io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entryId_); } if (status_ != io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus.SUCCESS.getNumber()) { output.writeEnum(2, status_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entryId_); } if (status_ != io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus.SUCCESS.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, status_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry other = (io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry) obj; if (!getEntryId() .equals(other.getEntryId())) return false; if (status_ != other.status_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENTRY_ID_FIELD_NUMBER; hash = (53 * hash) + getEntryId().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry 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(io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry 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; } /** *
     * TopicEventBulkResponseEntry Represents single response, as part of TopicEventBulkResponse, to be
     * sent by subscibed App for the corresponding single message during bulk subscribe
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventBulkResponseEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TopicEventBulkResponseEntry) io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkResponseEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkResponseEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); entryId_ = ""; status_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkResponseEntry_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry build() { io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry buildPartial() { io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry result = new io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry(this); result.entryId_ = entryId_; result.status_ = status_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry other) { if (other == io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.getDefaultInstance()) return this; if (!other.getEntryId().isEmpty()) { entryId_ = other.entryId_; onChanged(); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object entryId_ = ""; /** *
       * Unique identifier associated the message.
       * 
* * string entry_id = 1; * @return The entryId. */ public java.lang.String getEntryId() { java.lang.Object ref = entryId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Unique identifier associated the message.
       * 
* * string entry_id = 1; * @return The bytes for entryId. */ public com.google.protobuf.ByteString getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); entryId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Unique identifier associated the message.
       * 
* * string entry_id = 1; * @param value The entryId to set. * @return This builder for chaining. */ public Builder setEntryId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } entryId_ = value; onChanged(); return this; } /** *
       * Unique identifier associated the message.
       * 
* * string entry_id = 1; * @return This builder for chaining. */ public Builder clearEntryId() { entryId_ = getDefaultInstance().getEntryId(); onChanged(); return this; } /** *
       * Unique identifier associated the message.
       * 
* * string entry_id = 1; * @param value The bytes for entryId to set. * @return This builder for chaining. */ public Builder setEntryIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entryId_ = value; onChanged(); return this; } private int status_ = 0; /** *
       * The status of the response.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 2; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
       * The status of the response.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 2; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** *
       * The status of the response.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 2; * @return The status. */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus getStatus() { @SuppressWarnings("deprecation") io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus result = io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus.valueOf(status_); return result == null ? io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus.UNRECOGNIZED : result; } /** *
       * The status of the response.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 2; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.TopicEventResponseStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
       * The status of the response.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse.TopicEventResponseStatus status = 2; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.TopicEventBulkResponseEntry) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TopicEventBulkResponseEntry) private static final io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry(); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TopicEventBulkResponseEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TopicEventBulkResponseEntry(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TopicEventBulkResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TopicEventBulkResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The list of all responses for the bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ java.util.List getStatusesList(); /** *
     * The list of all responses for the bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry getStatuses(int index); /** *
     * The list of all responses for the bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ int getStatusesCount(); /** *
     * The list of all responses for the bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ java.util.List getStatusesOrBuilderList(); /** *
     * The list of all responses for the bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntryOrBuilder getStatusesOrBuilder( int index); } /** *
   * AppBulkResponse is response from app on published message
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventBulkResponse} */ public static final class TopicEventBulkResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TopicEventBulkResponse) TopicEventBulkResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TopicEventBulkResponse.newBuilder() to construct. private TopicEventBulkResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TopicEventBulkResponse() { statuses_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TopicEventBulkResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TopicEventBulkResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { statuses_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } statuses_.add( input.readMessage(io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { statuses_ = java.util.Collections.unmodifiableList(statuses_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse.Builder.class); } public static final int STATUSES_FIELD_NUMBER = 1; private java.util.List statuses_; /** *
     * The list of all responses for the bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ @java.lang.Override public java.util.List getStatusesList() { return statuses_; } /** *
     * The list of all responses for the bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ @java.lang.Override public java.util.List getStatusesOrBuilderList() { return statuses_; } /** *
     * The list of all responses for the bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ @java.lang.Override public int getStatusesCount() { return statuses_.size(); } /** *
     * The list of all responses for the bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry getStatuses(int index) { return statuses_.get(index); } /** *
     * The list of all responses for the bulk request.
     * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntryOrBuilder getStatusesOrBuilder( int index) { return statuses_.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 < statuses_.size(); i++) { output.writeMessage(1, statuses_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < statuses_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, statuses_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse other = (io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse) obj; if (!getStatusesList() .equals(other.getStatusesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getStatusesCount() > 0) { hash = (37 * hash) + STATUSES_FIELD_NUMBER; hash = (53 * hash) + getStatusesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse 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 io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse 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(io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse 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; } /** *
     * AppBulkResponse is response from app on published message
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicEventBulkResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TopicEventBulkResponse) io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse.class, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStatusesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (statusesBuilder_ == null) { statuses_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { statusesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicEventBulkResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse build() { io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse buildPartial() { io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse result = new io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse(this); int from_bitField0_ = bitField0_; if (statusesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { statuses_ = java.util.Collections.unmodifiableList(statuses_); bitField0_ = (bitField0_ & ~0x00000001); } result.statuses_ = statuses_; } else { result.statuses_ = statusesBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse other) { if (other == io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse.getDefaultInstance()) return this; if (statusesBuilder_ == null) { if (!other.statuses_.isEmpty()) { if (statuses_.isEmpty()) { statuses_ = other.statuses_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStatusesIsMutable(); statuses_.addAll(other.statuses_); } onChanged(); } } else { if (!other.statuses_.isEmpty()) { if (statusesBuilder_.isEmpty()) { statusesBuilder_.dispose(); statusesBuilder_ = null; statuses_ = other.statuses_; bitField0_ = (bitField0_ & ~0x00000001); statusesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatusesFieldBuilder() : null; } else { statusesBuilder_.addAllMessages(other.statuses_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List statuses_ = java.util.Collections.emptyList(); private void ensureStatusesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { statuses_ = new java.util.ArrayList(statuses_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntryOrBuilder> statusesBuilder_; /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public java.util.List getStatusesList() { if (statusesBuilder_ == null) { return java.util.Collections.unmodifiableList(statuses_); } else { return statusesBuilder_.getMessageList(); } } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public int getStatusesCount() { if (statusesBuilder_ == null) { return statuses_.size(); } else { return statusesBuilder_.getCount(); } } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry getStatuses(int index) { if (statusesBuilder_ == null) { return statuses_.get(index); } else { return statusesBuilder_.getMessage(index); } } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public Builder setStatuses( int index, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry value) { if (statusesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatusesIsMutable(); statuses_.set(index, value); onChanged(); } else { statusesBuilder_.setMessage(index, value); } return this; } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public Builder setStatuses( int index, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.Builder builderForValue) { if (statusesBuilder_ == null) { ensureStatusesIsMutable(); statuses_.set(index, builderForValue.build()); onChanged(); } else { statusesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public Builder addStatuses(io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry value) { if (statusesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatusesIsMutable(); statuses_.add(value); onChanged(); } else { statusesBuilder_.addMessage(value); } return this; } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public Builder addStatuses( int index, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry value) { if (statusesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatusesIsMutable(); statuses_.add(index, value); onChanged(); } else { statusesBuilder_.addMessage(index, value); } return this; } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public Builder addStatuses( io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.Builder builderForValue) { if (statusesBuilder_ == null) { ensureStatusesIsMutable(); statuses_.add(builderForValue.build()); onChanged(); } else { statusesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public Builder addStatuses( int index, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.Builder builderForValue) { if (statusesBuilder_ == null) { ensureStatusesIsMutable(); statuses_.add(index, builderForValue.build()); onChanged(); } else { statusesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public Builder addAllStatuses( java.lang.Iterable values) { if (statusesBuilder_ == null) { ensureStatusesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, statuses_); onChanged(); } else { statusesBuilder_.addAllMessages(values); } return this; } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public Builder clearStatuses() { if (statusesBuilder_ == null) { statuses_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { statusesBuilder_.clear(); } return this; } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public Builder removeStatuses(int index) { if (statusesBuilder_ == null) { ensureStatusesIsMutable(); statuses_.remove(index); onChanged(); } else { statusesBuilder_.remove(index); } return this; } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.Builder getStatusesBuilder( int index) { return getStatusesFieldBuilder().getBuilder(index); } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntryOrBuilder getStatusesOrBuilder( int index) { if (statusesBuilder_ == null) { return statuses_.get(index); } else { return statusesBuilder_.getMessageOrBuilder(index); } } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public java.util.List getStatusesOrBuilderList() { if (statusesBuilder_ != null) { return statusesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(statuses_); } } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.Builder addStatusesBuilder() { return getStatusesFieldBuilder().addBuilder( io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.getDefaultInstance()); } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.Builder addStatusesBuilder( int index) { return getStatusesFieldBuilder().addBuilder( index, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.getDefaultInstance()); } /** *
       * The list of all responses for the bulk request.
       * 
* * repeated .dapr.proto.runtime.v1.TopicEventBulkResponseEntry statuses = 1; */ public java.util.List getStatusesBuilderList() { return getStatusesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntryOrBuilder> getStatusesFieldBuilder() { if (statusesBuilder_ == null) { statusesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntry.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponseEntryOrBuilder>( statuses_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); statuses_ = null; } return statusesBuilder_; } @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:dapr.proto.runtime.v1.TopicEventBulkResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TopicEventBulkResponse) private static final io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse(); } public static io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TopicEventBulkResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TopicEventBulkResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BindingEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.BindingEventRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Required. The name of the input binding component.
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Required. The name of the input binding component.
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Required. The payload that the input bindings sent
     * 
* * bytes data = 2; * @return The data. */ com.google.protobuf.ByteString getData(); /** *
     * The metadata set by the input binging components.
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * The metadata set by the input binging components.
     * 
* * map<string, string> metadata = 3; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata set by the input binging components.
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * The metadata set by the input binging components.
     * 
* * map<string, string> metadata = 3; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata set by the input binging components.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * BindingEventRequest represents input bindings event.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.BindingEventRequest} */ public static final class BindingEventRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.BindingEventRequest) BindingEventRequestOrBuilder { private static final long serialVersionUID = 0L; // Use BindingEventRequest.newBuilder() to construct. private BindingEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BindingEventRequest() { name_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BindingEventRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BindingEventRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { data_ = input.readBytes(); break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BindingEventRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BindingEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest.class, io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * Required. The name of the input binding component.
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * Required. The name of the input binding component.
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** *
     * Required. The payload that the input bindings sent
     * 
* * bytes data = 2; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } public static final int METADATA_FIELD_NUMBER = 3; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BindingEventRequest_MetadataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** *
     * The metadata set by the input binging components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata set by the input binging components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata set by the input binging components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata set by the input binging components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!data_.isEmpty()) { output.writeBytes(2, data_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, metadata__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest other = (io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest) obj; if (!getName() .equals(other.getName())) return false; if (!getData() .equals(other.getData())) return false; if (!internalGetMetadata().equals( other.internalGetMetadata())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest 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 io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest 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 io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest 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(io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest 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; } /** *
     * BindingEventRequest represents input bindings event.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.BindingEventRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.BindingEventRequest) io.dapr.v1.DaprAppCallbackProtos.BindingEventRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BindingEventRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 3: return internalGetMutableMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BindingEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest.class, io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; internalGetMutableMetadata().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BindingEventRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest build() { io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest buildPartial() { io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest result = new io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.data_ = data_; result.metadata_ = internalGetMetadata(); result.metadata_.makeImmutable(); 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 io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest other) { if (other == io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } internalGetMutableMetadata().mergeFrom( other.internalGetMetadata()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * Required. The name of the input binding component.
       * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Required. The name of the input binding component.
       * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Required. The name of the input binding component.
       * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Required. The name of the input binding component.
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Required. The name of the input binding component.
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Required. The payload that the input bindings sent
       * 
* * bytes data = 2; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** *
       * Required. The payload that the input bindings sent
       * 
* * bytes data = 2; * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** *
       * Required. The payload that the input bindings sent
       * 
* * bytes data = 2; * @return This builder for chaining. */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } private com.google.protobuf.MapField internalGetMutableMetadata() { onChanged();; if (metadata_ == null) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** *
       * The metadata set by the input binging components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata set by the input binging components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata set by the input binging components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata set by the input binging components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata set by the input binging components.
       * 
* * map<string, string> metadata = 3; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata set by the input binging components.
       * 
* * map<string, string> metadata = 3; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata set by the input binging components.
       * 
* * map<string, string> metadata = 3; */ public Builder putAllMetadata( java.util.Map values) { internalGetMutableMetadata().getMutableMap() .putAll(values); 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:dapr.proto.runtime.v1.BindingEventRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.BindingEventRequest) private static final io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest(); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BindingEventRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BindingEventRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BindingEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BindingEventResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.BindingEventResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The name of state store where states are saved.
     * 
* * string store_name = 1; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * The name of state store where states are saved.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * The state key values which will be stored in store_name.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ java.util.List getStatesList(); /** *
     * The state key values which will be stored in store_name.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ io.dapr.v1.CommonProtos.StateItem getStates(int index); /** *
     * The state key values which will be stored in store_name.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ int getStatesCount(); /** *
     * The state key values which will be stored in store_name.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ java.util.List getStatesOrBuilderList(); /** *
     * The state key values which will be stored in store_name.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ io.dapr.v1.CommonProtos.StateItemOrBuilder getStatesOrBuilder( int index); /** *
     * The list of output bindings.
     * 
* * repeated string to = 3; * @return A list containing the to. */ java.util.List getToList(); /** *
     * The list of output bindings.
     * 
* * repeated string to = 3; * @return The count of to. */ int getToCount(); /** *
     * The list of output bindings.
     * 
* * repeated string to = 3; * @param index The index of the element to return. * @return The to at the given index. */ java.lang.String getTo(int index); /** *
     * The list of output bindings.
     * 
* * repeated string to = 3; * @param index The index of the value to return. * @return The bytes of the to at the given index. */ com.google.protobuf.ByteString getToBytes(int index); /** *
     * The content which will be sent to "to" output bindings.
     * 
* * bytes data = 4; * @return The data. */ com.google.protobuf.ByteString getData(); /** *
     * The concurrency of output bindings to send data to
     * "to" output bindings list. The default is SEQUENTIAL.
     * 
* * .dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5; * @return The enum numeric value on the wire for concurrency. */ int getConcurrencyValue(); /** *
     * The concurrency of output bindings to send data to
     * "to" output bindings list. The default is SEQUENTIAL.
     * 
* * .dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5; * @return The concurrency. */ io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency getConcurrency(); } /** *
   * BindingEventResponse includes operations to save state or
   * send data to output bindings optionally.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.BindingEventResponse} */ public static final class BindingEventResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.BindingEventResponse) BindingEventResponseOrBuilder { private static final long serialVersionUID = 0L; // Use BindingEventResponse.newBuilder() to construct. private BindingEventResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BindingEventResponse() { storeName_ = ""; states_ = java.util.Collections.emptyList(); to_ = com.google.protobuf.LazyStringArrayList.EMPTY; data_ = com.google.protobuf.ByteString.EMPTY; concurrency_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BindingEventResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BindingEventResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); storeName_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { states_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } states_.add( input.readMessage(io.dapr.v1.CommonProtos.StateItem.parser(), extensionRegistry)); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { to_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } to_.add(s); break; } case 34: { data_ = input.readBytes(); break; } case 40: { int rawValue = input.readEnum(); concurrency_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { states_ = java.util.Collections.unmodifiableList(states_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { to_ = to_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BindingEventResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BindingEventResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.class, io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.Builder.class); } /** *
     * BindingEventConcurrency is the kind of concurrency 
     * 
* * Protobuf enum {@code dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency} */ public enum BindingEventConcurrency implements com.google.protobuf.ProtocolMessageEnum { /** *
       * SEQUENTIAL sends data to output bindings specified in "to" sequentially.
       * 
* * SEQUENTIAL = 0; */ SEQUENTIAL(0), /** *
       * PARALLEL sends data to output bindings specified in "to" in parallel.
       * 
* * PARALLEL = 1; */ PARALLEL(1), UNRECOGNIZED(-1), ; /** *
       * SEQUENTIAL sends data to output bindings specified in "to" sequentially.
       * 
* * SEQUENTIAL = 0; */ public static final int SEQUENTIAL_VALUE = 0; /** *
       * PARALLEL sends data to output bindings specified in "to" in parallel.
       * 
* * PARALLEL = 1; */ public static final int PARALLEL_VALUE = 1; 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 BindingEventConcurrency 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 BindingEventConcurrency forNumber(int value) { switch (value) { case 0: return SEQUENTIAL; case 1: return PARALLEL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< BindingEventConcurrency> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public BindingEventConcurrency findValueByNumber(int number) { return BindingEventConcurrency.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 io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.getDescriptor().getEnumTypes().get(0); } private static final BindingEventConcurrency[] VALUES = values(); public static BindingEventConcurrency 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 BindingEventConcurrency(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency) } public static final int STORE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object storeName_; /** *
     * The name of state store where states are saved.
     * 
* * string store_name = 1; * @return The storeName. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; 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(); storeName_ = s; return s; } } /** *
     * The name of state store where states are saved.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATES_FIELD_NUMBER = 2; private java.util.List states_; /** *
     * The state key values which will be stored in store_name.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public java.util.List getStatesList() { return states_; } /** *
     * The state key values which will be stored in store_name.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public java.util.List getStatesOrBuilderList() { return states_; } /** *
     * The state key values which will be stored in store_name.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public int getStatesCount() { return states_.size(); } /** *
     * The state key values which will be stored in store_name.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public io.dapr.v1.CommonProtos.StateItem getStates(int index) { return states_.get(index); } /** *
     * The state key values which will be stored in store_name.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public io.dapr.v1.CommonProtos.StateItemOrBuilder getStatesOrBuilder( int index) { return states_.get(index); } public static final int TO_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList to_; /** *
     * The list of output bindings.
     * 
* * repeated string to = 3; * @return A list containing the to. */ public com.google.protobuf.ProtocolStringList getToList() { return to_; } /** *
     * The list of output bindings.
     * 
* * repeated string to = 3; * @return The count of to. */ public int getToCount() { return to_.size(); } /** *
     * The list of output bindings.
     * 
* * repeated string to = 3; * @param index The index of the element to return. * @return The to at the given index. */ public java.lang.String getTo(int index) { return to_.get(index); } /** *
     * The list of output bindings.
     * 
* * repeated string to = 3; * @param index The index of the value to return. * @return The bytes of the to at the given index. */ public com.google.protobuf.ByteString getToBytes(int index) { return to_.getByteString(index); } public static final int DATA_FIELD_NUMBER = 4; private com.google.protobuf.ByteString data_; /** *
     * The content which will be sent to "to" output bindings.
     * 
* * bytes data = 4; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } public static final int CONCURRENCY_FIELD_NUMBER = 5; private int concurrency_; /** *
     * The concurrency of output bindings to send data to
     * "to" output bindings list. The default is SEQUENTIAL.
     * 
* * .dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5; * @return The enum numeric value on the wire for concurrency. */ @java.lang.Override public int getConcurrencyValue() { return concurrency_; } /** *
     * The concurrency of output bindings to send data to
     * "to" output bindings list. The default is SEQUENTIAL.
     * 
* * .dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5; * @return The concurrency. */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency getConcurrency() { @SuppressWarnings("deprecation") io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency result = io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency.valueOf(concurrency_); return result == null ? io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } for (int i = 0; i < states_.size(); i++) { output.writeMessage(2, states_.get(i)); } for (int i = 0; i < to_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, to_.getRaw(i)); } if (!data_.isEmpty()) { output.writeBytes(4, data_); } if (concurrency_ != io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency.SEQUENTIAL.getNumber()) { output.writeEnum(5, concurrency_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } for (int i = 0; i < states_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, states_.get(i)); } { int dataSize = 0; for (int i = 0; i < to_.size(); i++) { dataSize += computeStringSizeNoTag(to_.getRaw(i)); } size += dataSize; size += 1 * getToList().size(); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, data_); } if (concurrency_ != io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency.SEQUENTIAL.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, concurrency_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse other = (io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getStatesList() .equals(other.getStatesList())) return false; if (!getToList() .equals(other.getToList())) return false; if (!getData() .equals(other.getData())) return false; if (concurrency_ != other.concurrency_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STORE_NAME_FIELD_NUMBER; hash = (53 * hash) + getStoreName().hashCode(); if (getStatesCount() > 0) { hash = (37 * hash) + STATES_FIELD_NUMBER; hash = (53 * hash) + getStatesList().hashCode(); } if (getToCount() > 0) { hash = (37 * hash) + TO_FIELD_NUMBER; hash = (53 * hash) + getToList().hashCode(); } hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + CONCURRENCY_FIELD_NUMBER; hash = (53 * hash) + concurrency_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse 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 io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse 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 io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse 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(io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse 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; } /** *
     * BindingEventResponse includes operations to save state or
     * send data to output bindings optionally.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.BindingEventResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.BindingEventResponse) io.dapr.v1.DaprAppCallbackProtos.BindingEventResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BindingEventResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BindingEventResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.class, io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStatesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); storeName_ = ""; if (statesBuilder_ == null) { states_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { statesBuilder_.clear(); } to_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); data_ = com.google.protobuf.ByteString.EMPTY; concurrency_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BindingEventResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse build() { io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse buildPartial() { io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse result = new io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse(this); int from_bitField0_ = bitField0_; result.storeName_ = storeName_; if (statesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { states_ = java.util.Collections.unmodifiableList(states_); bitField0_ = (bitField0_ & ~0x00000001); } result.states_ = states_; } else { result.states_ = statesBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { to_ = to_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.to_ = to_; result.data_ = data_; result.concurrency_ = concurrency_; 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 io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse other) { if (other == io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; onChanged(); } if (statesBuilder_ == null) { if (!other.states_.isEmpty()) { if (states_.isEmpty()) { states_ = other.states_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStatesIsMutable(); states_.addAll(other.states_); } onChanged(); } } else { if (!other.states_.isEmpty()) { if (statesBuilder_.isEmpty()) { statesBuilder_.dispose(); statesBuilder_ = null; states_ = other.states_; bitField0_ = (bitField0_ & ~0x00000001); statesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatesFieldBuilder() : null; } else { statesBuilder_.addAllMessages(other.states_); } } } if (!other.to_.isEmpty()) { if (to_.isEmpty()) { to_ = other.to_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureToIsMutable(); to_.addAll(other.to_); } onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (other.concurrency_ != 0) { setConcurrencyValue(other.getConcurrencyValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object storeName_ = ""; /** *
       * The name of state store where states are saved.
       * 
* * string store_name = 1; * @return The storeName. */ public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name of state store where states are saved.
       * 
* * string store_name = 1; * @return The bytes for storeName. */ public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name of state store where states are saved.
       * 
* * string store_name = 1; * @param value The storeName to set. * @return This builder for chaining. */ public Builder setStoreName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } storeName_ = value; onChanged(); return this; } /** *
       * The name of state store where states are saved.
       * 
* * string store_name = 1; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * The name of state store where states are saved.
       * 
* * string store_name = 1; * @param value The bytes for storeName to set. * @return This builder for chaining. */ public Builder setStoreNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); storeName_ = value; onChanged(); return this; } private java.util.List states_ = java.util.Collections.emptyList(); private void ensureStatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { states_ = new java.util.ArrayList(states_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.CommonProtos.StateItem, io.dapr.v1.CommonProtos.StateItem.Builder, io.dapr.v1.CommonProtos.StateItemOrBuilder> statesBuilder_; /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public java.util.List getStatesList() { if (statesBuilder_ == null) { return java.util.Collections.unmodifiableList(states_); } else { return statesBuilder_.getMessageList(); } } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public int getStatesCount() { if (statesBuilder_ == null) { return states_.size(); } else { return statesBuilder_.getCount(); } } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public io.dapr.v1.CommonProtos.StateItem getStates(int index) { if (statesBuilder_ == null) { return states_.get(index); } else { return statesBuilder_.getMessage(index); } } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public Builder setStates( int index, io.dapr.v1.CommonProtos.StateItem value) { if (statesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatesIsMutable(); states_.set(index, value); onChanged(); } else { statesBuilder_.setMessage(index, value); } return this; } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public Builder setStates( int index, io.dapr.v1.CommonProtos.StateItem.Builder builderForValue) { if (statesBuilder_ == null) { ensureStatesIsMutable(); states_.set(index, builderForValue.build()); onChanged(); } else { statesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public Builder addStates(io.dapr.v1.CommonProtos.StateItem value) { if (statesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatesIsMutable(); states_.add(value); onChanged(); } else { statesBuilder_.addMessage(value); } return this; } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public Builder addStates( int index, io.dapr.v1.CommonProtos.StateItem value) { if (statesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatesIsMutable(); states_.add(index, value); onChanged(); } else { statesBuilder_.addMessage(index, value); } return this; } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public Builder addStates( io.dapr.v1.CommonProtos.StateItem.Builder builderForValue) { if (statesBuilder_ == null) { ensureStatesIsMutable(); states_.add(builderForValue.build()); onChanged(); } else { statesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public Builder addStates( int index, io.dapr.v1.CommonProtos.StateItem.Builder builderForValue) { if (statesBuilder_ == null) { ensureStatesIsMutable(); states_.add(index, builderForValue.build()); onChanged(); } else { statesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public Builder addAllStates( java.lang.Iterable values) { if (statesBuilder_ == null) { ensureStatesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, states_); onChanged(); } else { statesBuilder_.addAllMessages(values); } return this; } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public Builder clearStates() { if (statesBuilder_ == null) { states_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { statesBuilder_.clear(); } return this; } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public Builder removeStates(int index) { if (statesBuilder_ == null) { ensureStatesIsMutable(); states_.remove(index); onChanged(); } else { statesBuilder_.remove(index); } return this; } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public io.dapr.v1.CommonProtos.StateItem.Builder getStatesBuilder( int index) { return getStatesFieldBuilder().getBuilder(index); } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public io.dapr.v1.CommonProtos.StateItemOrBuilder getStatesOrBuilder( int index) { if (statesBuilder_ == null) { return states_.get(index); } else { return statesBuilder_.getMessageOrBuilder(index); } } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public java.util.List getStatesOrBuilderList() { if (statesBuilder_ != null) { return statesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(states_); } } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public io.dapr.v1.CommonProtos.StateItem.Builder addStatesBuilder() { return getStatesFieldBuilder().addBuilder( io.dapr.v1.CommonProtos.StateItem.getDefaultInstance()); } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public io.dapr.v1.CommonProtos.StateItem.Builder addStatesBuilder( int index) { return getStatesFieldBuilder().addBuilder( index, io.dapr.v1.CommonProtos.StateItem.getDefaultInstance()); } /** *
       * The state key values which will be stored in store_name.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public java.util.List getStatesBuilderList() { return getStatesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.CommonProtos.StateItem, io.dapr.v1.CommonProtos.StateItem.Builder, io.dapr.v1.CommonProtos.StateItemOrBuilder> getStatesFieldBuilder() { if (statesBuilder_ == null) { statesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.CommonProtos.StateItem, io.dapr.v1.CommonProtos.StateItem.Builder, io.dapr.v1.CommonProtos.StateItemOrBuilder>( states_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); states_ = null; } return statesBuilder_; } private com.google.protobuf.LazyStringList to_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureToIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { to_ = new com.google.protobuf.LazyStringArrayList(to_); bitField0_ |= 0x00000002; } } /** *
       * The list of output bindings.
       * 
* * repeated string to = 3; * @return A list containing the to. */ public com.google.protobuf.ProtocolStringList getToList() { return to_.getUnmodifiableView(); } /** *
       * The list of output bindings.
       * 
* * repeated string to = 3; * @return The count of to. */ public int getToCount() { return to_.size(); } /** *
       * The list of output bindings.
       * 
* * repeated string to = 3; * @param index The index of the element to return. * @return The to at the given index. */ public java.lang.String getTo(int index) { return to_.get(index); } /** *
       * The list of output bindings.
       * 
* * repeated string to = 3; * @param index The index of the value to return. * @return The bytes of the to at the given index. */ public com.google.protobuf.ByteString getToBytes(int index) { return to_.getByteString(index); } /** *
       * The list of output bindings.
       * 
* * repeated string to = 3; * @param index The index to set the value at. * @param value The to to set. * @return This builder for chaining. */ public Builder setTo( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureToIsMutable(); to_.set(index, value); onChanged(); return this; } /** *
       * The list of output bindings.
       * 
* * repeated string to = 3; * @param value The to to add. * @return This builder for chaining. */ public Builder addTo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureToIsMutable(); to_.add(value); onChanged(); return this; } /** *
       * The list of output bindings.
       * 
* * repeated string to = 3; * @param values The to to add. * @return This builder for chaining. */ public Builder addAllTo( java.lang.Iterable values) { ensureToIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, to_); onChanged(); return this; } /** *
       * The list of output bindings.
       * 
* * repeated string to = 3; * @return This builder for chaining. */ public Builder clearTo() { to_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * The list of output bindings.
       * 
* * repeated string to = 3; * @param value The bytes of the to to add. * @return This builder for chaining. */ public Builder addToBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureToIsMutable(); to_.add(value); onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The content which will be sent to "to" output bindings.
       * 
* * bytes data = 4; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** *
       * The content which will be sent to "to" output bindings.
       * 
* * bytes data = 4; * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** *
       * The content which will be sent to "to" output bindings.
       * 
* * bytes data = 4; * @return This builder for chaining. */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private int concurrency_ = 0; /** *
       * The concurrency of output bindings to send data to
       * "to" output bindings list. The default is SEQUENTIAL.
       * 
* * .dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5; * @return The enum numeric value on the wire for concurrency. */ @java.lang.Override public int getConcurrencyValue() { return concurrency_; } /** *
       * The concurrency of output bindings to send data to
       * "to" output bindings list. The default is SEQUENTIAL.
       * 
* * .dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5; * @param value The enum numeric value on the wire for concurrency to set. * @return This builder for chaining. */ public Builder setConcurrencyValue(int value) { concurrency_ = value; onChanged(); return this; } /** *
       * The concurrency of output bindings to send data to
       * "to" output bindings list. The default is SEQUENTIAL.
       * 
* * .dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5; * @return The concurrency. */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency getConcurrency() { @SuppressWarnings("deprecation") io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency result = io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency.valueOf(concurrency_); return result == null ? io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency.UNRECOGNIZED : result; } /** *
       * The concurrency of output bindings to send data to
       * "to" output bindings list. The default is SEQUENTIAL.
       * 
* * .dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5; * @param value The concurrency to set. * @return This builder for chaining. */ public Builder setConcurrency(io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency value) { if (value == null) { throw new NullPointerException(); } concurrency_ = value.getNumber(); onChanged(); return this; } /** *
       * The concurrency of output bindings to send data to
       * "to" output bindings list. The default is SEQUENTIAL.
       * 
* * .dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5; * @return This builder for chaining. */ public Builder clearConcurrency() { concurrency_ = 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:dapr.proto.runtime.v1.BindingEventResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.BindingEventResponse) private static final io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse(); } public static io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BindingEventResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BindingEventResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListTopicSubscriptionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.ListTopicSubscriptionsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ java.util.List getSubscriptionsList(); /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ io.dapr.v1.DaprAppCallbackProtos.TopicSubscription getSubscriptions(int index); /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ int getSubscriptionsCount(); /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ java.util.List getSubscriptionsOrBuilderList(); /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ io.dapr.v1.DaprAppCallbackProtos.TopicSubscriptionOrBuilder getSubscriptionsOrBuilder( int index); } /** *
   * ListTopicSubscriptionsResponse is the message including the list of the subscribing topics.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.ListTopicSubscriptionsResponse} */ public static final class ListTopicSubscriptionsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.ListTopicSubscriptionsResponse) ListTopicSubscriptionsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListTopicSubscriptionsResponse.newBuilder() to construct. private ListTopicSubscriptionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListTopicSubscriptionsResponse() { subscriptions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListTopicSubscriptionsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListTopicSubscriptionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { subscriptions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } subscriptions_.add( input.readMessage(io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { subscriptions_ = java.util.Collections.unmodifiableList(subscriptions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_ListTopicSubscriptionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_ListTopicSubscriptionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse.class, io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse.Builder.class); } public static final int SUBSCRIPTIONS_FIELD_NUMBER = 1; private java.util.List subscriptions_; /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ @java.lang.Override public java.util.List getSubscriptionsList() { return subscriptions_; } /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ @java.lang.Override public java.util.List getSubscriptionsOrBuilderList() { return subscriptions_; } /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ @java.lang.Override public int getSubscriptionsCount() { return subscriptions_.size(); } /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicSubscription getSubscriptions(int index) { return subscriptions_.get(index); } /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicSubscriptionOrBuilder getSubscriptionsOrBuilder( int index) { return subscriptions_.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 < subscriptions_.size(); i++) { output.writeMessage(1, subscriptions_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < subscriptions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, subscriptions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse other = (io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse) obj; if (!getSubscriptionsList() .equals(other.getSubscriptionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getSubscriptionsCount() > 0) { hash = (37 * hash) + SUBSCRIPTIONS_FIELD_NUMBER; hash = (53 * hash) + getSubscriptionsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse 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 io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse 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 io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse 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(io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse 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; } /** *
     * ListTopicSubscriptionsResponse is the message including the list of the subscribing topics.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.ListTopicSubscriptionsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.ListTopicSubscriptionsResponse) io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_ListTopicSubscriptionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_ListTopicSubscriptionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse.class, io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSubscriptionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (subscriptionsBuilder_ == null) { subscriptions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { subscriptionsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_ListTopicSubscriptionsResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse build() { io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse buildPartial() { io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse result = new io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse(this); int from_bitField0_ = bitField0_; if (subscriptionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { subscriptions_ = java.util.Collections.unmodifiableList(subscriptions_); bitField0_ = (bitField0_ & ~0x00000001); } result.subscriptions_ = subscriptions_; } else { result.subscriptions_ = subscriptionsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse other) { if (other == io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse.getDefaultInstance()) return this; if (subscriptionsBuilder_ == null) { if (!other.subscriptions_.isEmpty()) { if (subscriptions_.isEmpty()) { subscriptions_ = other.subscriptions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSubscriptionsIsMutable(); subscriptions_.addAll(other.subscriptions_); } onChanged(); } } else { if (!other.subscriptions_.isEmpty()) { if (subscriptionsBuilder_.isEmpty()) { subscriptionsBuilder_.dispose(); subscriptionsBuilder_ = null; subscriptions_ = other.subscriptions_; bitField0_ = (bitField0_ & ~0x00000001); subscriptionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSubscriptionsFieldBuilder() : null; } else { subscriptionsBuilder_.addAllMessages(other.subscriptions_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List subscriptions_ = java.util.Collections.emptyList(); private void ensureSubscriptionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { subscriptions_ = new java.util.ArrayList(subscriptions_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicSubscription, io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicSubscriptionOrBuilder> subscriptionsBuilder_; /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public java.util.List getSubscriptionsList() { if (subscriptionsBuilder_ == null) { return java.util.Collections.unmodifiableList(subscriptions_); } else { return subscriptionsBuilder_.getMessageList(); } } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public int getSubscriptionsCount() { if (subscriptionsBuilder_ == null) { return subscriptions_.size(); } else { return subscriptionsBuilder_.getCount(); } } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicSubscription getSubscriptions(int index) { if (subscriptionsBuilder_ == null) { return subscriptions_.get(index); } else { return subscriptionsBuilder_.getMessage(index); } } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public Builder setSubscriptions( int index, io.dapr.v1.DaprAppCallbackProtos.TopicSubscription value) { if (subscriptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.set(index, value); onChanged(); } else { subscriptionsBuilder_.setMessage(index, value); } return this; } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public Builder setSubscriptions( int index, io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.Builder builderForValue) { if (subscriptionsBuilder_ == null) { ensureSubscriptionsIsMutable(); subscriptions_.set(index, builderForValue.build()); onChanged(); } else { subscriptionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public Builder addSubscriptions(io.dapr.v1.DaprAppCallbackProtos.TopicSubscription value) { if (subscriptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.add(value); onChanged(); } else { subscriptionsBuilder_.addMessage(value); } return this; } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public Builder addSubscriptions( int index, io.dapr.v1.DaprAppCallbackProtos.TopicSubscription value) { if (subscriptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.add(index, value); onChanged(); } else { subscriptionsBuilder_.addMessage(index, value); } return this; } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public Builder addSubscriptions( io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.Builder builderForValue) { if (subscriptionsBuilder_ == null) { ensureSubscriptionsIsMutable(); subscriptions_.add(builderForValue.build()); onChanged(); } else { subscriptionsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public Builder addSubscriptions( int index, io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.Builder builderForValue) { if (subscriptionsBuilder_ == null) { ensureSubscriptionsIsMutable(); subscriptions_.add(index, builderForValue.build()); onChanged(); } else { subscriptionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public Builder addAllSubscriptions( java.lang.Iterable values) { if (subscriptionsBuilder_ == null) { ensureSubscriptionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, subscriptions_); onChanged(); } else { subscriptionsBuilder_.addAllMessages(values); } return this; } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public Builder clearSubscriptions() { if (subscriptionsBuilder_ == null) { subscriptions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { subscriptionsBuilder_.clear(); } return this; } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public Builder removeSubscriptions(int index) { if (subscriptionsBuilder_ == null) { ensureSubscriptionsIsMutable(); subscriptions_.remove(index); onChanged(); } else { subscriptionsBuilder_.remove(index); } return this; } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.Builder getSubscriptionsBuilder( int index) { return getSubscriptionsFieldBuilder().getBuilder(index); } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicSubscriptionOrBuilder getSubscriptionsOrBuilder( int index) { if (subscriptionsBuilder_ == null) { return subscriptions_.get(index); } else { return subscriptionsBuilder_.getMessageOrBuilder(index); } } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public java.util.List getSubscriptionsOrBuilderList() { if (subscriptionsBuilder_ != null) { return subscriptionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(subscriptions_); } } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.Builder addSubscriptionsBuilder() { return getSubscriptionsFieldBuilder().addBuilder( io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.getDefaultInstance()); } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.Builder addSubscriptionsBuilder( int index) { return getSubscriptionsFieldBuilder().addBuilder( index, io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.getDefaultInstance()); } /** *
       * The list of topics.
       * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public java.util.List getSubscriptionsBuilderList() { return getSubscriptionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicSubscription, io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicSubscriptionOrBuilder> getSubscriptionsFieldBuilder() { if (subscriptionsBuilder_ == null) { subscriptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicSubscription, io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicSubscriptionOrBuilder>( subscriptions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); subscriptions_ = null; } return subscriptionsBuilder_; } @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:dapr.proto.runtime.v1.ListTopicSubscriptionsResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.ListTopicSubscriptionsResponse) private static final io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse(); } public static io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListTopicSubscriptionsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListTopicSubscriptionsResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.ListTopicSubscriptionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TopicSubscriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TopicSubscription) com.google.protobuf.MessageOrBuilder { /** *
     * Required. The name of the pubsub containing the topic below to subscribe to.
     * 
* * string pubsub_name = 1; * @return The pubsubName. */ java.lang.String getPubsubName(); /** *
     * Required. The name of the pubsub containing the topic below to subscribe to.
     * 
* * string pubsub_name = 1; * @return The bytes for pubsubName. */ com.google.protobuf.ByteString getPubsubNameBytes(); /** *
     * Required. The name of topic which will be subscribed
     * 
* * string topic = 2; * @return The topic. */ java.lang.String getTopic(); /** *
     * Required. The name of topic which will be subscribed
     * 
* * string topic = 2; * @return The bytes for topic. */ com.google.protobuf.ByteString getTopicBytes(); /** *
     * The optional properties used for this topic's subscription e.g. session id
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * The optional properties used for this topic's subscription e.g. session id
     * 
* * map<string, string> metadata = 3; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The optional properties used for this topic's subscription e.g. session id
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * The optional properties used for this topic's subscription e.g. session id
     * 
* * map<string, string> metadata = 3; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The optional properties used for this topic's subscription e.g. session id
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); /** *
     * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
     * is still invoked but the matching path is sent in the TopicEventRequest.
     * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; * @return Whether the routes field is set. */ boolean hasRoutes(); /** *
     * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
     * is still invoked but the matching path is sent in the TopicEventRequest.
     * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; * @return The routes. */ io.dapr.v1.DaprAppCallbackProtos.TopicRoutes getRoutes(); /** *
     * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
     * is still invoked but the matching path is sent in the TopicEventRequest.
     * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; */ io.dapr.v1.DaprAppCallbackProtos.TopicRoutesOrBuilder getRoutesOrBuilder(); /** *
     * The optional dead letter queue for this topic to send events to.
     * 
* * string dead_letter_topic = 6; * @return The deadLetterTopic. */ java.lang.String getDeadLetterTopic(); /** *
     * The optional dead letter queue for this topic to send events to.
     * 
* * string dead_letter_topic = 6; * @return The bytes for deadLetterTopic. */ com.google.protobuf.ByteString getDeadLetterTopicBytes(); /** *
     * The optional bulk subscribe settings for this topic.
     * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; * @return Whether the bulkSubscribe field is set. */ boolean hasBulkSubscribe(); /** *
     * The optional bulk subscribe settings for this topic.
     * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; * @return The bulkSubscribe. */ io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig getBulkSubscribe(); /** *
     * The optional bulk subscribe settings for this topic.
     * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; */ io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfigOrBuilder getBulkSubscribeOrBuilder(); } /** *
   * TopicSubscription represents topic and metadata.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicSubscription} */ public static final class TopicSubscription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TopicSubscription) TopicSubscriptionOrBuilder { private static final long serialVersionUID = 0L; // Use TopicSubscription.newBuilder() to construct. private TopicSubscription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TopicSubscription() { pubsubName_ = ""; topic_ = ""; deadLetterTopic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TopicSubscription(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TopicSubscription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); pubsubName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); topic_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } case 42: { io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.Builder subBuilder = null; if (routes_ != null) { subBuilder = routes_.toBuilder(); } routes_ = input.readMessage(io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(routes_); routes_ = subBuilder.buildPartial(); } break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); deadLetterTopic_ = s; break; } case 58: { io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.Builder subBuilder = null; if (bulkSubscribe_ != null) { subBuilder = bulkSubscribe_.toBuilder(); } bulkSubscribe_ = input.readMessage(io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(bulkSubscribe_); bulkSubscribe_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicSubscription_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicSubscription_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.class, io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.Builder.class); } public static final int PUBSUB_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object pubsubName_; /** *
     * Required. The name of the pubsub containing the topic below to subscribe to.
     * 
* * string pubsub_name = 1; * @return The pubsubName. */ @java.lang.Override public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; 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(); pubsubName_ = s; return s; } } /** *
     * Required. The name of the pubsub containing the topic below to subscribe to.
     * 
* * string pubsub_name = 1; * @return The bytes for pubsubName. */ @java.lang.Override public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOPIC_FIELD_NUMBER = 2; private volatile java.lang.Object topic_; /** *
     * Required. The name of topic which will be subscribed
     * 
* * string topic = 2; * @return The topic. */ @java.lang.Override public java.lang.String getTopic() { java.lang.Object ref = topic_; 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(); topic_ = s; return s; } } /** *
     * Required. The name of topic which will be subscribed
     * 
* * string topic = 2; * @return The bytes for topic. */ @java.lang.Override public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METADATA_FIELD_NUMBER = 3; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicSubscription_MetadataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** *
     * The optional properties used for this topic's subscription e.g. session id
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The optional properties used for this topic's subscription e.g. session id
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The optional properties used for this topic's subscription e.g. session id
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The optional properties used for this topic's subscription e.g. session id
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int ROUTES_FIELD_NUMBER = 5; private io.dapr.v1.DaprAppCallbackProtos.TopicRoutes routes_; /** *
     * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
     * is still invoked but the matching path is sent in the TopicEventRequest.
     * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; * @return Whether the routes field is set. */ @java.lang.Override public boolean hasRoutes() { return routes_ != null; } /** *
     * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
     * is still invoked but the matching path is sent in the TopicEventRequest.
     * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; * @return The routes. */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicRoutes getRoutes() { return routes_ == null ? io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.getDefaultInstance() : routes_; } /** *
     * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
     * is still invoked but the matching path is sent in the TopicEventRequest.
     * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicRoutesOrBuilder getRoutesOrBuilder() { return getRoutes(); } public static final int DEAD_LETTER_TOPIC_FIELD_NUMBER = 6; private volatile java.lang.Object deadLetterTopic_; /** *
     * The optional dead letter queue for this topic to send events to.
     * 
* * string dead_letter_topic = 6; * @return The deadLetterTopic. */ @java.lang.Override public java.lang.String getDeadLetterTopic() { java.lang.Object ref = deadLetterTopic_; 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(); deadLetterTopic_ = s; return s; } } /** *
     * The optional dead letter queue for this topic to send events to.
     * 
* * string dead_letter_topic = 6; * @return The bytes for deadLetterTopic. */ @java.lang.Override public com.google.protobuf.ByteString getDeadLetterTopicBytes() { java.lang.Object ref = deadLetterTopic_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deadLetterTopic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BULK_SUBSCRIBE_FIELD_NUMBER = 7; private io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig bulkSubscribe_; /** *
     * The optional bulk subscribe settings for this topic.
     * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; * @return Whether the bulkSubscribe field is set. */ @java.lang.Override public boolean hasBulkSubscribe() { return bulkSubscribe_ != null; } /** *
     * The optional bulk subscribe settings for this topic.
     * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; * @return The bulkSubscribe. */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig getBulkSubscribe() { return bulkSubscribe_ == null ? io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.getDefaultInstance() : bulkSubscribe_; } /** *
     * The optional bulk subscribe settings for this topic.
     * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfigOrBuilder getBulkSubscribeOrBuilder() { return getBulkSubscribe(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, topic_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); if (routes_ != null) { output.writeMessage(5, getRoutes()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterTopic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, deadLetterTopic_); } if (bulkSubscribe_ != null) { output.writeMessage(7, getBulkSubscribe()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, metadata__); } if (routes_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getRoutes()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterTopic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, deadLetterTopic_); } if (bulkSubscribe_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getBulkSubscribe()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.TopicSubscription)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.TopicSubscription other = (io.dapr.v1.DaprAppCallbackProtos.TopicSubscription) obj; if (!getPubsubName() .equals(other.getPubsubName())) return false; if (!getTopic() .equals(other.getTopic())) return false; if (!internalGetMetadata().equals( other.internalGetMetadata())) return false; if (hasRoutes() != other.hasRoutes()) return false; if (hasRoutes()) { if (!getRoutes() .equals(other.getRoutes())) return false; } if (!getDeadLetterTopic() .equals(other.getDeadLetterTopic())) return false; if (hasBulkSubscribe() != other.hasBulkSubscribe()) return false; if (hasBulkSubscribe()) { if (!getBulkSubscribe() .equals(other.getBulkSubscribe())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PUBSUB_NAME_FIELD_NUMBER; hash = (53 * hash) + getPubsubName().hashCode(); hash = (37 * hash) + TOPIC_FIELD_NUMBER; hash = (53 * hash) + getTopic().hashCode(); if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); } if (hasRoutes()) { hash = (37 * hash) + ROUTES_FIELD_NUMBER; hash = (53 * hash) + getRoutes().hashCode(); } hash = (37 * hash) + DEAD_LETTER_TOPIC_FIELD_NUMBER; hash = (53 * hash) + getDeadLetterTopic().hashCode(); if (hasBulkSubscribe()) { hash = (37 * hash) + BULK_SUBSCRIBE_FIELD_NUMBER; hash = (53 * hash) + getBulkSubscribe().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.TopicSubscription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicSubscription parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicSubscription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicSubscription parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicSubscription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicSubscription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicSubscription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicSubscription 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 io.dapr.v1.DaprAppCallbackProtos.TopicSubscription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicSubscription 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 io.dapr.v1.DaprAppCallbackProtos.TopicSubscription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicSubscription 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(io.dapr.v1.DaprAppCallbackProtos.TopicSubscription 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; } /** *
     * TopicSubscription represents topic and metadata.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.TopicSubscription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TopicSubscription) io.dapr.v1.DaprAppCallbackProtos.TopicSubscriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicSubscription_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 3: return internalGetMutableMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicSubscription_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.class, io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); pubsubName_ = ""; topic_ = ""; internalGetMutableMetadata().clear(); if (routesBuilder_ == null) { routes_ = null; } else { routes_ = null; routesBuilder_ = null; } deadLetterTopic_ = ""; if (bulkSubscribeBuilder_ == null) { bulkSubscribe_ = null; } else { bulkSubscribe_ = null; bulkSubscribeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicSubscription_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicSubscription getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicSubscription build() { io.dapr.v1.DaprAppCallbackProtos.TopicSubscription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicSubscription buildPartial() { io.dapr.v1.DaprAppCallbackProtos.TopicSubscription result = new io.dapr.v1.DaprAppCallbackProtos.TopicSubscription(this); int from_bitField0_ = bitField0_; result.pubsubName_ = pubsubName_; result.topic_ = topic_; result.metadata_ = internalGetMetadata(); result.metadata_.makeImmutable(); if (routesBuilder_ == null) { result.routes_ = routes_; } else { result.routes_ = routesBuilder_.build(); } result.deadLetterTopic_ = deadLetterTopic_; if (bulkSubscribeBuilder_ == null) { result.bulkSubscribe_ = bulkSubscribe_; } else { result.bulkSubscribe_ = bulkSubscribeBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprAppCallbackProtos.TopicSubscription) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.TopicSubscription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.TopicSubscription other) { if (other == io.dapr.v1.DaprAppCallbackProtos.TopicSubscription.getDefaultInstance()) return this; if (!other.getPubsubName().isEmpty()) { pubsubName_ = other.pubsubName_; onChanged(); } if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); } internalGetMutableMetadata().mergeFrom( other.internalGetMetadata()); if (other.hasRoutes()) { mergeRoutes(other.getRoutes()); } if (!other.getDeadLetterTopic().isEmpty()) { deadLetterTopic_ = other.deadLetterTopic_; onChanged(); } if (other.hasBulkSubscribe()) { mergeBulkSubscribe(other.getBulkSubscribe()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.TopicSubscription parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.TopicSubscription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object pubsubName_ = ""; /** *
       * Required. The name of the pubsub containing the topic below to subscribe to.
       * 
* * string pubsub_name = 1; * @return The pubsubName. */ public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pubsubName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Required. The name of the pubsub containing the topic below to subscribe to.
       * 
* * string pubsub_name = 1; * @return The bytes for pubsubName. */ public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Required. The name of the pubsub containing the topic below to subscribe to.
       * 
* * string pubsub_name = 1; * @param value The pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pubsubName_ = value; onChanged(); return this; } /** *
       * Required. The name of the pubsub containing the topic below to subscribe to.
       * 
* * string pubsub_name = 1; * @return This builder for chaining. */ public Builder clearPubsubName() { pubsubName_ = getDefaultInstance().getPubsubName(); onChanged(); return this; } /** *
       * Required. The name of the pubsub containing the topic below to subscribe to.
       * 
* * string pubsub_name = 1; * @param value The bytes for pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pubsubName_ = value; onChanged(); return this; } private java.lang.Object topic_ = ""; /** *
       * Required. The name of topic which will be subscribed
       * 
* * string topic = 2; * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Required. The name of topic which will be subscribed
       * 
* * string topic = 2; * @return The bytes for topic. */ public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Required. The name of topic which will be subscribed
       * 
* * string topic = 2; * @param value The topic to set. * @return This builder for chaining. */ public Builder setTopic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } topic_ = value; onChanged(); return this; } /** *
       * Required. The name of topic which will be subscribed
       * 
* * string topic = 2; * @return This builder for chaining. */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** *
       * Required. The name of topic which will be subscribed
       * 
* * string topic = 2; * @param value The bytes for topic to set. * @return This builder for chaining. */ public Builder setTopicBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); topic_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } private com.google.protobuf.MapField internalGetMutableMetadata() { onChanged();; if (metadata_ == null) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** *
       * The optional properties used for this topic's subscription e.g. session id
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The optional properties used for this topic's subscription e.g. session id
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The optional properties used for this topic's subscription e.g. session id
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The optional properties used for this topic's subscription e.g. session id
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The optional properties used for this topic's subscription e.g. session id
       * 
* * map<string, string> metadata = 3; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The optional properties used for this topic's subscription e.g. session id
       * 
* * map<string, string> metadata = 3; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The optional properties used for this topic's subscription e.g. session id
       * 
* * map<string, string> metadata = 3; */ public Builder putAllMetadata( java.util.Map values) { internalGetMutableMetadata().getMutableMap() .putAll(values); return this; } private io.dapr.v1.DaprAppCallbackProtos.TopicRoutes routes_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicRoutes, io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicRoutesOrBuilder> routesBuilder_; /** *
       * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
       * is still invoked but the matching path is sent in the TopicEventRequest.
       * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; * @return Whether the routes field is set. */ public boolean hasRoutes() { return routesBuilder_ != null || routes_ != null; } /** *
       * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
       * is still invoked but the matching path is sent in the TopicEventRequest.
       * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; * @return The routes. */ public io.dapr.v1.DaprAppCallbackProtos.TopicRoutes getRoutes() { if (routesBuilder_ == null) { return routes_ == null ? io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.getDefaultInstance() : routes_; } else { return routesBuilder_.getMessage(); } } /** *
       * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
       * is still invoked but the matching path is sent in the TopicEventRequest.
       * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; */ public Builder setRoutes(io.dapr.v1.DaprAppCallbackProtos.TopicRoutes value) { if (routesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } routes_ = value; onChanged(); } else { routesBuilder_.setMessage(value); } return this; } /** *
       * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
       * is still invoked but the matching path is sent in the TopicEventRequest.
       * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; */ public Builder setRoutes( io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.Builder builderForValue) { if (routesBuilder_ == null) { routes_ = builderForValue.build(); onChanged(); } else { routesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
       * is still invoked but the matching path is sent in the TopicEventRequest.
       * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; */ public Builder mergeRoutes(io.dapr.v1.DaprAppCallbackProtos.TopicRoutes value) { if (routesBuilder_ == null) { if (routes_ != null) { routes_ = io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.newBuilder(routes_).mergeFrom(value).buildPartial(); } else { routes_ = value; } onChanged(); } else { routesBuilder_.mergeFrom(value); } return this; } /** *
       * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
       * is still invoked but the matching path is sent in the TopicEventRequest.
       * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; */ public Builder clearRoutes() { if (routesBuilder_ == null) { routes_ = null; onChanged(); } else { routes_ = null; routesBuilder_ = null; } return this; } /** *
       * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
       * is still invoked but the matching path is sent in the TopicEventRequest.
       * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; */ public io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.Builder getRoutesBuilder() { onChanged(); return getRoutesFieldBuilder().getBuilder(); } /** *
       * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
       * is still invoked but the matching path is sent in the TopicEventRequest.
       * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; */ public io.dapr.v1.DaprAppCallbackProtos.TopicRoutesOrBuilder getRoutesOrBuilder() { if (routesBuilder_ != null) { return routesBuilder_.getMessageOrBuilder(); } else { return routes_ == null ? io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.getDefaultInstance() : routes_; } } /** *
       * The optional routing rules to match against. In the gRPC interface, OnTopicEvent
       * is still invoked but the matching path is sent in the TopicEventRequest.
       * 
* * .dapr.proto.runtime.v1.TopicRoutes routes = 5; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicRoutes, io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicRoutesOrBuilder> getRoutesFieldBuilder() { if (routesBuilder_ == null) { routesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicRoutes, io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicRoutesOrBuilder>( getRoutes(), getParentForChildren(), isClean()); routes_ = null; } return routesBuilder_; } private java.lang.Object deadLetterTopic_ = ""; /** *
       * The optional dead letter queue for this topic to send events to.
       * 
* * string dead_letter_topic = 6; * @return The deadLetterTopic. */ public java.lang.String getDeadLetterTopic() { java.lang.Object ref = deadLetterTopic_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deadLetterTopic_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The optional dead letter queue for this topic to send events to.
       * 
* * string dead_letter_topic = 6; * @return The bytes for deadLetterTopic. */ public com.google.protobuf.ByteString getDeadLetterTopicBytes() { java.lang.Object ref = deadLetterTopic_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deadLetterTopic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The optional dead letter queue for this topic to send events to.
       * 
* * string dead_letter_topic = 6; * @param value The deadLetterTopic to set. * @return This builder for chaining. */ public Builder setDeadLetterTopic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } deadLetterTopic_ = value; onChanged(); return this; } /** *
       * The optional dead letter queue for this topic to send events to.
       * 
* * string dead_letter_topic = 6; * @return This builder for chaining. */ public Builder clearDeadLetterTopic() { deadLetterTopic_ = getDefaultInstance().getDeadLetterTopic(); onChanged(); return this; } /** *
       * The optional dead letter queue for this topic to send events to.
       * 
* * string dead_letter_topic = 6; * @param value The bytes for deadLetterTopic to set. * @return This builder for chaining. */ public Builder setDeadLetterTopicBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); deadLetterTopic_ = value; onChanged(); return this; } private io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig bulkSubscribe_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig, io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.Builder, io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfigOrBuilder> bulkSubscribeBuilder_; /** *
       * The optional bulk subscribe settings for this topic.
       * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; * @return Whether the bulkSubscribe field is set. */ public boolean hasBulkSubscribe() { return bulkSubscribeBuilder_ != null || bulkSubscribe_ != null; } /** *
       * The optional bulk subscribe settings for this topic.
       * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; * @return The bulkSubscribe. */ public io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig getBulkSubscribe() { if (bulkSubscribeBuilder_ == null) { return bulkSubscribe_ == null ? io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.getDefaultInstance() : bulkSubscribe_; } else { return bulkSubscribeBuilder_.getMessage(); } } /** *
       * The optional bulk subscribe settings for this topic.
       * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; */ public Builder setBulkSubscribe(io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig value) { if (bulkSubscribeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } bulkSubscribe_ = value; onChanged(); } else { bulkSubscribeBuilder_.setMessage(value); } return this; } /** *
       * The optional bulk subscribe settings for this topic.
       * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; */ public Builder setBulkSubscribe( io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.Builder builderForValue) { if (bulkSubscribeBuilder_ == null) { bulkSubscribe_ = builderForValue.build(); onChanged(); } else { bulkSubscribeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The optional bulk subscribe settings for this topic.
       * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; */ public Builder mergeBulkSubscribe(io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig value) { if (bulkSubscribeBuilder_ == null) { if (bulkSubscribe_ != null) { bulkSubscribe_ = io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.newBuilder(bulkSubscribe_).mergeFrom(value).buildPartial(); } else { bulkSubscribe_ = value; } onChanged(); } else { bulkSubscribeBuilder_.mergeFrom(value); } return this; } /** *
       * The optional bulk subscribe settings for this topic.
       * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; */ public Builder clearBulkSubscribe() { if (bulkSubscribeBuilder_ == null) { bulkSubscribe_ = null; onChanged(); } else { bulkSubscribe_ = null; bulkSubscribeBuilder_ = null; } return this; } /** *
       * The optional bulk subscribe settings for this topic.
       * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; */ public io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.Builder getBulkSubscribeBuilder() { onChanged(); return getBulkSubscribeFieldBuilder().getBuilder(); } /** *
       * The optional bulk subscribe settings for this topic.
       * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; */ public io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfigOrBuilder getBulkSubscribeOrBuilder() { if (bulkSubscribeBuilder_ != null) { return bulkSubscribeBuilder_.getMessageOrBuilder(); } else { return bulkSubscribe_ == null ? io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.getDefaultInstance() : bulkSubscribe_; } } /** *
       * The optional bulk subscribe settings for this topic.
       * 
* * .dapr.proto.runtime.v1.BulkSubscribeConfig bulk_subscribe = 7; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig, io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.Builder, io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfigOrBuilder> getBulkSubscribeFieldBuilder() { if (bulkSubscribeBuilder_ == null) { bulkSubscribeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig, io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.Builder, io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfigOrBuilder>( getBulkSubscribe(), getParentForChildren(), isClean()); bulkSubscribe_ = null; } return bulkSubscribeBuilder_; } @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:dapr.proto.runtime.v1.TopicSubscription) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TopicSubscription) private static final io.dapr.v1.DaprAppCallbackProtos.TopicSubscription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.TopicSubscription(); } public static io.dapr.v1.DaprAppCallbackProtos.TopicSubscription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TopicSubscription parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TopicSubscription(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicSubscription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TopicRoutesOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TopicRoutes) com.google.protobuf.MessageOrBuilder { /** *
     * The list of rules for this topic.
     * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ java.util.List getRulesList(); /** *
     * The list of rules for this topic.
     * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ io.dapr.v1.DaprAppCallbackProtos.TopicRule getRules(int index); /** *
     * The list of rules for this topic.
     * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ int getRulesCount(); /** *
     * The list of rules for this topic.
     * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ java.util.List getRulesOrBuilderList(); /** *
     * The list of rules for this topic.
     * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ io.dapr.v1.DaprAppCallbackProtos.TopicRuleOrBuilder getRulesOrBuilder( int index); /** *
     * The default path for this topic.
     * 
* * string default = 2; * @return The default. */ java.lang.String getDefault(); /** *
     * The default path for this topic.
     * 
* * string default = 2; * @return The bytes for default. */ com.google.protobuf.ByteString getDefaultBytes(); } /** * Protobuf type {@code dapr.proto.runtime.v1.TopicRoutes} */ public static final class TopicRoutes extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TopicRoutes) TopicRoutesOrBuilder { private static final long serialVersionUID = 0L; // Use TopicRoutes.newBuilder() to construct. private TopicRoutes(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TopicRoutes() { rules_ = java.util.Collections.emptyList(); default_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TopicRoutes(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TopicRoutes( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } rules_.add( input.readMessage(io.dapr.v1.DaprAppCallbackProtos.TopicRule.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); default_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicRoutes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicRoutes_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.class, io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.Builder.class); } public static final int RULES_FIELD_NUMBER = 1; private java.util.List rules_; /** *
     * The list of rules for this topic.
     * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** *
     * The list of rules for this topic.
     * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ @java.lang.Override public java.util.List getRulesOrBuilderList() { return rules_; } /** *
     * The list of rules for this topic.
     * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** *
     * The list of rules for this topic.
     * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicRule getRules(int index) { return rules_.get(index); } /** *
     * The list of rules for this topic.
     * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicRuleOrBuilder getRulesOrBuilder( int index) { return rules_.get(index); } public static final int DEFAULT_FIELD_NUMBER = 2; private volatile java.lang.Object default_; /** *
     * The default path for this topic.
     * 
* * string default = 2; * @return The default. */ @java.lang.Override public java.lang.String getDefault() { java.lang.Object ref = default_; 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(); default_ = s; return s; } } /** *
     * The default path for this topic.
     * 
* * string default = 2; * @return The bytes for default. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultBytes() { java.lang.Object ref = default_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); default_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < rules_.size(); i++) { output.writeMessage(1, rules_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(default_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, default_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, rules_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(default_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, default_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.TopicRoutes)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.TopicRoutes other = (io.dapr.v1.DaprAppCallbackProtos.TopicRoutes) obj; if (!getRulesList() .equals(other.getRulesList())) return false; if (!getDefault() .equals(other.getDefault())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getRulesCount() > 0) { hash = (37 * hash) + RULES_FIELD_NUMBER; hash = (53 * hash) + getRulesList().hashCode(); } hash = (37 * hash) + DEFAULT_FIELD_NUMBER; hash = (53 * hash) + getDefault().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.TopicRoutes parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRoutes parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRoutes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRoutes parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRoutes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRoutes parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRoutes parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRoutes 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 io.dapr.v1.DaprAppCallbackProtos.TopicRoutes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRoutes 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 io.dapr.v1.DaprAppCallbackProtos.TopicRoutes parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRoutes 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(io.dapr.v1.DaprAppCallbackProtos.TopicRoutes 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 dapr.proto.runtime.v1.TopicRoutes} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TopicRoutes) io.dapr.v1.DaprAppCallbackProtos.TopicRoutesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicRoutes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicRoutes_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.class, io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRulesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { rulesBuilder_.clear(); } default_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicRoutes_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicRoutes getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicRoutes build() { io.dapr.v1.DaprAppCallbackProtos.TopicRoutes result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicRoutes buildPartial() { io.dapr.v1.DaprAppCallbackProtos.TopicRoutes result = new io.dapr.v1.DaprAppCallbackProtos.TopicRoutes(this); int from_bitField0_ = bitField0_; if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); bitField0_ = (bitField0_ & ~0x00000001); } result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } result.default_ = default_; 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 io.dapr.v1.DaprAppCallbackProtos.TopicRoutes) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.TopicRoutes)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.TopicRoutes other) { if (other == io.dapr.v1.DaprAppCallbackProtos.TopicRoutes.getDefaultInstance()) return this; if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRulesIsMutable(); rules_.addAll(other.rules_); } onChanged(); } } else { if (!other.rules_.isEmpty()) { if (rulesBuilder_.isEmpty()) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } } } if (!other.getDefault().isEmpty()) { default_ = other.default_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.TopicRoutes parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.TopicRoutes) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List rules_ = java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicRule, io.dapr.v1.DaprAppCallbackProtos.TopicRule.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicRuleOrBuilder> rulesBuilder_; /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { return java.util.Collections.unmodifiableList(rules_); } else { return rulesBuilder_.getMessageList(); } } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public int getRulesCount() { if (rulesBuilder_ == null) { return rules_.size(); } else { return rulesBuilder_.getCount(); } } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicRule getRules(int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessage(index); } } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public Builder setRules( int index, io.dapr.v1.DaprAppCallbackProtos.TopicRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.set(index, value); onChanged(); } else { rulesBuilder_.setMessage(index, value); } return this; } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public Builder setRules( int index, io.dapr.v1.DaprAppCallbackProtos.TopicRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.set(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public Builder addRules(io.dapr.v1.DaprAppCallbackProtos.TopicRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(value); onChanged(); } else { rulesBuilder_.addMessage(value); } return this; } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public Builder addRules( int index, io.dapr.v1.DaprAppCallbackProtos.TopicRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(index, value); onChanged(); } else { rulesBuilder_.addMessage(index, value); } return this; } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public Builder addRules( io.dapr.v1.DaprAppCallbackProtos.TopicRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public Builder addRules( int index, io.dapr.v1.DaprAppCallbackProtos.TopicRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); } return this; } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { rulesBuilder_.clear(); } return this; } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.remove(index); onChanged(); } else { rulesBuilder_.remove(index); } return this; } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicRule.Builder getRulesBuilder( int index) { return getRulesFieldBuilder().getBuilder(index); } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicRuleOrBuilder getRulesOrBuilder( int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public java.util.List getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rules_); } } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicRule.Builder addRulesBuilder() { return getRulesFieldBuilder().addBuilder( io.dapr.v1.DaprAppCallbackProtos.TopicRule.getDefaultInstance()); } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public io.dapr.v1.DaprAppCallbackProtos.TopicRule.Builder addRulesBuilder( int index) { return getRulesFieldBuilder().addBuilder( index, io.dapr.v1.DaprAppCallbackProtos.TopicRule.getDefaultInstance()); } /** *
       * The list of rules for this topic.
       * 
* * repeated .dapr.proto.runtime.v1.TopicRule rules = 1; */ public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicRule, io.dapr.v1.DaprAppCallbackProtos.TopicRule.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicRule, io.dapr.v1.DaprAppCallbackProtos.TopicRule.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicRuleOrBuilder>( rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } private java.lang.Object default_ = ""; /** *
       * The default path for this topic.
       * 
* * string default = 2; * @return The default. */ public java.lang.String getDefault() { java.lang.Object ref = default_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); default_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The default path for this topic.
       * 
* * string default = 2; * @return The bytes for default. */ public com.google.protobuf.ByteString getDefaultBytes() { java.lang.Object ref = default_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); default_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The default path for this topic.
       * 
* * string default = 2; * @param value The default to set. * @return This builder for chaining. */ public Builder setDefault( java.lang.String value) { if (value == null) { throw new NullPointerException(); } default_ = value; onChanged(); return this; } /** *
       * The default path for this topic.
       * 
* * string default = 2; * @return This builder for chaining. */ public Builder clearDefault() { default_ = getDefaultInstance().getDefault(); onChanged(); return this; } /** *
       * The default path for this topic.
       * 
* * string default = 2; * @param value The bytes for default to set. * @return This builder for chaining. */ public Builder setDefaultBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); default_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.TopicRoutes) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TopicRoutes) private static final io.dapr.v1.DaprAppCallbackProtos.TopicRoutes DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.TopicRoutes(); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRoutes getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TopicRoutes parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TopicRoutes(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicRoutes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TopicRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TopicRule) com.google.protobuf.MessageOrBuilder { /** *
     * The optional CEL expression used to match the event.
     * If the match is not specified, then the route is considered
     * the default.
     * 
* * string match = 1; * @return The match. */ java.lang.String getMatch(); /** *
     * The optional CEL expression used to match the event.
     * If the match is not specified, then the route is considered
     * the default.
     * 
* * string match = 1; * @return The bytes for match. */ com.google.protobuf.ByteString getMatchBytes(); /** *
     * The path used to identify matches for this subscription.
     * This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
     * inside the handler.
     * 
* * string path = 2; * @return The path. */ java.lang.String getPath(); /** *
     * The path used to identify matches for this subscription.
     * This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
     * inside the handler.
     * 
* * string path = 2; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); } /** * Protobuf type {@code dapr.proto.runtime.v1.TopicRule} */ public static final class TopicRule extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TopicRule) TopicRuleOrBuilder { private static final long serialVersionUID = 0L; // Use TopicRule.newBuilder() to construct. private TopicRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TopicRule() { match_ = ""; path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TopicRule(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TopicRule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); match_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicRule_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicRule.class, io.dapr.v1.DaprAppCallbackProtos.TopicRule.Builder.class); } public static final int MATCH_FIELD_NUMBER = 1; private volatile java.lang.Object match_; /** *
     * The optional CEL expression used to match the event.
     * If the match is not specified, then the route is considered
     * the default.
     * 
* * string match = 1; * @return The match. */ @java.lang.Override public java.lang.String getMatch() { java.lang.Object ref = match_; 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(); match_ = s; return s; } } /** *
     * The optional CEL expression used to match the event.
     * If the match is not specified, then the route is considered
     * the default.
     * 
* * string match = 1; * @return The bytes for match. */ @java.lang.Override public com.google.protobuf.ByteString getMatchBytes() { java.lang.Object ref = match_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); match_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** *
     * The path used to identify matches for this subscription.
     * This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
     * inside the handler.
     * 
* * string path = 2; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; } } /** *
     * The path used to identify matches for this subscription.
     * This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
     * inside the handler.
     * 
* * string path = 2; * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(match_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, match_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(match_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, match_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.TopicRule)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.TopicRule other = (io.dapr.v1.DaprAppCallbackProtos.TopicRule) obj; if (!getMatch() .equals(other.getMatch())) return false; if (!getPath() .equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MATCH_FIELD_NUMBER; hash = (53 * hash) + getMatch().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.TopicRule parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRule parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRule parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRule parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRule 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 io.dapr.v1.DaprAppCallbackProtos.TopicRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRule 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 io.dapr.v1.DaprAppCallbackProtos.TopicRule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRule 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(io.dapr.v1.DaprAppCallbackProtos.TopicRule 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 dapr.proto.runtime.v1.TopicRule} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TopicRule) io.dapr.v1.DaprAppCallbackProtos.TopicRuleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicRule_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.TopicRule.class, io.dapr.v1.DaprAppCallbackProtos.TopicRule.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.TopicRule.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); match_ = ""; path_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_TopicRule_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicRule getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.TopicRule.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicRule build() { io.dapr.v1.DaprAppCallbackProtos.TopicRule result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicRule buildPartial() { io.dapr.v1.DaprAppCallbackProtos.TopicRule result = new io.dapr.v1.DaprAppCallbackProtos.TopicRule(this); result.match_ = match_; result.path_ = path_; 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 io.dapr.v1.DaprAppCallbackProtos.TopicRule) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.TopicRule)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.TopicRule other) { if (other == io.dapr.v1.DaprAppCallbackProtos.TopicRule.getDefaultInstance()) return this; if (!other.getMatch().isEmpty()) { match_ = other.match_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.TopicRule parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.TopicRule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object match_ = ""; /** *
       * The optional CEL expression used to match the event.
       * If the match is not specified, then the route is considered
       * the default.
       * 
* * string match = 1; * @return The match. */ public java.lang.String getMatch() { java.lang.Object ref = match_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); match_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The optional CEL expression used to match the event.
       * If the match is not specified, then the route is considered
       * the default.
       * 
* * string match = 1; * @return The bytes for match. */ public com.google.protobuf.ByteString getMatchBytes() { java.lang.Object ref = match_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); match_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The optional CEL expression used to match the event.
       * If the match is not specified, then the route is considered
       * the default.
       * 
* * string match = 1; * @param value The match to set. * @return This builder for chaining. */ public Builder setMatch( java.lang.String value) { if (value == null) { throw new NullPointerException(); } match_ = value; onChanged(); return this; } /** *
       * The optional CEL expression used to match the event.
       * If the match is not specified, then the route is considered
       * the default.
       * 
* * string match = 1; * @return This builder for chaining. */ public Builder clearMatch() { match_ = getDefaultInstance().getMatch(); onChanged(); return this; } /** *
       * The optional CEL expression used to match the event.
       * If the match is not specified, then the route is considered
       * the default.
       * 
* * string match = 1; * @param value The bytes for match to set. * @return This builder for chaining. */ public Builder setMatchBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); match_ = value; onChanged(); return this; } private java.lang.Object path_ = ""; /** *
       * The path used to identify matches for this subscription.
       * This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
       * inside the handler.
       * 
* * string path = 2; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The path used to identify matches for this subscription.
       * This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
       * inside the handler.
       * 
* * string path = 2; * @return The bytes for path. */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The path used to identify matches for this subscription.
       * This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
       * inside the handler.
       * 
* * string path = 2; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** *
       * The path used to identify matches for this subscription.
       * This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
       * inside the handler.
       * 
* * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** *
       * The path used to identify matches for this subscription.
       * This value is passed in TopicEventRequest and used by OnTopicEvent to "switch"
       * inside the handler.
       * 
* * string path = 2; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.TopicRule) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TopicRule) private static final io.dapr.v1.DaprAppCallbackProtos.TopicRule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.TopicRule(); } public static io.dapr.v1.DaprAppCallbackProtos.TopicRule getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TopicRule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TopicRule(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BulkSubscribeConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.BulkSubscribeConfig) com.google.protobuf.MessageOrBuilder { /** *
     * Required. Flag to enable/disable bulk subscribe
     * 
* * bool enabled = 1; * @return The enabled. */ boolean getEnabled(); /** *
     * Optional. Max number of messages to be sent in a single bulk request
     * 
* * int32 max_messages_count = 2; * @return The maxMessagesCount. */ int getMaxMessagesCount(); /** *
     * Optional. Max duration to wait for messages to be sent in a single bulk request
     * 
* * int32 max_await_duration_ms = 3; * @return The maxAwaitDurationMs. */ int getMaxAwaitDurationMs(); } /** *
   * BulkSubscribeConfig is the message to pass settings for bulk subscribe
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.BulkSubscribeConfig} */ public static final class BulkSubscribeConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.BulkSubscribeConfig) BulkSubscribeConfigOrBuilder { private static final long serialVersionUID = 0L; // Use BulkSubscribeConfig.newBuilder() to construct. private BulkSubscribeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BulkSubscribeConfig() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BulkSubscribeConfig(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkSubscribeConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { enabled_ = input.readBool(); break; } case 16: { maxMessagesCount_ = input.readInt32(); break; } case 24: { maxAwaitDurationMs_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BulkSubscribeConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BulkSubscribeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.class, io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** *
     * Required. Flag to enable/disable bulk subscribe
     * 
* * bool enabled = 1; * @return The enabled. */ @java.lang.Override public boolean getEnabled() { return enabled_; } public static final int MAX_MESSAGES_COUNT_FIELD_NUMBER = 2; private int maxMessagesCount_; /** *
     * Optional. Max number of messages to be sent in a single bulk request
     * 
* * int32 max_messages_count = 2; * @return The maxMessagesCount. */ @java.lang.Override public int getMaxMessagesCount() { return maxMessagesCount_; } public static final int MAX_AWAIT_DURATION_MS_FIELD_NUMBER = 3; private int maxAwaitDurationMs_; /** *
     * Optional. Max duration to wait for messages to be sent in a single bulk request
     * 
* * int32 max_await_duration_ms = 3; * @return The maxAwaitDurationMs. */ @java.lang.Override public int getMaxAwaitDurationMs() { return maxAwaitDurationMs_; } 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 (enabled_ != false) { output.writeBool(1, enabled_); } if (maxMessagesCount_ != 0) { output.writeInt32(2, maxMessagesCount_); } if (maxAwaitDurationMs_ != 0) { output.writeInt32(3, maxAwaitDurationMs_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (enabled_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, enabled_); } if (maxMessagesCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, maxMessagesCount_); } if (maxAwaitDurationMs_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, maxAwaitDurationMs_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig other = (io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig) obj; if (getEnabled() != other.getEnabled()) return false; if (getMaxMessagesCount() != other.getMaxMessagesCount()) return false; if (getMaxAwaitDurationMs() != other.getMaxAwaitDurationMs()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnabled()); hash = (37 * hash) + MAX_MESSAGES_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMaxMessagesCount(); hash = (37 * hash) + MAX_AWAIT_DURATION_MS_FIELD_NUMBER; hash = (53 * hash) + getMaxAwaitDurationMs(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig 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 io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig 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 io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig 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(io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig 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; } /** *
     * BulkSubscribeConfig is the message to pass settings for bulk subscribe
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.BulkSubscribeConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.BulkSubscribeConfig) io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BulkSubscribeConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BulkSubscribeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.class, io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); enabled_ = false; maxMessagesCount_ = 0; maxAwaitDurationMs_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_BulkSubscribeConfig_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig build() { io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig buildPartial() { io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig result = new io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig(this); result.enabled_ = enabled_; result.maxMessagesCount_ = maxMessagesCount_; result.maxAwaitDurationMs_ = maxAwaitDurationMs_; 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 io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig other) { if (other == io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } if (other.getMaxMessagesCount() != 0) { setMaxMessagesCount(other.getMaxMessagesCount()); } if (other.getMaxAwaitDurationMs() != 0) { setMaxAwaitDurationMs(other.getMaxAwaitDurationMs()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean enabled_ ; /** *
       * Required. Flag to enable/disable bulk subscribe
       * 
* * bool enabled = 1; * @return The enabled. */ @java.lang.Override public boolean getEnabled() { return enabled_; } /** *
       * Required. Flag to enable/disable bulk subscribe
       * 
* * bool enabled = 1; * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { enabled_ = value; onChanged(); return this; } /** *
       * Required. Flag to enable/disable bulk subscribe
       * 
* * bool enabled = 1; * @return This builder for chaining. */ public Builder clearEnabled() { enabled_ = false; onChanged(); return this; } private int maxMessagesCount_ ; /** *
       * Optional. Max number of messages to be sent in a single bulk request
       * 
* * int32 max_messages_count = 2; * @return The maxMessagesCount. */ @java.lang.Override public int getMaxMessagesCount() { return maxMessagesCount_; } /** *
       * Optional. Max number of messages to be sent in a single bulk request
       * 
* * int32 max_messages_count = 2; * @param value The maxMessagesCount to set. * @return This builder for chaining. */ public Builder setMaxMessagesCount(int value) { maxMessagesCount_ = value; onChanged(); return this; } /** *
       * Optional. Max number of messages to be sent in a single bulk request
       * 
* * int32 max_messages_count = 2; * @return This builder for chaining. */ public Builder clearMaxMessagesCount() { maxMessagesCount_ = 0; onChanged(); return this; } private int maxAwaitDurationMs_ ; /** *
       * Optional. Max duration to wait for messages to be sent in a single bulk request
       * 
* * int32 max_await_duration_ms = 3; * @return The maxAwaitDurationMs. */ @java.lang.Override public int getMaxAwaitDurationMs() { return maxAwaitDurationMs_; } /** *
       * Optional. Max duration to wait for messages to be sent in a single bulk request
       * 
* * int32 max_await_duration_ms = 3; * @param value The maxAwaitDurationMs to set. * @return This builder for chaining. */ public Builder setMaxAwaitDurationMs(int value) { maxAwaitDurationMs_ = value; onChanged(); return this; } /** *
       * Optional. Max duration to wait for messages to be sent in a single bulk request
       * 
* * int32 max_await_duration_ms = 3; * @return This builder for chaining. */ public Builder clearMaxAwaitDurationMs() { maxAwaitDurationMs_ = 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:dapr.proto.runtime.v1.BulkSubscribeConfig) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.BulkSubscribeConfig) private static final io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig(); } public static io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BulkSubscribeConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkSubscribeConfig(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.BulkSubscribeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListInputBindingsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.ListInputBindingsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The list of input bindings.
     * 
* * repeated string bindings = 1; * @return A list containing the bindings. */ java.util.List getBindingsList(); /** *
     * The list of input bindings.
     * 
* * repeated string bindings = 1; * @return The count of bindings. */ int getBindingsCount(); /** *
     * The list of input bindings.
     * 
* * repeated string bindings = 1; * @param index The index of the element to return. * @return The bindings at the given index. */ java.lang.String getBindings(int index); /** *
     * The list of input bindings.
     * 
* * repeated string bindings = 1; * @param index The index of the value to return. * @return The bytes of the bindings at the given index. */ com.google.protobuf.ByteString getBindingsBytes(int index); } /** *
   * ListInputBindingsResponse is the message including the list of input bindings.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.ListInputBindingsResponse} */ public static final class ListInputBindingsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.ListInputBindingsResponse) ListInputBindingsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListInputBindingsResponse.newBuilder() to construct. private ListInputBindingsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListInputBindingsResponse() { bindings_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListInputBindingsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListInputBindingsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { bindings_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } bindings_.add(s); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bindings_ = bindings_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_ListInputBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_ListInputBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse.class, io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse.Builder.class); } public static final int BINDINGS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList bindings_; /** *
     * The list of input bindings.
     * 
* * repeated string bindings = 1; * @return A list containing the bindings. */ public com.google.protobuf.ProtocolStringList getBindingsList() { return bindings_; } /** *
     * The list of input bindings.
     * 
* * repeated string bindings = 1; * @return The count of bindings. */ public int getBindingsCount() { return bindings_.size(); } /** *
     * The list of input bindings.
     * 
* * repeated string bindings = 1; * @param index The index of the element to return. * @return The bindings at the given index. */ public java.lang.String getBindings(int index) { return bindings_.get(index); } /** *
     * The list of input bindings.
     * 
* * repeated string bindings = 1; * @param index The index of the value to return. * @return The bytes of the bindings at the given index. */ public com.google.protobuf.ByteString getBindingsBytes(int index) { return bindings_.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 { for (int i = 0; i < bindings_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bindings_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < bindings_.size(); i++) { dataSize += computeStringSizeNoTag(bindings_.getRaw(i)); } size += dataSize; size += 1 * getBindingsList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse other = (io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse) obj; if (!getBindingsList() .equals(other.getBindingsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getBindingsCount() > 0) { hash = (37 * hash) + BINDINGS_FIELD_NUMBER; hash = (53 * hash) + getBindingsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse 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 io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse 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 io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse 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(io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse 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; } /** *
     * ListInputBindingsResponse is the message including the list of input bindings.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.ListInputBindingsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.ListInputBindingsResponse) io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_ListInputBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_ListInputBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse.class, io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); bindings_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_ListInputBindingsResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse build() { io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse buildPartial() { io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse result = new io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { bindings_ = bindings_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.bindings_ = bindings_; 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 io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse other) { if (other == io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse.getDefaultInstance()) return this; if (!other.bindings_.isEmpty()) { if (bindings_.isEmpty()) { bindings_ = other.bindings_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureBindingsIsMutable(); bindings_.addAll(other.bindings_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList bindings_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureBindingsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { bindings_ = new com.google.protobuf.LazyStringArrayList(bindings_); bitField0_ |= 0x00000001; } } /** *
       * The list of input bindings.
       * 
* * repeated string bindings = 1; * @return A list containing the bindings. */ public com.google.protobuf.ProtocolStringList getBindingsList() { return bindings_.getUnmodifiableView(); } /** *
       * The list of input bindings.
       * 
* * repeated string bindings = 1; * @return The count of bindings. */ public int getBindingsCount() { return bindings_.size(); } /** *
       * The list of input bindings.
       * 
* * repeated string bindings = 1; * @param index The index of the element to return. * @return The bindings at the given index. */ public java.lang.String getBindings(int index) { return bindings_.get(index); } /** *
       * The list of input bindings.
       * 
* * repeated string bindings = 1; * @param index The index of the value to return. * @return The bytes of the bindings at the given index. */ public com.google.protobuf.ByteString getBindingsBytes(int index) { return bindings_.getByteString(index); } /** *
       * The list of input bindings.
       * 
* * repeated string bindings = 1; * @param index The index to set the value at. * @param value The bindings to set. * @return This builder for chaining. */ public Builder setBindings( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureBindingsIsMutable(); bindings_.set(index, value); onChanged(); return this; } /** *
       * The list of input bindings.
       * 
* * repeated string bindings = 1; * @param value The bindings to add. * @return This builder for chaining. */ public Builder addBindings( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureBindingsIsMutable(); bindings_.add(value); onChanged(); return this; } /** *
       * The list of input bindings.
       * 
* * repeated string bindings = 1; * @param values The bindings to add. * @return This builder for chaining. */ public Builder addAllBindings( java.lang.Iterable values) { ensureBindingsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, bindings_); onChanged(); return this; } /** *
       * The list of input bindings.
       * 
* * repeated string bindings = 1; * @return This builder for chaining. */ public Builder clearBindings() { bindings_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The list of input bindings.
       * 
* * repeated string bindings = 1; * @param value The bytes of the bindings to add. * @return This builder for chaining. */ public Builder addBindingsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureBindingsIsMutable(); bindings_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.ListInputBindingsResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.ListInputBindingsResponse) private static final io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse(); } public static io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListInputBindingsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListInputBindingsResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.ListInputBindingsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HealthCheckResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.HealthCheckResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * HealthCheckResponse is the message with the response to the health check.
   * This message is currently empty as used as placeholder.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.HealthCheckResponse} */ public static final class HealthCheckResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.HealthCheckResponse) HealthCheckResponseOrBuilder { private static final long serialVersionUID = 0L; // Use HealthCheckResponse.newBuilder() to construct. private HealthCheckResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HealthCheckResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HealthCheckResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HealthCheckResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_HealthCheckResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_HealthCheckResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse.class, io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse.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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse other = (io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse 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 io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse 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 io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse 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(io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse 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; } /** *
     * HealthCheckResponse is the message with the response to the health check.
     * This message is currently empty as used as placeholder.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.HealthCheckResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.HealthCheckResponse) io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_HealthCheckResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_HealthCheckResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse.class, io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse.Builder.class); } // Construct using io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprAppCallbackProtos.internal_static_dapr_proto_runtime_v1_HealthCheckResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse getDefaultInstanceForType() { return io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse build() { io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse buildPartial() { io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse result = new io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse(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 io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse) { return mergeFrom((io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse other) { if (other == io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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:dapr.proto.runtime.v1.HealthCheckResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.HealthCheckResponse) private static final io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse(); } public static io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HealthCheckResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HealthCheckResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.HealthCheckResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_JobEventRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_JobEventRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_JobEventResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_JobEventResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicEventRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicEventRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicEventResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicEventResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicEventCERequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicEventCERequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicEventBulkResponseEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicEventBulkResponseEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicEventBulkResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicEventBulkResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_BindingEventRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_BindingEventRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_BindingEventRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_BindingEventRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_BindingEventResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_BindingEventResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_ListTopicSubscriptionsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_ListTopicSubscriptionsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicSubscription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicSubscription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicSubscription_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicSubscription_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicRoutes_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicRoutes_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TopicRule_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TopicRule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_BulkSubscribeConfig_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_BulkSubscribeConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_ListInputBindingsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_ListInputBindingsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_HealthCheckResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_HealthCheckResponse_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\'dapr/proto/runtime/v1/appcallback.prot" + "o\022\025dapr.proto.runtime.v1\032\031google/protobu" + "f/any.proto\032\033google/protobuf/empty.proto" + "\032!dapr/proto/common/v1/common.proto\032\034goo" + "gle/protobuf/struct.proto\"\246\001\n\017JobEventRe" + "quest\022\014\n\004name\030\001 \001(\t\022\"\n\004data\030\002 \001(\0132\024.goog" + "le.protobuf.Any\022\016\n\006method\030\003 \001(\t\022\024\n\014conte" + "nt_type\030\004 \001(\t\022;\n\016http_extension\030\005 \001(\0132#." + "dapr.proto.common.v1.HTTPExtension\"\022\n\020Jo" + "bEventResponse\"\333\001\n\021TopicEventRequest\022\n\n\002" + "id\030\001 \001(\t\022\016\n\006source\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\022\024" + "\n\014spec_version\030\004 \001(\t\022\031\n\021data_content_typ" + "e\030\005 \001(\t\022\014\n\004data\030\007 \001(\014\022\r\n\005topic\030\006 \001(\t\022\023\n\013" + "pubsub_name\030\010 \001(\t\022\014\n\004path\030\t \001(\t\022+\n\nexten" + "sions\030\n \001(\0132\027.google.protobuf.Struct\"\246\001\n" + "\022TopicEventResponse\022R\n\006status\030\001 \001(\0162B.da" + "pr.proto.runtime.v1.TopicEventResponse.T" + "opicEventResponseStatus\"<\n\030TopicEventRes" + "ponseStatus\022\013\n\007SUCCESS\020\000\022\t\n\005RETRY\020\001\022\010\n\004D" + "ROP\020\002\"\253\001\n\023TopicEventCERequest\022\n\n\002id\030\001 \001(" + "\t\022\016\n\006source\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\022\024\n\014spec_" + "version\030\004 \001(\t\022\031\n\021data_content_type\030\005 \001(\t" + "\022\014\n\004data\030\006 \001(\014\022+\n\nextensions\030\007 \001(\0132\027.goo" + "gle.protobuf.Struct\"\245\002\n\032TopicEventBulkRe" + "questEntry\022\020\n\010entry_id\030\001 \001(\t\022\017\n\005bytes\030\002 " + "\001(\014H\000\022A\n\013cloud_event\030\003 \001(\0132*.dapr.proto." + "runtime.v1.TopicEventCERequestH\000\022\024\n\014cont" + "ent_type\030\004 \001(\t\022Q\n\010metadata\030\005 \003(\0132?.dapr." + "proto.runtime.v1.TopicEventBulkRequestEn" + "try.MetadataEntry\032/\n\rMetadataEntry\022\013\n\003ke" + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\007\n\005event\"\246\002\n\025" + "TopicEventBulkRequest\022\n\n\002id\030\001 \001(\t\022B\n\007ent" + "ries\030\002 \003(\01321.dapr.proto.runtime.v1.Topic" + "EventBulkRequestEntry\022L\n\010metadata\030\003 \003(\0132" + ":.dapr.proto.runtime.v1.TopicEventBulkRe" + "quest.MetadataEntry\022\r\n\005topic\030\004 \001(\t\022\023\n\013pu" + "bsub_name\030\005 \001(\t\022\014\n\004type\030\006 \001(\t\022\014\n\004path\030\007 " + "\001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + "ue\030\002 \001(\t:\0028\001\"\203\001\n\033TopicEventBulkResponseE" + "ntry\022\020\n\010entry_id\030\001 \001(\t\022R\n\006status\030\002 \001(\0162B" + ".dapr.proto.runtime.v1.TopicEventRespons" + "e.TopicEventResponseStatus\"^\n\026TopicEvent" + "BulkResponse\022D\n\010statuses\030\001 \003(\01322.dapr.pr" + "oto.runtime.v1.TopicEventBulkResponseEnt" + "ry\"\256\001\n\023BindingEventRequest\022\014\n\004name\030\001 \001(\t" + "\022\014\n\004data\030\002 \001(\014\022J\n\010metadata\030\003 \003(\01328.dapr." + "proto.runtime.v1.BindingEventRequest.Met" + "adataEntry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t" + "\022\r\n\005value\030\002 \001(\t:\0028\001\"\210\002\n\024BindingEventResp" + "onse\022\022\n\nstore_name\030\001 \001(\t\022/\n\006states\030\002 \003(\013" + "2\037.dapr.proto.common.v1.StateItem\022\n\n\002to\030" + "\003 \003(\t\022\014\n\004data\030\004 \001(\014\022X\n\013concurrency\030\005 \001(\016" + "2C.dapr.proto.runtime.v1.BindingEventRes" + "ponse.BindingEventConcurrency\"7\n\027Binding" + "EventConcurrency\022\016\n\nSEQUENTIAL\020\000\022\014\n\010PARA" + "LLEL\020\001\"a\n\036ListTopicSubscriptionsResponse" + "\022?\n\rsubscriptions\030\001 \003(\0132(.dapr.proto.run" + "time.v1.TopicSubscription\"\305\002\n\021TopicSubsc" + "ription\022\023\n\013pubsub_name\030\001 \001(\t\022\r\n\005topic\030\002 " + "\001(\t\022H\n\010metadata\030\003 \003(\01326.dapr.proto.runti" + "me.v1.TopicSubscription.MetadataEntry\0222\n" + "\006routes\030\005 \001(\0132\".dapr.proto.runtime.v1.To" + "picRoutes\022\031\n\021dead_letter_topic\030\006 \001(\t\022B\n\016" + "bulk_subscribe\030\007 \001(\0132*.dapr.proto.runtim" + "e.v1.BulkSubscribeConfig\032/\n\rMetadataEntr" + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"O\n\013Top" + "icRoutes\022/\n\005rules\030\001 \003(\0132 .dapr.proto.run" + "time.v1.TopicRule\022\017\n\007default\030\002 \001(\t\"(\n\tTo" + "picRule\022\r\n\005match\030\001 \001(\t\022\014\n\004path\030\002 \001(\t\"a\n\023" + "BulkSubscribeConfig\022\017\n\007enabled\030\001 \001(\010\022\032\n\022" + "max_messages_count\030\002 \001(\005\022\035\n\025max_await_du" + "ration_ms\030\003 \001(\005\"-\n\031ListInputBindingsResp" + "onse\022\020\n\010bindings\030\001 \003(\t\"\025\n\023HealthCheckRes" + "ponse2\206\004\n\013AppCallback\022W\n\010OnInvoke\022#.dapr" + ".proto.common.v1.InvokeRequest\032$.dapr.pr" + "oto.common.v1.InvokeResponse\"\000\022i\n\026ListTo" + "picSubscriptions\022\026.google.protobuf.Empty" + "\0325.dapr.proto.runtime.v1.ListTopicSubscr" + "iptionsResponse\"\000\022e\n\014OnTopicEvent\022(.dapr" + ".proto.runtime.v1.TopicEventRequest\032).da" + "pr.proto.runtime.v1.TopicEventResponse\"\000" + "\022_\n\021ListInputBindings\022\026.google.protobuf." + "Empty\0320.dapr.proto.runtime.v1.ListInputB" + "indingsResponse\"\000\022k\n\016OnBindingEvent\022*.da" + "pr.proto.runtime.v1.BindingEventRequest\032" + "+.dapr.proto.runtime.v1.BindingEventResp" + "onse\"\0002m\n\026AppCallbackHealthCheck\022S\n\013Heal" + "thCheck\022\026.google.protobuf.Empty\032*.dapr.p" + "roto.runtime.v1.HealthCheckResponse\"\0002\360\001" + "\n\020AppCallbackAlpha\022w\n\026OnBulkTopicEventAl" + "pha1\022,.dapr.proto.runtime.v1.TopicEventB" + "ulkRequest\032-.dapr.proto.runtime.v1.Topic" + "EventBulkResponse\"\000\022c\n\020OnJobEventAlpha1\022" + "&.dapr.proto.runtime.v1.JobEventRequest\032" + "\'.dapr.proto.runtime.v1.JobEventResponse" + "By\n\nio.dapr.v1B\025DaprAppCallbackProtosZ1g" + "ithub.com/dapr/dapr/pkg/proto/runtime/v1" + ";runtime\252\002 Dapr.AppCallback.Autogen.Grpc" + ".v1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.AnyProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), io.dapr.v1.CommonProtos.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), }); internal_static_dapr_proto_runtime_v1_JobEventRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_dapr_proto_runtime_v1_JobEventRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_JobEventRequest_descriptor, new java.lang.String[] { "Name", "Data", "Method", "ContentType", "HttpExtension", }); internal_static_dapr_proto_runtime_v1_JobEventResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_dapr_proto_runtime_v1_JobEventResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_JobEventResponse_descriptor, new java.lang.String[] { }); internal_static_dapr_proto_runtime_v1_TopicEventRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_dapr_proto_runtime_v1_TopicEventRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicEventRequest_descriptor, new java.lang.String[] { "Id", "Source", "Type", "SpecVersion", "DataContentType", "Data", "Topic", "PubsubName", "Path", "Extensions", }); internal_static_dapr_proto_runtime_v1_TopicEventResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_dapr_proto_runtime_v1_TopicEventResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicEventResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_dapr_proto_runtime_v1_TopicEventCERequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_dapr_proto_runtime_v1_TopicEventCERequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicEventCERequest_descriptor, new java.lang.String[] { "Id", "Source", "Type", "SpecVersion", "DataContentType", "Data", "Extensions", }); internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_descriptor, new java.lang.String[] { "EntryId", "Bytes", "CloudEvent", "ContentType", "Metadata", "Event", }); internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicEventBulkRequestEntry_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_descriptor, new java.lang.String[] { "Id", "Entries", "Metadata", "Topic", "PubsubName", "Type", "Path", }); internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicEventBulkRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_TopicEventBulkResponseEntry_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_dapr_proto_runtime_v1_TopicEventBulkResponseEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicEventBulkResponseEntry_descriptor, new java.lang.String[] { "EntryId", "Status", }); internal_static_dapr_proto_runtime_v1_TopicEventBulkResponse_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_dapr_proto_runtime_v1_TopicEventBulkResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicEventBulkResponse_descriptor, new java.lang.String[] { "Statuses", }); internal_static_dapr_proto_runtime_v1_BindingEventRequest_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_dapr_proto_runtime_v1_BindingEventRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_BindingEventRequest_descriptor, new java.lang.String[] { "Name", "Data", "Metadata", }); internal_static_dapr_proto_runtime_v1_BindingEventRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_BindingEventRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_BindingEventRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_BindingEventRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_BindingEventResponse_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_dapr_proto_runtime_v1_BindingEventResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_BindingEventResponse_descriptor, new java.lang.String[] { "StoreName", "States", "To", "Data", "Concurrency", }); internal_static_dapr_proto_runtime_v1_ListTopicSubscriptionsResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_dapr_proto_runtime_v1_ListTopicSubscriptionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_ListTopicSubscriptionsResponse_descriptor, new java.lang.String[] { "Subscriptions", }); internal_static_dapr_proto_runtime_v1_TopicSubscription_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_dapr_proto_runtime_v1_TopicSubscription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicSubscription_descriptor, new java.lang.String[] { "PubsubName", "Topic", "Metadata", "Routes", "DeadLetterTopic", "BulkSubscribe", }); internal_static_dapr_proto_runtime_v1_TopicSubscription_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_TopicSubscription_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_TopicSubscription_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicSubscription_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_TopicRoutes_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_dapr_proto_runtime_v1_TopicRoutes_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicRoutes_descriptor, new java.lang.String[] { "Rules", "Default", }); internal_static_dapr_proto_runtime_v1_TopicRule_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_dapr_proto_runtime_v1_TopicRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TopicRule_descriptor, new java.lang.String[] { "Match", "Path", }); internal_static_dapr_proto_runtime_v1_BulkSubscribeConfig_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_dapr_proto_runtime_v1_BulkSubscribeConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_BulkSubscribeConfig_descriptor, new java.lang.String[] { "Enabled", "MaxMessagesCount", "MaxAwaitDurationMs", }); internal_static_dapr_proto_runtime_v1_ListInputBindingsResponse_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_dapr_proto_runtime_v1_ListInputBindingsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_ListInputBindingsResponse_descriptor, new java.lang.String[] { "Bindings", }); internal_static_dapr_proto_runtime_v1_HealthCheckResponse_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_dapr_proto_runtime_v1_HealthCheckResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_HealthCheckResponse_descriptor, new java.lang.String[] { }); com.google.protobuf.AnyProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); io.dapr.v1.CommonProtos.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy