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

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

There is a newer version: 1.13.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: 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 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(); } /** *
   * TopicEventRequest message is compatiable 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_ = ""; } @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; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return 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. */ 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. */ 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. */ 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. */ 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. */ 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. */ 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. */ 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. */ 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. */ 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. */ 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. */ 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. */ 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. */ 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. */ 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. */ 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; } } 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 (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!getSourceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); } if (!getTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } if (!getSpecVersionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, specVersion_); } if (!getDataContentTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dataContentType_); } if (!getTopicBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, topic_); } if (!data_.isEmpty()) { output.writeBytes(7, data_); } if (!getPubsubNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, pubsubName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!getSourceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); } if (!getTypeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } if (!getSpecVersionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, specVersion_); } if (!getDataContentTypeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataContentType_); } if (!getTopicBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, topic_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, data_); } if (!getPubsubNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, pubsubName_); } 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 (!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 = (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 compatiable 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_ = ""; 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_; 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(); } 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. */ 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; } @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 { } /** *
   * 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() { } @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; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return 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); } 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.TopicEventResponse)) { return super.equals(obj); } io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse other = (io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse) 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.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(); 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); 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; 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; } @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 BindingEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.BindingEventRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Requried. The name of the input binding component.
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Requried. 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; */ java.lang.String getMetadataOrDefault( java.lang.String key, 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 (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_; /** *
     * Requried. 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) { 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; } } /** *
     * Requried. 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 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. */ 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; */ public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata set by the input binging components.
     * 
* * map<string, string> metadata = 3; */ public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata set by the input binging components.
     * 
* * map<string, string> metadata = 3; */ public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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; */ public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } 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 (!getNameBytes().isEmpty()) { 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 (!getNameBytes().isEmpty()) { 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_ = ""; /** *
       * Requried. 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; } } /** *
       * Requried. 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; } } /** *
       * Requried. 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; } /** *
       * Requried. The name of the input binding component.
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Requried. 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. */ 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; */ public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata set by the input binging components.
       * 
* * map<string, string> metadata = 3; */ public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata set by the input binging components.
       * 
* * map<string, string> metadata = 3; */ public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } 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; */ public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } 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 (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() { 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. */ 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. */ 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; */ 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; */ 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; */ 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; */ 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; */ 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. */ 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. */ 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. */ 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 (!getStoreNameBytes().isEmpty()) { 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 (!getStoreNameBytes().isEmpty()) { 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. */ 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. */ 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. */ 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 (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; */ public java.util.List getSubscriptionsList() { return subscriptions_; } /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public java.util.List getSubscriptionsOrBuilderList() { return subscriptions_; } /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ public int getSubscriptionsCount() { return subscriptions_.size(); } /** *
     * The list of topics.
     * 
* * repeated .dapr.proto.runtime.v1.TopicSubscription subscriptions = 1; */ 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; */ 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 subscribtion e.g. session id
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * The optional properties used for this topic's subscribtion 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 subscribtion e.g. session id
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * The optional properties used for this topic's subscribtion e.g. session id
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * The optional properties used for this topic's subscribtion e.g. session id
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * 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_ = ""; } @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; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return 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. */ 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. */ 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. */ 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. */ 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 subscribtion e.g. session id
     * 
* * map<string, string> metadata = 3; */ public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The optional properties used for this topic's subscribtion e.g. session id
     * 
* * map<string, string> metadata = 3; */ public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The optional properties used for this topic's subscribtion e.g. session id
     * 
* * map<string, string> metadata = 3; */ public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The optional properties used for this topic's subscribtion e.g. session id
     * 
* * map<string, string> metadata = 3; */ public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } 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 (!getPubsubNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pubsubName_); } if (!getTopicBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, topic_); } 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 (!getPubsubNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pubsubName_); } if (!getTopicBytes().isEmpty()) { 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__); } 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 (!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(); } 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(); 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(); 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()); 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 subscribtion e.g. session id
       * 
* * map<string, string> metadata = 3; */ public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The optional properties used for this topic's subscribtion e.g. session id
       * 
* * map<string, string> metadata = 3; */ public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The optional properties used for this topic's subscribtion e.g. session id
       * 
* * map<string, string> metadata = 3; */ public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The optional properties used for this topic's subscribtion e.g. session id
       * 
* * map<string, string> metadata = 3; */ public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } 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 subscribtion e.g. session id
       * 
* * map<string, string> metadata = 3; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } 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 subscribtion 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 java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The optional properties used for this topic's subscribtion e.g. session id
       * 
* * 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.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 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 (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; } } 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_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_ListInputBindingsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_ListInputBindingsResponse_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\021appcallback.proto\022\025dapr.proto.runtime." + "v1\032\033google/protobuf/empty.proto\032!dapr/pr" + "oto/common/v1/common.proto\"\240\001\n\021TopicEven" + "tRequest\022\n\n\002id\030\001 \001(\t\022\016\n\006source\030\002 \001(\t\022\014\n\004" + "type\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\007 \001(\014\022\r\n\005top" + "ic\030\006 \001(\t\022\023\n\013pubsub_name\030\010 \001(\t\"\024\n\022TopicEv" + "entResponse\"\256\001\n\023BindingEventRequest\022\014\n\004n" + "ame\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\022J\n\010metadata\030\003 \003(" + "\01328.dapr.proto.runtime.v1.BindingEventRe" + "quest.MetadataEntry\032/\n\rMetadataEntry\022\013\n\003" + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\210\002\n\024Binding" + "EventResponse\022\022\n\nstore_name\030\001 \001(\t\022/\n\006sta" + "tes\030\002 \003(\0132\037.dapr.proto.common.v1.StateIt" + "em\022\n\n\002to\030\003 \003(\t\022\014\n\004data\030\004 \001(\014\022X\n\013concurre" + "ncy\030\005 \001(\0162C.dapr.proto.runtime.v1.Bindin" + "gEventResponse.BindingEventConcurrency\"7" + "\n\027BindingEventConcurrency\022\016\n\nSEQUENTIAL\020" + "\000\022\014\n\010PARALLEL\020\001\"a\n\036ListTopicSubscription" + "sResponse\022?\n\rsubscriptions\030\001 \003(\0132(.dapr." + "proto.runtime.v1.TopicSubscription\"\262\001\n\021T" + "opicSubscription\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.pr" + "oto.runtime.v1.TopicSubscription.Metadat" + "aEntry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + "value\030\002 \001(\t:\0028\001\"-\n\031ListInputBindingsResp" + "onse\022\020\n\010bindings\030\001 \003(\t2\206\004\n\013AppCallback\022W" + "\n\010OnInvoke\022#.dapr.proto.common.v1.Invoke" + "Request\032$.dapr.proto.common.v1.InvokeRes" + "ponse\"\000\022i\n\026ListTopicSubscriptions\022\026.goog" + "le.protobuf.Empty\0325.dapr.proto.runtime.v" + "1.ListTopicSubscriptionsResponse\"\000\022e\n\014On" + "TopicEvent\022(.dapr.proto.runtime.v1.Topic" + "EventRequest\032).dapr.proto.runtime.v1.Top" + "icEventResponse\"\000\022_\n\021ListInputBindings\022\026" + ".google.protobuf.Empty\0320.dapr.proto.runt" + "ime.v1.ListInputBindingsResponse\"\000\022k\n\016On" + "BindingEvent\022*.dapr.proto.runtime.v1.Bin" + "dingEventRequest\032+.dapr.proto.runtime.v1" + ".BindingEventResponse\"\000By\n\nio.dapr.v1B\025D" + "aprAppCallbackProtosZ1github.com/dapr/da" + "pr/pkg/proto/runtime/v1;runtime\252\002 Dapr.A" + "ppCallback.Autogen.Grpc.v1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.EmptyProto.getDescriptor(), io.dapr.v1.CommonProtos.getDescriptor(), }); internal_static_dapr_proto_runtime_v1_TopicEventRequest_descriptor = getDescriptor().getMessageTypes().get(0); 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", }); internal_static_dapr_proto_runtime_v1_TopicEventResponse_descriptor = getDescriptor().getMessageTypes().get(1); 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[] { }); internal_static_dapr_proto_runtime_v1_BindingEventRequest_descriptor = getDescriptor().getMessageTypes().get(2); 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(3); 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(4); 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(5); 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", }); 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_ListInputBindingsResponse_descriptor = getDescriptor().getMessageTypes().get(6); 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", }); com.google.protobuf.EmptyProto.getDescriptor(); io.dapr.v1.CommonProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy