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

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

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

package io.dapr.v1;

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

    /**
     * 
     * Required. Callee's app id.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * Required. Callee's app id.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * Required. message which will be delivered to callee.
     * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; * @return Whether the message field is set. */ boolean hasMessage(); /** *
     * Required. message which will be delivered to callee.
     * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; * @return The message. */ io.dapr.v1.CommonProtos.InvokeRequest getMessage(); /** *
     * Required. message which will be delivered to callee.
     * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; */ io.dapr.v1.CommonProtos.InvokeRequestOrBuilder getMessageOrBuilder(); } /** *
   * InvokeServiceRequest represents the request message for Service invocation.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.InvokeServiceRequest} */ public static final class InvokeServiceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.InvokeServiceRequest) InvokeServiceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use InvokeServiceRequest.newBuilder() to construct. private InvokeServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InvokeServiceRequest() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InvokeServiceRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InvokeServiceRequest( 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 26: { io.dapr.v1.CommonProtos.InvokeRequest.Builder subBuilder = null; if (message_ != null) { subBuilder = message_.toBuilder(); } message_ = input.readMessage(io.dapr.v1.CommonProtos.InvokeRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(message_); message_ = subBuilder.buildPartial(); } 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.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.InvokeServiceRequest.class, io.dapr.v1.DaprProtos.InvokeServiceRequest.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * Required. Callee's app 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; } } /** *
     * Required. Callee's app 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 MESSAGE_FIELD_NUMBER = 3; private io.dapr.v1.CommonProtos.InvokeRequest message_; /** *
     * Required. message which will be delivered to callee.
     * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; * @return Whether the message field is set. */ public boolean hasMessage() { return message_ != null; } /** *
     * Required. message which will be delivered to callee.
     * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; * @return The message. */ public io.dapr.v1.CommonProtos.InvokeRequest getMessage() { return message_ == null ? io.dapr.v1.CommonProtos.InvokeRequest.getDefaultInstance() : message_; } /** *
     * Required. message which will be delivered to callee.
     * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; */ public io.dapr.v1.CommonProtos.InvokeRequestOrBuilder getMessageOrBuilder() { return getMessage(); } 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 (message_ != null) { output.writeMessage(3, getMessage()); } 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 (message_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getMessage()); } 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.DaprProtos.InvokeServiceRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.InvokeServiceRequest other = (io.dapr.v1.DaprProtos.InvokeServiceRequest) obj; if (!getId() .equals(other.getId())) return false; if (hasMessage() != other.hasMessage()) return false; if (hasMessage()) { if (!getMessage() .equals(other.getMessage())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); if (hasMessage()) { hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.InvokeServiceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeServiceRequest 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.DaprProtos.InvokeServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeServiceRequest 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.DaprProtos.InvokeServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeServiceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.InvokeServiceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeServiceRequest 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.DaprProtos.InvokeServiceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeServiceRequest 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.DaprProtos.InvokeServiceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeServiceRequest 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.DaprProtos.InvokeServiceRequest 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; } /** *
     * InvokeServiceRequest represents the request message for Service invocation.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.InvokeServiceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.InvokeServiceRequest) io.dapr.v1.DaprProtos.InvokeServiceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.InvokeServiceRequest.class, io.dapr.v1.DaprProtos.InvokeServiceRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.InvokeServiceRequest.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_ = ""; if (messageBuilder_ == null) { message_ = null; } else { message_ = null; messageBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeServiceRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeServiceRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.InvokeServiceRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeServiceRequest build() { io.dapr.v1.DaprProtos.InvokeServiceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeServiceRequest buildPartial() { io.dapr.v1.DaprProtos.InvokeServiceRequest result = new io.dapr.v1.DaprProtos.InvokeServiceRequest(this); result.id_ = id_; if (messageBuilder_ == null) { result.message_ = message_; } else { result.message_ = messageBuilder_.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.DaprProtos.InvokeServiceRequest) { return mergeFrom((io.dapr.v1.DaprProtos.InvokeServiceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.InvokeServiceRequest other) { if (other == io.dapr.v1.DaprProtos.InvokeServiceRequest.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (other.hasMessage()) { mergeMessage(other.getMessage()); } 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.DaprProtos.InvokeServiceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.InvokeServiceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** *
       * Required. Callee's app 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; } } /** *
       * Required. Callee's app 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; } } /** *
       * Required. Callee's app 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; } /** *
       * Required. Callee's app id.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * Required. Callee's app 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 io.dapr.v1.CommonProtos.InvokeRequest message_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.InvokeRequest, io.dapr.v1.CommonProtos.InvokeRequest.Builder, io.dapr.v1.CommonProtos.InvokeRequestOrBuilder> messageBuilder_; /** *
       * Required. message which will be delivered to callee.
       * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; * @return Whether the message field is set. */ public boolean hasMessage() { return messageBuilder_ != null || message_ != null; } /** *
       * Required. message which will be delivered to callee.
       * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; * @return The message. */ public io.dapr.v1.CommonProtos.InvokeRequest getMessage() { if (messageBuilder_ == null) { return message_ == null ? io.dapr.v1.CommonProtos.InvokeRequest.getDefaultInstance() : message_; } else { return messageBuilder_.getMessage(); } } /** *
       * Required. message which will be delivered to callee.
       * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; */ public Builder setMessage(io.dapr.v1.CommonProtos.InvokeRequest value) { if (messageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { messageBuilder_.setMessage(value); } return this; } /** *
       * Required. message which will be delivered to callee.
       * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; */ public Builder setMessage( io.dapr.v1.CommonProtos.InvokeRequest.Builder builderForValue) { if (messageBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { messageBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Required. message which will be delivered to callee.
       * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; */ public Builder mergeMessage(io.dapr.v1.CommonProtos.InvokeRequest value) { if (messageBuilder_ == null) { if (message_ != null) { message_ = io.dapr.v1.CommonProtos.InvokeRequest.newBuilder(message_).mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { messageBuilder_.mergeFrom(value); } return this; } /** *
       * Required. message which will be delivered to callee.
       * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; */ public Builder clearMessage() { if (messageBuilder_ == null) { message_ = null; onChanged(); } else { message_ = null; messageBuilder_ = null; } return this; } /** *
       * Required. message which will be delivered to callee.
       * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; */ public io.dapr.v1.CommonProtos.InvokeRequest.Builder getMessageBuilder() { onChanged(); return getMessageFieldBuilder().getBuilder(); } /** *
       * Required. message which will be delivered to callee.
       * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; */ public io.dapr.v1.CommonProtos.InvokeRequestOrBuilder getMessageOrBuilder() { if (messageBuilder_ != null) { return messageBuilder_.getMessageOrBuilder(); } else { return message_ == null ? io.dapr.v1.CommonProtos.InvokeRequest.getDefaultInstance() : message_; } } /** *
       * Required. message which will be delivered to callee.
       * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.InvokeRequest, io.dapr.v1.CommonProtos.InvokeRequest.Builder, io.dapr.v1.CommonProtos.InvokeRequestOrBuilder> getMessageFieldBuilder() { if (messageBuilder_ == null) { messageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.InvokeRequest, io.dapr.v1.CommonProtos.InvokeRequest.Builder, io.dapr.v1.CommonProtos.InvokeRequestOrBuilder>( getMessage(), getParentForChildren(), isClean()); message_ = null; } return messageBuilder_; } @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.InvokeServiceRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.InvokeServiceRequest) private static final io.dapr.v1.DaprProtos.InvokeServiceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.InvokeServiceRequest(); } public static io.dapr.v1.DaprProtos.InvokeServiceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InvokeServiceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InvokeServiceRequest(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.DaprProtos.InvokeServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetStateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetStateRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of state store.
     * 
* * string store_name = 1; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * The name of state store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * The key of the desired state
     * 
* * string key = 2; * @return The key. */ java.lang.String getKey(); /** *
     * The key of the desired state
     * 
* * string key = 2; * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** *
     * The read consistency of the state store.
     * 
* * .dapr.proto.common.v1.StateOptions.StateConsistency consistency = 3; * @return The enum numeric value on the wire for consistency. */ int getConsistencyValue(); /** *
     * The read consistency of the state store.
     * 
* * .dapr.proto.common.v1.StateOptions.StateConsistency consistency = 3; * @return The consistency. */ io.dapr.v1.CommonProtos.StateOptions.StateConsistency getConsistency(); } /** *
   * GetStateRequest is the message to get key-value states from specific state store.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetStateRequest} */ public static final class GetStateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetStateRequest) GetStateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetStateRequest.newBuilder() to construct. private GetStateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetStateRequest() { storeName_ = ""; key_ = ""; consistency_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetStateRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetStateRequest( 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(); storeName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); key_ = s; break; } case 24: { int rawValue = input.readEnum(); consistency_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetStateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetStateRequest.class, io.dapr.v1.DaprProtos.GetStateRequest.Builder.class); } public static final int STORE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object storeName_; /** *
     * The name of state store.
     * 
* * 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.
     * 
* * 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 KEY_FIELD_NUMBER = 2; private volatile java.lang.Object key_; /** *
     * The key of the desired state
     * 
* * string key = 2; * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; 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(); key_ = s; return s; } } /** *
     * The key of the desired state
     * 
* * string key = 2; * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONSISTENCY_FIELD_NUMBER = 3; private int consistency_; /** *
     * The read consistency of the state store.
     * 
* * .dapr.proto.common.v1.StateOptions.StateConsistency consistency = 3; * @return The enum numeric value on the wire for consistency. */ public int getConsistencyValue() { return consistency_; } /** *
     * The read consistency of the state store.
     * 
* * .dapr.proto.common.v1.StateOptions.StateConsistency consistency = 3; * @return The consistency. */ public io.dapr.v1.CommonProtos.StateOptions.StateConsistency getConsistency() { @SuppressWarnings("deprecation") io.dapr.v1.CommonProtos.StateOptions.StateConsistency result = io.dapr.v1.CommonProtos.StateOptions.StateConsistency.valueOf(consistency_); return result == null ? io.dapr.v1.CommonProtos.StateOptions.StateConsistency.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_); } if (!getKeyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_); } if (consistency_ != io.dapr.v1.CommonProtos.StateOptions.StateConsistency.CONSISTENCY_UNSPECIFIED.getNumber()) { output.writeEnum(3, consistency_); } 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_); } if (!getKeyBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_); } if (consistency_ != io.dapr.v1.CommonProtos.StateOptions.StateConsistency.CONSISTENCY_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, consistency_); } 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.DaprProtos.GetStateRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetStateRequest other = (io.dapr.v1.DaprProtos.GetStateRequest) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getKey() .equals(other.getKey())) return false; if (consistency_ != other.consistency_) 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(); hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); hash = (37 * hash) + CONSISTENCY_FIELD_NUMBER; hash = (53 * hash) + consistency_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.GetStateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetStateRequest 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.DaprProtos.GetStateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetStateRequest 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.DaprProtos.GetStateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetStateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetStateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetStateRequest 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.DaprProtos.GetStateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetStateRequest 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.DaprProtos.GetStateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetStateRequest 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.DaprProtos.GetStateRequest 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; } /** *
     * GetStateRequest is the message to get key-value states from specific state store.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetStateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetStateRequest) io.dapr.v1.DaprProtos.GetStateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetStateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetStateRequest.class, io.dapr.v1.DaprProtos.GetStateRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetStateRequest.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(); storeName_ = ""; key_ = ""; consistency_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetStateRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetStateRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetStateRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetStateRequest build() { io.dapr.v1.DaprProtos.GetStateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetStateRequest buildPartial() { io.dapr.v1.DaprProtos.GetStateRequest result = new io.dapr.v1.DaprProtos.GetStateRequest(this); result.storeName_ = storeName_; result.key_ = key_; result.consistency_ = consistency_; 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.DaprProtos.GetStateRequest) { return mergeFrom((io.dapr.v1.DaprProtos.GetStateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetStateRequest other) { if (other == io.dapr.v1.DaprProtos.GetStateRequest.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; onChanged(); } if (!other.getKey().isEmpty()) { key_ = other.key_; onChanged(); } if (other.consistency_ != 0) { setConsistencyValue(other.getConsistencyValue()); } 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.DaprProtos.GetStateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetStateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object storeName_ = ""; /** *
       * The name of state store.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * string store_name = 1; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * The name of state store.
       * 
* * 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.lang.Object key_ = ""; /** *
       * The key of the desired state
       * 
* * string key = 2; * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The key of the desired state
       * 
* * string key = 2; * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The key of the desired state
       * 
* * string key = 2; * @param value The key to set. * @return This builder for chaining. */ public Builder setKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); return this; } /** *
       * The key of the desired state
       * 
* * string key = 2; * @return This builder for chaining. */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** *
       * The key of the desired state
       * 
* * string key = 2; * @param value The bytes for key to set. * @return This builder for chaining. */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); key_ = value; onChanged(); return this; } private int consistency_ = 0; /** *
       * The read consistency of the state store.
       * 
* * .dapr.proto.common.v1.StateOptions.StateConsistency consistency = 3; * @return The enum numeric value on the wire for consistency. */ public int getConsistencyValue() { return consistency_; } /** *
       * The read consistency of the state store.
       * 
* * .dapr.proto.common.v1.StateOptions.StateConsistency consistency = 3; * @param value The enum numeric value on the wire for consistency to set. * @return This builder for chaining. */ public Builder setConsistencyValue(int value) { consistency_ = value; onChanged(); return this; } /** *
       * The read consistency of the state store.
       * 
* * .dapr.proto.common.v1.StateOptions.StateConsistency consistency = 3; * @return The consistency. */ public io.dapr.v1.CommonProtos.StateOptions.StateConsistency getConsistency() { @SuppressWarnings("deprecation") io.dapr.v1.CommonProtos.StateOptions.StateConsistency result = io.dapr.v1.CommonProtos.StateOptions.StateConsistency.valueOf(consistency_); return result == null ? io.dapr.v1.CommonProtos.StateOptions.StateConsistency.UNRECOGNIZED : result; } /** *
       * The read consistency of the state store.
       * 
* * .dapr.proto.common.v1.StateOptions.StateConsistency consistency = 3; * @param value The consistency to set. * @return This builder for chaining. */ public Builder setConsistency(io.dapr.v1.CommonProtos.StateOptions.StateConsistency value) { if (value == null) { throw new NullPointerException(); } consistency_ = value.getNumber(); onChanged(); return this; } /** *
       * The read consistency of the state store.
       * 
* * .dapr.proto.common.v1.StateOptions.StateConsistency consistency = 3; * @return This builder for chaining. */ public Builder clearConsistency() { consistency_ = 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.GetStateRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetStateRequest) private static final io.dapr.v1.DaprProtos.GetStateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetStateRequest(); } public static io.dapr.v1.DaprProtos.GetStateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetStateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetStateRequest(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.DaprProtos.GetStateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetStateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetStateResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The byte array data
     * 
* * bytes data = 1; * @return The data. */ com.google.protobuf.ByteString getData(); /** *
     * The entity tag which represents the specific version of data.
     * ETag format is defined by the corresponding data store.
     * 
* * string etag = 2; * @return The etag. */ java.lang.String getEtag(); /** *
     * The entity tag which represents the specific version of data.
     * ETag format is defined by the corresponding data store.
     * 
* * string etag = 2; * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); } /** *
   * GetStateResponse is the response conveying the state value and etag.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetStateResponse} */ public static final class GetStateResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetStateResponse) GetStateResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetStateResponse.newBuilder() to construct. private GetStateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetStateResponse() { data_ = com.google.protobuf.ByteString.EMPTY; etag_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetStateResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetStateResponse( 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: { data_ = input.readBytes(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); etag_ = 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.DaprProtos.internal_static_dapr_proto_runtime_v1_GetStateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetStateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetStateResponse.class, io.dapr.v1.DaprProtos.GetStateResponse.Builder.class); } public static final int DATA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString data_; /** *
     * The byte array data
     * 
* * bytes data = 1; * @return The data. */ public com.google.protobuf.ByteString getData() { return data_; } public static final int ETAG_FIELD_NUMBER = 2; private volatile java.lang.Object etag_; /** *
     * The entity tag which represents the specific version of data.
     * ETag format is defined by the corresponding data store.
     * 
* * string etag = 2; * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; } } /** *
     * The entity tag which represents the specific version of data.
     * ETag format is defined by the corresponding data store.
     * 
* * string etag = 2; * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); etag_ = 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 (!data_.isEmpty()) { output.writeBytes(1, data_); } if (!getEtagBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, etag_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, data_); } if (!getEtagBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, etag_); } 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.DaprProtos.GetStateResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetStateResponse other = (io.dapr.v1.DaprProtos.GetStateResponse) obj; if (!getData() .equals(other.getData())) return false; if (!getEtag() .equals(other.getEtag())) 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) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.GetStateResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetStateResponse 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.DaprProtos.GetStateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetStateResponse 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.DaprProtos.GetStateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetStateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetStateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetStateResponse 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.DaprProtos.GetStateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetStateResponse 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.DaprProtos.GetStateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetStateResponse 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.DaprProtos.GetStateResponse 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; } /** *
     * GetStateResponse is the response conveying the state value and etag.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetStateResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetStateResponse) io.dapr.v1.DaprProtos.GetStateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetStateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetStateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetStateResponse.class, io.dapr.v1.DaprProtos.GetStateResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetStateResponse.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(); data_ = com.google.protobuf.ByteString.EMPTY; etag_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetStateResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetStateResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetStateResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetStateResponse build() { io.dapr.v1.DaprProtos.GetStateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetStateResponse buildPartial() { io.dapr.v1.DaprProtos.GetStateResponse result = new io.dapr.v1.DaprProtos.GetStateResponse(this); result.data_ = data_; result.etag_ = etag_; 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.DaprProtos.GetStateResponse) { return mergeFrom((io.dapr.v1.DaprProtos.GetStateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetStateResponse other) { if (other == io.dapr.v1.DaprProtos.GetStateResponse.getDefaultInstance()) return this; if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (!other.getEtag().isEmpty()) { etag_ = other.etag_; 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.DaprProtos.GetStateResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetStateResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The byte array data
       * 
* * bytes data = 1; * @return The data. */ public com.google.protobuf.ByteString getData() { return data_; } /** *
       * The byte array data
       * 
* * bytes data = 1; * @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 byte array data
       * 
* * bytes data = 1; * @return This builder for chaining. */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private java.lang.Object etag_ = ""; /** *
       * The entity tag which represents the specific version of data.
       * ETag format is defined by the corresponding data store.
       * 
* * string etag = 2; * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The entity tag which represents the specific version of data.
       * ETag format is defined by the corresponding data store.
       * 
* * string etag = 2; * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); etag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The entity tag which represents the specific version of data.
       * ETag format is defined by the corresponding data store.
       * 
* * string etag = 2; * @param value The etag to set. * @return This builder for chaining. */ public Builder setEtag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } etag_ = value; onChanged(); return this; } /** *
       * The entity tag which represents the specific version of data.
       * ETag format is defined by the corresponding data store.
       * 
* * string etag = 2; * @return This builder for chaining. */ public Builder clearEtag() { etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** *
       * The entity tag which represents the specific version of data.
       * ETag format is defined by the corresponding data store.
       * 
* * string etag = 2; * @param value The bytes for etag to set. * @return This builder for chaining. */ public Builder setEtagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = 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.GetStateResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetStateResponse) private static final io.dapr.v1.DaprProtos.GetStateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetStateResponse(); } public static io.dapr.v1.DaprProtos.GetStateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetStateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetStateResponse(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.DaprProtos.GetStateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteStateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.DeleteStateRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of state store.
     * 
* * string store_name = 1; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * The name of state store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * The key of the desired state
     * 
* * string key = 2; * @return The key. */ java.lang.String getKey(); /** *
     * The key of the desired state
     * 
* * string key = 2; * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** *
     * The entity tag which represents the specific version of data.
     * The exact ETag format is defined by the corresponding data store.
     * 
* * string etag = 3; * @return The etag. */ java.lang.String getEtag(); /** *
     * The entity tag which represents the specific version of data.
     * The exact ETag format is defined by the corresponding data store.
     * 
* * string etag = 3; * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); /** *
     * State operation options which includes concurrency/
     * consistency/retry_policy.
     * 
* * .dapr.proto.common.v1.StateOptions options = 4; * @return Whether the options field is set. */ boolean hasOptions(); /** *
     * State operation options which includes concurrency/
     * consistency/retry_policy.
     * 
* * .dapr.proto.common.v1.StateOptions options = 4; * @return The options. */ io.dapr.v1.CommonProtos.StateOptions getOptions(); /** *
     * State operation options which includes concurrency/
     * consistency/retry_policy.
     * 
* * .dapr.proto.common.v1.StateOptions options = 4; */ io.dapr.v1.CommonProtos.StateOptionsOrBuilder getOptionsOrBuilder(); } /** *
   * DeleteStateRequest is the message to delete key-value states in the specific state store.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.DeleteStateRequest} */ public static final class DeleteStateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.DeleteStateRequest) DeleteStateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteStateRequest.newBuilder() to construct. private DeleteStateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteStateRequest() { storeName_ = ""; key_ = ""; etag_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteStateRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteStateRequest( 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(); storeName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); key_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); etag_ = s; break; } case 34: { io.dapr.v1.CommonProtos.StateOptions.Builder subBuilder = null; if (options_ != null) { subBuilder = options_.toBuilder(); } options_ = input.readMessage(io.dapr.v1.CommonProtos.StateOptions.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(options_); options_ = subBuilder.buildPartial(); } 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.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteStateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DeleteStateRequest.class, io.dapr.v1.DaprProtos.DeleteStateRequest.Builder.class); } public static final int STORE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object storeName_; /** *
     * The name of state store.
     * 
* * 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.
     * 
* * 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 KEY_FIELD_NUMBER = 2; private volatile java.lang.Object key_; /** *
     * The key of the desired state
     * 
* * string key = 2; * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; 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(); key_ = s; return s; } } /** *
     * The key of the desired state
     * 
* * string key = 2; * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ETAG_FIELD_NUMBER = 3; private volatile java.lang.Object etag_; /** *
     * The entity tag which represents the specific version of data.
     * The exact ETag format is defined by the corresponding data store.
     * 
* * string etag = 3; * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; } } /** *
     * The entity tag which represents the specific version of data.
     * The exact ETag format is defined by the corresponding data store.
     * 
* * string etag = 3; * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); etag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPTIONS_FIELD_NUMBER = 4; private io.dapr.v1.CommonProtos.StateOptions options_; /** *
     * State operation options which includes concurrency/
     * consistency/retry_policy.
     * 
* * .dapr.proto.common.v1.StateOptions options = 4; * @return Whether the options field is set. */ public boolean hasOptions() { return options_ != null; } /** *
     * State operation options which includes concurrency/
     * consistency/retry_policy.
     * 
* * .dapr.proto.common.v1.StateOptions options = 4; * @return The options. */ public io.dapr.v1.CommonProtos.StateOptions getOptions() { return options_ == null ? io.dapr.v1.CommonProtos.StateOptions.getDefaultInstance() : options_; } /** *
     * State operation options which includes concurrency/
     * consistency/retry_policy.
     * 
* * .dapr.proto.common.v1.StateOptions options = 4; */ public io.dapr.v1.CommonProtos.StateOptionsOrBuilder getOptionsOrBuilder() { return getOptions(); } 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_); } if (!getKeyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_); } if (!getEtagBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, etag_); } if (options_ != null) { output.writeMessage(4, getOptions()); } 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_); } if (!getKeyBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_); } if (!getEtagBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (options_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getOptions()); } 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.DaprProtos.DeleteStateRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.DeleteStateRequest other = (io.dapr.v1.DaprProtos.DeleteStateRequest) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getKey() .equals(other.getKey())) return false; if (!getEtag() .equals(other.getEtag())) return false; if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { if (!getOptions() .equals(other.getOptions())) 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(); hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); if (hasOptions()) { hash = (37 * hash) + OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getOptions().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.DeleteStateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DeleteStateRequest 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.DaprProtos.DeleteStateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DeleteStateRequest 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.DaprProtos.DeleteStateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DeleteStateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.DeleteStateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DeleteStateRequest 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.DaprProtos.DeleteStateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DeleteStateRequest 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.DaprProtos.DeleteStateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DeleteStateRequest 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.DaprProtos.DeleteStateRequest 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; } /** *
     * DeleteStateRequest is the message to delete key-value states in the specific state store.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.DeleteStateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.DeleteStateRequest) io.dapr.v1.DaprProtos.DeleteStateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteStateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DeleteStateRequest.class, io.dapr.v1.DaprProtos.DeleteStateRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.DeleteStateRequest.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(); storeName_ = ""; key_ = ""; etag_ = ""; if (optionsBuilder_ == null) { options_ = null; } else { options_ = null; optionsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteStateRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.DeleteStateRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.DeleteStateRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.DeleteStateRequest build() { io.dapr.v1.DaprProtos.DeleteStateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.DeleteStateRequest buildPartial() { io.dapr.v1.DaprProtos.DeleteStateRequest result = new io.dapr.v1.DaprProtos.DeleteStateRequest(this); result.storeName_ = storeName_; result.key_ = key_; result.etag_ = etag_; if (optionsBuilder_ == null) { result.options_ = options_; } else { result.options_ = optionsBuilder_.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.DaprProtos.DeleteStateRequest) { return mergeFrom((io.dapr.v1.DaprProtos.DeleteStateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.DeleteStateRequest other) { if (other == io.dapr.v1.DaprProtos.DeleteStateRequest.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; onChanged(); } if (!other.getKey().isEmpty()) { key_ = other.key_; onChanged(); } if (!other.getEtag().isEmpty()) { etag_ = other.etag_; onChanged(); } if (other.hasOptions()) { mergeOptions(other.getOptions()); } 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.DaprProtos.DeleteStateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.DeleteStateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object storeName_ = ""; /** *
       * The name of state store.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * string store_name = 1; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * The name of state store.
       * 
* * 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.lang.Object key_ = ""; /** *
       * The key of the desired state
       * 
* * string key = 2; * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The key of the desired state
       * 
* * string key = 2; * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The key of the desired state
       * 
* * string key = 2; * @param value The key to set. * @return This builder for chaining. */ public Builder setKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); return this; } /** *
       * The key of the desired state
       * 
* * string key = 2; * @return This builder for chaining. */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** *
       * The key of the desired state
       * 
* * string key = 2; * @param value The bytes for key to set. * @return This builder for chaining. */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); key_ = value; onChanged(); return this; } private java.lang.Object etag_ = ""; /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * string etag = 3; * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * string etag = 3; * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); etag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * string etag = 3; * @param value The etag to set. * @return This builder for chaining. */ public Builder setEtag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } etag_ = value; onChanged(); return this; } /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * string etag = 3; * @return This builder for chaining. */ public Builder clearEtag() { etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * string etag = 3; * @param value The bytes for etag to set. * @return This builder for chaining. */ public Builder setEtagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; onChanged(); return this; } private io.dapr.v1.CommonProtos.StateOptions options_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StateOptions, io.dapr.v1.CommonProtos.StateOptions.Builder, io.dapr.v1.CommonProtos.StateOptionsOrBuilder> optionsBuilder_; /** *
       * State operation options which includes concurrency/
       * consistency/retry_policy.
       * 
* * .dapr.proto.common.v1.StateOptions options = 4; * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** *
       * State operation options which includes concurrency/
       * consistency/retry_policy.
       * 
* * .dapr.proto.common.v1.StateOptions options = 4; * @return The options. */ public io.dapr.v1.CommonProtos.StateOptions getOptions() { if (optionsBuilder_ == null) { return options_ == null ? io.dapr.v1.CommonProtos.StateOptions.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } } /** *
       * State operation options which includes concurrency/
       * consistency/retry_policy.
       * 
* * .dapr.proto.common.v1.StateOptions options = 4; */ public Builder setOptions(io.dapr.v1.CommonProtos.StateOptions value) { if (optionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } options_ = value; onChanged(); } else { optionsBuilder_.setMessage(value); } return this; } /** *
       * State operation options which includes concurrency/
       * consistency/retry_policy.
       * 
* * .dapr.proto.common.v1.StateOptions options = 4; */ public Builder setOptions( io.dapr.v1.CommonProtos.StateOptions.Builder builderForValue) { if (optionsBuilder_ == null) { options_ = builderForValue.build(); onChanged(); } else { optionsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * State operation options which includes concurrency/
       * consistency/retry_policy.
       * 
* * .dapr.proto.common.v1.StateOptions options = 4; */ public Builder mergeOptions(io.dapr.v1.CommonProtos.StateOptions value) { if (optionsBuilder_ == null) { if (options_ != null) { options_ = io.dapr.v1.CommonProtos.StateOptions.newBuilder(options_).mergeFrom(value).buildPartial(); } else { options_ = value; } onChanged(); } else { optionsBuilder_.mergeFrom(value); } return this; } /** *
       * State operation options which includes concurrency/
       * consistency/retry_policy.
       * 
* * .dapr.proto.common.v1.StateOptions options = 4; */ public Builder clearOptions() { if (optionsBuilder_ == null) { options_ = null; onChanged(); } else { options_ = null; optionsBuilder_ = null; } return this; } /** *
       * State operation options which includes concurrency/
       * consistency/retry_policy.
       * 
* * .dapr.proto.common.v1.StateOptions options = 4; */ public io.dapr.v1.CommonProtos.StateOptions.Builder getOptionsBuilder() { onChanged(); return getOptionsFieldBuilder().getBuilder(); } /** *
       * State operation options which includes concurrency/
       * consistency/retry_policy.
       * 
* * .dapr.proto.common.v1.StateOptions options = 4; */ public io.dapr.v1.CommonProtos.StateOptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { return options_ == null ? io.dapr.v1.CommonProtos.StateOptions.getDefaultInstance() : options_; } } /** *
       * State operation options which includes concurrency/
       * consistency/retry_policy.
       * 
* * .dapr.proto.common.v1.StateOptions options = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StateOptions, io.dapr.v1.CommonProtos.StateOptions.Builder, io.dapr.v1.CommonProtos.StateOptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StateOptions, io.dapr.v1.CommonProtos.StateOptions.Builder, io.dapr.v1.CommonProtos.StateOptionsOrBuilder>( getOptions(), getParentForChildren(), isClean()); options_ = null; } return optionsBuilder_; } @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.DeleteStateRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.DeleteStateRequest) private static final io.dapr.v1.DaprProtos.DeleteStateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.DeleteStateRequest(); } public static io.dapr.v1.DaprProtos.DeleteStateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteStateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteStateRequest(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.DaprProtos.DeleteStateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SaveStateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SaveStateRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of state store.
     * 
* * string store_name = 1; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * The name of state store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ java.util.List getStatesList(); /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ io.dapr.v1.CommonProtos.StateItem getStates(int index); /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ int getStatesCount(); /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ java.util.List getStatesOrBuilderList(); /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ io.dapr.v1.CommonProtos.StateItemOrBuilder getStatesOrBuilder( int index); } /** *
   * SaveStateRequest is the message to save multiple states into state store.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SaveStateRequest} */ public static final class SaveStateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SaveStateRequest) SaveStateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SaveStateRequest.newBuilder() to construct. private SaveStateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SaveStateRequest() { storeName_ = ""; states_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SaveStateRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SaveStateRequest( 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; } 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_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SaveStateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SaveStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SaveStateRequest.class, io.dapr.v1.DaprProtos.SaveStateRequest.Builder.class); } public static final int STORE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object storeName_; /** *
     * The name of state store.
     * 
* * 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.
     * 
* * 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 array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public java.util.List getStatesList() { return states_; } /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public java.util.List getStatesOrBuilderList() { return states_; } /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public int getStatesCount() { return states_.size(); } /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public io.dapr.v1.CommonProtos.StateItem getStates(int index) { return states_.get(index); } /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public io.dapr.v1.CommonProtos.StateItemOrBuilder getStatesOrBuilder( int index) { return states_.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 { 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)); } 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)); } 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.DaprProtos.SaveStateRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SaveStateRequest other = (io.dapr.v1.DaprProtos.SaveStateRequest) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getStatesList() .equals(other.getStatesList())) 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(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SaveStateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SaveStateRequest 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.DaprProtos.SaveStateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SaveStateRequest 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.DaprProtos.SaveStateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SaveStateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SaveStateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SaveStateRequest 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.DaprProtos.SaveStateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SaveStateRequest 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.DaprProtos.SaveStateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SaveStateRequest 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.DaprProtos.SaveStateRequest 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; } /** *
     * SaveStateRequest is the message to save multiple states into state store.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SaveStateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SaveStateRequest) io.dapr.v1.DaprProtos.SaveStateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SaveStateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SaveStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SaveStateRequest.class, io.dapr.v1.DaprProtos.SaveStateRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SaveStateRequest.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(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SaveStateRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SaveStateRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SaveStateRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SaveStateRequest build() { io.dapr.v1.DaprProtos.SaveStateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SaveStateRequest buildPartial() { io.dapr.v1.DaprProtos.SaveStateRequest result = new io.dapr.v1.DaprProtos.SaveStateRequest(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(); } 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.DaprProtos.SaveStateRequest) { return mergeFrom((io.dapr.v1.DaprProtos.SaveStateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SaveStateRequest other) { if (other == io.dapr.v1.DaprProtos.SaveStateRequest.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_); } } } 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.DaprProtos.SaveStateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SaveStateRequest) 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * 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.
       * 
* * string store_name = 1; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * The name of state store.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public int getStatesCount() { if (statesBuilder_ == null) { return states_.size(); } else { return statesBuilder_.getCount(); } } /** *
       * The array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ public io.dapr.v1.CommonProtos.StateItem.Builder getStatesBuilder( int index) { return getStatesFieldBuilder().getBuilder(index); } /** *
       * The array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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 array of the state key values.
       * 
* * 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_; } @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.SaveStateRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SaveStateRequest) private static final io.dapr.v1.DaprProtos.SaveStateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SaveStateRequest(); } public static io.dapr.v1.DaprProtos.SaveStateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SaveStateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SaveStateRequest(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.DaprProtos.SaveStateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PublishEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.PublishEventRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The pubsub topic
     * 
* * string topic = 1; * @return The topic. */ java.lang.String getTopic(); /** *
     * The pubsub topic
     * 
* * string topic = 1; * @return The bytes for topic. */ com.google.protobuf.ByteString getTopicBytes(); /** *
     * The data which will be published to topic.
     * 
* * bytes data = 2; * @return The data. */ com.google.protobuf.ByteString getData(); } /** *
   * PublishEventRequest is the message to publish event data to pubsub topic
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.PublishEventRequest} */ public static final class PublishEventRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.PublishEventRequest) PublishEventRequestOrBuilder { private static final long serialVersionUID = 0L; // Use PublishEventRequest.newBuilder() to construct. private PublishEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PublishEventRequest() { topic_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PublishEventRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PublishEventRequest( 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(); topic_ = s; break; } case 18: { data_ = input.readBytes(); 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.DaprProtos.internal_static_dapr_proto_runtime_v1_PublishEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PublishEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.PublishEventRequest.class, io.dapr.v1.DaprProtos.PublishEventRequest.Builder.class); } public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** *
     * The pubsub topic
     * 
* * string topic = 1; * @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
     * 
* * string topic = 1; * @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 DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** *
     * The data which will be published to topic.
     * 
* * bytes data = 2; * @return The data. */ public com.google.protobuf.ByteString getData() { return data_; } 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 (!getTopicBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } if (!data_.isEmpty()) { output.writeBytes(2, data_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getTopicBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } 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.DaprProtos.PublishEventRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.PublishEventRequest other = (io.dapr.v1.DaprProtos.PublishEventRequest) obj; if (!getTopic() .equals(other.getTopic())) return false; if (!getData() .equals(other.getData())) 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) + TOPIC_FIELD_NUMBER; hash = (53 * hash) + getTopic().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.PublishEventRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PublishEventRequest 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.DaprProtos.PublishEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PublishEventRequest 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.DaprProtos.PublishEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PublishEventRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.PublishEventRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PublishEventRequest 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.DaprProtos.PublishEventRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PublishEventRequest 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.DaprProtos.PublishEventRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PublishEventRequest 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.DaprProtos.PublishEventRequest 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; } /** *
     * PublishEventRequest is the message to publish event data to pubsub topic
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.PublishEventRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.PublishEventRequest) io.dapr.v1.DaprProtos.PublishEventRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PublishEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PublishEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.PublishEventRequest.class, io.dapr.v1.DaprProtos.PublishEventRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.PublishEventRequest.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(); topic_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PublishEventRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.PublishEventRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.PublishEventRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.PublishEventRequest build() { io.dapr.v1.DaprProtos.PublishEventRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.PublishEventRequest buildPartial() { io.dapr.v1.DaprProtos.PublishEventRequest result = new io.dapr.v1.DaprProtos.PublishEventRequest(this); result.topic_ = topic_; result.data_ = data_; 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.DaprProtos.PublishEventRequest) { return mergeFrom((io.dapr.v1.DaprProtos.PublishEventRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.PublishEventRequest other) { if (other == io.dapr.v1.DaprProtos.PublishEventRequest.getDefaultInstance()) return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } 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.DaprProtos.PublishEventRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.PublishEventRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object topic_ = ""; /** *
       * The pubsub topic
       * 
* * string topic = 1; * @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
       * 
* * string topic = 1; * @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
       * 
* * string topic = 1; * @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
       * 
* * string topic = 1; * @return This builder for chaining. */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** *
       * The pubsub topic
       * 
* * string topic = 1; * @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.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The data which will be published to topic.
       * 
* * bytes data = 2; * @return The data. */ public com.google.protobuf.ByteString getData() { return data_; } /** *
       * The data which will be published to topic.
       * 
* * 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; } /** *
       * The data which will be published to topic.
       * 
* * bytes data = 2; * @return This builder for chaining. */ public Builder clearData() { data_ = getDefaultInstance().getData(); 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.PublishEventRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.PublishEventRequest) private static final io.dapr.v1.DaprProtos.PublishEventRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.PublishEventRequest(); } public static io.dapr.v1.DaprProtos.PublishEventRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PublishEventRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PublishEventRequest(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.DaprProtos.PublishEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InvokeBindingRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.InvokeBindingRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of the output binding to invoke.
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * The name of the output binding to invoke.
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * The data which will be sent to output binding.
     * 
* * bytes data = 2; * @return The data. */ com.google.protobuf.ByteString getData(); /** *
     * The metadata passing to output binding components
     * 
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the message. 
     * If set in the binding definition will cause all messages to 
     * have a default time to live. The message ttl overrides any value
     * in the binding definition.
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * The metadata passing to output binding components
     * 
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the message. 
     * If set in the binding definition will cause all messages to 
     * have a default time to live. The message ttl overrides any value
     * in the binding definition.
     * 
* * map<string, string> metadata = 3; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata passing to output binding components
     * 
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the message. 
     * If set in the binding definition will cause all messages to 
     * have a default time to live. The message ttl overrides any value
     * in the binding definition.
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * The metadata passing to output binding components
     * 
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the message. 
     * If set in the binding definition will cause all messages to 
     * have a default time to live. The message ttl overrides any value
     * in the binding definition.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * The metadata passing to output binding components
     * 
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the message. 
     * If set in the binding definition will cause all messages to 
     * have a default time to live. The message ttl overrides any value
     * in the binding definition.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); /** *
     * The name of the operation type for the binding to invoke
     * 
* * string operation = 4; * @return The operation. */ java.lang.String getOperation(); /** *
     * The name of the operation type for the binding to invoke
     * 
* * string operation = 4; * @return The bytes for operation. */ com.google.protobuf.ByteString getOperationBytes(); } /** *
   * InvokeBindingRequest is the message to send data to output bindings
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.InvokeBindingRequest} */ public static final class InvokeBindingRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.InvokeBindingRequest) InvokeBindingRequestOrBuilder { private static final long serialVersionUID = 0L; // Use InvokeBindingRequest.newBuilder() to construct. private InvokeBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InvokeBindingRequest() { name_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; operation_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InvokeBindingRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InvokeBindingRequest( 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; } case 34: { java.lang.String s = input.readStringRequireUtf8(); operation_ = 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.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_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.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.InvokeBindingRequest.class, io.dapr.v1.DaprProtos.InvokeBindingRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * The name of the output binding to invoke.
     * 
* * 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; } } /** *
     * The name of the output binding to invoke.
     * 
* * 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_; /** *
     * The data which will be sent to output binding.
     * 
* * 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.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_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 passing to output binding components
     * 
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the message. 
     * If set in the binding definition will cause all messages to 
     * have a default time to live. The message ttl overrides any value
     * in the binding definition.
     * 
* * 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 passing to output binding components
     * 
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the message. 
     * If set in the binding definition will cause all messages to 
     * have a default time to live. The message ttl overrides any value
     * in the binding definition.
     * 
* * map<string, string> metadata = 3; */ public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata passing to output binding components
     * 
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the message. 
     * If set in the binding definition will cause all messages to 
     * have a default time to live. The message ttl overrides any value
     * in the binding definition.
     * 
* * 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 passing to output binding components
     * 
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the message. 
     * If set in the binding definition will cause all messages to 
     * have a default time to live. The message ttl overrides any value
     * in the binding definition.
     * 
* * 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 static final int OPERATION_FIELD_NUMBER = 4; private volatile java.lang.Object operation_; /** *
     * The name of the operation type for the binding to invoke
     * 
* * string operation = 4; * @return The operation. */ public java.lang.String getOperation() { java.lang.Object ref = operation_; 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(); operation_ = s; return s; } } /** *
     * The name of the operation type for the binding to invoke
     * 
* * string operation = 4; * @return The bytes for operation. */ public com.google.protobuf.ByteString getOperationBytes() { java.lang.Object ref = operation_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operation_ = 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 (!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); if (!getOperationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, operation_); } 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__); } if (!getOperationBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, operation_); } 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.DaprProtos.InvokeBindingRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.InvokeBindingRequest other = (io.dapr.v1.DaprProtos.InvokeBindingRequest) obj; if (!getName() .equals(other.getName())) return false; if (!getData() .equals(other.getData())) return false; if (!internalGetMetadata().equals( other.internalGetMetadata())) return false; if (!getOperation() .equals(other.getOperation())) 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 = (37 * hash) + OPERATION_FIELD_NUMBER; hash = (53 * hash) + getOperation().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.InvokeBindingRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeBindingRequest 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.DaprProtos.InvokeBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeBindingRequest 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.DaprProtos.InvokeBindingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeBindingRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.InvokeBindingRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeBindingRequest 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.DaprProtos.InvokeBindingRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeBindingRequest 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.DaprProtos.InvokeBindingRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeBindingRequest 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.DaprProtos.InvokeBindingRequest 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; } /** *
     * InvokeBindingRequest is the message to send data to output bindings
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.InvokeBindingRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.InvokeBindingRequest) io.dapr.v1.DaprProtos.InvokeBindingRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_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.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.InvokeBindingRequest.class, io.dapr.v1.DaprProtos.InvokeBindingRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.InvokeBindingRequest.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(); operation_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeBindingRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.InvokeBindingRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeBindingRequest build() { io.dapr.v1.DaprProtos.InvokeBindingRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeBindingRequest buildPartial() { io.dapr.v1.DaprProtos.InvokeBindingRequest result = new io.dapr.v1.DaprProtos.InvokeBindingRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.data_ = data_; result.metadata_ = internalGetMetadata(); result.metadata_.makeImmutable(); result.operation_ = operation_; 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.DaprProtos.InvokeBindingRequest) { return mergeFrom((io.dapr.v1.DaprProtos.InvokeBindingRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.InvokeBindingRequest other) { if (other == io.dapr.v1.DaprProtos.InvokeBindingRequest.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()); if (!other.getOperation().isEmpty()) { operation_ = other.operation_; 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.DaprProtos.InvokeBindingRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.InvokeBindingRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * The name of the output binding to invoke.
       * 
* * 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; } } /** *
       * The name of the output binding to invoke.
       * 
* * 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; } } /** *
       * The name of the output binding to invoke.
       * 
* * 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; } /** *
       * The name of the output binding to invoke.
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * The name of the output binding to invoke.
       * 
* * 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; /** *
       * The data which will be sent to output binding.
       * 
* * bytes data = 2; * @return The data. */ public com.google.protobuf.ByteString getData() { return data_; } /** *
       * The data which will be sent to output binding.
       * 
* * 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; } /** *
       * The data which will be sent to output binding.
       * 
* * 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 passing to output binding components
       * 
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the message. 
       * If set in the binding definition will cause all messages to 
       * have a default time to live. The message ttl overrides any value
       * in the binding definition.
       * 
* * 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 passing to output binding components
       * 
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the message. 
       * If set in the binding definition will cause all messages to 
       * have a default time to live. The message ttl overrides any value
       * in the binding definition.
       * 
* * map<string, string> metadata = 3; */ public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata passing to output binding components
       * 
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the message. 
       * If set in the binding definition will cause all messages to 
       * have a default time to live. The message ttl overrides any value
       * in the binding definition.
       * 
* * 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 passing to output binding components
       * 
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the message. 
       * If set in the binding definition will cause all messages to 
       * have a default time to live. The message ttl overrides any value
       * in the binding definition.
       * 
* * 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 passing to output binding components
       * 
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the message. 
       * If set in the binding definition will cause all messages to 
       * have a default time to live. The message ttl overrides any value
       * in the binding definition.
       * 
* * 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 passing to output binding components
       * 
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the message. 
       * If set in the binding definition will cause all messages to 
       * have a default time to live. The message ttl overrides any value
       * in the binding definition.
       * 
* * 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 passing to output binding components
       * 
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the message. 
       * If set in the binding definition will cause all messages to 
       * have a default time to live. The message ttl overrides any value
       * in the binding definition.
       * 
* * map<string, string> metadata = 3; */ public Builder putAllMetadata( java.util.Map values) { internalGetMutableMetadata().getMutableMap() .putAll(values); return this; } private java.lang.Object operation_ = ""; /** *
       * The name of the operation type for the binding to invoke
       * 
* * string operation = 4; * @return The operation. */ public java.lang.String getOperation() { java.lang.Object ref = operation_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name of the operation type for the binding to invoke
       * 
* * string operation = 4; * @return The bytes for operation. */ public com.google.protobuf.ByteString getOperationBytes() { java.lang.Object ref = operation_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name of the operation type for the binding to invoke
       * 
* * string operation = 4; * @param value The operation to set. * @return This builder for chaining. */ public Builder setOperation( java.lang.String value) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); return this; } /** *
       * The name of the operation type for the binding to invoke
       * 
* * string operation = 4; * @return This builder for chaining. */ public Builder clearOperation() { operation_ = getDefaultInstance().getOperation(); onChanged(); return this; } /** *
       * The name of the operation type for the binding to invoke
       * 
* * string operation = 4; * @param value The bytes for operation to set. * @return This builder for chaining. */ public Builder setOperationBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operation_ = 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.InvokeBindingRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.InvokeBindingRequest) private static final io.dapr.v1.DaprProtos.InvokeBindingRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.InvokeBindingRequest(); } public static io.dapr.v1.DaprProtos.InvokeBindingRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InvokeBindingRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InvokeBindingRequest(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.DaprProtos.InvokeBindingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InvokeBindingResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.InvokeBindingResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The data which will be sent to output binding.
     * 
* * bytes data = 1; * @return The data. */ com.google.protobuf.ByteString getData(); /** *
     * The metadata returned from an external system
     * 
* * map<string, string> metadata = 2; */ int getMetadataCount(); /** *
     * The metadata returned from an external system
     * 
* * map<string, string> metadata = 2; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata returned from an external system
     * 
* * map<string, string> metadata = 2; */ java.util.Map getMetadataMap(); /** *
     * The metadata returned from an external system
     * 
* * map<string, string> metadata = 2; */ java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * The metadata returned from an external system
     * 
* * map<string, string> metadata = 2; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * InvokeBindingResponse is the message returned from an output binding invocation
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.InvokeBindingResponse} */ public static final class InvokeBindingResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.InvokeBindingResponse) InvokeBindingResponseOrBuilder { private static final long serialVersionUID = 0L; // Use InvokeBindingResponse.newBuilder() to construct. private InvokeBindingResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InvokeBindingResponse() { data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InvokeBindingResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InvokeBindingResponse( 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: { data_ = input.readBytes(); break; } case 18: { 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.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: 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.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.InvokeBindingResponse.class, io.dapr.v1.DaprProtos.InvokeBindingResponse.Builder.class); } public static final int DATA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString data_; /** *
     * The data which will be sent to output binding.
     * 
* * bytes data = 1; * @return The data. */ public com.google.protobuf.ByteString getData() { return data_; } public static final int METADATA_FIELD_NUMBER = 2; 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.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_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 returned from an external system
     * 
* * map<string, string> metadata = 2; */ 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 returned from an external system
     * 
* * map<string, string> metadata = 2; */ public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata returned from an external system
     * 
* * map<string, string> metadata = 2; */ 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 returned from an external system
     * 
* * map<string, string> metadata = 2; */ 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 (!data_.isEmpty()) { output.writeBytes(1, data_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, 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(2, 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.DaprProtos.InvokeBindingResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.InvokeBindingResponse other = (io.dapr.v1.DaprProtos.InvokeBindingResponse) obj; 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) + 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.DaprProtos.InvokeBindingResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeBindingResponse 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.DaprProtos.InvokeBindingResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeBindingResponse 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.DaprProtos.InvokeBindingResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeBindingResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.InvokeBindingResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeBindingResponse 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.DaprProtos.InvokeBindingResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeBindingResponse 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.DaprProtos.InvokeBindingResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeBindingResponse 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.DaprProtos.InvokeBindingResponse 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; } /** *
     * InvokeBindingResponse is the message returned from an output binding invocation
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.InvokeBindingResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.InvokeBindingResponse) io.dapr.v1.DaprProtos.InvokeBindingResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: 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.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.InvokeBindingResponse.class, io.dapr.v1.DaprProtos.InvokeBindingResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.InvokeBindingResponse.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(); data_ = com.google.protobuf.ByteString.EMPTY; internalGetMutableMetadata().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeBindingResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.InvokeBindingResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeBindingResponse build() { io.dapr.v1.DaprProtos.InvokeBindingResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeBindingResponse buildPartial() { io.dapr.v1.DaprProtos.InvokeBindingResponse result = new io.dapr.v1.DaprProtos.InvokeBindingResponse(this); int from_bitField0_ = bitField0_; 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.DaprProtos.InvokeBindingResponse) { return mergeFrom((io.dapr.v1.DaprProtos.InvokeBindingResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.InvokeBindingResponse other) { if (other == io.dapr.v1.DaprProtos.InvokeBindingResponse.getDefaultInstance()) return this; 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.DaprProtos.InvokeBindingResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.InvokeBindingResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The data which will be sent to output binding.
       * 
* * bytes data = 1; * @return The data. */ public com.google.protobuf.ByteString getData() { return data_; } /** *
       * The data which will be sent to output binding.
       * 
* * bytes data = 1; * @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 data which will be sent to output binding.
       * 
* * bytes data = 1; * @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 returned from an external system
       * 
* * map<string, string> metadata = 2; */ 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 returned from an external system
       * 
* * map<string, string> metadata = 2; */ public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata returned from an external system
       * 
* * map<string, string> metadata = 2; */ 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 returned from an external system
       * 
* * map<string, string> metadata = 2; */ 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 returned from an external system
       * 
* * map<string, string> metadata = 2; */ 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 returned from an external system
       * 
* * map<string, string> metadata = 2; */ 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 returned from an external system
       * 
* * map<string, string> metadata = 2; */ 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.InvokeBindingResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.InvokeBindingResponse) private static final io.dapr.v1.DaprProtos.InvokeBindingResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.InvokeBindingResponse(); } public static io.dapr.v1.DaprProtos.InvokeBindingResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InvokeBindingResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InvokeBindingResponse(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.DaprProtos.InvokeBindingResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetSecretRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetSecretRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of secret store.
     * 
* * string store_name = 1; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * The name of secret store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * The name of secret key.
     * 
* * string key = 2; * @return The key. */ java.lang.String getKey(); /** *
     * The name of secret key.
     * 
* * string key = 2; * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * The metadata which will be sent to secret store 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 which will be sent to secret store components.
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * GetSecretRequest is the message to get secret from secret store.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetSecretRequest} */ public static final class GetSecretRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetSecretRequest) GetSecretRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetSecretRequest.newBuilder() to construct. private GetSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetSecretRequest() { storeName_ = ""; key_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetSecretRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetSecretRequest( 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: { java.lang.String s = input.readStringRequireUtf8(); key_ = 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.DaprProtos.internal_static_dapr_proto_runtime_v1_GetSecretRequest_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.DaprProtos.internal_static_dapr_proto_runtime_v1_GetSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetSecretRequest.class, io.dapr.v1.DaprProtos.GetSecretRequest.Builder.class); } public static final int STORE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object storeName_; /** *
     * The name of secret store.
     * 
* * 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 secret store.
     * 
* * 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 KEY_FIELD_NUMBER = 2; private volatile java.lang.Object key_; /** *
     * The name of secret key.
     * 
* * string key = 2; * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; 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(); key_ = s; return s; } } /** *
     * The name of secret key.
     * 
* * string key = 2; * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); key_ = 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.DaprProtos.internal_static_dapr_proto_runtime_v1_GetSecretRequest_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 which will be sent to secret store 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 which will be sent to secret store components.
     * 
* * map<string, string> metadata = 3; */ public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata which will be sent to secret store 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 which will be sent to secret store 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 (!getStoreNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } if (!getKeyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_); } 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 (!getStoreNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } if (!getKeyBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_); } 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.DaprProtos.GetSecretRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetSecretRequest other = (io.dapr.v1.DaprProtos.GetSecretRequest) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getKey() .equals(other.getKey())) 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) + STORE_NAME_FIELD_NUMBER; hash = (53 * hash) + getStoreName().hashCode(); hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().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.DaprProtos.GetSecretRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetSecretRequest 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.DaprProtos.GetSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetSecretRequest 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.DaprProtos.GetSecretRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetSecretRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetSecretRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetSecretRequest 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.DaprProtos.GetSecretRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetSecretRequest 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.DaprProtos.GetSecretRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetSecretRequest 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.DaprProtos.GetSecretRequest 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; } /** *
     * GetSecretRequest is the message to get secret from secret store.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetSecretRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetSecretRequest) io.dapr.v1.DaprProtos.GetSecretRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetSecretRequest_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.DaprProtos.internal_static_dapr_proto_runtime_v1_GetSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetSecretRequest.class, io.dapr.v1.DaprProtos.GetSecretRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetSecretRequest.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(); storeName_ = ""; key_ = ""; internalGetMutableMetadata().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetSecretRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetSecretRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetSecretRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetSecretRequest build() { io.dapr.v1.DaprProtos.GetSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetSecretRequest buildPartial() { io.dapr.v1.DaprProtos.GetSecretRequest result = new io.dapr.v1.DaprProtos.GetSecretRequest(this); int from_bitField0_ = bitField0_; result.storeName_ = storeName_; result.key_ = key_; 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.DaprProtos.GetSecretRequest) { return mergeFrom((io.dapr.v1.DaprProtos.GetSecretRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetSecretRequest other) { if (other == io.dapr.v1.DaprProtos.GetSecretRequest.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; onChanged(); } if (!other.getKey().isEmpty()) { key_ = other.key_; 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.DaprProtos.GetSecretRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetSecretRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object storeName_ = ""; /** *
       * The name of secret store.
       * 
* * 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 secret store.
       * 
* * 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 secret store.
       * 
* * 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 secret store.
       * 
* * string store_name = 1; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * The name of secret store.
       * 
* * 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.lang.Object key_ = ""; /** *
       * The name of secret key.
       * 
* * string key = 2; * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name of secret key.
       * 
* * string key = 2; * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name of secret key.
       * 
* * string key = 2; * @param value The key to set. * @return This builder for chaining. */ public Builder setKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); return this; } /** *
       * The name of secret key.
       * 
* * string key = 2; * @return This builder for chaining. */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** *
       * The name of secret key.
       * 
* * string key = 2; * @param value The bytes for key to set. * @return This builder for chaining. */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); key_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } private com.google.protobuf.MapField internalGetMutableMetadata() { onChanged();; if (metadata_ == null) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** *
       * The metadata which will be sent to secret store 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 which will be sent to secret store components.
       * 
* * map<string, string> metadata = 3; */ public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata which will be sent to secret store 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 which will be sent to secret store 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 which will be sent to secret store 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 which will be sent to secret store 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 which will be sent to secret store 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.GetSecretRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetSecretRequest) private static final io.dapr.v1.DaprProtos.GetSecretRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetSecretRequest(); } public static io.dapr.v1.DaprProtos.GetSecretRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetSecretRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetSecretRequest(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.DaprProtos.GetSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetSecretResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetSecretResponse) com.google.protobuf.MessageOrBuilder { /** *
     * data is the secret value. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, string> data = 1; */ int getDataCount(); /** *
     * data is the secret value. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, string> data = 1; */ boolean containsData( java.lang.String key); /** * Use {@link #getDataMap()} instead. */ @java.lang.Deprecated java.util.Map getData(); /** *
     * data is the secret value. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, string> data = 1; */ java.util.Map getDataMap(); /** *
     * data is the secret value. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, string> data = 1; */ java.lang.String getDataOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * data is the secret value. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, string> data = 1; */ java.lang.String getDataOrThrow( java.lang.String key); } /** *
   * GetSecretResponse is the response mesage to convey the requested secret.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetSecretResponse} */ public static final class GetSecretResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetSecretResponse) GetSecretResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetSecretResponse.newBuilder() to construct. private GetSecretResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetSecretResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetSecretResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetSecretResponse( 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)) { data_ = com.google.protobuf.MapField.newMapField( DataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry data__ = input.readMessage( DataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); data_.getMutableMap().put( data__.getKey(), data__.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.DaprProtos.internal_static_dapr_proto_runtime_v1_GetSecretResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetSecretResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetSecretResponse.class, io.dapr.v1.DaprProtos.GetSecretResponse.Builder.class); } public static final int DATA_FIELD_NUMBER = 1; private static final class DataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetSecretResponse_DataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> data_; private com.google.protobuf.MapField internalGetData() { if (data_ == null) { return com.google.protobuf.MapField.emptyMapField( DataDefaultEntryHolder.defaultEntry); } return data_; } public int getDataCount() { return internalGetData().getMap().size(); } /** *
     * data is the secret value. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, string> data = 1; */ public boolean containsData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetData().getMap().containsKey(key); } /** * Use {@link #getDataMap()} instead. */ @java.lang.Deprecated public java.util.Map getData() { return getDataMap(); } /** *
     * data is the secret value. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, string> data = 1; */ public java.util.Map getDataMap() { return internalGetData().getMap(); } /** *
     * data is the secret value. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, string> data = 1; */ public java.lang.String getDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * data is the secret value. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, string> data = 1; */ public java.lang.String getDataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetData().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 { com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetData(), DataDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetData().getMap().entrySet()) { com.google.protobuf.MapEntry data__ = DataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, data__); } 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.DaprProtos.GetSecretResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetSecretResponse other = (io.dapr.v1.DaprProtos.GetSecretResponse) obj; if (!internalGetData().equals( other.internalGetData())) 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 (!internalGetData().getMap().isEmpty()) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + internalGetData().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.GetSecretResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetSecretResponse 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.DaprProtos.GetSecretResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetSecretResponse 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.DaprProtos.GetSecretResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetSecretResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetSecretResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetSecretResponse 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.DaprProtos.GetSecretResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetSecretResponse 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.DaprProtos.GetSecretResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetSecretResponse 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.DaprProtos.GetSecretResponse 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; } /** *
     * GetSecretResponse is the response mesage to convey the requested secret.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetSecretResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetSecretResponse) io.dapr.v1.DaprProtos.GetSecretResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetSecretResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableData(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetSecretResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetSecretResponse.class, io.dapr.v1.DaprProtos.GetSecretResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetSecretResponse.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(); internalGetMutableData().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetSecretResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetSecretResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetSecretResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetSecretResponse build() { io.dapr.v1.DaprProtos.GetSecretResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetSecretResponse buildPartial() { io.dapr.v1.DaprProtos.GetSecretResponse result = new io.dapr.v1.DaprProtos.GetSecretResponse(this); int from_bitField0_ = bitField0_; result.data_ = internalGetData(); result.data_.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.DaprProtos.GetSecretResponse) { return mergeFrom((io.dapr.v1.DaprProtos.GetSecretResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetSecretResponse other) { if (other == io.dapr.v1.DaprProtos.GetSecretResponse.getDefaultInstance()) return this; internalGetMutableData().mergeFrom( other.internalGetData()); 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.DaprProtos.GetSecretResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetSecretResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, java.lang.String> data_; private com.google.protobuf.MapField internalGetData() { if (data_ == null) { return com.google.protobuf.MapField.emptyMapField( DataDefaultEntryHolder.defaultEntry); } return data_; } private com.google.protobuf.MapField internalGetMutableData() { onChanged();; if (data_ == null) { data_ = com.google.protobuf.MapField.newMapField( DataDefaultEntryHolder.defaultEntry); } if (!data_.isMutable()) { data_ = data_.copy(); } return data_; } public int getDataCount() { return internalGetData().getMap().size(); } /** *
       * data is the secret value. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, string> data = 1; */ public boolean containsData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetData().getMap().containsKey(key); } /** * Use {@link #getDataMap()} instead. */ @java.lang.Deprecated public java.util.Map getData() { return getDataMap(); } /** *
       * data is the secret value. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, string> data = 1; */ public java.util.Map getDataMap() { return internalGetData().getMap(); } /** *
       * data is the secret value. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, string> data = 1; */ public java.lang.String getDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * data is the secret value. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, string> data = 1; */ public java.lang.String getDataOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetData().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearData() { internalGetMutableData().getMutableMap() .clear(); return this; } /** *
       * data is the secret value. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, string> data = 1; */ public Builder removeData( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableData().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableData() { return internalGetMutableData().getMutableMap(); } /** *
       * data is the secret value. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, string> data = 1; */ public Builder putData( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableData().getMutableMap() .put(key, value); return this; } /** *
       * data is the secret value. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, string> data = 1; */ public Builder putAllData( java.util.Map values) { internalGetMutableData().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.GetSecretResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetSecretResponse) private static final io.dapr.v1.DaprProtos.GetSecretResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetSecretResponse(); } public static io.dapr.v1.DaprProtos.GetSecretResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetSecretResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetSecretResponse(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.DaprProtos.GetSecretResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_InvokeServiceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_InvokeServiceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetStateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetStateRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetStateResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetStateResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_DeleteStateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_DeleteStateRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SaveStateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SaveStateRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_PublishEventRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_PublishEventRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetSecretRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetSecretRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetSecretRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetSecretRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetSecretResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetSecretResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetSecretResponse_DataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetSecretResponse_DataEntry_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\ndapr.proto\022\025dapr.proto.runtime.v1\032\033goo" + "gle/protobuf/empty.proto\032!dapr/proto/com" + "mon/v1/common.proto\"X\n\024InvokeServiceRequ" + "est\022\n\n\002id\030\001 \001(\t\0224\n\007message\030\003 \001(\0132#.dapr." + "proto.common.v1.InvokeRequest\"|\n\017GetStat" + "eRequest\022\022\n\nstore_name\030\001 \001(\t\022\013\n\003key\030\002 \001(" + "\t\022H\n\013consistency\030\003 \001(\01623.dapr.proto.comm" + "on.v1.StateOptions.StateConsistency\".\n\020G" + "etStateResponse\022\014\n\004data\030\001 \001(\014\022\014\n\004etag\030\002 " + "\001(\t\"x\n\022DeleteStateRequest\022\022\n\nstore_name\030" + "\001 \001(\t\022\013\n\003key\030\002 \001(\t\022\014\n\004etag\030\003 \001(\t\0223\n\007opti" + "ons\030\004 \001(\0132\".dapr.proto.common.v1.StateOp" + "tions\"W\n\020SaveStateRequest\022\022\n\nstore_name\030" + "\001 \001(\t\022/\n\006states\030\002 \003(\0132\037.dapr.proto.commo" + "n.v1.StateItem\"2\n\023PublishEventRequest\022\r\n" + "\005topic\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\"\303\001\n\024InvokeBin" + "dingRequest\022\014\n\004name\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\022" + "K\n\010metadata\030\003 \003(\01329.dapr.proto.runtime.v" + "1.InvokeBindingRequest.MetadataEntry\022\021\n\t" + "operation\030\004 \001(\t\032/\n\rMetadataEntry\022\013\n\003key\030" + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\244\001\n\025InvokeBindi" + "ngResponse\022\014\n\004data\030\001 \001(\014\022L\n\010metadata\030\002 \003" + "(\0132:.dapr.proto.runtime.v1.InvokeBinding" + "Response.MetadataEntry\032/\n\rMetadataEntry\022" + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\255\001\n\020GetS" + "ecretRequest\022\022\n\nstore_name\030\001 \001(\t\022\013\n\003key\030" + "\002 \001(\t\022G\n\010metadata\030\003 \003(\01325.dapr.proto.run" + "time.v1.GetSecretRequest.MetadataEntry\032/" + "\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + "\001(\t:\0028\001\"\202\001\n\021GetSecretResponse\022@\n\004data\030\001 " + "\003(\01322.dapr.proto.runtime.v1.GetSecretRes" + "ponse.DataEntry\032+\n\tDataEntry\022\013\n\003key\030\001 \001(" + "\t\022\r\n\005value\030\002 \001(\t:\0028\0012\225\005\n\004Dapr\022d\n\rInvokeS" + "ervice\022+.dapr.proto.runtime.v1.InvokeSer" + "viceRequest\032$.dapr.proto.common.v1.Invok" + "eResponse\"\000\022]\n\010GetState\022&.dapr.proto.run" + "time.v1.GetStateRequest\032\'.dapr.proto.run" + "time.v1.GetStateResponse\"\000\022N\n\tSaveState\022" + "\'.dapr.proto.runtime.v1.SaveStateRequest" + "\032\026.google.protobuf.Empty\"\000\022R\n\013DeleteStat" + "e\022).dapr.proto.runtime.v1.DeleteStateReq" + "uest\032\026.google.protobuf.Empty\"\000\022T\n\014Publis" + "hEvent\022*.dapr.proto.runtime.v1.PublishEv" + "entRequest\032\026.google.protobuf.Empty\"\000\022l\n\r" + "InvokeBinding\022+.dapr.proto.runtime.v1.In" + "vokeBindingRequest\032,.dapr.proto.runtime." + "v1.InvokeBindingResponse\"\000\022`\n\tGetSecret\022" + "\'.dapr.proto.runtime.v1.GetSecretRequest" + "\032(.dapr.proto.runtime.v1.GetSecretRespon" + "se\"\000Bi\n\nio.dapr.v1B\nDaprProtosZ1github.c" + "om/dapr/dapr/pkg/proto/runtime/v1;runtim" + "e\252\002\033Dapr.Client.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_InvokeServiceRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_dapr_proto_runtime_v1_InvokeServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_InvokeServiceRequest_descriptor, new java.lang.String[] { "Id", "Message", }); internal_static_dapr_proto_runtime_v1_GetStateRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_dapr_proto_runtime_v1_GetStateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetStateRequest_descriptor, new java.lang.String[] { "StoreName", "Key", "Consistency", }); internal_static_dapr_proto_runtime_v1_GetStateResponse_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_dapr_proto_runtime_v1_GetStateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetStateResponse_descriptor, new java.lang.String[] { "Data", "Etag", }); internal_static_dapr_proto_runtime_v1_DeleteStateRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_dapr_proto_runtime_v1_DeleteStateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_DeleteStateRequest_descriptor, new java.lang.String[] { "StoreName", "Key", "Etag", "Options", }); internal_static_dapr_proto_runtime_v1_SaveStateRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_dapr_proto_runtime_v1_SaveStateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SaveStateRequest_descriptor, new java.lang.String[] { "StoreName", "States", }); internal_static_dapr_proto_runtime_v1_PublishEventRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_dapr_proto_runtime_v1_PublishEventRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_PublishEventRequest_descriptor, new java.lang.String[] { "Topic", "Data", }); internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_descriptor, new java.lang.String[] { "Name", "Data", "Metadata", "Operation", }); internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_descriptor, new java.lang.String[] { "Data", "Metadata", }); internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_InvokeBindingResponse_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_GetSecretRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_dapr_proto_runtime_v1_GetSecretRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetSecretRequest_descriptor, new java.lang.String[] { "StoreName", "Key", "Metadata", }); internal_static_dapr_proto_runtime_v1_GetSecretRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_GetSecretRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_GetSecretRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetSecretRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_GetSecretResponse_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_dapr_proto_runtime_v1_GetSecretResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetSecretResponse_descriptor, new java.lang.String[] { "Data", }); internal_static_dapr_proto_runtime_v1_GetSecretResponse_DataEntry_descriptor = internal_static_dapr_proto_runtime_v1_GetSecretResponse_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_GetSecretResponse_DataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetSecretResponse_DataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); com.google.protobuf.EmptyProto.getDescriptor(); io.dapr.v1.CommonProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy