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

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

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: dapr/proto/runtime/v1/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);
  }
  /**
   * 
   * PubsubSubscriptionType indicates the type of subscription
   * 
* * Protobuf enum {@code dapr.proto.runtime.v1.PubsubSubscriptionType} */ public enum PubsubSubscriptionType implements com.google.protobuf.ProtocolMessageEnum { /** *
     * UNKNOWN is the default value for the subscription type.
     * 
* * UNKNOWN = 0; */ UNKNOWN(0), /** *
     * Declarative subscription (k8s CRD)
     * 
* * DECLARATIVE = 1; */ DECLARATIVE(1), /** *
     * Programmatically created subscription
     * 
* * PROGRAMMATIC = 2; */ PROGRAMMATIC(2), /** *
     * Bidirectional Streaming subscription
     * 
* * STREAMING = 3; */ STREAMING(3), UNRECOGNIZED(-1), ; /** *
     * UNKNOWN is the default value for the subscription type.
     * 
* * UNKNOWN = 0; */ public static final int UNKNOWN_VALUE = 0; /** *
     * Declarative subscription (k8s CRD)
     * 
* * DECLARATIVE = 1; */ public static final int DECLARATIVE_VALUE = 1; /** *
     * Programmatically created subscription
     * 
* * PROGRAMMATIC = 2; */ public static final int PROGRAMMATIC_VALUE = 2; /** *
     * Bidirectional Streaming subscription
     * 
* * STREAMING = 3; */ public static final int STREAMING_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PubsubSubscriptionType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static PubsubSubscriptionType forNumber(int value) { switch (value) { case 0: return UNKNOWN; case 1: return DECLARATIVE; case 2: return PROGRAMMATIC; case 3: return STREAMING; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< PubsubSubscriptionType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PubsubSubscriptionType findValueByNumber(int number) { return PubsubSubscriptionType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.dapr.v1.DaprProtos.getDescriptor().getEnumTypes().get(0); } private static final PubsubSubscriptionType[] VALUES = values(); public static PubsubSubscriptionType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private PubsubSubscriptionType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:dapr.proto.runtime.v1.PubsubSubscriptionType) } 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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.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. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** *
     * Required. Callee's app id.
     * 
* * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int 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. */ @java.lang.Override public boolean hasMessage() { return message_ != null; } /** *
     * Required. message which will be delivered to callee.
     * 
* * .dapr.proto.common.v1.InvokeRequest message = 3; * @return The message. */ @java.lang.Override 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; */ @java.lang.Override 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { 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(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ int getMetadataCount(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ java.util.Map getMetadataMap(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * 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(); } 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 24: { int rawValue = input.readEnum(); consistency_ = rawValue; break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetStateRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: 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_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. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * The name of state store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_FIELD_NUMBER = 2; private volatile java.lang.Object key_; /** *
     * The key of the desired state
     * 
* * string key = 2; * @return The key. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override public int getConsistencyValue() { return consistency_; } /** *
     * The read consistency of the state store.
     * 
* * .dapr.proto.common.v1.StateOptions.StateConsistency consistency = 3; * @return The consistency. */ @java.lang.Override 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; } public static final int METADATA_FIELD_NUMBER = 4; 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_GetStateRequest_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 state store components.
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_); } if (consistency_ != io.dapr.v1.CommonProtos.StateOptions.StateConsistency.CONSISTENCY_UNSPECIFIED.getNumber()) { output.writeEnum(3, consistency_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { 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_); } 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(4, 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.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 (!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(); hash = (37 * hash) + CONSISTENCY_FIELD_NUMBER; hash = (53 * hash) + consistency_; 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.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; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: 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_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; 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_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); int from_bitField0_ = bitField0_; result.storeName_ = storeName_; result.key_ = key_; result.consistency_ = consistency_; 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.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()); } 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.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 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.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. */ @java.lang.Override 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. */ @java.lang.Override 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; } 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 state store components.
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 4; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 4; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 4; */ 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.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 GetBulkStateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetBulkStateRequest) 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 keys to get.
     * 
* * repeated string keys = 2; * @return A list containing the keys. */ java.util.List getKeysList(); /** *
     * The keys to get.
     * 
* * repeated string keys = 2; * @return The count of keys. */ int getKeysCount(); /** *
     * The keys to get.
     * 
* * repeated string keys = 2; * @param index The index of the element to return. * @return The keys at the given index. */ java.lang.String getKeys(int index); /** *
     * The keys to get.
     * 
* * repeated string keys = 2; * @param index The index of the value to return. * @return The bytes of the keys at the given index. */ com.google.protobuf.ByteString getKeysBytes(int index); /** *
     * The number of parallel operations executed on the state store for a get operation.
     * 
* * int32 parallelism = 3; * @return The parallelism. */ int getParallelism(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ int getMetadataCount(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ java.util.Map getMetadataMap(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * GetBulkStateRequest is the message to get a list of key-value states from specific state store.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetBulkStateRequest} */ public static final class GetBulkStateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetBulkStateRequest) GetBulkStateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetBulkStateRequest.newBuilder() to construct. private GetBulkStateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetBulkStateRequest() { storeName_ = ""; keys_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetBulkStateRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetBulkStateRequest( 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(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { keys_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } keys_.add(s); break; } case 24: { parallelism_ = input.readInt32(); break; } case 34: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { keys_ = keys_.getUnmodifiableView(); } 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_GetBulkStateRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: 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_GetBulkStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetBulkStateRequest.class, io.dapr.v1.DaprProtos.GetBulkStateRequest.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. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * The name of state store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEYS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList keys_; /** *
     * The keys to get.
     * 
* * repeated string keys = 2; * @return A list containing the keys. */ public com.google.protobuf.ProtocolStringList getKeysList() { return keys_; } /** *
     * The keys to get.
     * 
* * repeated string keys = 2; * @return The count of keys. */ public int getKeysCount() { return keys_.size(); } /** *
     * The keys to get.
     * 
* * repeated string keys = 2; * @param index The index of the element to return. * @return The keys at the given index. */ public java.lang.String getKeys(int index) { return keys_.get(index); } /** *
     * The keys to get.
     * 
* * repeated string keys = 2; * @param index The index of the value to return. * @return The bytes of the keys at the given index. */ public com.google.protobuf.ByteString getKeysBytes(int index) { return keys_.getByteString(index); } public static final int PARALLELISM_FIELD_NUMBER = 3; private int parallelism_; /** *
     * The number of parallel operations executed on the state store for a get operation.
     * 
* * int32 parallelism = 3; * @return The parallelism. */ @java.lang.Override public int getParallelism() { return parallelism_; } public static final int METADATA_FIELD_NUMBER = 4; 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_GetBulkStateRequest_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 state store components.
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } for (int i = 0; i < keys_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, keys_.getRaw(i)); } if (parallelism_ != 0) { output.writeInt32(3, parallelism_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } { int dataSize = 0; for (int i = 0; i < keys_.size(); i++) { dataSize += computeStringSizeNoTag(keys_.getRaw(i)); } size += dataSize; size += 1 * getKeysList().size(); } if (parallelism_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, parallelism_); } 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(4, 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.GetBulkStateRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetBulkStateRequest other = (io.dapr.v1.DaprProtos.GetBulkStateRequest) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getKeysList() .equals(other.getKeysList())) return false; if (getParallelism() != other.getParallelism()) 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(); if (getKeysCount() > 0) { hash = (37 * hash) + KEYS_FIELD_NUMBER; hash = (53 * hash) + getKeysList().hashCode(); } hash = (37 * hash) + PARALLELISM_FIELD_NUMBER; hash = (53 * hash) + getParallelism(); 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.GetBulkStateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetBulkStateRequest 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.GetBulkStateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetBulkStateRequest 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.GetBulkStateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetBulkStateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetBulkStateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetBulkStateRequest 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.GetBulkStateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetBulkStateRequest 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.GetBulkStateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetBulkStateRequest 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.GetBulkStateRequest 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; } /** *
     * GetBulkStateRequest is the message to get a list of key-value states from specific state store.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetBulkStateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetBulkStateRequest) io.dapr.v1.DaprProtos.GetBulkStateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetBulkStateRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: 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_GetBulkStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetBulkStateRequest.class, io.dapr.v1.DaprProtos.GetBulkStateRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetBulkStateRequest.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_ = ""; keys_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); parallelism_ = 0; 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_GetBulkStateRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetBulkStateRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetBulkStateRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetBulkStateRequest build() { io.dapr.v1.DaprProtos.GetBulkStateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetBulkStateRequest buildPartial() { io.dapr.v1.DaprProtos.GetBulkStateRequest result = new io.dapr.v1.DaprProtos.GetBulkStateRequest(this); int from_bitField0_ = bitField0_; result.storeName_ = storeName_; if (((bitField0_ & 0x00000001) != 0)) { keys_ = keys_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.keys_ = keys_; result.parallelism_ = parallelism_; 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.GetBulkStateRequest) { return mergeFrom((io.dapr.v1.DaprProtos.GetBulkStateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetBulkStateRequest other) { if (other == io.dapr.v1.DaprProtos.GetBulkStateRequest.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; onChanged(); } if (!other.keys_.isEmpty()) { if (keys_.isEmpty()) { keys_ = other.keys_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureKeysIsMutable(); keys_.addAll(other.keys_); } onChanged(); } if (other.getParallelism() != 0) { setParallelism(other.getParallelism()); } 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.GetBulkStateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetBulkStateRequest) 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 com.google.protobuf.LazyStringList keys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keys_ = new com.google.protobuf.LazyStringArrayList(keys_); bitField0_ |= 0x00000001; } } /** *
       * The keys to get.
       * 
* * repeated string keys = 2; * @return A list containing the keys. */ public com.google.protobuf.ProtocolStringList getKeysList() { return keys_.getUnmodifiableView(); } /** *
       * The keys to get.
       * 
* * repeated string keys = 2; * @return The count of keys. */ public int getKeysCount() { return keys_.size(); } /** *
       * The keys to get.
       * 
* * repeated string keys = 2; * @param index The index of the element to return. * @return The keys at the given index. */ public java.lang.String getKeys(int index) { return keys_.get(index); } /** *
       * The keys to get.
       * 
* * repeated string keys = 2; * @param index The index of the value to return. * @return The bytes of the keys at the given index. */ public com.google.protobuf.ByteString getKeysBytes(int index) { return keys_.getByteString(index); } /** *
       * The keys to get.
       * 
* * repeated string keys = 2; * @param index The index to set the value at. * @param value The keys to set. * @return This builder for chaining. */ public Builder setKeys( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.set(index, value); onChanged(); return this; } /** *
       * The keys to get.
       * 
* * repeated string keys = 2; * @param value The keys to add. * @return This builder for chaining. */ public Builder addKeys( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.add(value); onChanged(); return this; } /** *
       * The keys to get.
       * 
* * repeated string keys = 2; * @param values The keys to add. * @return This builder for chaining. */ public Builder addAllKeys( java.lang.Iterable values) { ensureKeysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, keys_); onChanged(); return this; } /** *
       * The keys to get.
       * 
* * repeated string keys = 2; * @return This builder for chaining. */ public Builder clearKeys() { keys_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The keys to get.
       * 
* * repeated string keys = 2; * @param value The bytes of the keys to add. * @return This builder for chaining. */ public Builder addKeysBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKeysIsMutable(); keys_.add(value); onChanged(); return this; } private int parallelism_ ; /** *
       * The number of parallel operations executed on the state store for a get operation.
       * 
* * int32 parallelism = 3; * @return The parallelism. */ @java.lang.Override public int getParallelism() { return parallelism_; } /** *
       * The number of parallel operations executed on the state store for a get operation.
       * 
* * int32 parallelism = 3; * @param value The parallelism to set. * @return This builder for chaining. */ public Builder setParallelism(int value) { parallelism_ = value; onChanged(); return this; } /** *
       * The number of parallel operations executed on the state store for a get operation.
       * 
* * int32 parallelism = 3; * @return This builder for chaining. */ public Builder clearParallelism() { parallelism_ = 0; 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 state store components.
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 4; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 4; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 4; */ 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.GetBulkStateRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetBulkStateRequest) private static final io.dapr.v1.DaprProtos.GetBulkStateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetBulkStateRequest(); } public static io.dapr.v1.DaprProtos.GetBulkStateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetBulkStateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetBulkStateRequest(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.GetBulkStateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetBulkStateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetBulkStateResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The list of items containing the keys to get values for.
     * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ java.util.List getItemsList(); /** *
     * The list of items containing the keys to get values for.
     * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ io.dapr.v1.DaprProtos.BulkStateItem getItems(int index); /** *
     * The list of items containing the keys to get values for.
     * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ int getItemsCount(); /** *
     * The list of items containing the keys to get values for.
     * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ java.util.List getItemsOrBuilderList(); /** *
     * The list of items containing the keys to get values for.
     * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ io.dapr.v1.DaprProtos.BulkStateItemOrBuilder getItemsOrBuilder( int index); } /** *
   * GetBulkStateResponse is the response conveying the list of state values.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetBulkStateResponse} */ public static final class GetBulkStateResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetBulkStateResponse) GetBulkStateResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetBulkStateResponse.newBuilder() to construct. private GetBulkStateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetBulkStateResponse() { items_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetBulkStateResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetBulkStateResponse( 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)) { items_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } items_.add( input.readMessage(io.dapr.v1.DaprProtos.BulkStateItem.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { items_ = java.util.Collections.unmodifiableList(items_); } 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_GetBulkStateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetBulkStateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetBulkStateResponse.class, io.dapr.v1.DaprProtos.GetBulkStateResponse.Builder.class); } public static final int ITEMS_FIELD_NUMBER = 1; private java.util.List items_; /** *
     * The list of items containing the keys to get values for.
     * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ @java.lang.Override public java.util.List getItemsList() { return items_; } /** *
     * The list of items containing the keys to get values for.
     * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ @java.lang.Override public java.util.List getItemsOrBuilderList() { return items_; } /** *
     * The list of items containing the keys to get values for.
     * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ @java.lang.Override public int getItemsCount() { return items_.size(); } /** *
     * The list of items containing the keys to get values for.
     * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.BulkStateItem getItems(int index) { return items_.get(index); } /** *
     * The list of items containing the keys to get values for.
     * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.BulkStateItemOrBuilder getItemsOrBuilder( int index) { return items_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < items_.size(); i++) { output.writeMessage(1, items_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < items_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, items_.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.GetBulkStateResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetBulkStateResponse other = (io.dapr.v1.DaprProtos.GetBulkStateResponse) obj; if (!getItemsList() .equals(other.getItemsList())) 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 (getItemsCount() > 0) { hash = (37 * hash) + ITEMS_FIELD_NUMBER; hash = (53 * hash) + getItemsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.GetBulkStateResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetBulkStateResponse 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.GetBulkStateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetBulkStateResponse 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.GetBulkStateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetBulkStateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetBulkStateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetBulkStateResponse 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.GetBulkStateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetBulkStateResponse 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.GetBulkStateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetBulkStateResponse 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.GetBulkStateResponse 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; } /** *
     * GetBulkStateResponse is the response conveying the list of state values.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetBulkStateResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetBulkStateResponse) io.dapr.v1.DaprProtos.GetBulkStateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetBulkStateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetBulkStateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetBulkStateResponse.class, io.dapr.v1.DaprProtos.GetBulkStateResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetBulkStateResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { itemsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetBulkStateResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetBulkStateResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetBulkStateResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetBulkStateResponse build() { io.dapr.v1.DaprProtos.GetBulkStateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetBulkStateResponse buildPartial() { io.dapr.v1.DaprProtos.GetBulkStateResponse result = new io.dapr.v1.DaprProtos.GetBulkStateResponse(this); int from_bitField0_ = bitField0_; if (itemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { items_ = java.util.Collections.unmodifiableList(items_); bitField0_ = (bitField0_ & ~0x00000001); } result.items_ = items_; } else { result.items_ = itemsBuilder_.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.GetBulkStateResponse) { return mergeFrom((io.dapr.v1.DaprProtos.GetBulkStateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetBulkStateResponse other) { if (other == io.dapr.v1.DaprProtos.GetBulkStateResponse.getDefaultInstance()) return this; if (itemsBuilder_ == null) { if (!other.items_.isEmpty()) { if (items_.isEmpty()) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureItemsIsMutable(); items_.addAll(other.items_); } onChanged(); } } else { if (!other.items_.isEmpty()) { if (itemsBuilder_.isEmpty()) { itemsBuilder_.dispose(); itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000001); itemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { itemsBuilder_.addAllMessages(other.items_); } } } 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.GetBulkStateResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetBulkStateResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List items_ = java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { items_ = new java.util.ArrayList(items_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.BulkStateItem, io.dapr.v1.DaprProtos.BulkStateItem.Builder, io.dapr.v1.DaprProtos.BulkStateItemOrBuilder> itemsBuilder_; /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public java.util.List getItemsList() { if (itemsBuilder_ == null) { return java.util.Collections.unmodifiableList(items_); } else { return itemsBuilder_.getMessageList(); } } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public int getItemsCount() { if (itemsBuilder_ == null) { return items_.size(); } else { return itemsBuilder_.getCount(); } } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public io.dapr.v1.DaprProtos.BulkStateItem getItems(int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessage(index); } } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public Builder setItems( int index, io.dapr.v1.DaprProtos.BulkStateItem value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.set(index, value); onChanged(); } else { itemsBuilder_.setMessage(index, value); } return this; } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public Builder setItems( int index, io.dapr.v1.DaprProtos.BulkStateItem.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.set(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public Builder addItems(io.dapr.v1.DaprProtos.BulkStateItem value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(value); onChanged(); } else { itemsBuilder_.addMessage(value); } return this; } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public Builder addItems( int index, io.dapr.v1.DaprProtos.BulkStateItem value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(index, value); onChanged(); } else { itemsBuilder_.addMessage(index, value); } return this; } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public Builder addItems( io.dapr.v1.DaprProtos.BulkStateItem.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public Builder addItems( int index, io.dapr.v1.DaprProtos.BulkStateItem.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public Builder addAllItems( java.lang.Iterable values) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, items_); onChanged(); } else { itemsBuilder_.addAllMessages(values); } return this; } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public Builder clearItems() { if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { itemsBuilder_.clear(); } return this; } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.remove(index); onChanged(); } else { itemsBuilder_.remove(index); } return this; } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public io.dapr.v1.DaprProtos.BulkStateItem.Builder getItemsBuilder( int index) { return getItemsFieldBuilder().getBuilder(index); } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public io.dapr.v1.DaprProtos.BulkStateItemOrBuilder getItemsOrBuilder( int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessageOrBuilder(index); } } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public java.util.List getItemsOrBuilderList() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(items_); } } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public io.dapr.v1.DaprProtos.BulkStateItem.Builder addItemsBuilder() { return getItemsFieldBuilder().addBuilder( io.dapr.v1.DaprProtos.BulkStateItem.getDefaultInstance()); } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public io.dapr.v1.DaprProtos.BulkStateItem.Builder addItemsBuilder( int index) { return getItemsFieldBuilder().addBuilder( index, io.dapr.v1.DaprProtos.BulkStateItem.getDefaultInstance()); } /** *
       * The list of items containing the keys to get values for.
       * 
* * repeated .dapr.proto.runtime.v1.BulkStateItem items = 1; */ public java.util.List getItemsBuilderList() { return getItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.BulkStateItem, io.dapr.v1.DaprProtos.BulkStateItem.Builder, io.dapr.v1.DaprProtos.BulkStateItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.BulkStateItem, io.dapr.v1.DaprProtos.BulkStateItem.Builder, io.dapr.v1.DaprProtos.BulkStateItemOrBuilder>( items_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); items_ = null; } return itemsBuilder_; } @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.GetBulkStateResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetBulkStateResponse) private static final io.dapr.v1.DaprProtos.GetBulkStateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetBulkStateResponse(); } public static io.dapr.v1.DaprProtos.GetBulkStateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetBulkStateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetBulkStateResponse(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.GetBulkStateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BulkStateItemOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.BulkStateItem) com.google.protobuf.MessageOrBuilder { /** *
     * state item key
     * 
* * string key = 1; * @return The key. */ java.lang.String getKey(); /** *
     * state item key
     * 
* * string key = 1; * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** *
     * The byte array data
     * 
* * bytes data = 2; * @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 = 3; * @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 = 3; * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); /** *
     * The error that was returned from the state store in case of a failed get operation.
     * 
* * string error = 4; * @return The error. */ java.lang.String getError(); /** *
     * The error that was returned from the state store in case of a failed get operation.
     * 
* * string error = 4; * @return The bytes for error. */ com.google.protobuf.ByteString getErrorBytes(); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 5; */ int getMetadataCount(); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 5; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 5; */ java.util.Map getMetadataMap(); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 5; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 5; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * BulkStateItem is the response item for a bulk get operation.
   * Return values include the item key, data and etag.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.BulkStateItem} */ public static final class BulkStateItem extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.BulkStateItem) BulkStateItemOrBuilder { private static final long serialVersionUID = 0L; // Use BulkStateItem.newBuilder() to construct. private BulkStateItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BulkStateItem() { key_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; etag_ = ""; error_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BulkStateItem(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkStateItem( 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(); key_ = s; break; } case 18: { data_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); etag_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); error_ = s; break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkStateItem_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkStateItem_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.BulkStateItem.class, io.dapr.v1.DaprProtos.BulkStateItem.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** *
     * state item key
     * 
* * string key = 1; * @return The key. */ @java.lang.Override 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; } } /** *
     * state item key
     * 
* * string key = 1; * @return The bytes for key. */ @java.lang.Override 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 DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** *
     * The byte array data
     * 
* * bytes data = 2; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } public static final int ETAG_FIELD_NUMBER = 3; 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 = 3; * @return The etag. */ @java.lang.Override 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 = 3; * @return The bytes for etag. */ @java.lang.Override 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 ERROR_FIELD_NUMBER = 4; private volatile java.lang.Object error_; /** *
     * The error that was returned from the state store in case of a failed get operation.
     * 
* * string error = 4; * @return The error. */ @java.lang.Override public java.lang.String getError() { java.lang.Object ref = error_; 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(); error_ = s; return s; } } /** *
     * The error that was returned from the state store in case of a failed get operation.
     * 
* * string error = 4; * @return The bytes for error. */ @java.lang.Override public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); error_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METADATA_FIELD_NUMBER = 5; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkStateItem_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 app.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } if (!data_.isEmpty()) { output.writeBytes(2, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, etag_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, error_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 5); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, error_); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, metadata__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprProtos.BulkStateItem)) { return super.equals(obj); } io.dapr.v1.DaprProtos.BulkStateItem other = (io.dapr.v1.DaprProtos.BulkStateItem) obj; if (!getKey() .equals(other.getKey())) return false; if (!getData() .equals(other.getData())) return false; if (!getEtag() .equals(other.getEtag())) return false; if (!getError() .equals(other.getError())) 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) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().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.BulkStateItem parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkStateItem 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.BulkStateItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkStateItem 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.BulkStateItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkStateItem parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.BulkStateItem parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkStateItem 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.BulkStateItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkStateItem 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.BulkStateItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkStateItem 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.BulkStateItem 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; } /** *
     * BulkStateItem is the response item for a bulk get operation.
     * Return values include the item key, data and etag.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.BulkStateItem} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.BulkStateItem) io.dapr.v1.DaprProtos.BulkStateItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkStateItem_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 5: return internalGetMutableMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkStateItem_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.BulkStateItem.class, io.dapr.v1.DaprProtos.BulkStateItem.Builder.class); } // Construct using io.dapr.v1.DaprProtos.BulkStateItem.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(); key_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; etag_ = ""; error_ = ""; 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_BulkStateItem_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.BulkStateItem getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.BulkStateItem.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.BulkStateItem build() { io.dapr.v1.DaprProtos.BulkStateItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.BulkStateItem buildPartial() { io.dapr.v1.DaprProtos.BulkStateItem result = new io.dapr.v1.DaprProtos.BulkStateItem(this); int from_bitField0_ = bitField0_; result.key_ = key_; result.data_ = data_; result.etag_ = etag_; result.error_ = error_; 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.BulkStateItem) { return mergeFrom((io.dapr.v1.DaprProtos.BulkStateItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.BulkStateItem other) { if (other == io.dapr.v1.DaprProtos.BulkStateItem.getDefaultInstance()) return this; if (!other.getKey().isEmpty()) { key_ = other.key_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (!other.getEtag().isEmpty()) { etag_ = other.etag_; onChanged(); } if (!other.getError().isEmpty()) { error_ = other.error_; 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.BulkStateItem parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.BulkStateItem) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object key_ = ""; /** *
       * state item key
       * 
* * string key = 1; * @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; } } /** *
       * state item key
       * 
* * string key = 1; * @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; } } /** *
       * state item key
       * 
* * string key = 1; * @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; } /** *
       * state item key
       * 
* * string key = 1; * @return This builder for chaining. */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** *
       * state item key
       * 
* * string key = 1; * @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.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The byte array data
       * 
* * bytes data = 2; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** *
       * The byte array data
       * 
* * 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 byte array data
       * 
* * bytes data = 2; * @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 = 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.
       * 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.
       * 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.
       * 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.
       * 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 java.lang.Object error_ = ""; /** *
       * The error that was returned from the state store in case of a failed get operation.
       * 
* * string error = 4; * @return The error. */ public java.lang.String getError() { java.lang.Object ref = error_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); error_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The error that was returned from the state store in case of a failed get operation.
       * 
* * string error = 4; * @return The bytes for error. */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); error_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The error that was returned from the state store in case of a failed get operation.
       * 
* * string error = 4; * @param value The error to set. * @return This builder for chaining. */ public Builder setError( java.lang.String value) { if (value == null) { throw new NullPointerException(); } error_ = value; onChanged(); return this; } /** *
       * The error that was returned from the state store in case of a failed get operation.
       * 
* * string error = 4; * @return This builder for chaining. */ public Builder clearError() { error_ = getDefaultInstance().getError(); onChanged(); return this; } /** *
       * The error that was returned from the state store in case of a failed get operation.
       * 
* * string error = 4; * @param value The bytes for error to set. * @return This builder for chaining. */ public Builder setErrorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); error_ = 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 app.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 5; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 5; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 5; */ public Builder putAllMetadata( java.util.Map values) { internalGetMutableMetadata().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.BulkStateItem) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.BulkStateItem) private static final io.dapr.v1.DaprProtos.BulkStateItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.BulkStateItem(); } public static io.dapr.v1.DaprProtos.BulkStateItem getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BulkStateItem parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkStateItem(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.BulkStateItem 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(); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * The metadata which will be sent to app.
     * 
* * 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 app.
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 3; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * 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(); } 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: { java.lang.String s = input.readStringRequireUtf8(); etag_ = 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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetStateResponse_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_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. */ @java.lang.Override 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. */ @java.lang.Override 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. */ @java.lang.Override 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 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_GetStateResponse_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 app.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!data_.isEmpty()) { output.writeBytes(1, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, etag_); } 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 (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, etag_); } 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.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 (!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(); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().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.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; } @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_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_ = ""; 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_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); int from_bitField0_ = bitField0_; result.data_ = data_; result.etag_ = etag_; 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.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(); } 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.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 int bitField0_; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The byte array data
       * 
* * bytes data = 1; * @return The data. */ @java.lang.Override 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; } 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 app.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 3; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 3; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata which will be sent to app.
       * 
* * 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.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.
     * 
* * .dapr.proto.common.v1.Etag etag = 3; * @return Whether the etag field is set. */ boolean hasEtag(); /** *
     * The entity tag which represents the specific version of data.
     * The exact ETag format is defined by the corresponding data store.
     * 
* * .dapr.proto.common.v1.Etag etag = 3; * @return The etag. */ io.dapr.v1.CommonProtos.Etag getEtag(); /** *
     * The entity tag which represents the specific version of data.
     * The exact ETag format is defined by the corresponding data store.
     * 
* * .dapr.proto.common.v1.Etag etag = 3; */ io.dapr.v1.CommonProtos.EtagOrBuilder getEtagOrBuilder(); /** *
     * 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(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 5; */ int getMetadataCount(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 5; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 5; */ java.util.Map getMetadataMap(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 5; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 5; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * 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_ = ""; } @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(); } 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: { io.dapr.v1.CommonProtos.Etag.Builder subBuilder = null; if (etag_ != null) { subBuilder = etag_.toBuilder(); } etag_ = input.readMessage(io.dapr.v1.CommonProtos.Etag.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(etag_); etag_ = subBuilder.buildPartial(); } 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; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteStateRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.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. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * The name of state store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_FIELD_NUMBER = 2; private volatile java.lang.Object key_; /** *
     * The key of the desired state
     * 
* * string key = 2; * @return The key. */ @java.lang.Override 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. */ @java.lang.Override 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 io.dapr.v1.CommonProtos.Etag etag_; /** *
     * The entity tag which represents the specific version of data.
     * The exact ETag format is defined by the corresponding data store.
     * 
* * .dapr.proto.common.v1.Etag etag = 3; * @return Whether the etag field is set. */ @java.lang.Override public boolean hasEtag() { return etag_ != null; } /** *
     * The entity tag which represents the specific version of data.
     * The exact ETag format is defined by the corresponding data store.
     * 
* * .dapr.proto.common.v1.Etag etag = 3; * @return The etag. */ @java.lang.Override public io.dapr.v1.CommonProtos.Etag getEtag() { return etag_ == null ? io.dapr.v1.CommonProtos.Etag.getDefaultInstance() : etag_; } /** *
     * The entity tag which represents the specific version of data.
     * The exact ETag format is defined by the corresponding data store.
     * 
* * .dapr.proto.common.v1.Etag etag = 3; */ @java.lang.Override public io.dapr.v1.CommonProtos.EtagOrBuilder getEtagOrBuilder() { return getEtag(); } 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. */ @java.lang.Override 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. */ @java.lang.Override 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; */ @java.lang.Override public io.dapr.v1.CommonProtos.StateOptionsOrBuilder getOptionsOrBuilder() { return getOptions(); } public static final int METADATA_FIELD_NUMBER = 5; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteStateRequest_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 state store components.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_); } if (etag_ != null) { output.writeMessage(3, getEtag()); } if (options_ != null) { output.writeMessage(4, getOptions()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 5); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_); } if (etag_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getEtag()); } if (options_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getOptions()); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, metadata__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.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 (hasEtag() != other.hasEtag()) return false; if (hasEtag()) { if (!getEtag() .equals(other.getEtag())) return false; } if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { if (!getOptions() .equals(other.getOptions())) 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 (hasEtag()) { hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); } if (hasOptions()) { hash = (37 * hash) + OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getOptions().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.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; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 5: return internalGetMutableMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.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_ = ""; if (etagBuilder_ == null) { etag_ = null; } else { etag_ = null; etagBuilder_ = null; } if (optionsBuilder_ == null) { options_ = null; } else { options_ = null; optionsBuilder_ = null; } 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_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); int from_bitField0_ = bitField0_; result.storeName_ = storeName_; result.key_ = key_; if (etagBuilder_ == null) { result.etag_ = etag_; } else { result.etag_ = etagBuilder_.build(); } if (optionsBuilder_ == null) { result.options_ = options_; } else { result.options_ = optionsBuilder_.build(); } 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.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.hasEtag()) { mergeEtag(other.getEtag()); } if (other.hasOptions()) { mergeOptions(other.getOptions()); } 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.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 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.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 io.dapr.v1.CommonProtos.Etag etag_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.Etag, io.dapr.v1.CommonProtos.Etag.Builder, io.dapr.v1.CommonProtos.EtagOrBuilder> etagBuilder_; /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * .dapr.proto.common.v1.Etag etag = 3; * @return Whether the etag field is set. */ public boolean hasEtag() { return etagBuilder_ != null || etag_ != null; } /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * .dapr.proto.common.v1.Etag etag = 3; * @return The etag. */ public io.dapr.v1.CommonProtos.Etag getEtag() { if (etagBuilder_ == null) { return etag_ == null ? io.dapr.v1.CommonProtos.Etag.getDefaultInstance() : etag_; } else { return etagBuilder_.getMessage(); } } /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * .dapr.proto.common.v1.Etag etag = 3; */ public Builder setEtag(io.dapr.v1.CommonProtos.Etag value) { if (etagBuilder_ == null) { if (value == null) { throw new NullPointerException(); } etag_ = value; onChanged(); } else { etagBuilder_.setMessage(value); } return this; } /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * .dapr.proto.common.v1.Etag etag = 3; */ public Builder setEtag( io.dapr.v1.CommonProtos.Etag.Builder builderForValue) { if (etagBuilder_ == null) { etag_ = builderForValue.build(); onChanged(); } else { etagBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * .dapr.proto.common.v1.Etag etag = 3; */ public Builder mergeEtag(io.dapr.v1.CommonProtos.Etag value) { if (etagBuilder_ == null) { if (etag_ != null) { etag_ = io.dapr.v1.CommonProtos.Etag.newBuilder(etag_).mergeFrom(value).buildPartial(); } else { etag_ = value; } onChanged(); } else { etagBuilder_.mergeFrom(value); } return this; } /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * .dapr.proto.common.v1.Etag etag = 3; */ public Builder clearEtag() { if (etagBuilder_ == null) { etag_ = null; onChanged(); } else { etag_ = null; etagBuilder_ = null; } return this; } /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * .dapr.proto.common.v1.Etag etag = 3; */ public io.dapr.v1.CommonProtos.Etag.Builder getEtagBuilder() { onChanged(); return getEtagFieldBuilder().getBuilder(); } /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * .dapr.proto.common.v1.Etag etag = 3; */ public io.dapr.v1.CommonProtos.EtagOrBuilder getEtagOrBuilder() { if (etagBuilder_ != null) { return etagBuilder_.getMessageOrBuilder(); } else { return etag_ == null ? io.dapr.v1.CommonProtos.Etag.getDefaultInstance() : etag_; } } /** *
       * The entity tag which represents the specific version of data.
       * The exact ETag format is defined by the corresponding data store.
       * 
* * .dapr.proto.common.v1.Etag etag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.Etag, io.dapr.v1.CommonProtos.Etag.Builder, io.dapr.v1.CommonProtos.EtagOrBuilder> getEtagFieldBuilder() { if (etagBuilder_ == null) { etagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.Etag, io.dapr.v1.CommonProtos.Etag.Builder, io.dapr.v1.CommonProtos.EtagOrBuilder>( getEtag(), getParentForChildren(), isClean()); etag_ = null; } return etagBuilder_; } 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_; } 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 state store components.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 5; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 5; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 5; */ public Builder putAllMetadata( java.util.Map values) { internalGetMutableMetadata().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.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 DeleteBulkStateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.DeleteBulkStateRequest) 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); } /** *
   * DeleteBulkStateRequest is the message to delete a list of key-value states from specific state store.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.DeleteBulkStateRequest} */ public static final class DeleteBulkStateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.DeleteBulkStateRequest) DeleteBulkStateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteBulkStateRequest.newBuilder() to construct. private DeleteBulkStateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteBulkStateRequest() { storeName_ = ""; states_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteBulkStateRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteBulkStateRequest( 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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { states_ = java.util.Collections.unmodifiableList(states_); } 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_DeleteBulkStateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteBulkStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DeleteBulkStateRequest.class, io.dapr.v1.DaprProtos.DeleteBulkStateRequest.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. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * The name of state store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATES_FIELD_NUMBER = 2; private java.util.List states_; /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public java.util.List getStatesList() { return states_; } /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public java.util.List getStatesOrBuilderList() { return states_; } /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public int getStatesCount() { return states_.size(); } /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public io.dapr.v1.CommonProtos.StateItem getStates(int index) { return states_.get(index); } /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } for (int i = 0; i < states_.size(); i++) { output.writeMessage(2, states_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } for (int i = 0; i < states_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, states_.get(i)); } 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.DeleteBulkStateRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.DeleteBulkStateRequest other = (io.dapr.v1.DaprProtos.DeleteBulkStateRequest) 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.DeleteBulkStateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DeleteBulkStateRequest 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.DeleteBulkStateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DeleteBulkStateRequest 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.DeleteBulkStateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DeleteBulkStateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.DeleteBulkStateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DeleteBulkStateRequest 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.DeleteBulkStateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DeleteBulkStateRequest 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.DeleteBulkStateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DeleteBulkStateRequest 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.DeleteBulkStateRequest 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; } /** *
     * DeleteBulkStateRequest is the message to delete a list of key-value states from specific state store.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.DeleteBulkStateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.DeleteBulkStateRequest) io.dapr.v1.DaprProtos.DeleteBulkStateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteBulkStateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteBulkStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DeleteBulkStateRequest.class, io.dapr.v1.DaprProtos.DeleteBulkStateRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.DeleteBulkStateRequest.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_DeleteBulkStateRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.DeleteBulkStateRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.DeleteBulkStateRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.DeleteBulkStateRequest build() { io.dapr.v1.DaprProtos.DeleteBulkStateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.DeleteBulkStateRequest buildPartial() { io.dapr.v1.DaprProtos.DeleteBulkStateRequest result = new io.dapr.v1.DaprProtos.DeleteBulkStateRequest(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.DeleteBulkStateRequest) { return mergeFrom((io.dapr.v1.DaprProtos.DeleteBulkStateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.DeleteBulkStateRequest other) { if (other == io.dapr.v1.DaprProtos.DeleteBulkStateRequest.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.DeleteBulkStateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.DeleteBulkStateRequest) 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.DeleteBulkStateRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.DeleteBulkStateRequest) private static final io.dapr.v1.DaprProtos.DeleteBulkStateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.DeleteBulkStateRequest(); } public static io.dapr.v1.DaprProtos.DeleteBulkStateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteBulkStateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteBulkStateRequest(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.DeleteBulkStateRequest 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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { states_ = java.util.Collections.unmodifiableList(states_); } 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. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * The name of state store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATES_FIELD_NUMBER = 2; private java.util.List states_; /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public java.util.List getStatesList() { return states_; } /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public java.util.List getStatesOrBuilderList() { return states_; } /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public int getStatesCount() { return states_.size(); } /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override public io.dapr.v1.CommonProtos.StateItem getStates(int index) { return states_.get(index); } /** *
     * The array of the state key values.
     * 
* * repeated .dapr.proto.common.v1.StateItem states = 2; */ @java.lang.Override 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } for (int i = 0; i < states_.size(); i++) { output.writeMessage(2, states_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } for (int i = 0; i < states_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, states_.get(i)); } 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 QueryStateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.QueryStateRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of state store.
     * 
* * string store_name = 1 [json_name = "storeName"]; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * The name of state store.
     * 
* * string store_name = 1 [json_name = "storeName"]; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * The query in JSON format.
     * 
* * string query = 2; * @return The query. */ java.lang.String getQuery(); /** *
     * The query in JSON format.
     * 
* * string query = 2; * @return The bytes for query. */ com.google.protobuf.ByteString getQueryBytes(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * The metadata which will be sent to state 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 state store components.
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 3; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * QueryStateRequest is the message to query state store.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.QueryStateRequest} */ public static final class QueryStateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.QueryStateRequest) QueryStateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryStateRequest.newBuilder() to construct. private QueryStateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryStateRequest() { storeName_ = ""; query_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryStateRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryStateRequest( 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(); query_ = 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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_QueryStateRequest_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_QueryStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.QueryStateRequest.class, io.dapr.v1.DaprProtos.QueryStateRequest.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 [json_name = "storeName"]; * @return The storeName. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * The name of state store.
     * 
* * string store_name = 1 [json_name = "storeName"]; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** *
     * The query in JSON format.
     * 
* * string query = 2; * @return The query. */ @java.lang.Override public java.lang.String getQuery() { java.lang.Object ref = query_; 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(); query_ = s; return s; } } /** *
     * The query in JSON format.
     * 
* * string query = 2; * @return The bytes for query. */ @java.lang.Override public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); query_ = 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_QueryStateRequest_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 state store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata which will be sent to state store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, query_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, query_); } 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.QueryStateRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.QueryStateRequest other = (io.dapr.v1.DaprProtos.QueryStateRequest) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getQuery() .equals(other.getQuery())) 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) + QUERY_FIELD_NUMBER; hash = (53 * hash) + getQuery().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.QueryStateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.QueryStateRequest 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.QueryStateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.QueryStateRequest 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.QueryStateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.QueryStateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.QueryStateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.QueryStateRequest 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.QueryStateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.QueryStateRequest 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.QueryStateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.QueryStateRequest 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.QueryStateRequest 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; } /** *
     * QueryStateRequest is the message to query state store.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.QueryStateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.QueryStateRequest) io.dapr.v1.DaprProtos.QueryStateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_QueryStateRequest_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_QueryStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.QueryStateRequest.class, io.dapr.v1.DaprProtos.QueryStateRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.QueryStateRequest.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_ = ""; query_ = ""; 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_QueryStateRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.QueryStateRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.QueryStateRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.QueryStateRequest build() { io.dapr.v1.DaprProtos.QueryStateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.QueryStateRequest buildPartial() { io.dapr.v1.DaprProtos.QueryStateRequest result = new io.dapr.v1.DaprProtos.QueryStateRequest(this); int from_bitField0_ = bitField0_; result.storeName_ = storeName_; result.query_ = query_; 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.QueryStateRequest) { return mergeFrom((io.dapr.v1.DaprProtos.QueryStateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.QueryStateRequest other) { if (other == io.dapr.v1.DaprProtos.QueryStateRequest.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; onChanged(); } if (!other.getQuery().isEmpty()) { query_ = other.query_; 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.QueryStateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.QueryStateRequest) 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 [json_name = "storeName"]; * @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 [json_name = "storeName"]; * @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 [json_name = "storeName"]; * @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 [json_name = "storeName"]; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * The name of state store.
       * 
* * string store_name = 1 [json_name = "storeName"]; * @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 query_ = ""; /** *
       * The query in JSON format.
       * 
* * string query = 2; * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The query in JSON format.
       * 
* * string query = 2; * @return The bytes for query. */ public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); query_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The query in JSON format.
       * 
* * string query = 2; * @param value The query to set. * @return This builder for chaining. */ public Builder setQuery( java.lang.String value) { if (value == null) { throw new NullPointerException(); } query_ = value; onChanged(); return this; } /** *
       * The query in JSON format.
       * 
* * string query = 2; * @return This builder for chaining. */ public Builder clearQuery() { query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** *
       * The query in JSON format.
       * 
* * string query = 2; * @param value The bytes for query to set. * @return This builder for chaining. */ public Builder setQueryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); query_ = 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 state store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 3; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata which will be sent to state store components.
       * 
* * map<string, string> metadata = 3; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata which will be sent to state 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.QueryStateRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.QueryStateRequest) private static final io.dapr.v1.DaprProtos.QueryStateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.QueryStateRequest(); } public static io.dapr.v1.DaprProtos.QueryStateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryStateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryStateRequest(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.QueryStateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryStateItemOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.QueryStateItem) com.google.protobuf.MessageOrBuilder { /** *
     * The object key.
     * 
* * string key = 1; * @return The key. */ java.lang.String getKey(); /** *
     * The object key.
     * 
* * string key = 1; * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** *
     * The object value.
     * 
* * bytes data = 2; * @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 = 3; * @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 = 3; * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); /** *
     * The error message indicating an error in processing of the query result.
     * 
* * string error = 4; * @return The error. */ java.lang.String getError(); /** *
     * The error message indicating an error in processing of the query result.
     * 
* * string error = 4; * @return The bytes for error. */ com.google.protobuf.ByteString getErrorBytes(); } /** * Protobuf type {@code dapr.proto.runtime.v1.QueryStateItem} */ public static final class QueryStateItem extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.QueryStateItem) QueryStateItemOrBuilder { private static final long serialVersionUID = 0L; // Use QueryStateItem.newBuilder() to construct. private QueryStateItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryStateItem() { key_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; etag_ = ""; error_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryStateItem(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryStateItem( 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(); key_ = s; break; } case 18: { data_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); etag_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); error_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_QueryStateItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_QueryStateItem_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.QueryStateItem.class, io.dapr.v1.DaprProtos.QueryStateItem.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** *
     * The object key.
     * 
* * string key = 1; * @return The key. */ @java.lang.Override 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 object key.
     * 
* * string key = 1; * @return The bytes for key. */ @java.lang.Override 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 DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** *
     * The object value.
     * 
* * bytes data = 2; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } public static final int ETAG_FIELD_NUMBER = 3; 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 = 3; * @return The etag. */ @java.lang.Override 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 = 3; * @return The bytes for etag. */ @java.lang.Override 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 ERROR_FIELD_NUMBER = 4; private volatile java.lang.Object error_; /** *
     * The error message indicating an error in processing of the query result.
     * 
* * string error = 4; * @return The error. */ @java.lang.Override public java.lang.String getError() { java.lang.Object ref = error_; 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(); error_ = s; return s; } } /** *
     * The error message indicating an error in processing of the query result.
     * 
* * string error = 4; * @return The bytes for error. */ @java.lang.Override public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); error_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } if (!data_.isEmpty()) { output.writeBytes(2, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, etag_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, error_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, error_); } 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.QueryStateItem)) { return super.equals(obj); } io.dapr.v1.DaprProtos.QueryStateItem other = (io.dapr.v1.DaprProtos.QueryStateItem) obj; if (!getKey() .equals(other.getKey())) return false; if (!getData() .equals(other.getData())) return false; if (!getEtag() .equals(other.getEtag())) return false; if (!getError() .equals(other.getError())) 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) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.QueryStateItem parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.QueryStateItem 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.QueryStateItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.QueryStateItem 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.QueryStateItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.QueryStateItem parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.QueryStateItem parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.QueryStateItem 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.QueryStateItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.QueryStateItem 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.QueryStateItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.QueryStateItem 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.QueryStateItem prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.QueryStateItem} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.QueryStateItem) io.dapr.v1.DaprProtos.QueryStateItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_QueryStateItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_QueryStateItem_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.QueryStateItem.class, io.dapr.v1.DaprProtos.QueryStateItem.Builder.class); } // Construct using io.dapr.v1.DaprProtos.QueryStateItem.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(); key_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; etag_ = ""; error_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_QueryStateItem_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.QueryStateItem getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.QueryStateItem.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.QueryStateItem build() { io.dapr.v1.DaprProtos.QueryStateItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.QueryStateItem buildPartial() { io.dapr.v1.DaprProtos.QueryStateItem result = new io.dapr.v1.DaprProtos.QueryStateItem(this); result.key_ = key_; result.data_ = data_; result.etag_ = etag_; result.error_ = error_; 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.QueryStateItem) { return mergeFrom((io.dapr.v1.DaprProtos.QueryStateItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.QueryStateItem other) { if (other == io.dapr.v1.DaprProtos.QueryStateItem.getDefaultInstance()) return this; if (!other.getKey().isEmpty()) { key_ = other.key_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (!other.getEtag().isEmpty()) { etag_ = other.etag_; onChanged(); } if (!other.getError().isEmpty()) { error_ = other.error_; 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.QueryStateItem parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.QueryStateItem) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object key_ = ""; /** *
       * The object key.
       * 
* * string key = 1; * @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 object key.
       * 
* * string key = 1; * @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 object key.
       * 
* * string key = 1; * @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 object key.
       * 
* * string key = 1; * @return This builder for chaining. */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** *
       * The object key.
       * 
* * string key = 1; * @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.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The object value.
       * 
* * bytes data = 2; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** *
       * The object value.
       * 
* * 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 object value.
       * 
* * bytes data = 2; * @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 = 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.
       * 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.
       * 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.
       * 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.
       * 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 java.lang.Object error_ = ""; /** *
       * The error message indicating an error in processing of the query result.
       * 
* * string error = 4; * @return The error. */ public java.lang.String getError() { java.lang.Object ref = error_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); error_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The error message indicating an error in processing of the query result.
       * 
* * string error = 4; * @return The bytes for error. */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); error_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The error message indicating an error in processing of the query result.
       * 
* * string error = 4; * @param value The error to set. * @return This builder for chaining. */ public Builder setError( java.lang.String value) { if (value == null) { throw new NullPointerException(); } error_ = value; onChanged(); return this; } /** *
       * The error message indicating an error in processing of the query result.
       * 
* * string error = 4; * @return This builder for chaining. */ public Builder clearError() { error_ = getDefaultInstance().getError(); onChanged(); return this; } /** *
       * The error message indicating an error in processing of the query result.
       * 
* * string error = 4; * @param value The bytes for error to set. * @return This builder for chaining. */ public Builder setErrorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); error_ = 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.QueryStateItem) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.QueryStateItem) private static final io.dapr.v1.DaprProtos.QueryStateItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.QueryStateItem(); } public static io.dapr.v1.DaprProtos.QueryStateItem getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryStateItem parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryStateItem(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.QueryStateItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryStateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.QueryStateResponse) com.google.protobuf.MessageOrBuilder { /** *
     * An array of query results.
     * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ java.util.List getResultsList(); /** *
     * An array of query results.
     * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ io.dapr.v1.DaprProtos.QueryStateItem getResults(int index); /** *
     * An array of query results.
     * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ int getResultsCount(); /** *
     * An array of query results.
     * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ java.util.List getResultsOrBuilderList(); /** *
     * An array of query results.
     * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ io.dapr.v1.DaprProtos.QueryStateItemOrBuilder getResultsOrBuilder( int index); /** *
     * Pagination token.
     * 
* * string token = 2; * @return The token. */ java.lang.String getToken(); /** *
     * Pagination token.
     * 
* * string token = 2; * @return The bytes for token. */ com.google.protobuf.ByteString getTokenBytes(); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * The metadata which will be sent to app.
     * 
* * 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 app.
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 3; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * QueryStateResponse is the response conveying the query results.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.QueryStateResponse} */ public static final class QueryStateResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.QueryStateResponse) QueryStateResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryStateResponse.newBuilder() to construct. private QueryStateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryStateResponse() { results_ = java.util.Collections.emptyList(); token_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryStateResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryStateResponse( 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)) { results_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } results_.add( input.readMessage(io.dapr.v1.DaprProtos.QueryStateItem.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); token_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); } 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_QueryStateResponse_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_QueryStateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.QueryStateResponse.class, io.dapr.v1.DaprProtos.QueryStateResponse.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; private java.util.List results_; /** *
     * An array of query results.
     * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ @java.lang.Override public java.util.List getResultsList() { return results_; } /** *
     * An array of query results.
     * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ @java.lang.Override public java.util.List getResultsOrBuilderList() { return results_; } /** *
     * An array of query results.
     * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ @java.lang.Override public int getResultsCount() { return results_.size(); } /** *
     * An array of query results.
     * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.QueryStateItem getResults(int index) { return results_.get(index); } /** *
     * An array of query results.
     * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.QueryStateItemOrBuilder getResultsOrBuilder( int index) { return results_.get(index); } public static final int TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object token_; /** *
     * Pagination token.
     * 
* * string token = 2; * @return The token. */ @java.lang.Override public java.lang.String getToken() { java.lang.Object ref = token_; 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(); token_ = s; return s; } } /** *
     * Pagination token.
     * 
* * string token = 2; * @return The bytes for token. */ @java.lang.Override public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); token_ = 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_QueryStateResponse_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 app.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); } 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; for (int i = 0; i < results_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); } 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.QueryStateResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.QueryStateResponse other = (io.dapr.v1.DaprProtos.QueryStateResponse) obj; if (!getResultsList() .equals(other.getResultsList())) return false; if (!getToken() .equals(other.getToken())) 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(); if (getResultsCount() > 0) { hash = (37 * hash) + RESULTS_FIELD_NUMBER; hash = (53 * hash) + getResultsList().hashCode(); } hash = (37 * hash) + TOKEN_FIELD_NUMBER; hash = (53 * hash) + getToken().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.QueryStateResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.QueryStateResponse 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.QueryStateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.QueryStateResponse 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.QueryStateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.QueryStateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.QueryStateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.QueryStateResponse 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.QueryStateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.QueryStateResponse 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.QueryStateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.QueryStateResponse 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.QueryStateResponse 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; } /** *
     * QueryStateResponse is the response conveying the query results.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.QueryStateResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.QueryStateResponse) io.dapr.v1.DaprProtos.QueryStateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_QueryStateResponse_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_QueryStateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.QueryStateResponse.class, io.dapr.v1.DaprProtos.QueryStateResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.QueryStateResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getResultsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (resultsBuilder_ == null) { results_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { resultsBuilder_.clear(); } token_ = ""; 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_QueryStateResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.QueryStateResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.QueryStateResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.QueryStateResponse build() { io.dapr.v1.DaprProtos.QueryStateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.QueryStateResponse buildPartial() { io.dapr.v1.DaprProtos.QueryStateResponse result = new io.dapr.v1.DaprProtos.QueryStateResponse(this); int from_bitField0_ = bitField0_; if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { results_ = java.util.Collections.unmodifiableList(results_); bitField0_ = (bitField0_ & ~0x00000001); } result.results_ = results_; } else { result.results_ = resultsBuilder_.build(); } result.token_ = token_; 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.QueryStateResponse) { return mergeFrom((io.dapr.v1.DaprProtos.QueryStateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.QueryStateResponse other) { if (other == io.dapr.v1.DaprProtos.QueryStateResponse.getDefaultInstance()) return this; if (resultsBuilder_ == null) { if (!other.results_.isEmpty()) { if (results_.isEmpty()) { results_ = other.results_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureResultsIsMutable(); results_.addAll(other.results_); } onChanged(); } } else { if (!other.results_.isEmpty()) { if (resultsBuilder_.isEmpty()) { resultsBuilder_.dispose(); resultsBuilder_ = null; results_ = other.results_; bitField0_ = (bitField0_ & ~0x00000001); resultsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getResultsFieldBuilder() : null; } else { resultsBuilder_.addAllMessages(other.results_); } } } if (!other.getToken().isEmpty()) { token_ = other.token_; 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.QueryStateResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.QueryStateResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List results_ = java.util.Collections.emptyList(); private void ensureResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { results_ = new java.util.ArrayList(results_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.QueryStateItem, io.dapr.v1.DaprProtos.QueryStateItem.Builder, io.dapr.v1.DaprProtos.QueryStateItemOrBuilder> resultsBuilder_; /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public java.util.List getResultsList() { if (resultsBuilder_ == null) { return java.util.Collections.unmodifiableList(results_); } else { return resultsBuilder_.getMessageList(); } } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public int getResultsCount() { if (resultsBuilder_ == null) { return results_.size(); } else { return resultsBuilder_.getCount(); } } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public io.dapr.v1.DaprProtos.QueryStateItem getResults(int index) { if (resultsBuilder_ == null) { return results_.get(index); } else { return resultsBuilder_.getMessage(index); } } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public Builder setResults( int index, io.dapr.v1.DaprProtos.QueryStateItem value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.set(index, value); onChanged(); } else { resultsBuilder_.setMessage(index, value); } return this; } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public Builder setResults( int index, io.dapr.v1.DaprProtos.QueryStateItem.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.set(index, builderForValue.build()); onChanged(); } else { resultsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public Builder addResults(io.dapr.v1.DaprProtos.QueryStateItem value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.add(value); onChanged(); } else { resultsBuilder_.addMessage(value); } return this; } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public Builder addResults( int index, io.dapr.v1.DaprProtos.QueryStateItem value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.add(index, value); onChanged(); } else { resultsBuilder_.addMessage(index, value); } return this; } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public Builder addResults( io.dapr.v1.DaprProtos.QueryStateItem.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(builderForValue.build()); onChanged(); } else { resultsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public Builder addResults( int index, io.dapr.v1.DaprProtos.QueryStateItem.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(index, builderForValue.build()); onChanged(); } else { resultsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public Builder addAllResults( java.lang.Iterable values) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, results_); onChanged(); } else { resultsBuilder_.addAllMessages(values); } return this; } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public Builder clearResults() { if (resultsBuilder_ == null) { results_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { resultsBuilder_.clear(); } return this; } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public Builder removeResults(int index) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.remove(index); onChanged(); } else { resultsBuilder_.remove(index); } return this; } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public io.dapr.v1.DaprProtos.QueryStateItem.Builder getResultsBuilder( int index) { return getResultsFieldBuilder().getBuilder(index); } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public io.dapr.v1.DaprProtos.QueryStateItemOrBuilder getResultsOrBuilder( int index) { if (resultsBuilder_ == null) { return results_.get(index); } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public java.util.List getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(results_); } } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public io.dapr.v1.DaprProtos.QueryStateItem.Builder addResultsBuilder() { return getResultsFieldBuilder().addBuilder( io.dapr.v1.DaprProtos.QueryStateItem.getDefaultInstance()); } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public io.dapr.v1.DaprProtos.QueryStateItem.Builder addResultsBuilder( int index) { return getResultsFieldBuilder().addBuilder( index, io.dapr.v1.DaprProtos.QueryStateItem.getDefaultInstance()); } /** *
       * An array of query results.
       * 
* * repeated .dapr.proto.runtime.v1.QueryStateItem results = 1; */ public java.util.List getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.QueryStateItem, io.dapr.v1.DaprProtos.QueryStateItem.Builder, io.dapr.v1.DaprProtos.QueryStateItemOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.QueryStateItem, io.dapr.v1.DaprProtos.QueryStateItem.Builder, io.dapr.v1.DaprProtos.QueryStateItemOrBuilder>( results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); results_ = null; } return resultsBuilder_; } private java.lang.Object token_ = ""; /** *
       * Pagination token.
       * 
* * string token = 2; * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Pagination token.
       * 
* * string token = 2; * @return The bytes for token. */ public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); token_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Pagination token.
       * 
* * string token = 2; * @param value The token to set. * @return This builder for chaining. */ public Builder setToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } token_ = value; onChanged(); return this; } /** *
       * Pagination token.
       * 
* * string token = 2; * @return This builder for chaining. */ public Builder clearToken() { token_ = getDefaultInstance().getToken(); onChanged(); return this; } /** *
       * Pagination token.
       * 
* * string token = 2; * @param value The bytes for token to set. * @return This builder for chaining. */ public Builder setTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); token_ = 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 app.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 3; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 3; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata which will be sent to app.
       * 
* * 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.QueryStateResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.QueryStateResponse) private static final io.dapr.v1.DaprProtos.QueryStateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.QueryStateResponse(); } public static io.dapr.v1.DaprProtos.QueryStateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryStateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryStateResponse(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.QueryStateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PublishEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.PublishEventRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of the pubsub component
     * 
* * string pubsub_name = 1; * @return The pubsubName. */ java.lang.String getPubsubName(); /** *
     * The name of the pubsub component
     * 
* * string pubsub_name = 1; * @return The bytes for pubsubName. */ com.google.protobuf.ByteString getPubsubNameBytes(); /** *
     * The pubsub topic
     * 
* * string topic = 2; * @return The topic. */ java.lang.String getTopic(); /** *
     * The pubsub topic
     * 
* * string topic = 2; * @return The bytes for topic. */ com.google.protobuf.ByteString getTopicBytes(); /** *
     * The data which will be published to topic.
     * 
* * bytes data = 3; * @return The data. */ com.google.protobuf.ByteString getData(); /** *
     * The content type for the data (optional).
     * 
* * string data_content_type = 4; * @return The dataContentType. */ java.lang.String getDataContentType(); /** *
     * The content type for the data (optional).
     * 
* * string data_content_type = 4; * @return The bytes for dataContentType. */ com.google.protobuf.ByteString getDataContentTypeBytes(); /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 5; */ int getMetadataCount(); /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 5; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 5; */ java.util.Map getMetadataMap(); /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 5; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 5; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * 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() { pubsubName_ = ""; topic_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; dataContentType_ = ""; } @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(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); pubsubName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); topic_ = s; break; } case 26: { data_ = input.readBytes(); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); dataContentType_ = s; break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PublishEventRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.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 PUBSUB_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object pubsubName_; /** *
     * The name of the pubsub component
     * 
* * string pubsub_name = 1; * @return The pubsubName. */ @java.lang.Override public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pubsubName_ = s; return s; } } /** *
     * The name of the pubsub component
     * 
* * string pubsub_name = 1; * @return The bytes for pubsubName. */ @java.lang.Override public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOPIC_FIELD_NUMBER = 2; private volatile java.lang.Object topic_; /** *
     * The pubsub topic
     * 
* * string topic = 2; * @return The topic. */ @java.lang.Override public java.lang.String getTopic() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** *
     * The pubsub topic
     * 
* * string topic = 2; * @return The bytes for topic. */ @java.lang.Override public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_FIELD_NUMBER = 3; private com.google.protobuf.ByteString data_; /** *
     * The data which will be published to topic.
     * 
* * bytes data = 3; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } public static final int DATA_CONTENT_TYPE_FIELD_NUMBER = 4; private volatile java.lang.Object dataContentType_; /** *
     * The content type for the data (optional).
     * 
* * string data_content_type = 4; * @return The dataContentType. */ @java.lang.Override public java.lang.String getDataContentType() { java.lang.Object ref = dataContentType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataContentType_ = s; return s; } } /** *
     * The content type for the data (optional).
     * 
* * string data_content_type = 4; * @return The bytes for dataContentType. */ @java.lang.Override public com.google.protobuf.ByteString getDataContentTypeBytes() { java.lang.Object ref = dataContentType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataContentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METADATA_FIELD_NUMBER = 5; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PublishEventRequest_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 pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, topic_); } if (!data_.isEmpty()) { output.writeBytes(3, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataContentType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dataContentType_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 5); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataContentType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, dataContentType_); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, metadata__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprProtos.PublishEventRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.PublishEventRequest other = (io.dapr.v1.DaprProtos.PublishEventRequest) obj; if (!getPubsubName() .equals(other.getPubsubName())) return false; if (!getTopic() .equals(other.getTopic())) return false; if (!getData() .equals(other.getData())) return false; if (!getDataContentType() .equals(other.getDataContentType())) return false; if (!internalGetMetadata().equals( other.internalGetMetadata())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PUBSUB_NAME_FIELD_NUMBER; hash = (53 * hash) + getPubsubName().hashCode(); hash = (37 * hash) + TOPIC_FIELD_NUMBER; hash = (53 * hash) + getTopic().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + DATA_CONTENT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getDataContentType().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.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; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 5: return internalGetMutableMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.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(); pubsubName_ = ""; topic_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; dataContentType_ = ""; 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_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); int from_bitField0_ = bitField0_; result.pubsubName_ = pubsubName_; result.topic_ = topic_; result.data_ = data_; result.dataContentType_ = dataContentType_; 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.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.getPubsubName().isEmpty()) { pubsubName_ = other.pubsubName_; onChanged(); } if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (!other.getDataContentType().isEmpty()) { dataContentType_ = other.dataContentType_; 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.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 int bitField0_; private java.lang.Object pubsubName_ = ""; /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @return The pubsubName. */ public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pubsubName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @return The bytes for pubsubName. */ public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @param value The pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pubsubName_ = value; onChanged(); return this; } /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @return This builder for chaining. */ public Builder clearPubsubName() { pubsubName_ = getDefaultInstance().getPubsubName(); onChanged(); return this; } /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @param value The bytes for pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pubsubName_ = value; onChanged(); return this; } private java.lang.Object topic_ = ""; /** *
       * The pubsub topic
       * 
* * string topic = 2; * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The pubsub topic
       * 
* * string topic = 2; * @return The bytes for topic. */ public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The pubsub topic
       * 
* * string topic = 2; * @param value The topic to set. * @return This builder for chaining. */ public Builder setTopic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } topic_ = value; onChanged(); return this; } /** *
       * The pubsub topic
       * 
* * string topic = 2; * @return This builder for chaining. */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** *
       * The pubsub topic
       * 
* * string topic = 2; * @param value The bytes for topic to set. * @return This builder for chaining. */ public Builder setTopicBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); topic_ = value; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The data which will be published to topic.
       * 
* * bytes data = 3; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** *
       * The data which will be published to topic.
       * 
* * bytes data = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private java.lang.Object dataContentType_ = ""; /** *
       * The content type for the data (optional).
       * 
* * string data_content_type = 4; * @return The dataContentType. */ public java.lang.String getDataContentType() { java.lang.Object ref = dataContentType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataContentType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The content type for the data (optional).
       * 
* * string data_content_type = 4; * @return The bytes for dataContentType. */ public com.google.protobuf.ByteString getDataContentTypeBytes() { java.lang.Object ref = dataContentType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataContentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The content type for the data (optional).
       * 
* * string data_content_type = 4; * @param value The dataContentType to set. * @return This builder for chaining. */ public Builder setDataContentType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dataContentType_ = value; onChanged(); return this; } /** *
       * The content type for the data (optional).
       * 
* * string data_content_type = 4; * @return This builder for chaining. */ public Builder clearDataContentType() { dataContentType_ = getDefaultInstance().getDataContentType(); onChanged(); return this; } /** *
       * The content type for the data (optional).
       * 
* * string data_content_type = 4; * @param value The bytes for dataContentType to set. * @return This builder for chaining. */ public Builder setDataContentTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataContentType_ = value; onChanged(); return this; } private com.google.protobuf.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 pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 5; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 5; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 5; */ public Builder putAllMetadata( java.util.Map values) { internalGetMutableMetadata().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.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 BulkPublishRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.BulkPublishRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of the pubsub component
     * 
* * string pubsub_name = 1; * @return The pubsubName. */ java.lang.String getPubsubName(); /** *
     * The name of the pubsub component
     * 
* * string pubsub_name = 1; * @return The bytes for pubsubName. */ com.google.protobuf.ByteString getPubsubNameBytes(); /** *
     * The pubsub topic
     * 
* * string topic = 2; * @return The topic. */ java.lang.String getTopic(); /** *
     * The pubsub topic
     * 
* * string topic = 2; * @return The bytes for topic. */ com.google.protobuf.ByteString getTopicBytes(); /** *
     * The entries which contain the individual events and associated details to be published
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ java.util.List getEntriesList(); /** *
     * The entries which contain the individual events and associated details to be published
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ io.dapr.v1.DaprProtos.BulkPublishRequestEntry getEntries(int index); /** *
     * The entries which contain the individual events and associated details to be published
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ int getEntriesCount(); /** *
     * The entries which contain the individual events and associated details to be published
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ java.util.List getEntriesOrBuilderList(); /** *
     * The entries which contain the individual events and associated details to be published
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ io.dapr.v1.DaprProtos.BulkPublishRequestEntryOrBuilder getEntriesOrBuilder( int index); /** *
     * The request level metadata passing to to the pubsub components
     * 
* * map<string, string> metadata = 4; */ int getMetadataCount(); /** *
     * The request level metadata passing to to the pubsub components
     * 
* * map<string, string> metadata = 4; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The request level metadata passing to to the pubsub components
     * 
* * map<string, string> metadata = 4; */ java.util.Map getMetadataMap(); /** *
     * The request level metadata passing to to the pubsub components
     * 
* * map<string, string> metadata = 4; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The request level metadata passing to to the pubsub components
     * 
* * map<string, string> metadata = 4; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * BulkPublishRequest is the message to bulk publish events to pubsub topic
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.BulkPublishRequest} */ public static final class BulkPublishRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.BulkPublishRequest) BulkPublishRequestOrBuilder { private static final long serialVersionUID = 0L; // Use BulkPublishRequest.newBuilder() to construct. private BulkPublishRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BulkPublishRequest() { pubsubName_ = ""; topic_ = ""; entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BulkPublishRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkPublishRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); pubsubName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); topic_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { entries_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } entries_.add( input.readMessage(io.dapr.v1.DaprProtos.BulkPublishRequestEntry.parser(), extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { entries_ = java.util.Collections.unmodifiableList(entries_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: 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_BulkPublishRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.BulkPublishRequest.class, io.dapr.v1.DaprProtos.BulkPublishRequest.Builder.class); } public static final int PUBSUB_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object pubsubName_; /** *
     * The name of the pubsub component
     * 
* * string pubsub_name = 1; * @return The pubsubName. */ @java.lang.Override public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pubsubName_ = s; return s; } } /** *
     * The name of the pubsub component
     * 
* * string pubsub_name = 1; * @return The bytes for pubsubName. */ @java.lang.Override public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOPIC_FIELD_NUMBER = 2; private volatile java.lang.Object topic_; /** *
     * The pubsub topic
     * 
* * string topic = 2; * @return The topic. */ @java.lang.Override public java.lang.String getTopic() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** *
     * The pubsub topic
     * 
* * string topic = 2; * @return The bytes for topic. */ @java.lang.Override public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENTRIES_FIELD_NUMBER = 3; private java.util.List entries_; /** *
     * The entries which contain the individual events and associated details to be published
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ @java.lang.Override public java.util.List getEntriesList() { return entries_; } /** *
     * The entries which contain the individual events and associated details to be published
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ @java.lang.Override public java.util.List getEntriesOrBuilderList() { return entries_; } /** *
     * The entries which contain the individual events and associated details to be published
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ @java.lang.Override public int getEntriesCount() { return entries_.size(); } /** *
     * The entries which contain the individual events and associated details to be published
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishRequestEntry getEntries(int index) { return entries_.get(index); } /** *
     * The entries which contain the individual events and associated details to be published
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishRequestEntryOrBuilder getEntriesOrBuilder( int index) { return entries_.get(index); } public static final int METADATA_FIELD_NUMBER = 4; 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_BulkPublishRequest_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 request level metadata passing to to the pubsub components
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The request level metadata passing to to the pubsub components
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The request level metadata passing to to the pubsub components
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The request level metadata passing to to the pubsub components
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, topic_); } for (int i = 0; i < entries_.size(); i++) { output.writeMessage(3, entries_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_); } for (int i = 0; i < entries_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, entries_.get(i)); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, 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.BulkPublishRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.BulkPublishRequest other = (io.dapr.v1.DaprProtos.BulkPublishRequest) obj; if (!getPubsubName() .equals(other.getPubsubName())) return false; if (!getTopic() .equals(other.getTopic())) return false; if (!getEntriesList() .equals(other.getEntriesList())) return false; if (!internalGetMetadata().equals( other.internalGetMetadata())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PUBSUB_NAME_FIELD_NUMBER; hash = (53 * hash) + getPubsubName().hashCode(); hash = (37 * hash) + TOPIC_FIELD_NUMBER; hash = (53 * hash) + getTopic().hashCode(); if (getEntriesCount() > 0) { hash = (37 * hash) + ENTRIES_FIELD_NUMBER; hash = (53 * hash) + getEntriesList().hashCode(); } if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.BulkPublishRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkPublishRequest 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.BulkPublishRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkPublishRequest 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.BulkPublishRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkPublishRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.BulkPublishRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkPublishRequest 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.BulkPublishRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkPublishRequest 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.BulkPublishRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkPublishRequest 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.BulkPublishRequest 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; } /** *
     * BulkPublishRequest is the message to bulk publish events to pubsub topic
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.BulkPublishRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.BulkPublishRequest) io.dapr.v1.DaprProtos.BulkPublishRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: 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_BulkPublishRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.BulkPublishRequest.class, io.dapr.v1.DaprProtos.BulkPublishRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.BulkPublishRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getEntriesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); pubsubName_ = ""; topic_ = ""; if (entriesBuilder_ == null) { entries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { entriesBuilder_.clear(); } 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_BulkPublishRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.BulkPublishRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishRequest build() { io.dapr.v1.DaprProtos.BulkPublishRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishRequest buildPartial() { io.dapr.v1.DaprProtos.BulkPublishRequest result = new io.dapr.v1.DaprProtos.BulkPublishRequest(this); int from_bitField0_ = bitField0_; result.pubsubName_ = pubsubName_; result.topic_ = topic_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { entries_ = java.util.Collections.unmodifiableList(entries_); bitField0_ = (bitField0_ & ~0x00000001); } result.entries_ = entries_; } else { result.entries_ = entriesBuilder_.build(); } result.metadata_ = internalGetMetadata(); result.metadata_.makeImmutable(); 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.BulkPublishRequest) { return mergeFrom((io.dapr.v1.DaprProtos.BulkPublishRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.BulkPublishRequest other) { if (other == io.dapr.v1.DaprProtos.BulkPublishRequest.getDefaultInstance()) return this; if (!other.getPubsubName().isEmpty()) { pubsubName_ = other.pubsubName_; onChanged(); } if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); } if (entriesBuilder_ == null) { if (!other.entries_.isEmpty()) { if (entries_.isEmpty()) { entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntriesIsMutable(); entries_.addAll(other.entries_); } onChanged(); } } else { if (!other.entries_.isEmpty()) { if (entriesBuilder_.isEmpty()) { entriesBuilder_.dispose(); entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); entriesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } } } internalGetMutableMetadata().mergeFrom( other.internalGetMetadata()); 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.BulkPublishRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.BulkPublishRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object pubsubName_ = ""; /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @return The pubsubName. */ public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pubsubName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @return The bytes for pubsubName. */ public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @param value The pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pubsubName_ = value; onChanged(); return this; } /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @return This builder for chaining. */ public Builder clearPubsubName() { pubsubName_ = getDefaultInstance().getPubsubName(); onChanged(); return this; } /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @param value The bytes for pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pubsubName_ = value; onChanged(); return this; } private java.lang.Object topic_ = ""; /** *
       * The pubsub topic
       * 
* * string topic = 2; * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The pubsub topic
       * 
* * string topic = 2; * @return The bytes for topic. */ public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The pubsub topic
       * 
* * string topic = 2; * @param value The topic to set. * @return This builder for chaining. */ public Builder setTopic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } topic_ = value; onChanged(); return this; } /** *
       * The pubsub topic
       * 
* * string topic = 2; * @return This builder for chaining. */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** *
       * The pubsub topic
       * 
* * string topic = 2; * @param value The bytes for topic to set. * @return This builder for chaining. */ public Builder setTopicBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); topic_ = value; onChanged(); return this; } private java.util.List entries_ = java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.BulkPublishRequestEntry, io.dapr.v1.DaprProtos.BulkPublishRequestEntry.Builder, io.dapr.v1.DaprProtos.BulkPublishRequestEntryOrBuilder> entriesBuilder_; /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public java.util.List getEntriesList() { if (entriesBuilder_ == null) { return java.util.Collections.unmodifiableList(entries_); } else { return entriesBuilder_.getMessageList(); } } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public int getEntriesCount() { if (entriesBuilder_ == null) { return entries_.size(); } else { return entriesBuilder_.getCount(); } } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public io.dapr.v1.DaprProtos.BulkPublishRequestEntry getEntries(int index) { if (entriesBuilder_ == null) { return entries_.get(index); } else { return entriesBuilder_.getMessage(index); } } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public Builder setEntries( int index, io.dapr.v1.DaprProtos.BulkPublishRequestEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntriesIsMutable(); entries_.set(index, value); onChanged(); } else { entriesBuilder_.setMessage(index, value); } return this; } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public Builder setEntries( int index, io.dapr.v1.DaprProtos.BulkPublishRequestEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.set(index, builderForValue.build()); onChanged(); } else { entriesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public Builder addEntries(io.dapr.v1.DaprProtos.BulkPublishRequestEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntriesIsMutable(); entries_.add(value); onChanged(); } else { entriesBuilder_.addMessage(value); } return this; } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public Builder addEntries( int index, io.dapr.v1.DaprProtos.BulkPublishRequestEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntriesIsMutable(); entries_.add(index, value); onChanged(); } else { entriesBuilder_.addMessage(index, value); } return this; } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public Builder addEntries( io.dapr.v1.DaprProtos.BulkPublishRequestEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); onChanged(); } else { entriesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public Builder addEntries( int index, io.dapr.v1.DaprProtos.BulkPublishRequestEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(index, builderForValue.build()); onChanged(); } else { entriesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); } return this; } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public Builder clearEntries() { if (entriesBuilder_ == null) { entries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entriesBuilder_.clear(); } return this; } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public Builder removeEntries(int index) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.remove(index); onChanged(); } else { entriesBuilder_.remove(index); } return this; } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public io.dapr.v1.DaprProtos.BulkPublishRequestEntry.Builder getEntriesBuilder( int index) { return getEntriesFieldBuilder().getBuilder(index); } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public io.dapr.v1.DaprProtos.BulkPublishRequestEntryOrBuilder getEntriesOrBuilder( int index) { if (entriesBuilder_ == null) { return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public java.util.List getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entries_); } } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public io.dapr.v1.DaprProtos.BulkPublishRequestEntry.Builder addEntriesBuilder() { return getEntriesFieldBuilder().addBuilder( io.dapr.v1.DaprProtos.BulkPublishRequestEntry.getDefaultInstance()); } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public io.dapr.v1.DaprProtos.BulkPublishRequestEntry.Builder addEntriesBuilder( int index) { return getEntriesFieldBuilder().addBuilder( index, io.dapr.v1.DaprProtos.BulkPublishRequestEntry.getDefaultInstance()); } /** *
       * The entries which contain the individual events and associated details to be published
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishRequestEntry entries = 3; */ public java.util.List getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.BulkPublishRequestEntry, io.dapr.v1.DaprProtos.BulkPublishRequestEntry.Builder, io.dapr.v1.DaprProtos.BulkPublishRequestEntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.BulkPublishRequestEntry, io.dapr.v1.DaprProtos.BulkPublishRequestEntry.Builder, io.dapr.v1.DaprProtos.BulkPublishRequestEntryOrBuilder>( entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entries_ = null; } return entriesBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } private com.google.protobuf.MapField internalGetMutableMetadata() { onChanged();; if (metadata_ == null) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** *
       * The request level metadata passing to to the pubsub components
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The request level metadata passing to to the pubsub components
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The request level metadata passing to to the pubsub components
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The request level metadata passing to to the pubsub components
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The request level metadata passing to to the pubsub components
       * 
* * map<string, string> metadata = 4; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The request level metadata passing to to the pubsub components
       * 
* * map<string, string> metadata = 4; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The request level metadata passing to to the pubsub components
       * 
* * map<string, string> metadata = 4; */ 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.BulkPublishRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.BulkPublishRequest) private static final io.dapr.v1.DaprProtos.BulkPublishRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.BulkPublishRequest(); } public static io.dapr.v1.DaprProtos.BulkPublishRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BulkPublishRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkPublishRequest(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.BulkPublishRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BulkPublishRequestEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.BulkPublishRequestEntry) com.google.protobuf.MessageOrBuilder { /** *
     * The request scoped unique ID referring to this message. Used to map status in response
     * 
* * string entry_id = 1; * @return The entryId. */ java.lang.String getEntryId(); /** *
     * The request scoped unique ID referring to this message. Used to map status in response
     * 
* * string entry_id = 1; * @return The bytes for entryId. */ com.google.protobuf.ByteString getEntryIdBytes(); /** *
     * The event which will be pulished to the topic
     * 
* * bytes event = 2; * @return The event. */ com.google.protobuf.ByteString getEvent(); /** *
     * The content type for the event
     * 
* * string content_type = 3; * @return The contentType. */ java.lang.String getContentType(); /** *
     * The content type for the event
     * 
* * string content_type = 3; * @return The bytes for contentType. */ com.google.protobuf.ByteString getContentTypeBytes(); /** *
     * The event level metadata passing to the pubsub component
     * 
* * map<string, string> metadata = 4; */ int getMetadataCount(); /** *
     * The event level metadata passing to the pubsub component
     * 
* * map<string, string> metadata = 4; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The event level metadata passing to the pubsub component
     * 
* * map<string, string> metadata = 4; */ java.util.Map getMetadataMap(); /** *
     * The event level metadata passing to the pubsub component
     * 
* * map<string, string> metadata = 4; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The event level metadata passing to the pubsub component
     * 
* * map<string, string> metadata = 4; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * BulkPublishRequestEntry is the message containing the event to be bulk published
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.BulkPublishRequestEntry} */ public static final class BulkPublishRequestEntry extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.BulkPublishRequestEntry) BulkPublishRequestEntryOrBuilder { private static final long serialVersionUID = 0L; // Use BulkPublishRequestEntry.newBuilder() to construct. private BulkPublishRequestEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BulkPublishRequestEntry() { entryId_ = ""; event_ = com.google.protobuf.ByteString.EMPTY; contentType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BulkPublishRequestEntry(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkPublishRequestEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); entryId_ = s; break; } case 18: { event_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); contentType_ = s; break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: 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_BulkPublishRequestEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.BulkPublishRequestEntry.class, io.dapr.v1.DaprProtos.BulkPublishRequestEntry.Builder.class); } public static final int ENTRY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entryId_; /** *
     * The request scoped unique ID referring to this message. Used to map status in response
     * 
* * string entry_id = 1; * @return The entryId. */ @java.lang.Override public java.lang.String getEntryId() { java.lang.Object ref = entryId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; } } /** *
     * The request scoped unique ID referring to this message. Used to map status in response
     * 
* * string entry_id = 1; * @return The bytes for entryId. */ @java.lang.Override public com.google.protobuf.ByteString getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); entryId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EVENT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString event_; /** *
     * The event which will be pulished to the topic
     * 
* * bytes event = 2; * @return The event. */ @java.lang.Override public com.google.protobuf.ByteString getEvent() { return event_; } public static final int CONTENT_TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object contentType_; /** *
     * The content type for the event
     * 
* * string content_type = 3; * @return The contentType. */ @java.lang.Override public java.lang.String getContentType() { java.lang.Object ref = contentType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); contentType_ = s; return s; } } /** *
     * The content type for the event
     * 
* * string content_type = 3; * @return The bytes for contentType. */ @java.lang.Override public com.google.protobuf.ByteString getContentTypeBytes() { java.lang.Object ref = contentType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METADATA_FIELD_NUMBER = 4; 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_BulkPublishRequestEntry_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 event level metadata passing to the pubsub component
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The event level metadata passing to the pubsub component
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The event level metadata passing to the pubsub component
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The event level metadata passing to the pubsub component
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entryId_); } if (!event_.isEmpty()) { output.writeBytes(2, event_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, contentType_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entryId_); } if (!event_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, event_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, contentType_); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, 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.BulkPublishRequestEntry)) { return super.equals(obj); } io.dapr.v1.DaprProtos.BulkPublishRequestEntry other = (io.dapr.v1.DaprProtos.BulkPublishRequestEntry) obj; if (!getEntryId() .equals(other.getEntryId())) return false; if (!getEvent() .equals(other.getEvent())) return false; if (!getContentType() .equals(other.getContentType())) 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) + ENTRY_ID_FIELD_NUMBER; hash = (53 * hash) + getEntryId().hashCode(); hash = (37 * hash) + EVENT_FIELD_NUMBER; hash = (53 * hash) + getEvent().hashCode(); hash = (37 * hash) + CONTENT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getContentType().hashCode(); if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.BulkPublishRequestEntry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkPublishRequestEntry 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.BulkPublishRequestEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkPublishRequestEntry 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.BulkPublishRequestEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkPublishRequestEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.BulkPublishRequestEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkPublishRequestEntry 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.BulkPublishRequestEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkPublishRequestEntry 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.BulkPublishRequestEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkPublishRequestEntry 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.BulkPublishRequestEntry 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; } /** *
     * BulkPublishRequestEntry is the message containing the event to be bulk published
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.BulkPublishRequestEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.BulkPublishRequestEntry) io.dapr.v1.DaprProtos.BulkPublishRequestEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: 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_BulkPublishRequestEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.BulkPublishRequestEntry.class, io.dapr.v1.DaprProtos.BulkPublishRequestEntry.Builder.class); } // Construct using io.dapr.v1.DaprProtos.BulkPublishRequestEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); entryId_ = ""; event_ = com.google.protobuf.ByteString.EMPTY; contentType_ = ""; 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_BulkPublishRequestEntry_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishRequestEntry getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.BulkPublishRequestEntry.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishRequestEntry build() { io.dapr.v1.DaprProtos.BulkPublishRequestEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishRequestEntry buildPartial() { io.dapr.v1.DaprProtos.BulkPublishRequestEntry result = new io.dapr.v1.DaprProtos.BulkPublishRequestEntry(this); int from_bitField0_ = bitField0_; result.entryId_ = entryId_; result.event_ = event_; result.contentType_ = contentType_; 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.BulkPublishRequestEntry) { return mergeFrom((io.dapr.v1.DaprProtos.BulkPublishRequestEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.BulkPublishRequestEntry other) { if (other == io.dapr.v1.DaprProtos.BulkPublishRequestEntry.getDefaultInstance()) return this; if (!other.getEntryId().isEmpty()) { entryId_ = other.entryId_; onChanged(); } if (other.getEvent() != com.google.protobuf.ByteString.EMPTY) { setEvent(other.getEvent()); } if (!other.getContentType().isEmpty()) { contentType_ = other.contentType_; 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.BulkPublishRequestEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.BulkPublishRequestEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object entryId_ = ""; /** *
       * The request scoped unique ID referring to this message. Used to map status in response
       * 
* * string entry_id = 1; * @return The entryId. */ public java.lang.String getEntryId() { java.lang.Object ref = entryId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The request scoped unique ID referring to this message. Used to map status in response
       * 
* * string entry_id = 1; * @return The bytes for entryId. */ public com.google.protobuf.ByteString getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); entryId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The request scoped unique ID referring to this message. Used to map status in response
       * 
* * string entry_id = 1; * @param value The entryId to set. * @return This builder for chaining. */ public Builder setEntryId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } entryId_ = value; onChanged(); return this; } /** *
       * The request scoped unique ID referring to this message. Used to map status in response
       * 
* * string entry_id = 1; * @return This builder for chaining. */ public Builder clearEntryId() { entryId_ = getDefaultInstance().getEntryId(); onChanged(); return this; } /** *
       * The request scoped unique ID referring to this message. Used to map status in response
       * 
* * string entry_id = 1; * @param value The bytes for entryId to set. * @return This builder for chaining. */ public Builder setEntryIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entryId_ = value; onChanged(); return this; } private com.google.protobuf.ByteString event_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The event which will be pulished to the topic
       * 
* * bytes event = 2; * @return The event. */ @java.lang.Override public com.google.protobuf.ByteString getEvent() { return event_; } /** *
       * The event which will be pulished to the topic
       * 
* * bytes event = 2; * @param value The event to set. * @return This builder for chaining. */ public Builder setEvent(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } event_ = value; onChanged(); return this; } /** *
       * The event which will be pulished to the topic
       * 
* * bytes event = 2; * @return This builder for chaining. */ public Builder clearEvent() { event_ = getDefaultInstance().getEvent(); onChanged(); return this; } private java.lang.Object contentType_ = ""; /** *
       * The content type for the event
       * 
* * string content_type = 3; * @return The contentType. */ public java.lang.String getContentType() { java.lang.Object ref = contentType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); contentType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The content type for the event
       * 
* * string content_type = 3; * @return The bytes for contentType. */ public com.google.protobuf.ByteString getContentTypeBytes() { java.lang.Object ref = contentType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The content type for the event
       * 
* * string content_type = 3; * @param value The contentType to set. * @return This builder for chaining. */ public Builder setContentType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } contentType_ = value; onChanged(); return this; } /** *
       * The content type for the event
       * 
* * string content_type = 3; * @return This builder for chaining. */ public Builder clearContentType() { contentType_ = getDefaultInstance().getContentType(); onChanged(); return this; } /** *
       * The content type for the event
       * 
* * string content_type = 3; * @param value The bytes for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); contentType_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } private com.google.protobuf.MapField internalGetMutableMetadata() { onChanged();; if (metadata_ == null) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** *
       * The event level metadata passing to the pubsub component
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The event level metadata passing to the pubsub component
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The event level metadata passing to the pubsub component
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The event level metadata passing to the pubsub component
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The event level metadata passing to the pubsub component
       * 
* * map<string, string> metadata = 4; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The event level metadata passing to the pubsub component
       * 
* * map<string, string> metadata = 4; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The event level metadata passing to the pubsub component
       * 
* * map<string, string> metadata = 4; */ 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.BulkPublishRequestEntry) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.BulkPublishRequestEntry) private static final io.dapr.v1.DaprProtos.BulkPublishRequestEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.BulkPublishRequestEntry(); } public static io.dapr.v1.DaprProtos.BulkPublishRequestEntry getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BulkPublishRequestEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkPublishRequestEntry(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.BulkPublishRequestEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BulkPublishResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.BulkPublishResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The entries for different events that failed publish in the BulkPublishEvent call
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ java.util.List getFailedEntriesList(); /** *
     * The entries for different events that failed publish in the BulkPublishEvent call
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry getFailedEntries(int index); /** *
     * The entries for different events that failed publish in the BulkPublishEvent call
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ int getFailedEntriesCount(); /** *
     * The entries for different events that failed publish in the BulkPublishEvent call
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ java.util.List getFailedEntriesOrBuilderList(); /** *
     * The entries for different events that failed publish in the BulkPublishEvent call
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntryOrBuilder getFailedEntriesOrBuilder( int index); } /** *
   * BulkPublishResponse is the message returned from a BulkPublishEvent call
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.BulkPublishResponse} */ public static final class BulkPublishResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.BulkPublishResponse) BulkPublishResponseOrBuilder { private static final long serialVersionUID = 0L; // Use BulkPublishResponse.newBuilder() to construct. private BulkPublishResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BulkPublishResponse() { failedEntries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BulkPublishResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkPublishResponse( 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)) { failedEntries_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } failedEntries_.add( input.readMessage(io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { failedEntries_ = java.util.Collections.unmodifiableList(failedEntries_); } 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_BulkPublishResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.BulkPublishResponse.class, io.dapr.v1.DaprProtos.BulkPublishResponse.Builder.class); } public static final int FAILEDENTRIES_FIELD_NUMBER = 1; private java.util.List failedEntries_; /** *
     * The entries for different events that failed publish in the BulkPublishEvent call
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ @java.lang.Override public java.util.List getFailedEntriesList() { return failedEntries_; } /** *
     * The entries for different events that failed publish in the BulkPublishEvent call
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ @java.lang.Override public java.util.List getFailedEntriesOrBuilderList() { return failedEntries_; } /** *
     * The entries for different events that failed publish in the BulkPublishEvent call
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ @java.lang.Override public int getFailedEntriesCount() { return failedEntries_.size(); } /** *
     * The entries for different events that failed publish in the BulkPublishEvent call
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry getFailedEntries(int index) { return failedEntries_.get(index); } /** *
     * The entries for different events that failed publish in the BulkPublishEvent call
     * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntryOrBuilder getFailedEntriesOrBuilder( int index) { return failedEntries_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < failedEntries_.size(); i++) { output.writeMessage(1, failedEntries_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < failedEntries_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, failedEntries_.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.BulkPublishResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.BulkPublishResponse other = (io.dapr.v1.DaprProtos.BulkPublishResponse) obj; if (!getFailedEntriesList() .equals(other.getFailedEntriesList())) 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 (getFailedEntriesCount() > 0) { hash = (37 * hash) + FAILEDENTRIES_FIELD_NUMBER; hash = (53 * hash) + getFailedEntriesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.BulkPublishResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkPublishResponse 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.BulkPublishResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkPublishResponse 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.BulkPublishResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkPublishResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.BulkPublishResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkPublishResponse 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.BulkPublishResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkPublishResponse 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.BulkPublishResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkPublishResponse 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.BulkPublishResponse 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; } /** *
     * BulkPublishResponse is the message returned from a BulkPublishEvent call
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.BulkPublishResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.BulkPublishResponse) io.dapr.v1.DaprProtos.BulkPublishResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.BulkPublishResponse.class, io.dapr.v1.DaprProtos.BulkPublishResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.BulkPublishResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFailedEntriesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (failedEntriesBuilder_ == null) { failedEntries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { failedEntriesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.BulkPublishResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishResponse build() { io.dapr.v1.DaprProtos.BulkPublishResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishResponse buildPartial() { io.dapr.v1.DaprProtos.BulkPublishResponse result = new io.dapr.v1.DaprProtos.BulkPublishResponse(this); int from_bitField0_ = bitField0_; if (failedEntriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { failedEntries_ = java.util.Collections.unmodifiableList(failedEntries_); bitField0_ = (bitField0_ & ~0x00000001); } result.failedEntries_ = failedEntries_; } else { result.failedEntries_ = failedEntriesBuilder_.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.BulkPublishResponse) { return mergeFrom((io.dapr.v1.DaprProtos.BulkPublishResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.BulkPublishResponse other) { if (other == io.dapr.v1.DaprProtos.BulkPublishResponse.getDefaultInstance()) return this; if (failedEntriesBuilder_ == null) { if (!other.failedEntries_.isEmpty()) { if (failedEntries_.isEmpty()) { failedEntries_ = other.failedEntries_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFailedEntriesIsMutable(); failedEntries_.addAll(other.failedEntries_); } onChanged(); } } else { if (!other.failedEntries_.isEmpty()) { if (failedEntriesBuilder_.isEmpty()) { failedEntriesBuilder_.dispose(); failedEntriesBuilder_ = null; failedEntries_ = other.failedEntries_; bitField0_ = (bitField0_ & ~0x00000001); failedEntriesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFailedEntriesFieldBuilder() : null; } else { failedEntriesBuilder_.addAllMessages(other.failedEntries_); } } } 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.BulkPublishResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.BulkPublishResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List failedEntries_ = java.util.Collections.emptyList(); private void ensureFailedEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { failedEntries_ = new java.util.ArrayList(failedEntries_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.Builder, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntryOrBuilder> failedEntriesBuilder_; /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public java.util.List getFailedEntriesList() { if (failedEntriesBuilder_ == null) { return java.util.Collections.unmodifiableList(failedEntries_); } else { return failedEntriesBuilder_.getMessageList(); } } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public int getFailedEntriesCount() { if (failedEntriesBuilder_ == null) { return failedEntries_.size(); } else { return failedEntriesBuilder_.getCount(); } } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry getFailedEntries(int index) { if (failedEntriesBuilder_ == null) { return failedEntries_.get(index); } else { return failedEntriesBuilder_.getMessage(index); } } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public Builder setFailedEntries( int index, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry value) { if (failedEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFailedEntriesIsMutable(); failedEntries_.set(index, value); onChanged(); } else { failedEntriesBuilder_.setMessage(index, value); } return this; } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public Builder setFailedEntries( int index, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.Builder builderForValue) { if (failedEntriesBuilder_ == null) { ensureFailedEntriesIsMutable(); failedEntries_.set(index, builderForValue.build()); onChanged(); } else { failedEntriesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public Builder addFailedEntries(io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry value) { if (failedEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFailedEntriesIsMutable(); failedEntries_.add(value); onChanged(); } else { failedEntriesBuilder_.addMessage(value); } return this; } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public Builder addFailedEntries( int index, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry value) { if (failedEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFailedEntriesIsMutable(); failedEntries_.add(index, value); onChanged(); } else { failedEntriesBuilder_.addMessage(index, value); } return this; } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public Builder addFailedEntries( io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.Builder builderForValue) { if (failedEntriesBuilder_ == null) { ensureFailedEntriesIsMutable(); failedEntries_.add(builderForValue.build()); onChanged(); } else { failedEntriesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public Builder addFailedEntries( int index, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.Builder builderForValue) { if (failedEntriesBuilder_ == null) { ensureFailedEntriesIsMutable(); failedEntries_.add(index, builderForValue.build()); onChanged(); } else { failedEntriesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public Builder addAllFailedEntries( java.lang.Iterable values) { if (failedEntriesBuilder_ == null) { ensureFailedEntriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, failedEntries_); onChanged(); } else { failedEntriesBuilder_.addAllMessages(values); } return this; } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public Builder clearFailedEntries() { if (failedEntriesBuilder_ == null) { failedEntries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { failedEntriesBuilder_.clear(); } return this; } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public Builder removeFailedEntries(int index) { if (failedEntriesBuilder_ == null) { ensureFailedEntriesIsMutable(); failedEntries_.remove(index); onChanged(); } else { failedEntriesBuilder_.remove(index); } return this; } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.Builder getFailedEntriesBuilder( int index) { return getFailedEntriesFieldBuilder().getBuilder(index); } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntryOrBuilder getFailedEntriesOrBuilder( int index) { if (failedEntriesBuilder_ == null) { return failedEntries_.get(index); } else { return failedEntriesBuilder_.getMessageOrBuilder(index); } } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public java.util.List getFailedEntriesOrBuilderList() { if (failedEntriesBuilder_ != null) { return failedEntriesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(failedEntries_); } } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.Builder addFailedEntriesBuilder() { return getFailedEntriesFieldBuilder().addBuilder( io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.getDefaultInstance()); } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.Builder addFailedEntriesBuilder( int index) { return getFailedEntriesFieldBuilder().addBuilder( index, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.getDefaultInstance()); } /** *
       * The entries for different events that failed publish in the BulkPublishEvent call
       * 
* * repeated .dapr.proto.runtime.v1.BulkPublishResponseFailedEntry failedEntries = 1; */ public java.util.List getFailedEntriesBuilderList() { return getFailedEntriesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.Builder, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntryOrBuilder> getFailedEntriesFieldBuilder() { if (failedEntriesBuilder_ == null) { failedEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.Builder, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntryOrBuilder>( failedEntries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); failedEntries_ = null; } return failedEntriesBuilder_; } @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.BulkPublishResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.BulkPublishResponse) private static final io.dapr.v1.DaprProtos.BulkPublishResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.BulkPublishResponse(); } public static io.dapr.v1.DaprProtos.BulkPublishResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BulkPublishResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkPublishResponse(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.BulkPublishResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BulkPublishResponseFailedEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.BulkPublishResponseFailedEntry) com.google.protobuf.MessageOrBuilder { /** *
     * The response scoped unique ID referring to this message
     * 
* * string entry_id = 1; * @return The entryId. */ java.lang.String getEntryId(); /** *
     * The response scoped unique ID referring to this message
     * 
* * string entry_id = 1; * @return The bytes for entryId. */ com.google.protobuf.ByteString getEntryIdBytes(); /** *
     * The error message if any on failure
     * 
* * string error = 2; * @return The error. */ java.lang.String getError(); /** *
     * The error message if any on failure
     * 
* * string error = 2; * @return The bytes for error. */ com.google.protobuf.ByteString getErrorBytes(); } /** *
   * BulkPublishResponseFailedEntry is the message containing the entryID and error of a failed event in BulkPublishEvent call
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.BulkPublishResponseFailedEntry} */ public static final class BulkPublishResponseFailedEntry extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.BulkPublishResponseFailedEntry) BulkPublishResponseFailedEntryOrBuilder { private static final long serialVersionUID = 0L; // Use BulkPublishResponseFailedEntry.newBuilder() to construct. private BulkPublishResponseFailedEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BulkPublishResponseFailedEntry() { entryId_ = ""; error_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BulkPublishResponseFailedEntry(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkPublishResponseFailedEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); entryId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); error_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishResponseFailedEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishResponseFailedEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.class, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.Builder.class); } public static final int ENTRY_ID_FIELD_NUMBER = 1; private volatile java.lang.Object entryId_; /** *
     * The response scoped unique ID referring to this message
     * 
* * string entry_id = 1; * @return The entryId. */ @java.lang.Override public java.lang.String getEntryId() { java.lang.Object ref = entryId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; } } /** *
     * The response scoped unique ID referring to this message
     * 
* * string entry_id = 1; * @return The bytes for entryId. */ @java.lang.Override public com.google.protobuf.ByteString getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); entryId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ERROR_FIELD_NUMBER = 2; private volatile java.lang.Object error_; /** *
     * The error message if any on failure
     * 
* * string error = 2; * @return The error. */ @java.lang.Override public java.lang.String getError() { java.lang.Object ref = error_; 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(); error_ = s; return s; } } /** *
     * The error message if any on failure
     * 
* * string error = 2; * @return The bytes for error. */ @java.lang.Override public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); error_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entryId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, error_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entryId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, error_); } 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.BulkPublishResponseFailedEntry)) { return super.equals(obj); } io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry other = (io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry) obj; if (!getEntryId() .equals(other.getEntryId())) return false; if (!getError() .equals(other.getError())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENTRY_ID_FIELD_NUMBER; hash = (53 * hash) + getEntryId().hashCode(); hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry 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.BulkPublishResponseFailedEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry 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.BulkPublishResponseFailedEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry 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.BulkPublishResponseFailedEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry 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.BulkPublishResponseFailedEntry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry 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.BulkPublishResponseFailedEntry 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; } /** *
     * BulkPublishResponseFailedEntry is the message containing the entryID and error of a failed event in BulkPublishEvent call
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.BulkPublishResponseFailedEntry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.BulkPublishResponseFailedEntry) io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishResponseFailedEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishResponseFailedEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.class, io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.Builder.class); } // Construct using io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); entryId_ = ""; error_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_BulkPublishResponseFailedEntry_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry build() { io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry buildPartial() { io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry result = new io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry(this); result.entryId_ = entryId_; result.error_ = error_; 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.BulkPublishResponseFailedEntry) { return mergeFrom((io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry other) { if (other == io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry.getDefaultInstance()) return this; if (!other.getEntryId().isEmpty()) { entryId_ = other.entryId_; onChanged(); } if (!other.getError().isEmpty()) { error_ = other.error_; 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.BulkPublishResponseFailedEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object entryId_ = ""; /** *
       * The response scoped unique ID referring to this message
       * 
* * string entry_id = 1; * @return The entryId. */ public java.lang.String getEntryId() { java.lang.Object ref = entryId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entryId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The response scoped unique ID referring to this message
       * 
* * string entry_id = 1; * @return The bytes for entryId. */ public com.google.protobuf.ByteString getEntryIdBytes() { java.lang.Object ref = entryId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); entryId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The response scoped unique ID referring to this message
       * 
* * string entry_id = 1; * @param value The entryId to set. * @return This builder for chaining. */ public Builder setEntryId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } entryId_ = value; onChanged(); return this; } /** *
       * The response scoped unique ID referring to this message
       * 
* * string entry_id = 1; * @return This builder for chaining. */ public Builder clearEntryId() { entryId_ = getDefaultInstance().getEntryId(); onChanged(); return this; } /** *
       * The response scoped unique ID referring to this message
       * 
* * string entry_id = 1; * @param value The bytes for entryId to set. * @return This builder for chaining. */ public Builder setEntryIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entryId_ = value; onChanged(); return this; } private java.lang.Object error_ = ""; /** *
       * The error message if any on failure
       * 
* * string error = 2; * @return The error. */ public java.lang.String getError() { java.lang.Object ref = error_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); error_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The error message if any on failure
       * 
* * string error = 2; * @return The bytes for error. */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); error_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The error message if any on failure
       * 
* * string error = 2; * @param value The error to set. * @return This builder for chaining. */ public Builder setError( java.lang.String value) { if (value == null) { throw new NullPointerException(); } error_ = value; onChanged(); return this; } /** *
       * The error message if any on failure
       * 
* * string error = 2; * @return This builder for chaining. */ public Builder clearError() { error_ = getDefaultInstance().getError(); onChanged(); return this; } /** *
       * The error message if any on failure
       * 
* * string error = 2; * @param value The bytes for error to set. * @return This builder for chaining. */ public Builder setErrorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); error_ = 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.BulkPublishResponseFailedEntry) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.BulkPublishResponseFailedEntry) private static final io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry(); } public static io.dapr.v1.DaprProtos.BulkPublishResponseFailedEntry getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BulkPublishResponseFailedEntry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkPublishResponseFailedEntry(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.BulkPublishResponseFailedEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeTopicEventsRequestAlpha1OrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubscribeTopicEventsRequestAlpha1) com.google.protobuf.MessageOrBuilder { /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; * @return Whether the initialRequest field is set. */ boolean hasInitialRequest(); /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; * @return The initialRequest. */ io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 getInitialRequest(); /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; */ io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1OrBuilder getInitialRequestOrBuilder(); /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; * @return Whether the eventResponse field is set. */ boolean hasEventResponse(); /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; * @return The eventResponse. */ io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 getEventResponse(); /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; */ io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1OrBuilder getEventResponseOrBuilder(); public io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1.SubscribeTopicEventsRequestTypeCase getSubscribeTopicEventsRequestTypeCase(); } /** *
   * SubscribeTopicEventsRequestAlpha1 is a message containing the details for
   * subscribing to a topic via streaming.
   * The first message must always be the initial request. All subsequent
   * messages must be event responses.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubscribeTopicEventsRequestAlpha1} */ public static final class SubscribeTopicEventsRequestAlpha1 extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubscribeTopicEventsRequestAlpha1) SubscribeTopicEventsRequestAlpha1OrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeTopicEventsRequestAlpha1.newBuilder() to construct. private SubscribeTopicEventsRequestAlpha1(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeTopicEventsRequestAlpha1() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeTopicEventsRequestAlpha1(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeTopicEventsRequestAlpha1( 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: { io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.Builder subBuilder = null; if (subscribeTopicEventsRequestTypeCase_ == 1) { subBuilder = ((io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1) subscribeTopicEventsRequestType_).toBuilder(); } subscribeTopicEventsRequestType_ = input.readMessage(io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1) subscribeTopicEventsRequestType_); subscribeTopicEventsRequestType_ = subBuilder.buildPartial(); } subscribeTopicEventsRequestTypeCase_ = 1; break; } case 18: { io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.Builder subBuilder = null; if (subscribeTopicEventsRequestTypeCase_ == 2) { subBuilder = ((io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1) subscribeTopicEventsRequestType_).toBuilder(); } subscribeTopicEventsRequestType_ = input.readMessage(io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1) subscribeTopicEventsRequestType_); subscribeTopicEventsRequestType_ = subBuilder.buildPartial(); } subscribeTopicEventsRequestTypeCase_ = 2; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsRequestAlpha1_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsRequestAlpha1_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1.class, io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1.Builder.class); } private int subscribeTopicEventsRequestTypeCase_ = 0; private java.lang.Object subscribeTopicEventsRequestType_; public enum SubscribeTopicEventsRequestTypeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INITIAL_REQUEST(1), EVENT_RESPONSE(2), SUBSCRIBETOPICEVENTSREQUESTTYPE_NOT_SET(0); private final int value; private SubscribeTopicEventsRequestTypeCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SubscribeTopicEventsRequestTypeCase valueOf(int value) { return forNumber(value); } public static SubscribeTopicEventsRequestTypeCase forNumber(int value) { switch (value) { case 1: return INITIAL_REQUEST; case 2: return EVENT_RESPONSE; case 0: return SUBSCRIBETOPICEVENTSREQUESTTYPE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public SubscribeTopicEventsRequestTypeCase getSubscribeTopicEventsRequestTypeCase() { return SubscribeTopicEventsRequestTypeCase.forNumber( subscribeTopicEventsRequestTypeCase_); } public static final int INITIAL_REQUEST_FIELD_NUMBER = 1; /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; * @return Whether the initialRequest field is set. */ @java.lang.Override public boolean hasInitialRequest() { return subscribeTopicEventsRequestTypeCase_ == 1; } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; * @return The initialRequest. */ @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 getInitialRequest() { if (subscribeTopicEventsRequestTypeCase_ == 1) { return (io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1) subscribeTopicEventsRequestType_; } return io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.getDefaultInstance(); } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1OrBuilder getInitialRequestOrBuilder() { if (subscribeTopicEventsRequestTypeCase_ == 1) { return (io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1) subscribeTopicEventsRequestType_; } return io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.getDefaultInstance(); } public static final int EVENT_RESPONSE_FIELD_NUMBER = 2; /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; * @return Whether the eventResponse field is set. */ @java.lang.Override public boolean hasEventResponse() { return subscribeTopicEventsRequestTypeCase_ == 2; } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; * @return The eventResponse. */ @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 getEventResponse() { if (subscribeTopicEventsRequestTypeCase_ == 2) { return (io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1) subscribeTopicEventsRequestType_; } return io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.getDefaultInstance(); } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; */ @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1OrBuilder getEventResponseOrBuilder() { if (subscribeTopicEventsRequestTypeCase_ == 2) { return (io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1) subscribeTopicEventsRequestType_; } return io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.getDefaultInstance(); } 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 (subscribeTopicEventsRequestTypeCase_ == 1) { output.writeMessage(1, (io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1) subscribeTopicEventsRequestType_); } if (subscribeTopicEventsRequestTypeCase_ == 2) { output.writeMessage(2, (io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1) subscribeTopicEventsRequestType_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (subscribeTopicEventsRequestTypeCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1) subscribeTopicEventsRequestType_); } if (subscribeTopicEventsRequestTypeCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1) subscribeTopicEventsRequestType_); } 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.SubscribeTopicEventsRequestAlpha1)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 other = (io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1) obj; if (!getSubscribeTopicEventsRequestTypeCase().equals(other.getSubscribeTopicEventsRequestTypeCase())) return false; switch (subscribeTopicEventsRequestTypeCase_) { case 1: if (!getInitialRequest() .equals(other.getInitialRequest())) return false; break; case 2: if (!getEventResponse() .equals(other.getEventResponse())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (subscribeTopicEventsRequestTypeCase_) { case 1: hash = (37 * hash) + INITIAL_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getInitialRequest().hashCode(); break; case 2: hash = (37 * hash) + EVENT_RESPONSE_FIELD_NUMBER; hash = (53 * hash) + getEventResponse().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 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.SubscribeTopicEventsRequestAlpha1 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 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.SubscribeTopicEventsRequestAlpha1 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 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.SubscribeTopicEventsRequestAlpha1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 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.SubscribeTopicEventsRequestAlpha1 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 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.SubscribeTopicEventsRequestAlpha1 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; } /** *
     * SubscribeTopicEventsRequestAlpha1 is a message containing the details for
     * subscribing to a topic via streaming.
     * The first message must always be the initial request. All subsequent
     * messages must be event responses.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubscribeTopicEventsRequestAlpha1} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubscribeTopicEventsRequestAlpha1) io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1OrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsRequestAlpha1_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsRequestAlpha1_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1.class, io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1.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(); subscribeTopicEventsRequestTypeCase_ = 0; subscribeTopicEventsRequestType_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsRequestAlpha1_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 build() { io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 buildPartial() { io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 result = new io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1(this); if (subscribeTopicEventsRequestTypeCase_ == 1) { if (initialRequestBuilder_ == null) { result.subscribeTopicEventsRequestType_ = subscribeTopicEventsRequestType_; } else { result.subscribeTopicEventsRequestType_ = initialRequestBuilder_.build(); } } if (subscribeTopicEventsRequestTypeCase_ == 2) { if (eventResponseBuilder_ == null) { result.subscribeTopicEventsRequestType_ = subscribeTopicEventsRequestType_; } else { result.subscribeTopicEventsRequestType_ = eventResponseBuilder_.build(); } } result.subscribeTopicEventsRequestTypeCase_ = subscribeTopicEventsRequestTypeCase_; 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.SubscribeTopicEventsRequestAlpha1) { return mergeFrom((io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 other) { if (other == io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1.getDefaultInstance()) return this; switch (other.getSubscribeTopicEventsRequestTypeCase()) { case INITIAL_REQUEST: { mergeInitialRequest(other.getInitialRequest()); break; } case EVENT_RESPONSE: { mergeEventResponse(other.getEventResponse()); break; } case SUBSCRIBETOPICEVENTSREQUESTTYPE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int subscribeTopicEventsRequestTypeCase_ = 0; private java.lang.Object subscribeTopicEventsRequestType_; public SubscribeTopicEventsRequestTypeCase getSubscribeTopicEventsRequestTypeCase() { return SubscribeTopicEventsRequestTypeCase.forNumber( subscribeTopicEventsRequestTypeCase_); } public Builder clearSubscribeTopicEventsRequestType() { subscribeTopicEventsRequestTypeCase_ = 0; subscribeTopicEventsRequestType_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1, io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.Builder, io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1OrBuilder> initialRequestBuilder_; /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; * @return Whether the initialRequest field is set. */ @java.lang.Override public boolean hasInitialRequest() { return subscribeTopicEventsRequestTypeCase_ == 1; } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; * @return The initialRequest. */ @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 getInitialRequest() { if (initialRequestBuilder_ == null) { if (subscribeTopicEventsRequestTypeCase_ == 1) { return (io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1) subscribeTopicEventsRequestType_; } return io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.getDefaultInstance(); } else { if (subscribeTopicEventsRequestTypeCase_ == 1) { return initialRequestBuilder_.getMessage(); } return io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.getDefaultInstance(); } } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; */ public Builder setInitialRequest(io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 value) { if (initialRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } subscribeTopicEventsRequestType_ = value; onChanged(); } else { initialRequestBuilder_.setMessage(value); } subscribeTopicEventsRequestTypeCase_ = 1; return this; } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; */ public Builder setInitialRequest( io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.Builder builderForValue) { if (initialRequestBuilder_ == null) { subscribeTopicEventsRequestType_ = builderForValue.build(); onChanged(); } else { initialRequestBuilder_.setMessage(builderForValue.build()); } subscribeTopicEventsRequestTypeCase_ = 1; return this; } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; */ public Builder mergeInitialRequest(io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 value) { if (initialRequestBuilder_ == null) { if (subscribeTopicEventsRequestTypeCase_ == 1 && subscribeTopicEventsRequestType_ != io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.getDefaultInstance()) { subscribeTopicEventsRequestType_ = io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.newBuilder((io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1) subscribeTopicEventsRequestType_) .mergeFrom(value).buildPartial(); } else { subscribeTopicEventsRequestType_ = value; } onChanged(); } else { if (subscribeTopicEventsRequestTypeCase_ == 1) { initialRequestBuilder_.mergeFrom(value); } else { initialRequestBuilder_.setMessage(value); } } subscribeTopicEventsRequestTypeCase_ = 1; return this; } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; */ public Builder clearInitialRequest() { if (initialRequestBuilder_ == null) { if (subscribeTopicEventsRequestTypeCase_ == 1) { subscribeTopicEventsRequestTypeCase_ = 0; subscribeTopicEventsRequestType_ = null; onChanged(); } } else { if (subscribeTopicEventsRequestTypeCase_ == 1) { subscribeTopicEventsRequestTypeCase_ = 0; subscribeTopicEventsRequestType_ = null; } initialRequestBuilder_.clear(); } return this; } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; */ public io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.Builder getInitialRequestBuilder() { return getInitialRequestFieldBuilder().getBuilder(); } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1OrBuilder getInitialRequestOrBuilder() { if ((subscribeTopicEventsRequestTypeCase_ == 1) && (initialRequestBuilder_ != null)) { return initialRequestBuilder_.getMessageOrBuilder(); } else { if (subscribeTopicEventsRequestTypeCase_ == 1) { return (io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1) subscribeTopicEventsRequestType_; } return io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.getDefaultInstance(); } } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1 initial_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1, io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.Builder, io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1OrBuilder> getInitialRequestFieldBuilder() { if (initialRequestBuilder_ == null) { if (!(subscribeTopicEventsRequestTypeCase_ == 1)) { subscribeTopicEventsRequestType_ = io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.getDefaultInstance(); } initialRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1, io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.Builder, io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1OrBuilder>( (io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1) subscribeTopicEventsRequestType_, getParentForChildren(), isClean()); subscribeTopicEventsRequestType_ = null; } subscribeTopicEventsRequestTypeCase_ = 1; onChanged();; return initialRequestBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1, io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.Builder, io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1OrBuilder> eventResponseBuilder_; /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; * @return Whether the eventResponse field is set. */ @java.lang.Override public boolean hasEventResponse() { return subscribeTopicEventsRequestTypeCase_ == 2; } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; * @return The eventResponse. */ @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 getEventResponse() { if (eventResponseBuilder_ == null) { if (subscribeTopicEventsRequestTypeCase_ == 2) { return (io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1) subscribeTopicEventsRequestType_; } return io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.getDefaultInstance(); } else { if (subscribeTopicEventsRequestTypeCase_ == 2) { return eventResponseBuilder_.getMessage(); } return io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.getDefaultInstance(); } } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; */ public Builder setEventResponse(io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 value) { if (eventResponseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } subscribeTopicEventsRequestType_ = value; onChanged(); } else { eventResponseBuilder_.setMessage(value); } subscribeTopicEventsRequestTypeCase_ = 2; return this; } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; */ public Builder setEventResponse( io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.Builder builderForValue) { if (eventResponseBuilder_ == null) { subscribeTopicEventsRequestType_ = builderForValue.build(); onChanged(); } else { eventResponseBuilder_.setMessage(builderForValue.build()); } subscribeTopicEventsRequestTypeCase_ = 2; return this; } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; */ public Builder mergeEventResponse(io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 value) { if (eventResponseBuilder_ == null) { if (subscribeTopicEventsRequestTypeCase_ == 2 && subscribeTopicEventsRequestType_ != io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.getDefaultInstance()) { subscribeTopicEventsRequestType_ = io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.newBuilder((io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1) subscribeTopicEventsRequestType_) .mergeFrom(value).buildPartial(); } else { subscribeTopicEventsRequestType_ = value; } onChanged(); } else { if (subscribeTopicEventsRequestTypeCase_ == 2) { eventResponseBuilder_.mergeFrom(value); } else { eventResponseBuilder_.setMessage(value); } } subscribeTopicEventsRequestTypeCase_ = 2; return this; } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; */ public Builder clearEventResponse() { if (eventResponseBuilder_ == null) { if (subscribeTopicEventsRequestTypeCase_ == 2) { subscribeTopicEventsRequestTypeCase_ = 0; subscribeTopicEventsRequestType_ = null; onChanged(); } } else { if (subscribeTopicEventsRequestTypeCase_ == 2) { subscribeTopicEventsRequestTypeCase_ = 0; subscribeTopicEventsRequestType_ = null; } eventResponseBuilder_.clear(); } return this; } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; */ public io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.Builder getEventResponseBuilder() { return getEventResponseFieldBuilder().getBuilder(); } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; */ @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1OrBuilder getEventResponseOrBuilder() { if ((subscribeTopicEventsRequestTypeCase_ == 2) && (eventResponseBuilder_ != null)) { return eventResponseBuilder_.getMessageOrBuilder(); } else { if (subscribeTopicEventsRequestTypeCase_ == 2) { return (io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1) subscribeTopicEventsRequestType_; } return io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.getDefaultInstance(); } } /** * .dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1 event_response = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1, io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.Builder, io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1OrBuilder> getEventResponseFieldBuilder() { if (eventResponseBuilder_ == null) { if (!(subscribeTopicEventsRequestTypeCase_ == 2)) { subscribeTopicEventsRequestType_ = io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.getDefaultInstance(); } eventResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1, io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.Builder, io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1OrBuilder>( (io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1) subscribeTopicEventsRequestType_, getParentForChildren(), isClean()); subscribeTopicEventsRequestType_ = null; } subscribeTopicEventsRequestTypeCase_ = 2; onChanged();; return eventResponseBuilder_; } @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.SubscribeTopicEventsRequestAlpha1) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubscribeTopicEventsRequestAlpha1) private static final io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1(); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsRequestAlpha1 getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeTopicEventsRequestAlpha1 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeTopicEventsRequestAlpha1(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.SubscribeTopicEventsRequestAlpha1 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeTopicEventsInitialRequestAlpha1OrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1) com.google.protobuf.MessageOrBuilder { /** *
     * The name of the pubsub component
     * 
* * string pubsub_name = 1; * @return The pubsubName. */ java.lang.String getPubsubName(); /** *
     * The name of the pubsub component
     * 
* * string pubsub_name = 1; * @return The bytes for pubsubName. */ com.google.protobuf.ByteString getPubsubNameBytes(); /** *
     * The pubsub topic
     * 
* * string topic = 2; * @return The topic. */ java.lang.String getTopic(); /** *
     * The pubsub topic
     * 
* * string topic = 2; * @return The bytes for topic. */ com.google.protobuf.ByteString getTopicBytes(); /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * 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 pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 3; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); /** *
     * dead_letter_topic is the topic to which messages that fail to be processed
     * are sent.
     * 
* * optional string dead_letter_topic = 4; * @return Whether the deadLetterTopic field is set. */ boolean hasDeadLetterTopic(); /** *
     * dead_letter_topic is the topic to which messages that fail to be processed
     * are sent.
     * 
* * optional string dead_letter_topic = 4; * @return The deadLetterTopic. */ java.lang.String getDeadLetterTopic(); /** *
     * dead_letter_topic is the topic to which messages that fail to be processed
     * are sent.
     * 
* * optional string dead_letter_topic = 4; * @return The bytes for deadLetterTopic. */ com.google.protobuf.ByteString getDeadLetterTopicBytes(); } /** *
   * SubscribeTopicEventsInitialRequestAlpha1 is the initial message containing the
   * details for subscribing to a topic via streaming.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1} */ public static final class SubscribeTopicEventsInitialRequestAlpha1 extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1) SubscribeTopicEventsInitialRequestAlpha1OrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeTopicEventsInitialRequestAlpha1.newBuilder() to construct. private SubscribeTopicEventsInitialRequestAlpha1(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeTopicEventsInitialRequestAlpha1() { pubsubName_ = ""; topic_ = ""; deadLetterTopic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeTopicEventsInitialRequestAlpha1(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeTopicEventsInitialRequestAlpha1( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); pubsubName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); topic_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; deadLetterTopic_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_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_SubscribeTopicEventsInitialRequestAlpha1_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.class, io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.Builder.class); } private int bitField0_; public static final int PUBSUB_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object pubsubName_; /** *
     * The name of the pubsub component
     * 
* * string pubsub_name = 1; * @return The pubsubName. */ @java.lang.Override public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pubsubName_ = s; return s; } } /** *
     * The name of the pubsub component
     * 
* * string pubsub_name = 1; * @return The bytes for pubsubName. */ @java.lang.Override public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOPIC_FIELD_NUMBER = 2; private volatile java.lang.Object topic_; /** *
     * The pubsub topic
     * 
* * string topic = 2; * @return The topic. */ @java.lang.Override public java.lang.String getTopic() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** *
     * The pubsub topic
     * 
* * string topic = 2; * @return The bytes for topic. */ @java.lang.Override public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METADATA_FIELD_NUMBER = 3; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_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 pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata passing to pub components
     * metadata property:
     * - key : the key of the message.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int DEAD_LETTER_TOPIC_FIELD_NUMBER = 4; private volatile java.lang.Object deadLetterTopic_; /** *
     * dead_letter_topic is the topic to which messages that fail to be processed
     * are sent.
     * 
* * optional string dead_letter_topic = 4; * @return Whether the deadLetterTopic field is set. */ @java.lang.Override public boolean hasDeadLetterTopic() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * dead_letter_topic is the topic to which messages that fail to be processed
     * are sent.
     * 
* * optional string dead_letter_topic = 4; * @return The deadLetterTopic. */ @java.lang.Override public java.lang.String getDeadLetterTopic() { java.lang.Object ref = deadLetterTopic_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deadLetterTopic_ = s; return s; } } /** *
     * dead_letter_topic is the topic to which messages that fail to be processed
     * are sent.
     * 
* * optional string dead_letter_topic = 4; * @return The bytes for deadLetterTopic. */ @java.lang.Override public com.google.protobuf.ByteString getDeadLetterTopicBytes() { java.lang.Object ref = deadLetterTopic_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deadLetterTopic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, topic_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, deadLetterTopic_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, metadata__); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, deadLetterTopic_); } 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.SubscribeTopicEventsInitialRequestAlpha1)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 other = (io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1) obj; if (!getPubsubName() .equals(other.getPubsubName())) return false; if (!getTopic() .equals(other.getTopic())) return false; if (!internalGetMetadata().equals( other.internalGetMetadata())) return false; if (hasDeadLetterTopic() != other.hasDeadLetterTopic()) return false; if (hasDeadLetterTopic()) { if (!getDeadLetterTopic() .equals(other.getDeadLetterTopic())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PUBSUB_NAME_FIELD_NUMBER; hash = (53 * hash) + getPubsubName().hashCode(); hash = (37 * hash) + TOPIC_FIELD_NUMBER; hash = (53 * hash) + getTopic().hashCode(); if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); } if (hasDeadLetterTopic()) { hash = (37 * hash) + DEAD_LETTER_TOPIC_FIELD_NUMBER; hash = (53 * hash) + getDeadLetterTopic().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 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.SubscribeTopicEventsInitialRequestAlpha1 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 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.SubscribeTopicEventsInitialRequestAlpha1 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 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.SubscribeTopicEventsInitialRequestAlpha1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 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.SubscribeTopicEventsInitialRequestAlpha1 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 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.SubscribeTopicEventsInitialRequestAlpha1 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; } /** *
     * SubscribeTopicEventsInitialRequestAlpha1 is the initial message containing the
     * details for subscribing to a topic via streaming.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1) io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1OrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_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_SubscribeTopicEventsInitialRequestAlpha1_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.class, io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); pubsubName_ = ""; topic_ = ""; internalGetMutableMetadata().clear(); deadLetterTopic_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 build() { io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 buildPartial() { io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 result = new io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.pubsubName_ = pubsubName_; result.topic_ = topic_; result.metadata_ = internalGetMetadata(); result.metadata_.makeImmutable(); if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000001; } result.deadLetterTopic_ = deadLetterTopic_; result.bitField0_ = to_bitField0_; 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.SubscribeTopicEventsInitialRequestAlpha1) { return mergeFrom((io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 other) { if (other == io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1.getDefaultInstance()) return this; if (!other.getPubsubName().isEmpty()) { pubsubName_ = other.pubsubName_; onChanged(); } if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); } internalGetMutableMetadata().mergeFrom( other.internalGetMetadata()); if (other.hasDeadLetterTopic()) { bitField0_ |= 0x00000002; deadLetterTopic_ = other.deadLetterTopic_; 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.SubscribeTopicEventsInitialRequestAlpha1 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object pubsubName_ = ""; /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @return The pubsubName. */ public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pubsubName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @return The bytes for pubsubName. */ public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @param value The pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pubsubName_ = value; onChanged(); return this; } /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @return This builder for chaining. */ public Builder clearPubsubName() { pubsubName_ = getDefaultInstance().getPubsubName(); onChanged(); return this; } /** *
       * The name of the pubsub component
       * 
* * string pubsub_name = 1; * @param value The bytes for pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pubsubName_ = value; onChanged(); return this; } private java.lang.Object topic_ = ""; /** *
       * The pubsub topic
       * 
* * string topic = 2; * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The pubsub topic
       * 
* * string topic = 2; * @return The bytes for topic. */ public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The pubsub topic
       * 
* * string topic = 2; * @param value The topic to set. * @return This builder for chaining. */ public Builder setTopic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } topic_ = value; onChanged(); return this; } /** *
       * The pubsub topic
       * 
* * string topic = 2; * @return This builder for chaining. */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** *
       * The pubsub topic
       * 
* * string topic = 2; * @param value The bytes for topic to set. * @return This builder for chaining. */ public Builder setTopicBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); topic_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } private com.google.protobuf.MapField internalGetMutableMetadata() { onChanged();; if (metadata_ == null) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 3; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 3; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata passing to pub components
       * metadata property:
       * - key : the key of the message.
       * 
* * map<string, string> metadata = 3; */ public Builder putAllMetadata( java.util.Map values) { internalGetMutableMetadata().getMutableMap() .putAll(values); return this; } private java.lang.Object deadLetterTopic_ = ""; /** *
       * dead_letter_topic is the topic to which messages that fail to be processed
       * are sent.
       * 
* * optional string dead_letter_topic = 4; * @return Whether the deadLetterTopic field is set. */ public boolean hasDeadLetterTopic() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * dead_letter_topic is the topic to which messages that fail to be processed
       * are sent.
       * 
* * optional string dead_letter_topic = 4; * @return The deadLetterTopic. */ public java.lang.String getDeadLetterTopic() { java.lang.Object ref = deadLetterTopic_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deadLetterTopic_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * dead_letter_topic is the topic to which messages that fail to be processed
       * are sent.
       * 
* * optional string dead_letter_topic = 4; * @return The bytes for deadLetterTopic. */ public com.google.protobuf.ByteString getDeadLetterTopicBytes() { java.lang.Object ref = deadLetterTopic_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deadLetterTopic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * dead_letter_topic is the topic to which messages that fail to be processed
       * are sent.
       * 
* * optional string dead_letter_topic = 4; * @param value The deadLetterTopic to set. * @return This builder for chaining. */ public Builder setDeadLetterTopic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; deadLetterTopic_ = value; onChanged(); return this; } /** *
       * dead_letter_topic is the topic to which messages that fail to be processed
       * are sent.
       * 
* * optional string dead_letter_topic = 4; * @return This builder for chaining. */ public Builder clearDeadLetterTopic() { bitField0_ = (bitField0_ & ~0x00000002); deadLetterTopic_ = getDefaultInstance().getDeadLetterTopic(); onChanged(); return this; } /** *
       * dead_letter_topic is the topic to which messages that fail to be processed
       * are sent.
       * 
* * optional string dead_letter_topic = 4; * @param value The bytes for deadLetterTopic to set. * @return This builder for chaining. */ public Builder setDeadLetterTopicBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000002; deadLetterTopic_ = 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.SubscribeTopicEventsInitialRequestAlpha1) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubscribeTopicEventsInitialRequestAlpha1) private static final io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1(); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsInitialRequestAlpha1 getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeTopicEventsInitialRequestAlpha1 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeTopicEventsInitialRequestAlpha1(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.SubscribeTopicEventsInitialRequestAlpha1 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeTopicEventsResponseAlpha1OrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1) com.google.protobuf.MessageOrBuilder { /** *
     * id is the unique identifier for the subscription request.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * id is the unique identifier for the subscription request.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * status is the result of the subscription request.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; * @return Whether the status field is set. */ boolean hasStatus(); /** *
     * status is the result of the subscription request.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; * @return The status. */ io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse getStatus(); /** *
     * status is the result of the subscription request.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; */ io.dapr.v1.DaprAppCallbackProtos.TopicEventResponseOrBuilder getStatusOrBuilder(); } /** *
   * SubscribeTopicEventsResponseAlpha1 is a message containing the result of a
   * subscription to a topic.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1} */ public static final class SubscribeTopicEventsResponseAlpha1 extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1) SubscribeTopicEventsResponseAlpha1OrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeTopicEventsResponseAlpha1.newBuilder() to construct. private SubscribeTopicEventsResponseAlpha1(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeTopicEventsResponseAlpha1() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeTopicEventsResponseAlpha1(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeTopicEventsResponseAlpha1( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsResponseAlpha1_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsResponseAlpha1_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.class, io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * id is the unique identifier for the subscription request.
     * 
* * string id = 1; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** *
     * id is the unique identifier for the subscription request.
     * 
* * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 2; private io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse status_; /** *
     * status is the result of the subscription request.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** *
     * status is the result of the subscription request.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; * @return The status. */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse getStatus() { return status_ == null ? io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.getDefaultInstance() : status_; } /** *
     * status is the result of the subscription request.
     * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; */ @java.lang.Override public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponseOrBuilder getStatusOrBuilder() { return getStatus(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (status_ != null) { output.writeMessage(2, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStatus()); } 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.SubscribeTopicEventsResponseAlpha1)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 other = (io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1) obj; if (!getId() .equals(other.getId())) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 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.SubscribeTopicEventsResponseAlpha1 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 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.SubscribeTopicEventsResponseAlpha1 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 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.SubscribeTopicEventsResponseAlpha1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 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.SubscribeTopicEventsResponseAlpha1 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 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.SubscribeTopicEventsResponseAlpha1 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; } /** *
     * SubscribeTopicEventsResponseAlpha1 is a message containing the result of a
     * subscription to a topic.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1) io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1OrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsResponseAlpha1_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsResponseAlpha1_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.class, io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.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 (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsResponseAlpha1_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 build() { io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 buildPartial() { io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 result = new io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1(this); result.id_ = id_; if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.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.SubscribeTopicEventsResponseAlpha1) { return mergeFrom((io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 other) { if (other == io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (other.hasStatus()) { mergeStatus(other.getStatus()); } 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.SubscribeTopicEventsResponseAlpha1 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** *
       * id is the unique identifier for the subscription request.
       * 
* * string id = 1; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * id is the unique identifier for the subscription request.
       * 
* * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * id is the unique identifier for the subscription request.
       * 
* * string id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** *
       * id is the unique identifier for the subscription request.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * id is the unique identifier for the subscription request.
       * 
* * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse status_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse, io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicEventResponseOrBuilder> statusBuilder_; /** *
       * status is the result of the subscription request.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** *
       * status is the result of the subscription request.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; * @return The status. */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse getStatus() { if (statusBuilder_ == null) { return status_ == null ? io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** *
       * status is the result of the subscription request.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; */ public Builder setStatus(io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** *
       * status is the result of the subscription request.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; */ public Builder setStatus( io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * status is the result of the subscription request.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; */ public Builder mergeStatus(io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** *
       * status is the result of the subscription request.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** *
       * status is the result of the subscription request.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** *
       * status is the result of the subscription request.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; */ public io.dapr.v1.DaprAppCallbackProtos.TopicEventResponseOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.getDefaultInstance() : status_; } } /** *
       * status is the result of the subscription request.
       * 
* * .dapr.proto.runtime.v1.TopicEventResponse status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse, io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicEventResponseOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse, io.dapr.v1.DaprAppCallbackProtos.TopicEventResponse.Builder, io.dapr.v1.DaprAppCallbackProtos.TopicEventResponseOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } @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.SubscribeTopicEventsResponseAlpha1) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubscribeTopicEventsResponseAlpha1) private static final io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1(); } public static io.dapr.v1.DaprProtos.SubscribeTopicEventsResponseAlpha1 getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeTopicEventsResponseAlpha1 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeTopicEventsResponseAlpha1(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.SubscribeTopicEventsResponseAlpha1 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; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ 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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.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. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * The name of the output binding to invoke.
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** *
     * The data which will be sent to output binding.
     * 
* * bytes data = 2; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } public static final int METADATA_FIELD_NUMBER = 3; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.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; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata 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.Override 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; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata 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.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int 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. */ @java.lang.Override 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. */ @java.lang.Override 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!data_.isEmpty()) { output.writeBytes(2, data_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { 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. */ @java.lang.Override 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; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata 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.Override 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; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata 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.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata 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 NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata 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 NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } 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; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ 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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.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. */ @java.lang.Override 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; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata returned from an external system
     * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata returned from an external system
     * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata returned from an external system
     * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!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. */ @java.lang.Override 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; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata returned from an external system
       * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata returned from an external system
       * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata returned from an external system
       * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata returned from an external system
       * 
* * map<string, string> metadata = 2; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata 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 NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } 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 [json_name = "storeName"]; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * The name of secret store.
     * 
* * string store_name = 1 [json_name = "storeName"]; * @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; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ 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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.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 [json_name = "storeName"]; * @return The storeName. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * The name of secret store.
     * 
* * string store_name = 1 [json_name = "storeName"]; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_FIELD_NUMBER = 2; private volatile java.lang.Object key_; /** *
     * The name of secret key.
     * 
* * string key = 2; * @return The key. */ @java.lang.Override 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. */ @java.lang.Override 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; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { 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 [json_name = "storeName"]; * @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 [json_name = "storeName"]; * @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 [json_name = "storeName"]; * @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 [json_name = "storeName"]; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * The name of secret store.
       * 
* * string store_name = 1 [json_name = "storeName"]; * @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; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata which will be sent to secret store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata which will be sent to secret store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata which will be sent to secret store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata 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 NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata 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 NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } 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; */ /* nullable */ java.lang.String getDataOrDefault( java.lang.String key, /* nullable */ 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 message 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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.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; */ @java.lang.Override public boolean containsData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetData().getMap().containsKey(key); } /** * Use {@link #getDataMap()} instead. */ @java.lang.Override @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; */ @java.lang.Override 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; */ @java.lang.Override public java.lang.String getDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } 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; */ @java.lang.Override public java.lang.String getDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } 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 message 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; */ @java.lang.Override public boolean containsData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetData().getMap().containsKey(key); } /** * Use {@link #getDataMap()} instead. */ @java.lang.Override @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; */ @java.lang.Override 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; */ @java.lang.Override public java.lang.String getDataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } 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; */ @java.lang.Override public java.lang.String getDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } 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 NullPointerException("map key"); } 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 NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } 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; } } public interface GetBulkSecretRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetBulkSecretRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of secret store.
     * 
* * string store_name = 1 [json_name = "storeName"]; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * The name of secret store.
     * 
* * string store_name = 1 [json_name = "storeName"]; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 2; */ int getMetadataCount(); /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 2; */ 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 = 2; */ java.util.Map getMetadataMap(); /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 2; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 2; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * GetBulkSecretRequest is the message to get the secrets from secret store.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetBulkSecretRequest} */ public static final class GetBulkSecretRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetBulkSecretRequest) GetBulkSecretRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetBulkSecretRequest.newBuilder() to construct. private GetBulkSecretRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetBulkSecretRequest() { storeName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetBulkSecretRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetBulkSecretRequest( 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)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_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_GetBulkSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetBulkSecretRequest.class, io.dapr.v1.DaprProtos.GetBulkSecretRequest.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 [json_name = "storeName"]; * @return The storeName. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * The name of secret store.
     * 
* * string store_name = 1 [json_name = "storeName"]; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int 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_GetBulkSecretRequest_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 = 2; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata which will be sent to secret store components.
     * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } 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.GetBulkSecretRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetBulkSecretRequest other = (io.dapr.v1.DaprProtos.GetBulkSecretRequest) obj; if (!getStoreName() .equals(other.getStoreName())) 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(); 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.GetBulkSecretRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetBulkSecretRequest 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.GetBulkSecretRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetBulkSecretRequest 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.GetBulkSecretRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetBulkSecretRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetBulkSecretRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetBulkSecretRequest 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.GetBulkSecretRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetBulkSecretRequest 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.GetBulkSecretRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetBulkSecretRequest 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.GetBulkSecretRequest 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; } /** *
     * GetBulkSecretRequest is the message to get the secrets from secret store.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetBulkSecretRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetBulkSecretRequest) io.dapr.v1.DaprProtos.GetBulkSecretRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_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_GetBulkSecretRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetBulkSecretRequest.class, io.dapr.v1.DaprProtos.GetBulkSecretRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetBulkSecretRequest.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_ = ""; 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_GetBulkSecretRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetBulkSecretRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetBulkSecretRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetBulkSecretRequest build() { io.dapr.v1.DaprProtos.GetBulkSecretRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetBulkSecretRequest buildPartial() { io.dapr.v1.DaprProtos.GetBulkSecretRequest result = new io.dapr.v1.DaprProtos.GetBulkSecretRequest(this); int from_bitField0_ = bitField0_; result.storeName_ = storeName_; 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.GetBulkSecretRequest) { return mergeFrom((io.dapr.v1.DaprProtos.GetBulkSecretRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetBulkSecretRequest other) { if (other == io.dapr.v1.DaprProtos.GetBulkSecretRequest.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; 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.GetBulkSecretRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetBulkSecretRequest) 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 [json_name = "storeName"]; * @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 [json_name = "storeName"]; * @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 [json_name = "storeName"]; * @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 [json_name = "storeName"]; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * The name of secret store.
       * 
* * string store_name = 1 [json_name = "storeName"]; * @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 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 = 2; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata which will be sent to secret store components.
       * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata which will be sent to secret store components.
       * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata which will be sent to secret store components.
       * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata which will be sent to secret store components.
       * 
* * map<string, string> metadata = 2; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata which will be sent to secret store components.
       * 
* * map<string, string> metadata = 2; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata which will be sent to secret store components.
       * 
* * 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.GetBulkSecretRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetBulkSecretRequest) private static final io.dapr.v1.DaprProtos.GetBulkSecretRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetBulkSecretRequest(); } public static io.dapr.v1.DaprProtos.GetBulkSecretRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetBulkSecretRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetBulkSecretRequest(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.GetBulkSecretRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SecretResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SecretResponse) com.google.protobuf.MessageOrBuilder { /** * map<string, string> secrets = 1; */ int getSecretsCount(); /** * map<string, string> secrets = 1; */ boolean containsSecrets( java.lang.String key); /** * Use {@link #getSecretsMap()} instead. */ @java.lang.Deprecated java.util.Map getSecrets(); /** * map<string, string> secrets = 1; */ java.util.Map getSecretsMap(); /** * map<string, string> secrets = 1; */ /* nullable */ java.lang.String getSecretsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * map<string, string> secrets = 1; */ java.lang.String getSecretsOrThrow( java.lang.String key); } /** *
   * SecretResponse is a map of decrypted string/string values
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SecretResponse} */ public static final class SecretResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SecretResponse) SecretResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SecretResponse.newBuilder() to construct. private SecretResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SecretResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SecretResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SecretResponse( 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)) { secrets_ = com.google.protobuf.MapField.newMapField( SecretsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry secrets__ = input.readMessage( SecretsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); secrets_.getMutableMap().put( secrets__.getKey(), secrets__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SecretResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetSecrets(); 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_SecretResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SecretResponse.class, io.dapr.v1.DaprProtos.SecretResponse.Builder.class); } public static final int SECRETS_FIELD_NUMBER = 1; private static final class SecretsDefaultEntryHolder { 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_SecretResponse_SecretsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> secrets_; private com.google.protobuf.MapField internalGetSecrets() { if (secrets_ == null) { return com.google.protobuf.MapField.emptyMapField( SecretsDefaultEntryHolder.defaultEntry); } return secrets_; } public int getSecretsCount() { return internalGetSecrets().getMap().size(); } /** * map<string, string> secrets = 1; */ @java.lang.Override public boolean containsSecrets( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetSecrets().getMap().containsKey(key); } /** * Use {@link #getSecretsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getSecrets() { return getSecretsMap(); } /** * map<string, string> secrets = 1; */ @java.lang.Override public java.util.Map getSecretsMap() { return internalGetSecrets().getMap(); } /** * map<string, string> secrets = 1; */ @java.lang.Override public java.lang.String getSecretsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetSecrets().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> secrets = 1; */ @java.lang.Override public java.lang.String getSecretsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetSecrets().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, internalGetSecrets(), SecretsDefaultEntryHolder.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 : internalGetSecrets().getMap().entrySet()) { com.google.protobuf.MapEntry secrets__ = SecretsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, secrets__); } 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.SecretResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SecretResponse other = (io.dapr.v1.DaprProtos.SecretResponse) obj; if (!internalGetSecrets().equals( other.internalGetSecrets())) 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 (!internalGetSecrets().getMap().isEmpty()) { hash = (37 * hash) + SECRETS_FIELD_NUMBER; hash = (53 * hash) + internalGetSecrets().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SecretResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SecretResponse 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.SecretResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SecretResponse 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.SecretResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SecretResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SecretResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SecretResponse 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.SecretResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SecretResponse 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.SecretResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SecretResponse 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.SecretResponse 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; } /** *
     * SecretResponse is a map of decrypted string/string values
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SecretResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SecretResponse) io.dapr.v1.DaprProtos.SecretResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SecretResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetSecrets(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableSecrets(); 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_SecretResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SecretResponse.class, io.dapr.v1.DaprProtos.SecretResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SecretResponse.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(); internalGetMutableSecrets().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SecretResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SecretResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SecretResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SecretResponse build() { io.dapr.v1.DaprProtos.SecretResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SecretResponse buildPartial() { io.dapr.v1.DaprProtos.SecretResponse result = new io.dapr.v1.DaprProtos.SecretResponse(this); int from_bitField0_ = bitField0_; result.secrets_ = internalGetSecrets(); result.secrets_.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.SecretResponse) { return mergeFrom((io.dapr.v1.DaprProtos.SecretResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SecretResponse other) { if (other == io.dapr.v1.DaprProtos.SecretResponse.getDefaultInstance()) return this; internalGetMutableSecrets().mergeFrom( other.internalGetSecrets()); 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.SecretResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SecretResponse) 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> secrets_; private com.google.protobuf.MapField internalGetSecrets() { if (secrets_ == null) { return com.google.protobuf.MapField.emptyMapField( SecretsDefaultEntryHolder.defaultEntry); } return secrets_; } private com.google.protobuf.MapField internalGetMutableSecrets() { onChanged();; if (secrets_ == null) { secrets_ = com.google.protobuf.MapField.newMapField( SecretsDefaultEntryHolder.defaultEntry); } if (!secrets_.isMutable()) { secrets_ = secrets_.copy(); } return secrets_; } public int getSecretsCount() { return internalGetSecrets().getMap().size(); } /** * map<string, string> secrets = 1; */ @java.lang.Override public boolean containsSecrets( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetSecrets().getMap().containsKey(key); } /** * Use {@link #getSecretsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getSecrets() { return getSecretsMap(); } /** * map<string, string> secrets = 1; */ @java.lang.Override public java.util.Map getSecretsMap() { return internalGetSecrets().getMap(); } /** * map<string, string> secrets = 1; */ @java.lang.Override public java.lang.String getSecretsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetSecrets().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> secrets = 1; */ @java.lang.Override public java.lang.String getSecretsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetSecrets().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearSecrets() { internalGetMutableSecrets().getMutableMap() .clear(); return this; } /** * map<string, string> secrets = 1; */ public Builder removeSecrets( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableSecrets().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableSecrets() { return internalGetMutableSecrets().getMutableMap(); } /** * map<string, string> secrets = 1; */ public Builder putSecrets( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableSecrets().getMutableMap() .put(key, value); return this; } /** * map<string, string> secrets = 1; */ public Builder putAllSecrets( java.util.Map values) { internalGetMutableSecrets().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.SecretResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SecretResponse) private static final io.dapr.v1.DaprProtos.SecretResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SecretResponse(); } public static io.dapr.v1.DaprProtos.SecretResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SecretResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SecretResponse(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.SecretResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetBulkSecretResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetBulkSecretResponse) com.google.protobuf.MessageOrBuilder { /** *
     * data hold the secret values. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ int getDataCount(); /** *
     * data hold the secret values. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ boolean containsData( java.lang.String key); /** * Use {@link #getDataMap()} instead. */ @java.lang.Deprecated java.util.Map getData(); /** *
     * data hold the secret values. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ java.util.Map getDataMap(); /** *
     * data hold the secret values. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ /* nullable */ io.dapr.v1.DaprProtos.SecretResponse getDataOrDefault( java.lang.String key, /* nullable */ io.dapr.v1.DaprProtos.SecretResponse defaultValue); /** *
     * data hold the secret values. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ io.dapr.v1.DaprProtos.SecretResponse getDataOrThrow( java.lang.String key); } /** *
   * GetBulkSecretResponse is the response message to convey the requested secrets.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetBulkSecretResponse} */ public static final class GetBulkSecretResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetBulkSecretResponse) GetBulkSecretResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetBulkSecretResponse.newBuilder() to construct. private GetBulkSecretResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetBulkSecretResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetBulkSecretResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetBulkSecretResponse( 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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_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_GetBulkSecretResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetBulkSecretResponse.class, io.dapr.v1.DaprProtos.GetBulkSecretResponse.Builder.class); } public static final int DATA_FIELD_NUMBER = 1; private static final class DataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, io.dapr.v1.DaprProtos.SecretResponse> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_DataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, io.dapr.v1.DaprProtos.SecretResponse.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, io.dapr.v1.DaprProtos.SecretResponse> 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 hold the secret values. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ @java.lang.Override public boolean containsData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetData().getMap().containsKey(key); } /** * Use {@link #getDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getData() { return getDataMap(); } /** *
     * data hold the secret values. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ @java.lang.Override public java.util.Map getDataMap() { return internalGetData().getMap(); } /** *
     * data hold the secret values. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.SecretResponse getDataOrDefault( java.lang.String key, io.dapr.v1.DaprProtos.SecretResponse defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * data hold the secret values. Some secret store, such as kubernetes secret
     * store, can save multiple secrets for single secret key.
     * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.SecretResponse getDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } 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.GetBulkSecretResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetBulkSecretResponse other = (io.dapr.v1.DaprProtos.GetBulkSecretResponse) 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.GetBulkSecretResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetBulkSecretResponse 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.GetBulkSecretResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetBulkSecretResponse 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.GetBulkSecretResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetBulkSecretResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetBulkSecretResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetBulkSecretResponse 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.GetBulkSecretResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetBulkSecretResponse 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.GetBulkSecretResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetBulkSecretResponse 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.GetBulkSecretResponse 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; } /** *
     * GetBulkSecretResponse is the response message to convey the requested secrets.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetBulkSecretResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetBulkSecretResponse) io.dapr.v1.DaprProtos.GetBulkSecretResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_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_GetBulkSecretResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetBulkSecretResponse.class, io.dapr.v1.DaprProtos.GetBulkSecretResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetBulkSecretResponse.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_GetBulkSecretResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetBulkSecretResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetBulkSecretResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetBulkSecretResponse build() { io.dapr.v1.DaprProtos.GetBulkSecretResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetBulkSecretResponse buildPartial() { io.dapr.v1.DaprProtos.GetBulkSecretResponse result = new io.dapr.v1.DaprProtos.GetBulkSecretResponse(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.GetBulkSecretResponse) { return mergeFrom((io.dapr.v1.DaprProtos.GetBulkSecretResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetBulkSecretResponse other) { if (other == io.dapr.v1.DaprProtos.GetBulkSecretResponse.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.GetBulkSecretResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetBulkSecretResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, io.dapr.v1.DaprProtos.SecretResponse> 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 hold the secret values. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ @java.lang.Override public boolean containsData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetData().getMap().containsKey(key); } /** * Use {@link #getDataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getData() { return getDataMap(); } /** *
       * data hold the secret values. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ @java.lang.Override public java.util.Map getDataMap() { return internalGetData().getMap(); } /** *
       * data hold the secret values. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.SecretResponse getDataOrDefault( java.lang.String key, io.dapr.v1.DaprProtos.SecretResponse defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetData().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * data hold the secret values. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.SecretResponse getDataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } 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 hold the secret values. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ public Builder removeData( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableData().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableData() { return internalGetMutableData().getMutableMap(); } /** *
       * data hold the secret values. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> data = 1; */ public Builder putData( java.lang.String key, io.dapr.v1.DaprProtos.SecretResponse value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableData().getMutableMap() .put(key, value); return this; } /** *
       * data hold the secret values. Some secret store, such as kubernetes secret
       * store, can save multiple secrets for single secret key.
       * 
* * map<string, .dapr.proto.runtime.v1.SecretResponse> 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.GetBulkSecretResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetBulkSecretResponse) private static final io.dapr.v1.DaprProtos.GetBulkSecretResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetBulkSecretResponse(); } public static io.dapr.v1.DaprProtos.GetBulkSecretResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetBulkSecretResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetBulkSecretResponse(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.GetBulkSecretResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TransactionalStateOperationOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TransactionalStateOperation) com.google.protobuf.MessageOrBuilder { /** *
     * The type of operation to be executed
     * 
* * string operationType = 1; * @return The operationType. */ java.lang.String getOperationType(); /** *
     * The type of operation to be executed
     * 
* * string operationType = 1; * @return The bytes for operationType. */ com.google.protobuf.ByteString getOperationTypeBytes(); /** *
     * State values to be operated on
     * 
* * .dapr.proto.common.v1.StateItem request = 2; * @return Whether the request field is set. */ boolean hasRequest(); /** *
     * State values to be operated on
     * 
* * .dapr.proto.common.v1.StateItem request = 2; * @return The request. */ io.dapr.v1.CommonProtos.StateItem getRequest(); /** *
     * State values to be operated on
     * 
* * .dapr.proto.common.v1.StateItem request = 2; */ io.dapr.v1.CommonProtos.StateItemOrBuilder getRequestOrBuilder(); } /** *
   * TransactionalStateOperation is the message to execute a specified operation with a key-value pair.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.TransactionalStateOperation} */ public static final class TransactionalStateOperation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TransactionalStateOperation) TransactionalStateOperationOrBuilder { private static final long serialVersionUID = 0L; // Use TransactionalStateOperation.newBuilder() to construct. private TransactionalStateOperation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransactionalStateOperation() { operationType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransactionalStateOperation(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransactionalStateOperation( 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(); operationType_ = s; break; } case 18: { io.dapr.v1.CommonProtos.StateItem.Builder subBuilder = null; if (request_ != null) { subBuilder = request_.toBuilder(); } request_ = input.readMessage(io.dapr.v1.CommonProtos.StateItem.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(request_); request_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TransactionalStateOperation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TransactionalStateOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.TransactionalStateOperation.class, io.dapr.v1.DaprProtos.TransactionalStateOperation.Builder.class); } public static final int OPERATIONTYPE_FIELD_NUMBER = 1; private volatile java.lang.Object operationType_; /** *
     * The type of operation to be executed
     * 
* * string operationType = 1; * @return The operationType. */ @java.lang.Override public java.lang.String getOperationType() { java.lang.Object ref = operationType_; 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(); operationType_ = s; return s; } } /** *
     * The type of operation to be executed
     * 
* * string operationType = 1; * @return The bytes for operationType. */ @java.lang.Override public com.google.protobuf.ByteString getOperationTypeBytes() { java.lang.Object ref = operationType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REQUEST_FIELD_NUMBER = 2; private io.dapr.v1.CommonProtos.StateItem request_; /** *
     * State values to be operated on
     * 
* * .dapr.proto.common.v1.StateItem request = 2; * @return Whether the request field is set. */ @java.lang.Override public boolean hasRequest() { return request_ != null; } /** *
     * State values to be operated on
     * 
* * .dapr.proto.common.v1.StateItem request = 2; * @return The request. */ @java.lang.Override public io.dapr.v1.CommonProtos.StateItem getRequest() { return request_ == null ? io.dapr.v1.CommonProtos.StateItem.getDefaultInstance() : request_; } /** *
     * State values to be operated on
     * 
* * .dapr.proto.common.v1.StateItem request = 2; */ @java.lang.Override public io.dapr.v1.CommonProtos.StateItemOrBuilder getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, operationType_); } if (request_ != null) { output.writeMessage(2, getRequest()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, operationType_); } if (request_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRequest()); } 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.TransactionalStateOperation)) { return super.equals(obj); } io.dapr.v1.DaprProtos.TransactionalStateOperation other = (io.dapr.v1.DaprProtos.TransactionalStateOperation) obj; if (!getOperationType() .equals(other.getOperationType())) return false; if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { if (!getRequest() .equals(other.getRequest())) 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) + OPERATIONTYPE_FIELD_NUMBER; hash = (53 * hash) + getOperationType().hashCode(); if (hasRequest()) { hash = (37 * hash) + REQUEST_FIELD_NUMBER; hash = (53 * hash) + getRequest().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.TransactionalStateOperation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TransactionalStateOperation 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.TransactionalStateOperation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TransactionalStateOperation 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.TransactionalStateOperation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TransactionalStateOperation parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.TransactionalStateOperation parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TransactionalStateOperation 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.TransactionalStateOperation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TransactionalStateOperation 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.TransactionalStateOperation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TransactionalStateOperation 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.TransactionalStateOperation 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; } /** *
     * TransactionalStateOperation is the message to execute a specified operation with a key-value pair.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.TransactionalStateOperation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TransactionalStateOperation) io.dapr.v1.DaprProtos.TransactionalStateOperationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TransactionalStateOperation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TransactionalStateOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.TransactionalStateOperation.class, io.dapr.v1.DaprProtos.TransactionalStateOperation.Builder.class); } // Construct using io.dapr.v1.DaprProtos.TransactionalStateOperation.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(); operationType_ = ""; if (requestBuilder_ == null) { request_ = null; } else { request_ = null; requestBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TransactionalStateOperation_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.TransactionalStateOperation getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.TransactionalStateOperation.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.TransactionalStateOperation build() { io.dapr.v1.DaprProtos.TransactionalStateOperation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.TransactionalStateOperation buildPartial() { io.dapr.v1.DaprProtos.TransactionalStateOperation result = new io.dapr.v1.DaprProtos.TransactionalStateOperation(this); result.operationType_ = operationType_; if (requestBuilder_ == null) { result.request_ = request_; } else { result.request_ = requestBuilder_.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.TransactionalStateOperation) { return mergeFrom((io.dapr.v1.DaprProtos.TransactionalStateOperation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.TransactionalStateOperation other) { if (other == io.dapr.v1.DaprProtos.TransactionalStateOperation.getDefaultInstance()) return this; if (!other.getOperationType().isEmpty()) { operationType_ = other.operationType_; onChanged(); } if (other.hasRequest()) { mergeRequest(other.getRequest()); } 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.TransactionalStateOperation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.TransactionalStateOperation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object operationType_ = ""; /** *
       * The type of operation to be executed
       * 
* * string operationType = 1; * @return The operationType. */ public java.lang.String getOperationType() { java.lang.Object ref = operationType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The type of operation to be executed
       * 
* * string operationType = 1; * @return The bytes for operationType. */ public com.google.protobuf.ByteString getOperationTypeBytes() { java.lang.Object ref = operationType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The type of operation to be executed
       * 
* * string operationType = 1; * @param value The operationType to set. * @return This builder for chaining. */ public Builder setOperationType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } operationType_ = value; onChanged(); return this; } /** *
       * The type of operation to be executed
       * 
* * string operationType = 1; * @return This builder for chaining. */ public Builder clearOperationType() { operationType_ = getDefaultInstance().getOperationType(); onChanged(); return this; } /** *
       * The type of operation to be executed
       * 
* * string operationType = 1; * @param value The bytes for operationType to set. * @return This builder for chaining. */ public Builder setOperationTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operationType_ = value; onChanged(); return this; } private io.dapr.v1.CommonProtos.StateItem request_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StateItem, io.dapr.v1.CommonProtos.StateItem.Builder, io.dapr.v1.CommonProtos.StateItemOrBuilder> requestBuilder_; /** *
       * State values to be operated on
       * 
* * .dapr.proto.common.v1.StateItem request = 2; * @return Whether the request field is set. */ public boolean hasRequest() { return requestBuilder_ != null || request_ != null; } /** *
       * State values to be operated on
       * 
* * .dapr.proto.common.v1.StateItem request = 2; * @return The request. */ public io.dapr.v1.CommonProtos.StateItem getRequest() { if (requestBuilder_ == null) { return request_ == null ? io.dapr.v1.CommonProtos.StateItem.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** *
       * State values to be operated on
       * 
* * .dapr.proto.common.v1.StateItem request = 2; */ public Builder setRequest(io.dapr.v1.CommonProtos.StateItem value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { requestBuilder_.setMessage(value); } return this; } /** *
       * State values to be operated on
       * 
* * .dapr.proto.common.v1.StateItem request = 2; */ public Builder setRequest( io.dapr.v1.CommonProtos.StateItem.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { requestBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * State values to be operated on
       * 
* * .dapr.proto.common.v1.StateItem request = 2; */ public Builder mergeRequest(io.dapr.v1.CommonProtos.StateItem value) { if (requestBuilder_ == null) { if (request_ != null) { request_ = io.dapr.v1.CommonProtos.StateItem.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { requestBuilder_.mergeFrom(value); } return this; } /** *
       * State values to be operated on
       * 
* * .dapr.proto.common.v1.StateItem request = 2; */ public Builder clearRequest() { if (requestBuilder_ == null) { request_ = null; onChanged(); } else { request_ = null; requestBuilder_ = null; } return this; } /** *
       * State values to be operated on
       * 
* * .dapr.proto.common.v1.StateItem request = 2; */ public io.dapr.v1.CommonProtos.StateItem.Builder getRequestBuilder() { onChanged(); return getRequestFieldBuilder().getBuilder(); } /** *
       * State values to be operated on
       * 
* * .dapr.proto.common.v1.StateItem request = 2; */ public io.dapr.v1.CommonProtos.StateItemOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { return request_ == null ? io.dapr.v1.CommonProtos.StateItem.getDefaultInstance() : request_; } } /** *
       * State values to be operated on
       * 
* * .dapr.proto.common.v1.StateItem request = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StateItem, io.dapr.v1.CommonProtos.StateItem.Builder, io.dapr.v1.CommonProtos.StateItemOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StateItem, io.dapr.v1.CommonProtos.StateItem.Builder, io.dapr.v1.CommonProtos.StateItemOrBuilder>( getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } @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.TransactionalStateOperation) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TransactionalStateOperation) private static final io.dapr.v1.DaprProtos.TransactionalStateOperation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.TransactionalStateOperation(); } public static io.dapr.v1.DaprProtos.TransactionalStateOperation getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransactionalStateOperation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TransactionalStateOperation(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.TransactionalStateOperation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecuteStateTransactionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.ExecuteStateTransactionRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Required. name of state store.
     * 
* * string storeName = 1; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * Required. name of state store.
     * 
* * string storeName = 1; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * Required. transactional operation list.
     * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ java.util.List getOperationsList(); /** *
     * Required. transactional operation list.
     * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ io.dapr.v1.DaprProtos.TransactionalStateOperation getOperations(int index); /** *
     * Required. transactional operation list.
     * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ int getOperationsCount(); /** *
     * Required. transactional operation list.
     * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ java.util.List getOperationsOrBuilderList(); /** *
     * Required. transactional operation list.
     * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ io.dapr.v1.DaprProtos.TransactionalStateOperationOrBuilder getOperationsOrBuilder( int index); /** *
     * The metadata used for transactional operations.
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * The metadata used for transactional operations.
     * 
* * map<string, string> metadata = 3; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata used for transactional operations.
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * The metadata used for transactional operations.
     * 
* * map<string, string> metadata = 3; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata used for transactional operations.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * ExecuteStateTransactionRequest is the message to execute multiple operations on a specified store.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.ExecuteStateTransactionRequest} */ public static final class ExecuteStateTransactionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.ExecuteStateTransactionRequest) ExecuteStateTransactionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteStateTransactionRequest.newBuilder() to construct. private ExecuteStateTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteStateTransactionRequest() { storeName_ = ""; operations_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteStateTransactionRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecuteStateTransactionRequest( 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)) { operations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } operations_.add( input.readMessage(io.dapr.v1.DaprProtos.TransactionalStateOperation.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { operations_ = java.util.Collections.unmodifiableList(operations_); } 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_ExecuteStateTransactionRequest_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_ExecuteStateTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest.class, io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest.Builder.class); } public static final int STORENAME_FIELD_NUMBER = 1; private volatile java.lang.Object storeName_; /** *
     * Required. name of state store.
     * 
* * string storeName = 1; * @return The storeName. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * Required. name of state store.
     * 
* * string storeName = 1; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATIONS_FIELD_NUMBER = 2; private java.util.List operations_; /** *
     * Required. transactional operation list.
     * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ @java.lang.Override public java.util.List getOperationsList() { return operations_; } /** *
     * Required. transactional operation list.
     * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ @java.lang.Override public java.util.List getOperationsOrBuilderList() { return operations_; } /** *
     * Required. transactional operation list.
     * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ @java.lang.Override public int getOperationsCount() { return operations_.size(); } /** *
     * Required. transactional operation list.
     * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ @java.lang.Override public io.dapr.v1.DaprProtos.TransactionalStateOperation getOperations(int index) { return operations_.get(index); } /** *
     * Required. transactional operation list.
     * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ @java.lang.Override public io.dapr.v1.DaprProtos.TransactionalStateOperationOrBuilder getOperationsOrBuilder( int index) { return operations_.get(index); } public static final int METADATA_FIELD_NUMBER = 3; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_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 used for transactional operations.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata used for transactional operations.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata used for transactional operations.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata used for transactional operations.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } for (int i = 0; i < operations_.size(); i++) { output.writeMessage(2, operations_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } for (int i = 0; i < operations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, operations_.get(i)); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, metadata__); } 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.ExecuteStateTransactionRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest other = (io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getOperationsList() .equals(other.getOperationsList())) 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) + STORENAME_FIELD_NUMBER; hash = (53 * hash) + getStoreName().hashCode(); if (getOperationsCount() > 0) { hash = (37 * hash) + OPERATIONS_FIELD_NUMBER; hash = (53 * hash) + getOperationsList().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.ExecuteStateTransactionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest 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.ExecuteStateTransactionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest 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.ExecuteStateTransactionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest 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.ExecuteStateTransactionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest 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.ExecuteStateTransactionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest 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.ExecuteStateTransactionRequest 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; } /** *
     * ExecuteStateTransactionRequest is the message to execute multiple operations on a specified store.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.ExecuteStateTransactionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.ExecuteStateTransactionRequest) io.dapr.v1.DaprProtos.ExecuteStateTransactionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_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_ExecuteStateTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest.class, io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOperationsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); storeName_ = ""; if (operationsBuilder_ == null) { operations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { operationsBuilder_.clear(); } 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_ExecuteStateTransactionRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest build() { io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest buildPartial() { io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest result = new io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest(this); int from_bitField0_ = bitField0_; result.storeName_ = storeName_; if (operationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { operations_ = java.util.Collections.unmodifiableList(operations_); bitField0_ = (bitField0_ & ~0x00000001); } result.operations_ = operations_; } else { result.operations_ = operationsBuilder_.build(); } 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.ExecuteStateTransactionRequest) { return mergeFrom((io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest other) { if (other == io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; onChanged(); } if (operationsBuilder_ == null) { if (!other.operations_.isEmpty()) { if (operations_.isEmpty()) { operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureOperationsIsMutable(); operations_.addAll(other.operations_); } onChanged(); } } else { if (!other.operations_.isEmpty()) { if (operationsBuilder_.isEmpty()) { operationsBuilder_.dispose(); operationsBuilder_ = null; operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); operationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOperationsFieldBuilder() : null; } else { operationsBuilder_.addAllMessages(other.operations_); } } } 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.ExecuteStateTransactionRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object storeName_ = ""; /** *
       * Required. name of state store.
       * 
* * string storeName = 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; } } /** *
       * Required. name of state store.
       * 
* * string storeName = 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; } } /** *
       * Required. name of state store.
       * 
* * string storeName = 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; } /** *
       * Required. name of state store.
       * 
* * string storeName = 1; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * Required. name of state store.
       * 
* * string storeName = 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 operations_ = java.util.Collections.emptyList(); private void ensureOperationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { operations_ = new java.util.ArrayList(operations_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.TransactionalStateOperation, io.dapr.v1.DaprProtos.TransactionalStateOperation.Builder, io.dapr.v1.DaprProtos.TransactionalStateOperationOrBuilder> operationsBuilder_; /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public java.util.List getOperationsList() { if (operationsBuilder_ == null) { return java.util.Collections.unmodifiableList(operations_); } else { return operationsBuilder_.getMessageList(); } } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public int getOperationsCount() { if (operationsBuilder_ == null) { return operations_.size(); } else { return operationsBuilder_.getCount(); } } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public io.dapr.v1.DaprProtos.TransactionalStateOperation getOperations(int index) { if (operationsBuilder_ == null) { return operations_.get(index); } else { return operationsBuilder_.getMessage(index); } } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public Builder setOperations( int index, io.dapr.v1.DaprProtos.TransactionalStateOperation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.set(index, value); onChanged(); } else { operationsBuilder_.setMessage(index, value); } return this; } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public Builder setOperations( int index, io.dapr.v1.DaprProtos.TransactionalStateOperation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.set(index, builderForValue.build()); onChanged(); } else { operationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public Builder addOperations(io.dapr.v1.DaprProtos.TransactionalStateOperation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.add(value); onChanged(); } else { operationsBuilder_.addMessage(value); } return this; } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public Builder addOperations( int index, io.dapr.v1.DaprProtos.TransactionalStateOperation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.add(index, value); onChanged(); } else { operationsBuilder_.addMessage(index, value); } return this; } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public Builder addOperations( io.dapr.v1.DaprProtos.TransactionalStateOperation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(builderForValue.build()); onChanged(); } else { operationsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public Builder addOperations( int index, io.dapr.v1.DaprProtos.TransactionalStateOperation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(index, builderForValue.build()); onChanged(); } else { operationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public Builder addAllOperations( java.lang.Iterable values) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, operations_); onChanged(); } else { operationsBuilder_.addAllMessages(values); } return this; } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public Builder clearOperations() { if (operationsBuilder_ == null) { operations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { operationsBuilder_.clear(); } return this; } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public Builder removeOperations(int index) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.remove(index); onChanged(); } else { operationsBuilder_.remove(index); } return this; } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public io.dapr.v1.DaprProtos.TransactionalStateOperation.Builder getOperationsBuilder( int index) { return getOperationsFieldBuilder().getBuilder(index); } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public io.dapr.v1.DaprProtos.TransactionalStateOperationOrBuilder getOperationsOrBuilder( int index) { if (operationsBuilder_ == null) { return operations_.get(index); } else { return operationsBuilder_.getMessageOrBuilder(index); } } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public java.util.List getOperationsOrBuilderList() { if (operationsBuilder_ != null) { return operationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(operations_); } } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public io.dapr.v1.DaprProtos.TransactionalStateOperation.Builder addOperationsBuilder() { return getOperationsFieldBuilder().addBuilder( io.dapr.v1.DaprProtos.TransactionalStateOperation.getDefaultInstance()); } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public io.dapr.v1.DaprProtos.TransactionalStateOperation.Builder addOperationsBuilder( int index) { return getOperationsFieldBuilder().addBuilder( index, io.dapr.v1.DaprProtos.TransactionalStateOperation.getDefaultInstance()); } /** *
       * Required. transactional operation list.
       * 
* * repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2; */ public java.util.List getOperationsBuilderList() { return getOperationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.TransactionalStateOperation, io.dapr.v1.DaprProtos.TransactionalStateOperation.Builder, io.dapr.v1.DaprProtos.TransactionalStateOperationOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.TransactionalStateOperation, io.dapr.v1.DaprProtos.TransactionalStateOperation.Builder, io.dapr.v1.DaprProtos.TransactionalStateOperationOrBuilder>( operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); operations_ = null; } return operationsBuilder_; } 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 used for transactional operations.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata used for transactional operations.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata used for transactional operations.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata used for transactional operations.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata used for transactional operations.
       * 
* * map<string, string> metadata = 3; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata used for transactional operations.
       * 
* * map<string, string> metadata = 3; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata used for transactional operations.
       * 
* * 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.ExecuteStateTransactionRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.ExecuteStateTransactionRequest) private static final io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest(); } public static io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteStateTransactionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExecuteStateTransactionRequest(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.ExecuteStateTransactionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RegisterActorTimerRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.RegisterActorTimerRequest) com.google.protobuf.MessageOrBuilder { /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ java.lang.String getActorType(); /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ com.google.protobuf.ByteString getActorTypeBytes(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ java.lang.String getActorId(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ com.google.protobuf.ByteString getActorIdBytes(); /** * string name = 3; * @return The name. */ java.lang.String getName(); /** * string name = 3; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * string due_time = 4 [json_name = "dueTime"]; * @return The dueTime. */ java.lang.String getDueTime(); /** * string due_time = 4 [json_name = "dueTime"]; * @return The bytes for dueTime. */ com.google.protobuf.ByteString getDueTimeBytes(); /** * string period = 5; * @return The period. */ java.lang.String getPeriod(); /** * string period = 5; * @return The bytes for period. */ com.google.protobuf.ByteString getPeriodBytes(); /** * string callback = 6; * @return The callback. */ java.lang.String getCallback(); /** * string callback = 6; * @return The bytes for callback. */ com.google.protobuf.ByteString getCallbackBytes(); /** * bytes data = 7; * @return The data. */ com.google.protobuf.ByteString getData(); /** * string ttl = 8; * @return The ttl. */ java.lang.String getTtl(); /** * string ttl = 8; * @return The bytes for ttl. */ com.google.protobuf.ByteString getTtlBytes(); } /** *
   * RegisterActorTimerRequest is the message to register a timer for an actor of a given type and id.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.RegisterActorTimerRequest} */ public static final class RegisterActorTimerRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.RegisterActorTimerRequest) RegisterActorTimerRequestOrBuilder { private static final long serialVersionUID = 0L; // Use RegisterActorTimerRequest.newBuilder() to construct. private RegisterActorTimerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RegisterActorTimerRequest() { actorType_ = ""; actorId_ = ""; name_ = ""; dueTime_ = ""; period_ = ""; callback_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; ttl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RegisterActorTimerRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RegisterActorTimerRequest( 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(); actorType_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); actorId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); dueTime_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); period_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); callback_ = s; break; } case 58: { data_ = input.readBytes(); break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); ttl_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisterActorTimerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisterActorTimerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.RegisterActorTimerRequest.class, io.dapr.v1.DaprProtos.RegisterActorTimerRequest.Builder.class); } public static final int ACTOR_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object actorType_; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ @java.lang.Override public java.lang.String getActorType() { java.lang.Object ref = actorType_; 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(); actorType_ = s; return s; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ @java.lang.Override public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACTOR_ID_FIELD_NUMBER = 2; private volatile java.lang.Object actorId_; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ @java.lang.Override public java.lang.String getActorId() { java.lang.Object ref = actorId_; 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(); actorId_ = s; return s; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ @java.lang.Override public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** * string name = 3; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 3; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DUE_TIME_FIELD_NUMBER = 4; private volatile java.lang.Object dueTime_; /** * string due_time = 4 [json_name = "dueTime"]; * @return The dueTime. */ @java.lang.Override public java.lang.String getDueTime() { java.lang.Object ref = dueTime_; 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(); dueTime_ = s; return s; } } /** * string due_time = 4 [json_name = "dueTime"]; * @return The bytes for dueTime. */ @java.lang.Override public com.google.protobuf.ByteString getDueTimeBytes() { java.lang.Object ref = dueTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dueTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PERIOD_FIELD_NUMBER = 5; private volatile java.lang.Object period_; /** * string period = 5; * @return The period. */ @java.lang.Override public java.lang.String getPeriod() { java.lang.Object ref = period_; 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(); period_ = s; return s; } } /** * string period = 5; * @return The bytes for period. */ @java.lang.Override public com.google.protobuf.ByteString getPeriodBytes() { java.lang.Object ref = period_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); period_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CALLBACK_FIELD_NUMBER = 6; private volatile java.lang.Object callback_; /** * string callback = 6; * @return The callback. */ @java.lang.Override public java.lang.String getCallback() { java.lang.Object ref = callback_; 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(); callback_ = s; return s; } } /** * string callback = 6; * @return The bytes for callback. */ @java.lang.Override public com.google.protobuf.ByteString getCallbackBytes() { java.lang.Object ref = callback_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); callback_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_FIELD_NUMBER = 7; private com.google.protobuf.ByteString data_; /** * bytes data = 7; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } public static final int TTL_FIELD_NUMBER = 8; private volatile java.lang.Object ttl_; /** * string ttl = 8; * @return The ttl. */ @java.lang.Override public java.lang.String getTtl() { java.lang.Object ref = ttl_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ttl_ = s; return s; } } /** * string ttl = 8; * @return The bytes for ttl. */ @java.lang.Override public com.google.protobuf.ByteString getTtlBytes() { java.lang.Object ref = ttl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ttl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, actorId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dueTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dueTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(period_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, period_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callback_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, callback_); } if (!data_.isEmpty()) { output.writeBytes(7, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ttl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, ttl_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, actorId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dueTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, dueTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(period_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, period_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callback_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, callback_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ttl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, ttl_); } 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.RegisterActorTimerRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.RegisterActorTimerRequest other = (io.dapr.v1.DaprProtos.RegisterActorTimerRequest) obj; if (!getActorType() .equals(other.getActorType())) return false; if (!getActorId() .equals(other.getActorId())) return false; if (!getName() .equals(other.getName())) return false; if (!getDueTime() .equals(other.getDueTime())) return false; if (!getPeriod() .equals(other.getPeriod())) return false; if (!getCallback() .equals(other.getCallback())) return false; if (!getData() .equals(other.getData())) return false; if (!getTtl() .equals(other.getTtl())) 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) + ACTOR_TYPE_FIELD_NUMBER; hash = (53 * hash) + getActorType().hashCode(); hash = (37 * hash) + ACTOR_ID_FIELD_NUMBER; hash = (53 * hash) + getActorId().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DUE_TIME_FIELD_NUMBER; hash = (53 * hash) + getDueTime().hashCode(); hash = (37 * hash) + PERIOD_FIELD_NUMBER; hash = (53 * hash) + getPeriod().hashCode(); hash = (37 * hash) + CALLBACK_FIELD_NUMBER; hash = (53 * hash) + getCallback().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + TTL_FIELD_NUMBER; hash = (53 * hash) + getTtl().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.RegisterActorTimerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.RegisterActorTimerRequest 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.RegisterActorTimerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.RegisterActorTimerRequest 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.RegisterActorTimerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.RegisterActorTimerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.RegisterActorTimerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.RegisterActorTimerRequest 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.RegisterActorTimerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.RegisterActorTimerRequest 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.RegisterActorTimerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.RegisterActorTimerRequest 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.RegisterActorTimerRequest 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; } /** *
     * RegisterActorTimerRequest is the message to register a timer for an actor of a given type and id.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.RegisterActorTimerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.RegisterActorTimerRequest) io.dapr.v1.DaprProtos.RegisterActorTimerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisterActorTimerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisterActorTimerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.RegisterActorTimerRequest.class, io.dapr.v1.DaprProtos.RegisterActorTimerRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.RegisterActorTimerRequest.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(); actorType_ = ""; actorId_ = ""; name_ = ""; dueTime_ = ""; period_ = ""; callback_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; ttl_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisterActorTimerRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.RegisterActorTimerRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.RegisterActorTimerRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.RegisterActorTimerRequest build() { io.dapr.v1.DaprProtos.RegisterActorTimerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.RegisterActorTimerRequest buildPartial() { io.dapr.v1.DaprProtos.RegisterActorTimerRequest result = new io.dapr.v1.DaprProtos.RegisterActorTimerRequest(this); result.actorType_ = actorType_; result.actorId_ = actorId_; result.name_ = name_; result.dueTime_ = dueTime_; result.period_ = period_; result.callback_ = callback_; result.data_ = data_; result.ttl_ = ttl_; 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.RegisterActorTimerRequest) { return mergeFrom((io.dapr.v1.DaprProtos.RegisterActorTimerRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.RegisterActorTimerRequest other) { if (other == io.dapr.v1.DaprProtos.RegisterActorTimerRequest.getDefaultInstance()) return this; if (!other.getActorType().isEmpty()) { actorType_ = other.actorType_; onChanged(); } if (!other.getActorId().isEmpty()) { actorId_ = other.actorId_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDueTime().isEmpty()) { dueTime_ = other.dueTime_; onChanged(); } if (!other.getPeriod().isEmpty()) { period_ = other.period_; onChanged(); } if (!other.getCallback().isEmpty()) { callback_ = other.callback_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (!other.getTtl().isEmpty()) { ttl_ = other.ttl_; 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.RegisterActorTimerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.RegisterActorTimerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object actorType_ = ""; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ public java.lang.String getActorType() { java.lang.Object ref = actorType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The actorType to set. * @return This builder for chaining. */ public Builder setActorType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorType_ = value; onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @return This builder for chaining. */ public Builder clearActorType() { actorType_ = getDefaultInstance().getActorType(); onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The bytes for actorType to set. * @return This builder for chaining. */ public Builder setActorTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorType_ = value; onChanged(); return this; } private java.lang.Object actorId_ = ""; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ public java.lang.String getActorId() { java.lang.Object ref = actorId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The actorId to set. * @return This builder for chaining. */ public Builder setActorId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorId_ = value; onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @return This builder for chaining. */ public Builder clearActorId() { actorId_ = getDefaultInstance().getActorId(); onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The bytes for actorId to set. * @return This builder for chaining. */ public Builder setActorIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorId_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * string name = 3; * @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; } } /** * string name = 3; * @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; } } /** * string name = 3; * @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; } /** * string name = 3; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * string name = 3; * @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 java.lang.Object dueTime_ = ""; /** * string due_time = 4 [json_name = "dueTime"]; * @return The dueTime. */ public java.lang.String getDueTime() { java.lang.Object ref = dueTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dueTime_ = s; return s; } else { return (java.lang.String) ref; } } /** * string due_time = 4 [json_name = "dueTime"]; * @return The bytes for dueTime. */ public com.google.protobuf.ByteString getDueTimeBytes() { java.lang.Object ref = dueTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dueTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string due_time = 4 [json_name = "dueTime"]; * @param value The dueTime to set. * @return This builder for chaining. */ public Builder setDueTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dueTime_ = value; onChanged(); return this; } /** * string due_time = 4 [json_name = "dueTime"]; * @return This builder for chaining. */ public Builder clearDueTime() { dueTime_ = getDefaultInstance().getDueTime(); onChanged(); return this; } /** * string due_time = 4 [json_name = "dueTime"]; * @param value The bytes for dueTime to set. * @return This builder for chaining. */ public Builder setDueTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dueTime_ = value; onChanged(); return this; } private java.lang.Object period_ = ""; /** * string period = 5; * @return The period. */ public java.lang.String getPeriod() { java.lang.Object ref = period_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); period_ = s; return s; } else { return (java.lang.String) ref; } } /** * string period = 5; * @return The bytes for period. */ public com.google.protobuf.ByteString getPeriodBytes() { java.lang.Object ref = period_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); period_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string period = 5; * @param value The period to set. * @return This builder for chaining. */ public Builder setPeriod( java.lang.String value) { if (value == null) { throw new NullPointerException(); } period_ = value; onChanged(); return this; } /** * string period = 5; * @return This builder for chaining. */ public Builder clearPeriod() { period_ = getDefaultInstance().getPeriod(); onChanged(); return this; } /** * string period = 5; * @param value The bytes for period to set. * @return This builder for chaining. */ public Builder setPeriodBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); period_ = value; onChanged(); return this; } private java.lang.Object callback_ = ""; /** * string callback = 6; * @return The callback. */ public java.lang.String getCallback() { java.lang.Object ref = callback_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); callback_ = s; return s; } else { return (java.lang.String) ref; } } /** * string callback = 6; * @return The bytes for callback. */ public com.google.protobuf.ByteString getCallbackBytes() { java.lang.Object ref = callback_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); callback_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string callback = 6; * @param value The callback to set. * @return This builder for chaining. */ public Builder setCallback( java.lang.String value) { if (value == null) { throw new NullPointerException(); } callback_ = value; onChanged(); return this; } /** * string callback = 6; * @return This builder for chaining. */ public Builder clearCallback() { callback_ = getDefaultInstance().getCallback(); onChanged(); return this; } /** * string callback = 6; * @param value The bytes for callback to set. * @return This builder for chaining. */ public Builder setCallbackBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); callback_ = value; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * bytes data = 7; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** * bytes data = 7; * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** * bytes data = 7; * @return This builder for chaining. */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private java.lang.Object ttl_ = ""; /** * string ttl = 8; * @return The ttl. */ public java.lang.String getTtl() { java.lang.Object ref = ttl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ttl_ = s; return s; } else { return (java.lang.String) ref; } } /** * string ttl = 8; * @return The bytes for ttl. */ public com.google.protobuf.ByteString getTtlBytes() { java.lang.Object ref = ttl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ttl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string ttl = 8; * @param value The ttl to set. * @return This builder for chaining. */ public Builder setTtl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ttl_ = value; onChanged(); return this; } /** * string ttl = 8; * @return This builder for chaining. */ public Builder clearTtl() { ttl_ = getDefaultInstance().getTtl(); onChanged(); return this; } /** * string ttl = 8; * @param value The bytes for ttl to set. * @return This builder for chaining. */ public Builder setTtlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ttl_ = value; 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.RegisterActorTimerRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.RegisterActorTimerRequest) private static final io.dapr.v1.DaprProtos.RegisterActorTimerRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.RegisterActorTimerRequest(); } public static io.dapr.v1.DaprProtos.RegisterActorTimerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RegisterActorTimerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RegisterActorTimerRequest(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.RegisterActorTimerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UnregisterActorTimerRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.UnregisterActorTimerRequest) com.google.protobuf.MessageOrBuilder { /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ java.lang.String getActorType(); /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ com.google.protobuf.ByteString getActorTypeBytes(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ java.lang.String getActorId(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ com.google.protobuf.ByteString getActorIdBytes(); /** * string name = 3; * @return The name. */ java.lang.String getName(); /** * string name = 3; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } /** *
   * UnregisterActorTimerRequest is the message to unregister an actor timer
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.UnregisterActorTimerRequest} */ public static final class UnregisterActorTimerRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.UnregisterActorTimerRequest) UnregisterActorTimerRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UnregisterActorTimerRequest.newBuilder() to construct. private UnregisterActorTimerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UnregisterActorTimerRequest() { actorType_ = ""; actorId_ = ""; name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UnregisterActorTimerRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UnregisterActorTimerRequest( 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(); actorType_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); actorId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnregisterActorTimerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnregisterActorTimerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.UnregisterActorTimerRequest.class, io.dapr.v1.DaprProtos.UnregisterActorTimerRequest.Builder.class); } public static final int ACTOR_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object actorType_; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ @java.lang.Override public java.lang.String getActorType() { java.lang.Object ref = actorType_; 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(); actorType_ = s; return s; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ @java.lang.Override public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACTOR_ID_FIELD_NUMBER = 2; private volatile java.lang.Object actorId_; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ @java.lang.Override public java.lang.String getActorId() { java.lang.Object ref = actorId_; 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(); actorId_ = s; return s; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ @java.lang.Override public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** * string name = 3; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 3; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, actorId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, actorId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } 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.UnregisterActorTimerRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.UnregisterActorTimerRequest other = (io.dapr.v1.DaprProtos.UnregisterActorTimerRequest) obj; if (!getActorType() .equals(other.getActorType())) return false; if (!getActorId() .equals(other.getActorId())) return false; if (!getName() .equals(other.getName())) 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) + ACTOR_TYPE_FIELD_NUMBER; hash = (53 * hash) + getActorType().hashCode(); hash = (37 * hash) + ACTOR_ID_FIELD_NUMBER; hash = (53 * hash) + getActorId().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.UnregisterActorTimerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnregisterActorTimerRequest 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.UnregisterActorTimerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnregisterActorTimerRequest 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.UnregisterActorTimerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnregisterActorTimerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.UnregisterActorTimerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnregisterActorTimerRequest 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.UnregisterActorTimerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnregisterActorTimerRequest 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.UnregisterActorTimerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnregisterActorTimerRequest 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.UnregisterActorTimerRequest 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; } /** *
     * UnregisterActorTimerRequest is the message to unregister an actor timer
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.UnregisterActorTimerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.UnregisterActorTimerRequest) io.dapr.v1.DaprProtos.UnregisterActorTimerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnregisterActorTimerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnregisterActorTimerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.UnregisterActorTimerRequest.class, io.dapr.v1.DaprProtos.UnregisterActorTimerRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.UnregisterActorTimerRequest.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(); actorType_ = ""; actorId_ = ""; name_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnregisterActorTimerRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.UnregisterActorTimerRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.UnregisterActorTimerRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.UnregisterActorTimerRequest build() { io.dapr.v1.DaprProtos.UnregisterActorTimerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.UnregisterActorTimerRequest buildPartial() { io.dapr.v1.DaprProtos.UnregisterActorTimerRequest result = new io.dapr.v1.DaprProtos.UnregisterActorTimerRequest(this); result.actorType_ = actorType_; result.actorId_ = actorId_; result.name_ = name_; 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.UnregisterActorTimerRequest) { return mergeFrom((io.dapr.v1.DaprProtos.UnregisterActorTimerRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.UnregisterActorTimerRequest other) { if (other == io.dapr.v1.DaprProtos.UnregisterActorTimerRequest.getDefaultInstance()) return this; if (!other.getActorType().isEmpty()) { actorType_ = other.actorType_; onChanged(); } if (!other.getActorId().isEmpty()) { actorId_ = other.actorId_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; 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.UnregisterActorTimerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.UnregisterActorTimerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object actorType_ = ""; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ public java.lang.String getActorType() { java.lang.Object ref = actorType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The actorType to set. * @return This builder for chaining. */ public Builder setActorType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorType_ = value; onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @return This builder for chaining. */ public Builder clearActorType() { actorType_ = getDefaultInstance().getActorType(); onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The bytes for actorType to set. * @return This builder for chaining. */ public Builder setActorTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorType_ = value; onChanged(); return this; } private java.lang.Object actorId_ = ""; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ public java.lang.String getActorId() { java.lang.Object ref = actorId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The actorId to set. * @return This builder for chaining. */ public Builder setActorId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorId_ = value; onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @return This builder for chaining. */ public Builder clearActorId() { actorId_ = getDefaultInstance().getActorId(); onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The bytes for actorId to set. * @return This builder for chaining. */ public Builder setActorIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorId_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * string name = 3; * @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; } } /** * string name = 3; * @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; } } /** * string name = 3; * @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; } /** * string name = 3; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * string name = 3; * @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; } @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.UnregisterActorTimerRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.UnregisterActorTimerRequest) private static final io.dapr.v1.DaprProtos.UnregisterActorTimerRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.UnregisterActorTimerRequest(); } public static io.dapr.v1.DaprProtos.UnregisterActorTimerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UnregisterActorTimerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UnregisterActorTimerRequest(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.UnregisterActorTimerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RegisterActorReminderRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.RegisterActorReminderRequest) com.google.protobuf.MessageOrBuilder { /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ java.lang.String getActorType(); /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ com.google.protobuf.ByteString getActorTypeBytes(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ java.lang.String getActorId(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ com.google.protobuf.ByteString getActorIdBytes(); /** * string name = 3; * @return The name. */ java.lang.String getName(); /** * string name = 3; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * string due_time = 4 [json_name = "dueTime"]; * @return The dueTime. */ java.lang.String getDueTime(); /** * string due_time = 4 [json_name = "dueTime"]; * @return The bytes for dueTime. */ com.google.protobuf.ByteString getDueTimeBytes(); /** * string period = 5; * @return The period. */ java.lang.String getPeriod(); /** * string period = 5; * @return The bytes for period. */ com.google.protobuf.ByteString getPeriodBytes(); /** * bytes data = 6; * @return The data. */ com.google.protobuf.ByteString getData(); /** * string ttl = 7; * @return The ttl. */ java.lang.String getTtl(); /** * string ttl = 7; * @return The bytes for ttl. */ com.google.protobuf.ByteString getTtlBytes(); } /** *
   * RegisterActorReminderRequest is the message to register a reminder for an actor of a given type and id.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.RegisterActorReminderRequest} */ public static final class RegisterActorReminderRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.RegisterActorReminderRequest) RegisterActorReminderRequestOrBuilder { private static final long serialVersionUID = 0L; // Use RegisterActorReminderRequest.newBuilder() to construct. private RegisterActorReminderRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RegisterActorReminderRequest() { actorType_ = ""; actorId_ = ""; name_ = ""; dueTime_ = ""; period_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; ttl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RegisterActorReminderRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RegisterActorReminderRequest( 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(); actorType_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); actorId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); dueTime_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); period_ = s; break; } case 50: { data_ = input.readBytes(); break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); ttl_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisterActorReminderRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisterActorReminderRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.RegisterActorReminderRequest.class, io.dapr.v1.DaprProtos.RegisterActorReminderRequest.Builder.class); } public static final int ACTOR_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object actorType_; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ @java.lang.Override public java.lang.String getActorType() { java.lang.Object ref = actorType_; 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(); actorType_ = s; return s; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ @java.lang.Override public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACTOR_ID_FIELD_NUMBER = 2; private volatile java.lang.Object actorId_; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ @java.lang.Override public java.lang.String getActorId() { java.lang.Object ref = actorId_; 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(); actorId_ = s; return s; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ @java.lang.Override public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** * string name = 3; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 3; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DUE_TIME_FIELD_NUMBER = 4; private volatile java.lang.Object dueTime_; /** * string due_time = 4 [json_name = "dueTime"]; * @return The dueTime. */ @java.lang.Override public java.lang.String getDueTime() { java.lang.Object ref = dueTime_; 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(); dueTime_ = s; return s; } } /** * string due_time = 4 [json_name = "dueTime"]; * @return The bytes for dueTime. */ @java.lang.Override public com.google.protobuf.ByteString getDueTimeBytes() { java.lang.Object ref = dueTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dueTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PERIOD_FIELD_NUMBER = 5; private volatile java.lang.Object period_; /** * string period = 5; * @return The period. */ @java.lang.Override public java.lang.String getPeriod() { java.lang.Object ref = period_; 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(); period_ = s; return s; } } /** * string period = 5; * @return The bytes for period. */ @java.lang.Override public com.google.protobuf.ByteString getPeriodBytes() { java.lang.Object ref = period_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); period_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_FIELD_NUMBER = 6; private com.google.protobuf.ByteString data_; /** * bytes data = 6; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } public static final int TTL_FIELD_NUMBER = 7; private volatile java.lang.Object ttl_; /** * string ttl = 7; * @return The ttl. */ @java.lang.Override public java.lang.String getTtl() { java.lang.Object ref = ttl_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ttl_ = s; return s; } } /** * string ttl = 7; * @return The bytes for ttl. */ @java.lang.Override public com.google.protobuf.ByteString getTtlBytes() { java.lang.Object ref = ttl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ttl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, actorId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dueTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dueTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(period_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, period_); } if (!data_.isEmpty()) { output.writeBytes(6, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ttl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, ttl_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, actorId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dueTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, dueTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(period_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, period_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, data_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ttl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, ttl_); } 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.RegisterActorReminderRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.RegisterActorReminderRequest other = (io.dapr.v1.DaprProtos.RegisterActorReminderRequest) obj; if (!getActorType() .equals(other.getActorType())) return false; if (!getActorId() .equals(other.getActorId())) return false; if (!getName() .equals(other.getName())) return false; if (!getDueTime() .equals(other.getDueTime())) return false; if (!getPeriod() .equals(other.getPeriod())) return false; if (!getData() .equals(other.getData())) return false; if (!getTtl() .equals(other.getTtl())) 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) + ACTOR_TYPE_FIELD_NUMBER; hash = (53 * hash) + getActorType().hashCode(); hash = (37 * hash) + ACTOR_ID_FIELD_NUMBER; hash = (53 * hash) + getActorId().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DUE_TIME_FIELD_NUMBER; hash = (53 * hash) + getDueTime().hashCode(); hash = (37 * hash) + PERIOD_FIELD_NUMBER; hash = (53 * hash) + getPeriod().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + TTL_FIELD_NUMBER; hash = (53 * hash) + getTtl().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.RegisterActorReminderRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.RegisterActorReminderRequest 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.RegisterActorReminderRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.RegisterActorReminderRequest 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.RegisterActorReminderRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.RegisterActorReminderRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.RegisterActorReminderRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.RegisterActorReminderRequest 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.RegisterActorReminderRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.RegisterActorReminderRequest 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.RegisterActorReminderRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.RegisterActorReminderRequest 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.RegisterActorReminderRequest 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; } /** *
     * RegisterActorReminderRequest is the message to register a reminder for an actor of a given type and id.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.RegisterActorReminderRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.RegisterActorReminderRequest) io.dapr.v1.DaprProtos.RegisterActorReminderRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisterActorReminderRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisterActorReminderRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.RegisterActorReminderRequest.class, io.dapr.v1.DaprProtos.RegisterActorReminderRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.RegisterActorReminderRequest.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(); actorType_ = ""; actorId_ = ""; name_ = ""; dueTime_ = ""; period_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; ttl_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisterActorReminderRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.RegisterActorReminderRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.RegisterActorReminderRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.RegisterActorReminderRequest build() { io.dapr.v1.DaprProtos.RegisterActorReminderRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.RegisterActorReminderRequest buildPartial() { io.dapr.v1.DaprProtos.RegisterActorReminderRequest result = new io.dapr.v1.DaprProtos.RegisterActorReminderRequest(this); result.actorType_ = actorType_; result.actorId_ = actorId_; result.name_ = name_; result.dueTime_ = dueTime_; result.period_ = period_; result.data_ = data_; result.ttl_ = ttl_; 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.RegisterActorReminderRequest) { return mergeFrom((io.dapr.v1.DaprProtos.RegisterActorReminderRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.RegisterActorReminderRequest other) { if (other == io.dapr.v1.DaprProtos.RegisterActorReminderRequest.getDefaultInstance()) return this; if (!other.getActorType().isEmpty()) { actorType_ = other.actorType_; onChanged(); } if (!other.getActorId().isEmpty()) { actorId_ = other.actorId_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDueTime().isEmpty()) { dueTime_ = other.dueTime_; onChanged(); } if (!other.getPeriod().isEmpty()) { period_ = other.period_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (!other.getTtl().isEmpty()) { ttl_ = other.ttl_; 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.RegisterActorReminderRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.RegisterActorReminderRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object actorType_ = ""; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ public java.lang.String getActorType() { java.lang.Object ref = actorType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The actorType to set. * @return This builder for chaining. */ public Builder setActorType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorType_ = value; onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @return This builder for chaining. */ public Builder clearActorType() { actorType_ = getDefaultInstance().getActorType(); onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The bytes for actorType to set. * @return This builder for chaining. */ public Builder setActorTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorType_ = value; onChanged(); return this; } private java.lang.Object actorId_ = ""; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ public java.lang.String getActorId() { java.lang.Object ref = actorId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The actorId to set. * @return This builder for chaining. */ public Builder setActorId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorId_ = value; onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @return This builder for chaining. */ public Builder clearActorId() { actorId_ = getDefaultInstance().getActorId(); onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The bytes for actorId to set. * @return This builder for chaining. */ public Builder setActorIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorId_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * string name = 3; * @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; } } /** * string name = 3; * @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; } } /** * string name = 3; * @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; } /** * string name = 3; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * string name = 3; * @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 java.lang.Object dueTime_ = ""; /** * string due_time = 4 [json_name = "dueTime"]; * @return The dueTime. */ public java.lang.String getDueTime() { java.lang.Object ref = dueTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dueTime_ = s; return s; } else { return (java.lang.String) ref; } } /** * string due_time = 4 [json_name = "dueTime"]; * @return The bytes for dueTime. */ public com.google.protobuf.ByteString getDueTimeBytes() { java.lang.Object ref = dueTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dueTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string due_time = 4 [json_name = "dueTime"]; * @param value The dueTime to set. * @return This builder for chaining. */ public Builder setDueTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dueTime_ = value; onChanged(); return this; } /** * string due_time = 4 [json_name = "dueTime"]; * @return This builder for chaining. */ public Builder clearDueTime() { dueTime_ = getDefaultInstance().getDueTime(); onChanged(); return this; } /** * string due_time = 4 [json_name = "dueTime"]; * @param value The bytes for dueTime to set. * @return This builder for chaining. */ public Builder setDueTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dueTime_ = value; onChanged(); return this; } private java.lang.Object period_ = ""; /** * string period = 5; * @return The period. */ public java.lang.String getPeriod() { java.lang.Object ref = period_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); period_ = s; return s; } else { return (java.lang.String) ref; } } /** * string period = 5; * @return The bytes for period. */ public com.google.protobuf.ByteString getPeriodBytes() { java.lang.Object ref = period_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); period_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string period = 5; * @param value The period to set. * @return This builder for chaining. */ public Builder setPeriod( java.lang.String value) { if (value == null) { throw new NullPointerException(); } period_ = value; onChanged(); return this; } /** * string period = 5; * @return This builder for chaining. */ public Builder clearPeriod() { period_ = getDefaultInstance().getPeriod(); onChanged(); return this; } /** * string period = 5; * @param value The bytes for period to set. * @return This builder for chaining. */ public Builder setPeriodBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); period_ = value; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * bytes data = 6; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** * bytes data = 6; * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** * bytes data = 6; * @return This builder for chaining. */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private java.lang.Object ttl_ = ""; /** * string ttl = 7; * @return The ttl. */ public java.lang.String getTtl() { java.lang.Object ref = ttl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ttl_ = s; return s; } else { return (java.lang.String) ref; } } /** * string ttl = 7; * @return The bytes for ttl. */ public com.google.protobuf.ByteString getTtlBytes() { java.lang.Object ref = ttl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ttl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string ttl = 7; * @param value The ttl to set. * @return This builder for chaining. */ public Builder setTtl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ttl_ = value; onChanged(); return this; } /** * string ttl = 7; * @return This builder for chaining. */ public Builder clearTtl() { ttl_ = getDefaultInstance().getTtl(); onChanged(); return this; } /** * string ttl = 7; * @param value The bytes for ttl to set. * @return This builder for chaining. */ public Builder setTtlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ttl_ = value; 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.RegisterActorReminderRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.RegisterActorReminderRequest) private static final io.dapr.v1.DaprProtos.RegisterActorReminderRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.RegisterActorReminderRequest(); } public static io.dapr.v1.DaprProtos.RegisterActorReminderRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RegisterActorReminderRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RegisterActorReminderRequest(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.RegisterActorReminderRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UnregisterActorReminderRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.UnregisterActorReminderRequest) com.google.protobuf.MessageOrBuilder { /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ java.lang.String getActorType(); /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ com.google.protobuf.ByteString getActorTypeBytes(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ java.lang.String getActorId(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ com.google.protobuf.ByteString getActorIdBytes(); /** * string name = 3; * @return The name. */ java.lang.String getName(); /** * string name = 3; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } /** *
   * UnregisterActorReminderRequest is the message to unregister an actor reminder.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.UnregisterActorReminderRequest} */ public static final class UnregisterActorReminderRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.UnregisterActorReminderRequest) UnregisterActorReminderRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UnregisterActorReminderRequest.newBuilder() to construct. private UnregisterActorReminderRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UnregisterActorReminderRequest() { actorType_ = ""; actorId_ = ""; name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UnregisterActorReminderRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UnregisterActorReminderRequest( 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(); actorType_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); actorId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnregisterActorReminderRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnregisterActorReminderRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.UnregisterActorReminderRequest.class, io.dapr.v1.DaprProtos.UnregisterActorReminderRequest.Builder.class); } public static final int ACTOR_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object actorType_; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ @java.lang.Override public java.lang.String getActorType() { java.lang.Object ref = actorType_; 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(); actorType_ = s; return s; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ @java.lang.Override public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACTOR_ID_FIELD_NUMBER = 2; private volatile java.lang.Object actorId_; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ @java.lang.Override public java.lang.String getActorId() { java.lang.Object ref = actorId_; 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(); actorId_ = s; return s; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ @java.lang.Override public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** * string name = 3; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 3; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, actorId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, actorId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } 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.UnregisterActorReminderRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.UnregisterActorReminderRequest other = (io.dapr.v1.DaprProtos.UnregisterActorReminderRequest) obj; if (!getActorType() .equals(other.getActorType())) return false; if (!getActorId() .equals(other.getActorId())) return false; if (!getName() .equals(other.getName())) 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) + ACTOR_TYPE_FIELD_NUMBER; hash = (53 * hash) + getActorType().hashCode(); hash = (37 * hash) + ACTOR_ID_FIELD_NUMBER; hash = (53 * hash) + getActorId().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.UnregisterActorReminderRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnregisterActorReminderRequest 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.UnregisterActorReminderRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnregisterActorReminderRequest 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.UnregisterActorReminderRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnregisterActorReminderRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.UnregisterActorReminderRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnregisterActorReminderRequest 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.UnregisterActorReminderRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnregisterActorReminderRequest 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.UnregisterActorReminderRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnregisterActorReminderRequest 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.UnregisterActorReminderRequest 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; } /** *
     * UnregisterActorReminderRequest is the message to unregister an actor reminder.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.UnregisterActorReminderRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.UnregisterActorReminderRequest) io.dapr.v1.DaprProtos.UnregisterActorReminderRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnregisterActorReminderRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnregisterActorReminderRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.UnregisterActorReminderRequest.class, io.dapr.v1.DaprProtos.UnregisterActorReminderRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.UnregisterActorReminderRequest.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(); actorType_ = ""; actorId_ = ""; name_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnregisterActorReminderRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.UnregisterActorReminderRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.UnregisterActorReminderRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.UnregisterActorReminderRequest build() { io.dapr.v1.DaprProtos.UnregisterActorReminderRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.UnregisterActorReminderRequest buildPartial() { io.dapr.v1.DaprProtos.UnregisterActorReminderRequest result = new io.dapr.v1.DaprProtos.UnregisterActorReminderRequest(this); result.actorType_ = actorType_; result.actorId_ = actorId_; result.name_ = name_; 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.UnregisterActorReminderRequest) { return mergeFrom((io.dapr.v1.DaprProtos.UnregisterActorReminderRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.UnregisterActorReminderRequest other) { if (other == io.dapr.v1.DaprProtos.UnregisterActorReminderRequest.getDefaultInstance()) return this; if (!other.getActorType().isEmpty()) { actorType_ = other.actorType_; onChanged(); } if (!other.getActorId().isEmpty()) { actorId_ = other.actorId_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; 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.UnregisterActorReminderRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.UnregisterActorReminderRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object actorType_ = ""; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ public java.lang.String getActorType() { java.lang.Object ref = actorType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The actorType to set. * @return This builder for chaining. */ public Builder setActorType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorType_ = value; onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @return This builder for chaining. */ public Builder clearActorType() { actorType_ = getDefaultInstance().getActorType(); onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The bytes for actorType to set. * @return This builder for chaining. */ public Builder setActorTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorType_ = value; onChanged(); return this; } private java.lang.Object actorId_ = ""; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ public java.lang.String getActorId() { java.lang.Object ref = actorId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The actorId to set. * @return This builder for chaining. */ public Builder setActorId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorId_ = value; onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @return This builder for chaining. */ public Builder clearActorId() { actorId_ = getDefaultInstance().getActorId(); onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The bytes for actorId to set. * @return This builder for chaining. */ public Builder setActorIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorId_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * string name = 3; * @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; } } /** * string name = 3; * @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; } } /** * string name = 3; * @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; } /** * string name = 3; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * string name = 3; * @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; } @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.UnregisterActorReminderRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.UnregisterActorReminderRequest) private static final io.dapr.v1.DaprProtos.UnregisterActorReminderRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.UnregisterActorReminderRequest(); } public static io.dapr.v1.DaprProtos.UnregisterActorReminderRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UnregisterActorReminderRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UnregisterActorReminderRequest(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.UnregisterActorReminderRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetActorStateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetActorStateRequest) com.google.protobuf.MessageOrBuilder { /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ java.lang.String getActorType(); /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ com.google.protobuf.ByteString getActorTypeBytes(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ java.lang.String getActorId(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ com.google.protobuf.ByteString getActorIdBytes(); /** * string key = 3; * @return The key. */ java.lang.String getKey(); /** * string key = 3; * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); } /** *
   * GetActorStateRequest is the message to get key-value states from specific actor.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetActorStateRequest} */ public static final class GetActorStateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetActorStateRequest) GetActorStateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetActorStateRequest.newBuilder() to construct. private GetActorStateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetActorStateRequest() { actorType_ = ""; actorId_ = ""; key_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetActorStateRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetActorStateRequest( 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(); actorType_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); actorId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); key_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetActorStateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetActorStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetActorStateRequest.class, io.dapr.v1.DaprProtos.GetActorStateRequest.Builder.class); } public static final int ACTOR_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object actorType_; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ @java.lang.Override public java.lang.String getActorType() { java.lang.Object ref = actorType_; 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(); actorType_ = s; return s; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ @java.lang.Override public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACTOR_ID_FIELD_NUMBER = 2; private volatile java.lang.Object actorId_; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ @java.lang.Override public java.lang.String getActorId() { java.lang.Object ref = actorId_; 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(); actorId_ = s; return s; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ @java.lang.Override public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_FIELD_NUMBER = 3; private volatile java.lang.Object key_; /** * string key = 3; * @return The key. */ @java.lang.Override 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; } } /** * string key = 3; * @return The bytes for key. */ @java.lang.Override 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; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, actorId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, key_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, actorId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, key_); } 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.GetActorStateRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetActorStateRequest other = (io.dapr.v1.DaprProtos.GetActorStateRequest) obj; if (!getActorType() .equals(other.getActorType())) return false; if (!getActorId() .equals(other.getActorId())) return false; if (!getKey() .equals(other.getKey())) 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) + ACTOR_TYPE_FIELD_NUMBER; hash = (53 * hash) + getActorType().hashCode(); hash = (37 * hash) + ACTOR_ID_FIELD_NUMBER; hash = (53 * hash) + getActorId().hashCode(); hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.GetActorStateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetActorStateRequest 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.GetActorStateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetActorStateRequest 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.GetActorStateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetActorStateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetActorStateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetActorStateRequest 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.GetActorStateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetActorStateRequest 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.GetActorStateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetActorStateRequest 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.GetActorStateRequest 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; } /** *
     * GetActorStateRequest is the message to get key-value states from specific actor.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetActorStateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetActorStateRequest) io.dapr.v1.DaprProtos.GetActorStateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetActorStateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetActorStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetActorStateRequest.class, io.dapr.v1.DaprProtos.GetActorStateRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetActorStateRequest.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(); actorType_ = ""; actorId_ = ""; key_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetActorStateRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetActorStateRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetActorStateRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetActorStateRequest build() { io.dapr.v1.DaprProtos.GetActorStateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetActorStateRequest buildPartial() { io.dapr.v1.DaprProtos.GetActorStateRequest result = new io.dapr.v1.DaprProtos.GetActorStateRequest(this); result.actorType_ = actorType_; result.actorId_ = actorId_; result.key_ = key_; 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.GetActorStateRequest) { return mergeFrom((io.dapr.v1.DaprProtos.GetActorStateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetActorStateRequest other) { if (other == io.dapr.v1.DaprProtos.GetActorStateRequest.getDefaultInstance()) return this; if (!other.getActorType().isEmpty()) { actorType_ = other.actorType_; onChanged(); } if (!other.getActorId().isEmpty()) { actorId_ = other.actorId_; onChanged(); } if (!other.getKey().isEmpty()) { key_ = other.key_; 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.GetActorStateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetActorStateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object actorType_ = ""; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ public java.lang.String getActorType() { java.lang.Object ref = actorType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The actorType to set. * @return This builder for chaining. */ public Builder setActorType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorType_ = value; onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @return This builder for chaining. */ public Builder clearActorType() { actorType_ = getDefaultInstance().getActorType(); onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The bytes for actorType to set. * @return This builder for chaining. */ public Builder setActorTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorType_ = value; onChanged(); return this; } private java.lang.Object actorId_ = ""; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ public java.lang.String getActorId() { java.lang.Object ref = actorId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The actorId to set. * @return This builder for chaining. */ public Builder setActorId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorId_ = value; onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @return This builder for chaining. */ public Builder clearActorId() { actorId_ = getDefaultInstance().getActorId(); onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The bytes for actorId to set. * @return This builder for chaining. */ public Builder setActorIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorId_ = value; onChanged(); return this; } private java.lang.Object key_ = ""; /** * string key = 3; * @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; } } /** * string key = 3; * @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; } } /** * string key = 3; * @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; } /** * string key = 3; * @return This builder for chaining. */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** * string key = 3; * @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; } @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.GetActorStateRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetActorStateRequest) private static final io.dapr.v1.DaprProtos.GetActorStateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetActorStateRequest(); } public static io.dapr.v1.DaprProtos.GetActorStateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetActorStateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetActorStateRequest(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.GetActorStateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetActorStateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetActorStateResponse) com.google.protobuf.MessageOrBuilder { /** * bytes data = 1; * @return The data. */ com.google.protobuf.ByteString getData(); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 2; */ int getMetadataCount(); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 2; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 2; */ java.util.Map getMetadataMap(); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 2; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 2; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * GetActorStateResponse is the response conveying the actor's state value.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetActorStateResponse} */ public static final class GetActorStateResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetActorStateResponse) GetActorStateResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetActorStateResponse.newBuilder() to construct. private GetActorStateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetActorStateResponse() { data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetActorStateResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetActorStateResponse( 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 (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetActorStateResponse_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_GetActorStateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetActorStateResponse.class, io.dapr.v1.DaprProtos.GetActorStateResponse.Builder.class); } public static final int DATA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString data_; /** * bytes data = 1; * @return The data. */ @java.lang.Override 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_GetActorStateResponse_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 app.
     * 
* * map<string, string> metadata = 2; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata which will be sent to app.
     * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!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.GetActorStateResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetActorStateResponse other = (io.dapr.v1.DaprProtos.GetActorStateResponse) 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.GetActorStateResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetActorStateResponse 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.GetActorStateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetActorStateResponse 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.GetActorStateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetActorStateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetActorStateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetActorStateResponse 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.GetActorStateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetActorStateResponse 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.GetActorStateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetActorStateResponse 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.GetActorStateResponse 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; } /** *
     * GetActorStateResponse is the response conveying the actor's state value.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetActorStateResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetActorStateResponse) io.dapr.v1.DaprProtos.GetActorStateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetActorStateResponse_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_GetActorStateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetActorStateResponse.class, io.dapr.v1.DaprProtos.GetActorStateResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetActorStateResponse.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_GetActorStateResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetActorStateResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetActorStateResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetActorStateResponse build() { io.dapr.v1.DaprProtos.GetActorStateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetActorStateResponse buildPartial() { io.dapr.v1.DaprProtos.GetActorStateResponse result = new io.dapr.v1.DaprProtos.GetActorStateResponse(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.GetActorStateResponse) { return mergeFrom((io.dapr.v1.DaprProtos.GetActorStateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetActorStateResponse other) { if (other == io.dapr.v1.DaprProtos.GetActorStateResponse.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.GetActorStateResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetActorStateResponse) 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; /** * bytes data = 1; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return 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; } /** * 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 which will be sent to app.
       * 
* * map<string, string> metadata = 2; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 2; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 2; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata which will be sent to app.
       * 
* * map<string, string> metadata = 2; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata which will be sent to app.
       * 
* * 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.GetActorStateResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetActorStateResponse) private static final io.dapr.v1.DaprProtos.GetActorStateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetActorStateResponse(); } public static io.dapr.v1.DaprProtos.GetActorStateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetActorStateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetActorStateResponse(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.GetActorStateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecuteActorStateTransactionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest) com.google.protobuf.MessageOrBuilder { /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ java.lang.String getActorType(); /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ com.google.protobuf.ByteString getActorTypeBytes(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ java.lang.String getActorId(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ com.google.protobuf.ByteString getActorIdBytes(); /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ java.util.List getOperationsList(); /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ io.dapr.v1.DaprProtos.TransactionalActorStateOperation getOperations(int index); /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ int getOperationsCount(); /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ java.util.List getOperationsOrBuilderList(); /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ io.dapr.v1.DaprProtos.TransactionalActorStateOperationOrBuilder getOperationsOrBuilder( int index); } /** *
   * ExecuteActorStateTransactionRequest is the message to execute multiple operations on a specified actor.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} */ public static final class ExecuteActorStateTransactionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest) ExecuteActorStateTransactionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteActorStateTransactionRequest.newBuilder() to construct. private ExecuteActorStateTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteActorStateTransactionRequest() { actorType_ = ""; actorId_ = ""; operations_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteActorStateTransactionRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecuteActorStateTransactionRequest( 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(); actorType_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); actorId_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { operations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } operations_.add( input.readMessage(io.dapr.v1.DaprProtos.TransactionalActorStateOperation.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { operations_ = java.util.Collections.unmodifiableList(operations_); } 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_ExecuteActorStateTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ExecuteActorStateTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest.class, io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest.Builder.class); } public static final int ACTOR_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object actorType_; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ @java.lang.Override public java.lang.String getActorType() { java.lang.Object ref = actorType_; 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(); actorType_ = s; return s; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ @java.lang.Override public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACTOR_ID_FIELD_NUMBER = 2; private volatile java.lang.Object actorId_; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ @java.lang.Override public java.lang.String getActorId() { java.lang.Object ref = actorId_; 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(); actorId_ = s; return s; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ @java.lang.Override public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATIONS_FIELD_NUMBER = 3; private java.util.List operations_; /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ @java.lang.Override public java.util.List getOperationsList() { return operations_; } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ @java.lang.Override public java.util.List getOperationsOrBuilderList() { return operations_; } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ @java.lang.Override public int getOperationsCount() { return operations_.size(); } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ @java.lang.Override public io.dapr.v1.DaprProtos.TransactionalActorStateOperation getOperations(int index) { return operations_.get(index); } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ @java.lang.Override public io.dapr.v1.DaprProtos.TransactionalActorStateOperationOrBuilder getOperationsOrBuilder( int index) { return operations_.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, actorId_); } for (int i = 0; i < operations_.size(); i++) { output.writeMessage(3, operations_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, actorId_); } for (int i = 0; i < operations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, operations_.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.ExecuteActorStateTransactionRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest other = (io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest) obj; if (!getActorType() .equals(other.getActorType())) return false; if (!getActorId() .equals(other.getActorId())) return false; if (!getOperationsList() .equals(other.getOperationsList())) 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) + ACTOR_TYPE_FIELD_NUMBER; hash = (53 * hash) + getActorType().hashCode(); hash = (37 * hash) + ACTOR_ID_FIELD_NUMBER; hash = (53 * hash) + getActorId().hashCode(); if (getOperationsCount() > 0) { hash = (37 * hash) + OPERATIONS_FIELD_NUMBER; hash = (53 * hash) + getOperationsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest 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.ExecuteActorStateTransactionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest 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.ExecuteActorStateTransactionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest 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.ExecuteActorStateTransactionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest 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.ExecuteActorStateTransactionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest 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.ExecuteActorStateTransactionRequest 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; } /** *
     * ExecuteActorStateTransactionRequest is the message to execute multiple operations on a specified actor.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest) io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ExecuteActorStateTransactionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ExecuteActorStateTransactionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest.class, io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOperationsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); actorType_ = ""; actorId_ = ""; if (operationsBuilder_ == null) { operations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { operationsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ExecuteActorStateTransactionRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest build() { io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest buildPartial() { io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest result = new io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest(this); int from_bitField0_ = bitField0_; result.actorType_ = actorType_; result.actorId_ = actorId_; if (operationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { operations_ = java.util.Collections.unmodifiableList(operations_); bitField0_ = (bitField0_ & ~0x00000001); } result.operations_ = operations_; } else { result.operations_ = operationsBuilder_.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.ExecuteActorStateTransactionRequest) { return mergeFrom((io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest other) { if (other == io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest.getDefaultInstance()) return this; if (!other.getActorType().isEmpty()) { actorType_ = other.actorType_; onChanged(); } if (!other.getActorId().isEmpty()) { actorId_ = other.actorId_; onChanged(); } if (operationsBuilder_ == null) { if (!other.operations_.isEmpty()) { if (operations_.isEmpty()) { operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureOperationsIsMutable(); operations_.addAll(other.operations_); } onChanged(); } } else { if (!other.operations_.isEmpty()) { if (operationsBuilder_.isEmpty()) { operationsBuilder_.dispose(); operationsBuilder_ = null; operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); operationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOperationsFieldBuilder() : null; } else { operationsBuilder_.addAllMessages(other.operations_); } } } 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.ExecuteActorStateTransactionRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object actorType_ = ""; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ public java.lang.String getActorType() { java.lang.Object ref = actorType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The actorType to set. * @return This builder for chaining. */ public Builder setActorType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorType_ = value; onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @return This builder for chaining. */ public Builder clearActorType() { actorType_ = getDefaultInstance().getActorType(); onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The bytes for actorType to set. * @return This builder for chaining. */ public Builder setActorTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorType_ = value; onChanged(); return this; } private java.lang.Object actorId_ = ""; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ public java.lang.String getActorId() { java.lang.Object ref = actorId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The actorId to set. * @return This builder for chaining. */ public Builder setActorId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorId_ = value; onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @return This builder for chaining. */ public Builder clearActorId() { actorId_ = getDefaultInstance().getActorId(); onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The bytes for actorId to set. * @return This builder for chaining. */ public Builder setActorIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorId_ = value; onChanged(); return this; } private java.util.List operations_ = java.util.Collections.emptyList(); private void ensureOperationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { operations_ = new java.util.ArrayList(operations_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.TransactionalActorStateOperation, io.dapr.v1.DaprProtos.TransactionalActorStateOperation.Builder, io.dapr.v1.DaprProtos.TransactionalActorStateOperationOrBuilder> operationsBuilder_; /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public java.util.List getOperationsList() { if (operationsBuilder_ == null) { return java.util.Collections.unmodifiableList(operations_); } else { return operationsBuilder_.getMessageList(); } } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public int getOperationsCount() { if (operationsBuilder_ == null) { return operations_.size(); } else { return operationsBuilder_.getCount(); } } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public io.dapr.v1.DaprProtos.TransactionalActorStateOperation getOperations(int index) { if (operationsBuilder_ == null) { return operations_.get(index); } else { return operationsBuilder_.getMessage(index); } } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public Builder setOperations( int index, io.dapr.v1.DaprProtos.TransactionalActorStateOperation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.set(index, value); onChanged(); } else { operationsBuilder_.setMessage(index, value); } return this; } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public Builder setOperations( int index, io.dapr.v1.DaprProtos.TransactionalActorStateOperation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.set(index, builderForValue.build()); onChanged(); } else { operationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public Builder addOperations(io.dapr.v1.DaprProtos.TransactionalActorStateOperation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.add(value); onChanged(); } else { operationsBuilder_.addMessage(value); } return this; } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public Builder addOperations( int index, io.dapr.v1.DaprProtos.TransactionalActorStateOperation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.add(index, value); onChanged(); } else { operationsBuilder_.addMessage(index, value); } return this; } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public Builder addOperations( io.dapr.v1.DaprProtos.TransactionalActorStateOperation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(builderForValue.build()); onChanged(); } else { operationsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public Builder addOperations( int index, io.dapr.v1.DaprProtos.TransactionalActorStateOperation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(index, builderForValue.build()); onChanged(); } else { operationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public Builder addAllOperations( java.lang.Iterable values) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, operations_); onChanged(); } else { operationsBuilder_.addAllMessages(values); } return this; } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public Builder clearOperations() { if (operationsBuilder_ == null) { operations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { operationsBuilder_.clear(); } return this; } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public Builder removeOperations(int index) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.remove(index); onChanged(); } else { operationsBuilder_.remove(index); } return this; } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public io.dapr.v1.DaprProtos.TransactionalActorStateOperation.Builder getOperationsBuilder( int index) { return getOperationsFieldBuilder().getBuilder(index); } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public io.dapr.v1.DaprProtos.TransactionalActorStateOperationOrBuilder getOperationsOrBuilder( int index) { if (operationsBuilder_ == null) { return operations_.get(index); } else { return operationsBuilder_.getMessageOrBuilder(index); } } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public java.util.List getOperationsOrBuilderList() { if (operationsBuilder_ != null) { return operationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(operations_); } } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public io.dapr.v1.DaprProtos.TransactionalActorStateOperation.Builder addOperationsBuilder() { return getOperationsFieldBuilder().addBuilder( io.dapr.v1.DaprProtos.TransactionalActorStateOperation.getDefaultInstance()); } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public io.dapr.v1.DaprProtos.TransactionalActorStateOperation.Builder addOperationsBuilder( int index) { return getOperationsFieldBuilder().addBuilder( index, io.dapr.v1.DaprProtos.TransactionalActorStateOperation.getDefaultInstance()); } /** * repeated .dapr.proto.runtime.v1.TransactionalActorStateOperation operations = 3; */ public java.util.List getOperationsBuilderList() { return getOperationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.TransactionalActorStateOperation, io.dapr.v1.DaprProtos.TransactionalActorStateOperation.Builder, io.dapr.v1.DaprProtos.TransactionalActorStateOperationOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.TransactionalActorStateOperation, io.dapr.v1.DaprProtos.TransactionalActorStateOperation.Builder, io.dapr.v1.DaprProtos.TransactionalActorStateOperationOrBuilder>( operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); operations_ = null; } return operationsBuilder_; } @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.ExecuteActorStateTransactionRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest) private static final io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest(); } public static io.dapr.v1.DaprProtos.ExecuteActorStateTransactionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteActorStateTransactionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExecuteActorStateTransactionRequest(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.ExecuteActorStateTransactionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TransactionalActorStateOperationOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TransactionalActorStateOperation) com.google.protobuf.MessageOrBuilder { /** * string operationType = 1; * @return The operationType. */ java.lang.String getOperationType(); /** * string operationType = 1; * @return The bytes for operationType. */ com.google.protobuf.ByteString getOperationTypeBytes(); /** * string key = 2; * @return The key. */ java.lang.String getKey(); /** * string key = 2; * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** * .google.protobuf.Any value = 3; * @return Whether the value field is set. */ boolean hasValue(); /** * .google.protobuf.Any value = 3; * @return The value. */ com.google.protobuf.Any getValue(); /** * .google.protobuf.Any value = 3; */ com.google.protobuf.AnyOrBuilder getValueOrBuilder(); /** *
     * The metadata used for transactional operations.
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the stored value.
     * 
* * map<string, string> metadata = 4; */ int getMetadataCount(); /** *
     * The metadata used for transactional operations.
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the stored value.
     * 
* * map<string, string> metadata = 4; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * The metadata used for transactional operations.
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the stored value.
     * 
* * map<string, string> metadata = 4; */ java.util.Map getMetadataMap(); /** *
     * The metadata used for transactional operations.
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the stored value.
     * 
* * map<string, string> metadata = 4; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata used for transactional operations.
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the stored value.
     * 
* * map<string, string> metadata = 4; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * TransactionalActorStateOperation is the message to execute a specified operation with a key-value pair.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.TransactionalActorStateOperation} */ public static final class TransactionalActorStateOperation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TransactionalActorStateOperation) TransactionalActorStateOperationOrBuilder { private static final long serialVersionUID = 0L; // Use TransactionalActorStateOperation.newBuilder() to construct. private TransactionalActorStateOperation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransactionalActorStateOperation() { operationType_ = ""; key_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TransactionalActorStateOperation(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransactionalActorStateOperation( 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(); operationType_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); key_ = s; break; } case 26: { com.google.protobuf.Any.Builder subBuilder = null; if (value_ != null) { subBuilder = value_.toBuilder(); } value_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(value_); value_ = subBuilder.buildPartial(); } break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: 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_TransactionalActorStateOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.TransactionalActorStateOperation.class, io.dapr.v1.DaprProtos.TransactionalActorStateOperation.Builder.class); } public static final int OPERATIONTYPE_FIELD_NUMBER = 1; private volatile java.lang.Object operationType_; /** * string operationType = 1; * @return The operationType. */ @java.lang.Override public java.lang.String getOperationType() { java.lang.Object ref = operationType_; 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(); operationType_ = s; return s; } } /** * string operationType = 1; * @return The bytes for operationType. */ @java.lang.Override public com.google.protobuf.ByteString getOperationTypeBytes() { java.lang.Object ref = operationType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_FIELD_NUMBER = 2; private volatile java.lang.Object key_; /** * string key = 2; * @return The key. */ @java.lang.Override 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; } } /** * string key = 2; * @return The bytes for key. */ @java.lang.Override 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 VALUE_FIELD_NUMBER = 3; private com.google.protobuf.Any value_; /** * .google.protobuf.Any value = 3; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return value_ != null; } /** * .google.protobuf.Any value = 3; * @return The value. */ @java.lang.Override public com.google.protobuf.Any getValue() { return value_ == null ? com.google.protobuf.Any.getDefaultInstance() : value_; } /** * .google.protobuf.Any value = 3; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getValueOrBuilder() { return getValue(); } public static final int METADATA_FIELD_NUMBER = 4; 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_TransactionalActorStateOperation_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 used for transactional operations.
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the stored value.
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata used for transactional operations.
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the stored value.
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata used for transactional operations.
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the stored value.
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata used for transactional operations.
     * Common metadata property:
     * - ttlInSeconds : the time to live in seconds for the stored value.
     * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, operationType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_); } if (value_ != null) { output.writeMessage(3, getValue()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, operationType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_); } if (value_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getValue()); } 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(4, 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.TransactionalActorStateOperation)) { return super.equals(obj); } io.dapr.v1.DaprProtos.TransactionalActorStateOperation other = (io.dapr.v1.DaprProtos.TransactionalActorStateOperation) obj; if (!getOperationType() .equals(other.getOperationType())) return false; if (!getKey() .equals(other.getKey())) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) 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) + OPERATIONTYPE_FIELD_NUMBER; hash = (53 * hash) + getOperationType().hashCode(); hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().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.TransactionalActorStateOperation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TransactionalActorStateOperation 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.TransactionalActorStateOperation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TransactionalActorStateOperation 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.TransactionalActorStateOperation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TransactionalActorStateOperation parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.TransactionalActorStateOperation parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TransactionalActorStateOperation 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.TransactionalActorStateOperation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TransactionalActorStateOperation 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.TransactionalActorStateOperation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TransactionalActorStateOperation 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.TransactionalActorStateOperation 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; } /** *
     * TransactionalActorStateOperation is the message to execute a specified operation with a key-value pair.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.TransactionalActorStateOperation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TransactionalActorStateOperation) io.dapr.v1.DaprProtos.TransactionalActorStateOperationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: 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_TransactionalActorStateOperation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.TransactionalActorStateOperation.class, io.dapr.v1.DaprProtos.TransactionalActorStateOperation.Builder.class); } // Construct using io.dapr.v1.DaprProtos.TransactionalActorStateOperation.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(); operationType_ = ""; key_ = ""; if (valueBuilder_ == null) { value_ = null; } else { value_ = null; valueBuilder_ = null; } 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_TransactionalActorStateOperation_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.TransactionalActorStateOperation getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.TransactionalActorStateOperation.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.TransactionalActorStateOperation build() { io.dapr.v1.DaprProtos.TransactionalActorStateOperation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.TransactionalActorStateOperation buildPartial() { io.dapr.v1.DaprProtos.TransactionalActorStateOperation result = new io.dapr.v1.DaprProtos.TransactionalActorStateOperation(this); int from_bitField0_ = bitField0_; result.operationType_ = operationType_; result.key_ = key_; if (valueBuilder_ == null) { result.value_ = value_; } else { result.value_ = valueBuilder_.build(); } 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.TransactionalActorStateOperation) { return mergeFrom((io.dapr.v1.DaprProtos.TransactionalActorStateOperation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.TransactionalActorStateOperation other) { if (other == io.dapr.v1.DaprProtos.TransactionalActorStateOperation.getDefaultInstance()) return this; if (!other.getOperationType().isEmpty()) { operationType_ = other.operationType_; onChanged(); } if (!other.getKey().isEmpty()) { key_ = other.key_; onChanged(); } if (other.hasValue()) { mergeValue(other.getValue()); } 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.TransactionalActorStateOperation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.TransactionalActorStateOperation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object operationType_ = ""; /** * string operationType = 1; * @return The operationType. */ public java.lang.String getOperationType() { java.lang.Object ref = operationType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string operationType = 1; * @return The bytes for operationType. */ public com.google.protobuf.ByteString getOperationTypeBytes() { java.lang.Object ref = operationType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string operationType = 1; * @param value The operationType to set. * @return This builder for chaining. */ public Builder setOperationType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } operationType_ = value; onChanged(); return this; } /** * string operationType = 1; * @return This builder for chaining. */ public Builder clearOperationType() { operationType_ = getDefaultInstance().getOperationType(); onChanged(); return this; } /** * string operationType = 1; * @param value The bytes for operationType to set. * @return This builder for chaining. */ public Builder setOperationTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operationType_ = value; onChanged(); return this; } private java.lang.Object 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; } } /** * 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; } } /** * 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; } /** * string key = 2; * @return This builder for chaining. */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** * 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.Any value_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> valueBuilder_; /** * .google.protobuf.Any value = 3; * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** * .google.protobuf.Any value = 3; * @return The value. */ public com.google.protobuf.Any getValue() { if (valueBuilder_ == null) { return value_ == null ? com.google.protobuf.Any.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** * .google.protobuf.Any value = 3; */ public Builder setValue(com.google.protobuf.Any value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { valueBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Any value = 3; */ public Builder setValue( com.google.protobuf.Any.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { valueBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Any value = 3; */ public Builder mergeValue(com.google.protobuf.Any value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = com.google.protobuf.Any.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { valueBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Any value = 3; */ public Builder clearValue() { if (valueBuilder_ == null) { value_ = null; onChanged(); } else { value_ = null; valueBuilder_ = null; } return this; } /** * .google.protobuf.Any value = 3; */ public com.google.protobuf.Any.Builder getValueBuilder() { onChanged(); return getValueFieldBuilder().getBuilder(); } /** * .google.protobuf.Any value = 3; */ public com.google.protobuf.AnyOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_ == null ? com.google.protobuf.Any.getDefaultInstance() : value_; } } /** * .google.protobuf.Any value = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } 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 used for transactional operations.
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the stored value.
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata used for transactional operations.
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the stored value.
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata used for transactional operations.
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the stored value.
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata used for transactional operations.
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the stored value.
       * 
* * map<string, string> metadata = 4; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata used for transactional operations.
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the stored value.
       * 
* * map<string, string> metadata = 4; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata used for transactional operations.
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the stored value.
       * 
* * map<string, string> metadata = 4; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata used for transactional operations.
       * Common metadata property:
       * - ttlInSeconds : the time to live in seconds for the stored value.
       * 
* * map<string, string> metadata = 4; */ 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.TransactionalActorStateOperation) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TransactionalActorStateOperation) private static final io.dapr.v1.DaprProtos.TransactionalActorStateOperation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.TransactionalActorStateOperation(); } public static io.dapr.v1.DaprProtos.TransactionalActorStateOperation getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TransactionalActorStateOperation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TransactionalActorStateOperation(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.TransactionalActorStateOperation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InvokeActorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.InvokeActorRequest) com.google.protobuf.MessageOrBuilder { /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ java.lang.String getActorType(); /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ com.google.protobuf.ByteString getActorTypeBytes(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ java.lang.String getActorId(); /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ com.google.protobuf.ByteString getActorIdBytes(); /** * string method = 3; * @return The method. */ java.lang.String getMethod(); /** * string method = 3; * @return The bytes for method. */ com.google.protobuf.ByteString getMethodBytes(); /** * bytes data = 4; * @return The data. */ com.google.protobuf.ByteString getData(); /** * map<string, string> metadata = 5; */ int getMetadataCount(); /** * map<string, string> metadata = 5; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** * map<string, string> metadata = 5; */ java.util.Map getMetadataMap(); /** * map<string, string> metadata = 5; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * map<string, string> metadata = 5; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * InvokeActorRequest is the message to call an actor.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.InvokeActorRequest} */ public static final class InvokeActorRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.InvokeActorRequest) InvokeActorRequestOrBuilder { private static final long serialVersionUID = 0L; // Use InvokeActorRequest.newBuilder() to construct. private InvokeActorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InvokeActorRequest() { actorType_ = ""; actorId_ = ""; method_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InvokeActorRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InvokeActorRequest( 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(); actorType_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); actorId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); method_ = s; break; } case 34: { data_ = input.readBytes(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeActorRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeActorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.InvokeActorRequest.class, io.dapr.v1.DaprProtos.InvokeActorRequest.Builder.class); } public static final int ACTOR_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object actorType_; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ @java.lang.Override public java.lang.String getActorType() { java.lang.Object ref = actorType_; 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(); actorType_ = s; return s; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ @java.lang.Override public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACTOR_ID_FIELD_NUMBER = 2; private volatile java.lang.Object actorId_; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ @java.lang.Override public java.lang.String getActorId() { java.lang.Object ref = actorId_; 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(); actorId_ = s; return s; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ @java.lang.Override public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METHOD_FIELD_NUMBER = 3; private volatile java.lang.Object method_; /** * string method = 3; * @return The method. */ @java.lang.Override public java.lang.String getMethod() { java.lang.Object ref = method_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); method_ = s; return s; } } /** * string method = 3; * @return The bytes for method. */ @java.lang.Override public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_FIELD_NUMBER = 4; private com.google.protobuf.ByteString data_; /** * bytes data = 4; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } public static final int METADATA_FIELD_NUMBER = 5; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeActorRequest_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(); } /** * map<string, string> metadata = 5; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** * map<string, string> metadata = 5; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, actorId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, method_); } if (!data_.isEmpty()) { output.writeBytes(4, data_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 5); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, actorType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actorId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, actorId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, method_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, 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(5, metadata__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprProtos.InvokeActorRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.InvokeActorRequest other = (io.dapr.v1.DaprProtos.InvokeActorRequest) obj; if (!getActorType() .equals(other.getActorType())) return false; if (!getActorId() .equals(other.getActorId())) return false; if (!getMethod() .equals(other.getMethod())) return false; if (!getData() .equals(other.getData())) return false; if (!internalGetMetadata().equals( other.internalGetMetadata())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ACTOR_TYPE_FIELD_NUMBER; hash = (53 * hash) + getActorType().hashCode(); hash = (37 * hash) + ACTOR_ID_FIELD_NUMBER; hash = (53 * hash) + getActorId().hashCode(); hash = (37 * hash) + METHOD_FIELD_NUMBER; hash = (53 * hash) + getMethod().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.InvokeActorRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeActorRequest 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.InvokeActorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeActorRequest 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.InvokeActorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeActorRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.InvokeActorRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeActorRequest 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.InvokeActorRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeActorRequest 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.InvokeActorRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeActorRequest 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.InvokeActorRequest 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; } /** *
     * InvokeActorRequest is the message to call an actor.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.InvokeActorRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.InvokeActorRequest) io.dapr.v1.DaprProtos.InvokeActorRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeActorRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 5: return internalGetMutableMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeActorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.InvokeActorRequest.class, io.dapr.v1.DaprProtos.InvokeActorRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.InvokeActorRequest.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(); actorType_ = ""; actorId_ = ""; method_ = ""; 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_InvokeActorRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeActorRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.InvokeActorRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeActorRequest build() { io.dapr.v1.DaprProtos.InvokeActorRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeActorRequest buildPartial() { io.dapr.v1.DaprProtos.InvokeActorRequest result = new io.dapr.v1.DaprProtos.InvokeActorRequest(this); int from_bitField0_ = bitField0_; result.actorType_ = actorType_; result.actorId_ = actorId_; result.method_ = method_; 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.InvokeActorRequest) { return mergeFrom((io.dapr.v1.DaprProtos.InvokeActorRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.InvokeActorRequest other) { if (other == io.dapr.v1.DaprProtos.InvokeActorRequest.getDefaultInstance()) return this; if (!other.getActorType().isEmpty()) { actorType_ = other.actorType_; onChanged(); } if (!other.getActorId().isEmpty()) { actorId_ = other.actorId_; onChanged(); } if (!other.getMethod().isEmpty()) { method_ = other.method_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } internalGetMutableMetadata().mergeFrom( other.internalGetMetadata()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprProtos.InvokeActorRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.InvokeActorRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object actorType_ = ""; /** * string actor_type = 1 [json_name = "actorType"]; * @return The actorType. */ public java.lang.String getActorType() { java.lang.Object ref = actorType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @return The bytes for actorType. */ public com.google.protobuf.ByteString getActorTypeBytes() { java.lang.Object ref = actorType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The actorType to set. * @return This builder for chaining. */ public Builder setActorType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorType_ = value; onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @return This builder for chaining. */ public Builder clearActorType() { actorType_ = getDefaultInstance().getActorType(); onChanged(); return this; } /** * string actor_type = 1 [json_name = "actorType"]; * @param value The bytes for actorType to set. * @return This builder for chaining. */ public Builder setActorTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorType_ = value; onChanged(); return this; } private java.lang.Object actorId_ = ""; /** * string actor_id = 2 [json_name = "actorId"]; * @return The actorId. */ public java.lang.String getActorId() { java.lang.Object ref = actorId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actorId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @return The bytes for actorId. */ public com.google.protobuf.ByteString getActorIdBytes() { java.lang.Object ref = actorId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actorId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The actorId to set. * @return This builder for chaining. */ public Builder setActorId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actorId_ = value; onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @return This builder for chaining. */ public Builder clearActorId() { actorId_ = getDefaultInstance().getActorId(); onChanged(); return this; } /** * string actor_id = 2 [json_name = "actorId"]; * @param value The bytes for actorId to set. * @return This builder for chaining. */ public Builder setActorIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actorId_ = value; onChanged(); return this; } private java.lang.Object method_ = ""; /** * string method = 3; * @return The method. */ public java.lang.String getMethod() { java.lang.Object ref = method_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); method_ = s; return s; } else { return (java.lang.String) ref; } } /** * string method = 3; * @return The bytes for method. */ public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string method = 3; * @param value The method to set. * @return This builder for chaining. */ public Builder setMethod( java.lang.String value) { if (value == null) { throw new NullPointerException(); } method_ = value; onChanged(); return this; } /** * string method = 3; * @return This builder for chaining. */ public Builder clearMethod() { method_ = getDefaultInstance().getMethod(); onChanged(); return this; } /** * string method = 3; * @param value The bytes for method to set. * @return This builder for chaining. */ public Builder setMethodBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); method_ = value; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * bytes data = 4; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return data_; } /** * bytes data = 4; * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** * bytes data = 4; * @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(); } /** * map<string, string> metadata = 5; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** * map<string, string> metadata = 5; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> metadata = 5; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** * map<string, string> metadata = 5; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** * map<string, string> metadata = 5; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** * map<string, string> metadata = 5; */ public Builder putAllMetadata( java.util.Map values) { internalGetMutableMetadata().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.InvokeActorRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.InvokeActorRequest) private static final io.dapr.v1.DaprProtos.InvokeActorRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.InvokeActorRequest(); } public static io.dapr.v1.DaprProtos.InvokeActorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InvokeActorRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InvokeActorRequest(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.InvokeActorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InvokeActorResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.InvokeActorResponse) com.google.protobuf.MessageOrBuilder { /** * bytes data = 1; * @return The data. */ com.google.protobuf.ByteString getData(); } /** *
   * InvokeActorResponse is the method that returns an actor invocation response.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.InvokeActorResponse} */ public static final class InvokeActorResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.InvokeActorResponse) InvokeActorResponseOrBuilder { private static final long serialVersionUID = 0L; // Use InvokeActorResponse.newBuilder() to construct. private InvokeActorResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InvokeActorResponse() { data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InvokeActorResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InvokeActorResponse( 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; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeActorResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeActorResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.InvokeActorResponse.class, io.dapr.v1.DaprProtos.InvokeActorResponse.Builder.class); } public static final int DATA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString data_; /** * bytes data = 1; * @return The data. */ @java.lang.Override 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 (!data_.isEmpty()) { output.writeBytes(1, data_); } 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_); } 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.InvokeActorResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.InvokeActorResponse other = (io.dapr.v1.DaprProtos.InvokeActorResponse) obj; 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) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.InvokeActorResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeActorResponse 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.InvokeActorResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeActorResponse 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.InvokeActorResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.InvokeActorResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.InvokeActorResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeActorResponse 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.InvokeActorResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeActorResponse 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.InvokeActorResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.InvokeActorResponse 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.InvokeActorResponse 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; } /** *
     * InvokeActorResponse is the method that returns an actor invocation response.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.InvokeActorResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.InvokeActorResponse) io.dapr.v1.DaprProtos.InvokeActorResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeActorResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeActorResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.InvokeActorResponse.class, io.dapr.v1.DaprProtos.InvokeActorResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.InvokeActorResponse.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; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_InvokeActorResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeActorResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.InvokeActorResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeActorResponse build() { io.dapr.v1.DaprProtos.InvokeActorResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.InvokeActorResponse buildPartial() { io.dapr.v1.DaprProtos.InvokeActorResponse result = new io.dapr.v1.DaprProtos.InvokeActorResponse(this); 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.InvokeActorResponse) { return mergeFrom((io.dapr.v1.DaprProtos.InvokeActorResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.InvokeActorResponse other) { if (other == io.dapr.v1.DaprProtos.InvokeActorResponse.getDefaultInstance()) return this; 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.InvokeActorResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.InvokeActorResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * bytes data = 1; * @return The data. */ @java.lang.Override public com.google.protobuf.ByteString getData() { return 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; } /** * bytes data = 1; * @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.InvokeActorResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.InvokeActorResponse) private static final io.dapr.v1.DaprProtos.InvokeActorResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.InvokeActorResponse(); } public static io.dapr.v1.DaprProtos.InvokeActorResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InvokeActorResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InvokeActorResponse(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.InvokeActorResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetMetadataRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetMetadataRequest) com.google.protobuf.MessageOrBuilder { } /** *
   * GetMetadataRequest is the message for the GetMetadata request.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetMetadataRequest} */ public static final class GetMetadataRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetMetadataRequest) GetMetadataRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetMetadataRequest.newBuilder() to construct. private GetMetadataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetMetadataRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetMetadataRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetMetadataRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetMetadataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetMetadataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetMetadataRequest.class, io.dapr.v1.DaprProtos.GetMetadataRequest.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprProtos.GetMetadataRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetMetadataRequest other = (io.dapr.v1.DaprProtos.GetMetadataRequest) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.GetMetadataRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetMetadataRequest 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.GetMetadataRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetMetadataRequest 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.GetMetadataRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetMetadataRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetMetadataRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetMetadataRequest 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.GetMetadataRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetMetadataRequest 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.GetMetadataRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetMetadataRequest 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.GetMetadataRequest 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; } /** *
     * GetMetadataRequest is the message for the GetMetadata request.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetMetadataRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetMetadataRequest) io.dapr.v1.DaprProtos.GetMetadataRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetMetadataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetMetadataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetMetadataRequest.class, io.dapr.v1.DaprProtos.GetMetadataRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetMetadataRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetMetadataRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetMetadataRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetMetadataRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetMetadataRequest build() { io.dapr.v1.DaprProtos.GetMetadataRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetMetadataRequest buildPartial() { io.dapr.v1.DaprProtos.GetMetadataRequest result = new io.dapr.v1.DaprProtos.GetMetadataRequest(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprProtos.GetMetadataRequest) { return mergeFrom((io.dapr.v1.DaprProtos.GetMetadataRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetMetadataRequest other) { if (other == io.dapr.v1.DaprProtos.GetMetadataRequest.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprProtos.GetMetadataRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetMetadataRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.GetMetadataRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetMetadataRequest) private static final io.dapr.v1.DaprProtos.GetMetadataRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetMetadataRequest(); } public static io.dapr.v1.DaprProtos.GetMetadataRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetMetadataRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetMetadataRequest(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.GetMetadataRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetMetadataResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetMetadataResponse) com.google.protobuf.MessageOrBuilder { /** * string id = 1; * @return The id. */ java.lang.String getId(); /** * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * Deprecated alias for actor_runtime.active_actors.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated java.util.List getActiveActorsCountList(); /** *
     * Deprecated alias for actor_runtime.active_actors.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated io.dapr.v1.DaprProtos.ActiveActorsCount getActiveActorsCount(int index); /** *
     * Deprecated alias for actor_runtime.active_actors.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated int getActiveActorsCountCount(); /** *
     * Deprecated alias for actor_runtime.active_actors.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated java.util.List getActiveActorsCountOrBuilderList(); /** *
     * Deprecated alias for actor_runtime.active_actors.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder getActiveActorsCountOrBuilder( int index); /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ java.util.List getRegisteredComponentsList(); /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ io.dapr.v1.DaprProtos.RegisteredComponents getRegisteredComponents(int index); /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ int getRegisteredComponentsCount(); /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ java.util.List getRegisteredComponentsOrBuilderList(); /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ io.dapr.v1.DaprProtos.RegisteredComponentsOrBuilder getRegisteredComponentsOrBuilder( int index); /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ int getExtendedMetadataCount(); /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ boolean containsExtendedMetadata( java.lang.String key); /** * Use {@link #getExtendedMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getExtendedMetadata(); /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ java.util.Map getExtendedMetadataMap(); /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ /* nullable */ java.lang.String getExtendedMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ java.lang.String getExtendedMetadataOrThrow( java.lang.String key); /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ java.util.List getSubscriptionsList(); /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ io.dapr.v1.DaprProtos.PubsubSubscription getSubscriptions(int index); /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ int getSubscriptionsCount(); /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ java.util.List getSubscriptionsOrBuilderList(); /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ io.dapr.v1.DaprProtos.PubsubSubscriptionOrBuilder getSubscriptionsOrBuilder( int index); /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ java.util.List getHttpEndpointsList(); /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ io.dapr.v1.DaprProtos.MetadataHTTPEndpoint getHttpEndpoints(int index); /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ int getHttpEndpointsCount(); /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ java.util.List getHttpEndpointsOrBuilderList(); /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ io.dapr.v1.DaprProtos.MetadataHTTPEndpointOrBuilder getHttpEndpointsOrBuilder( int index); /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; * @return Whether the appConnectionProperties field is set. */ boolean hasAppConnectionProperties(); /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; * @return The appConnectionProperties. */ io.dapr.v1.DaprProtos.AppConnectionProperties getAppConnectionProperties(); /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; */ io.dapr.v1.DaprProtos.AppConnectionPropertiesOrBuilder getAppConnectionPropertiesOrBuilder(); /** * string runtime_version = 8 [json_name = "runtimeVersion"]; * @return The runtimeVersion. */ java.lang.String getRuntimeVersion(); /** * string runtime_version = 8 [json_name = "runtimeVersion"]; * @return The bytes for runtimeVersion. */ com.google.protobuf.ByteString getRuntimeVersionBytes(); /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @return A list containing the enabledFeatures. */ java.util.List getEnabledFeaturesList(); /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @return The count of enabledFeatures. */ int getEnabledFeaturesCount(); /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @param index The index of the element to return. * @return The enabledFeatures at the given index. */ java.lang.String getEnabledFeatures(int index); /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @param index The index of the value to return. * @return The bytes of the enabledFeatures at the given index. */ com.google.protobuf.ByteString getEnabledFeaturesBytes(int index); /** *
     *TODO: Cassie: probably add scheduler runtime status
     * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; * @return Whether the actorRuntime field is set. */ boolean hasActorRuntime(); /** *
     *TODO: Cassie: probably add scheduler runtime status
     * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; * @return The actorRuntime. */ io.dapr.v1.DaprProtos.ActorRuntime getActorRuntime(); /** *
     *TODO: Cassie: probably add scheduler runtime status
     * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; */ io.dapr.v1.DaprProtos.ActorRuntimeOrBuilder getActorRuntimeOrBuilder(); } /** *
   * GetMetadataResponse is a message that is returned on GetMetadata rpc call.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetMetadataResponse} */ public static final class GetMetadataResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetMetadataResponse) GetMetadataResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetMetadataResponse.newBuilder() to construct. private GetMetadataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetMetadataResponse() { id_ = ""; activeActorsCount_ = java.util.Collections.emptyList(); registeredComponents_ = java.util.Collections.emptyList(); subscriptions_ = java.util.Collections.emptyList(); httpEndpoints_ = java.util.Collections.emptyList(); runtimeVersion_ = ""; enabledFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetMetadataResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetMetadataResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { activeActorsCount_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } activeActorsCount_.add( input.readMessage(io.dapr.v1.DaprProtos.ActiveActorsCount.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { registeredComponents_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } registeredComponents_.add( input.readMessage(io.dapr.v1.DaprProtos.RegisteredComponents.parser(), extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { extendedMetadata_ = com.google.protobuf.MapField.newMapField( ExtendedMetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000004; } com.google.protobuf.MapEntry extendedMetadata__ = input.readMessage( ExtendedMetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); extendedMetadata_.getMutableMap().put( extendedMetadata__.getKey(), extendedMetadata__.getValue()); break; } case 42: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { subscriptions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } subscriptions_.add( input.readMessage(io.dapr.v1.DaprProtos.PubsubSubscription.parser(), extensionRegistry)); break; } case 50: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { httpEndpoints_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } httpEndpoints_.add( input.readMessage(io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.parser(), extensionRegistry)); break; } case 58: { io.dapr.v1.DaprProtos.AppConnectionProperties.Builder subBuilder = null; if (appConnectionProperties_ != null) { subBuilder = appConnectionProperties_.toBuilder(); } appConnectionProperties_ = input.readMessage(io.dapr.v1.DaprProtos.AppConnectionProperties.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(appConnectionProperties_); appConnectionProperties_ = subBuilder.buildPartial(); } break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); runtimeVersion_ = s; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000020) != 0)) { enabledFeatures_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000020; } enabledFeatures_.add(s); break; } case 82: { io.dapr.v1.DaprProtos.ActorRuntime.Builder subBuilder = null; if (actorRuntime_ != null) { subBuilder = actorRuntime_.toBuilder(); } actorRuntime_ = input.readMessage(io.dapr.v1.DaprProtos.ActorRuntime.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(actorRuntime_); actorRuntime_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { activeActorsCount_ = java.util.Collections.unmodifiableList(activeActorsCount_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { registeredComponents_ = java.util.Collections.unmodifiableList(registeredComponents_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { subscriptions_ = java.util.Collections.unmodifiableList(subscriptions_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { httpEndpoints_ = java.util.Collections.unmodifiableList(httpEndpoints_); } if (((mutable_bitField0_ & 0x00000020) != 0)) { enabledFeatures_ = enabledFeatures_.getUnmodifiableView(); } 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_GetMetadataResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetExtendedMetadata(); 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_GetMetadataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetMetadataResponse.class, io.dapr.v1.DaprProtos.GetMetadataResponse.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** * string id = 1; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACTIVE_ACTORS_COUNT_FIELD_NUMBER = 2; private java.util.List activeActorsCount_; /** *
     * Deprecated alias for actor_runtime.active_actors.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getActiveActorsCountList() { return activeActorsCount_; } /** *
     * Deprecated alias for actor_runtime.active_actors.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public java.util.List getActiveActorsCountOrBuilderList() { return activeActorsCount_; } /** *
     * Deprecated alias for actor_runtime.active_actors.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public int getActiveActorsCountCount() { return activeActorsCount_.size(); } /** *
     * Deprecated alias for actor_runtime.active_actors.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public io.dapr.v1.DaprProtos.ActiveActorsCount getActiveActorsCount(int index) { return activeActorsCount_.get(index); } /** *
     * Deprecated alias for actor_runtime.active_actors.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder getActiveActorsCountOrBuilder( int index) { return activeActorsCount_.get(index); } public static final int REGISTERED_COMPONENTS_FIELD_NUMBER = 3; private java.util.List registeredComponents_; /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ @java.lang.Override public java.util.List getRegisteredComponentsList() { return registeredComponents_; } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ @java.lang.Override public java.util.List getRegisteredComponentsOrBuilderList() { return registeredComponents_; } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ @java.lang.Override public int getRegisteredComponentsCount() { return registeredComponents_.size(); } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ @java.lang.Override public io.dapr.v1.DaprProtos.RegisteredComponents getRegisteredComponents(int index) { return registeredComponents_.get(index); } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ @java.lang.Override public io.dapr.v1.DaprProtos.RegisteredComponentsOrBuilder getRegisteredComponentsOrBuilder( int index) { return registeredComponents_.get(index); } public static final int EXTENDED_METADATA_FIELD_NUMBER = 4; private static final class ExtendedMetadataDefaultEntryHolder { 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_GetMetadataResponse_ExtendedMetadataEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> extendedMetadata_; private com.google.protobuf.MapField internalGetExtendedMetadata() { if (extendedMetadata_ == null) { return com.google.protobuf.MapField.emptyMapField( ExtendedMetadataDefaultEntryHolder.defaultEntry); } return extendedMetadata_; } public int getExtendedMetadataCount() { return internalGetExtendedMetadata().getMap().size(); } /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ @java.lang.Override public boolean containsExtendedMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetExtendedMetadata().getMap().containsKey(key); } /** * Use {@link #getExtendedMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getExtendedMetadata() { return getExtendedMetadataMap(); } /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ @java.lang.Override public java.util.Map getExtendedMetadataMap() { return internalGetExtendedMetadata().getMap(); } /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ @java.lang.Override public java.lang.String getExtendedMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetExtendedMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ @java.lang.Override public java.lang.String getExtendedMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetExtendedMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int SUBSCRIPTIONS_FIELD_NUMBER = 5; private java.util.List subscriptions_; /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ @java.lang.Override public java.util.List getSubscriptionsList() { return subscriptions_; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ @java.lang.Override public java.util.List getSubscriptionsOrBuilderList() { return subscriptions_; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ @java.lang.Override public int getSubscriptionsCount() { return subscriptions_.size(); } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscription getSubscriptions(int index) { return subscriptions_.get(index); } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionOrBuilder getSubscriptionsOrBuilder( int index) { return subscriptions_.get(index); } public static final int HTTP_ENDPOINTS_FIELD_NUMBER = 6; private java.util.List httpEndpoints_; /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ @java.lang.Override public java.util.List getHttpEndpointsList() { return httpEndpoints_; } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ @java.lang.Override public java.util.List getHttpEndpointsOrBuilderList() { return httpEndpoints_; } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ @java.lang.Override public int getHttpEndpointsCount() { return httpEndpoints_.size(); } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ @java.lang.Override public io.dapr.v1.DaprProtos.MetadataHTTPEndpoint getHttpEndpoints(int index) { return httpEndpoints_.get(index); } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ @java.lang.Override public io.dapr.v1.DaprProtos.MetadataHTTPEndpointOrBuilder getHttpEndpointsOrBuilder( int index) { return httpEndpoints_.get(index); } public static final int APP_CONNECTION_PROPERTIES_FIELD_NUMBER = 7; private io.dapr.v1.DaprProtos.AppConnectionProperties appConnectionProperties_; /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; * @return Whether the appConnectionProperties field is set. */ @java.lang.Override public boolean hasAppConnectionProperties() { return appConnectionProperties_ != null; } /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; * @return The appConnectionProperties. */ @java.lang.Override public io.dapr.v1.DaprProtos.AppConnectionProperties getAppConnectionProperties() { return appConnectionProperties_ == null ? io.dapr.v1.DaprProtos.AppConnectionProperties.getDefaultInstance() : appConnectionProperties_; } /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; */ @java.lang.Override public io.dapr.v1.DaprProtos.AppConnectionPropertiesOrBuilder getAppConnectionPropertiesOrBuilder() { return getAppConnectionProperties(); } public static final int RUNTIME_VERSION_FIELD_NUMBER = 8; private volatile java.lang.Object runtimeVersion_; /** * string runtime_version = 8 [json_name = "runtimeVersion"]; * @return The runtimeVersion. */ @java.lang.Override public java.lang.String getRuntimeVersion() { java.lang.Object ref = runtimeVersion_; 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(); runtimeVersion_ = s; return s; } } /** * string runtime_version = 8 [json_name = "runtimeVersion"]; * @return The bytes for runtimeVersion. */ @java.lang.Override public com.google.protobuf.ByteString getRuntimeVersionBytes() { java.lang.Object ref = runtimeVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); runtimeVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENABLED_FEATURES_FIELD_NUMBER = 9; private com.google.protobuf.LazyStringList enabledFeatures_; /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @return A list containing the enabledFeatures. */ public com.google.protobuf.ProtocolStringList getEnabledFeaturesList() { return enabledFeatures_; } /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @return The count of enabledFeatures. */ public int getEnabledFeaturesCount() { return enabledFeatures_.size(); } /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @param index The index of the element to return. * @return The enabledFeatures at the given index. */ public java.lang.String getEnabledFeatures(int index) { return enabledFeatures_.get(index); } /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @param index The index of the value to return. * @return The bytes of the enabledFeatures at the given index. */ public com.google.protobuf.ByteString getEnabledFeaturesBytes(int index) { return enabledFeatures_.getByteString(index); } public static final int ACTOR_RUNTIME_FIELD_NUMBER = 10; private io.dapr.v1.DaprProtos.ActorRuntime actorRuntime_; /** *
     *TODO: Cassie: probably add scheduler runtime status
     * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; * @return Whether the actorRuntime field is set. */ @java.lang.Override public boolean hasActorRuntime() { return actorRuntime_ != null; } /** *
     *TODO: Cassie: probably add scheduler runtime status
     * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; * @return The actorRuntime. */ @java.lang.Override public io.dapr.v1.DaprProtos.ActorRuntime getActorRuntime() { return actorRuntime_ == null ? io.dapr.v1.DaprProtos.ActorRuntime.getDefaultInstance() : actorRuntime_; } /** *
     *TODO: Cassie: probably add scheduler runtime status
     * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; */ @java.lang.Override public io.dapr.v1.DaprProtos.ActorRuntimeOrBuilder getActorRuntimeOrBuilder() { return getActorRuntime(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } for (int i = 0; i < activeActorsCount_.size(); i++) { output.writeMessage(2, activeActorsCount_.get(i)); } for (int i = 0; i < registeredComponents_.size(); i++) { output.writeMessage(3, registeredComponents_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetExtendedMetadata(), ExtendedMetadataDefaultEntryHolder.defaultEntry, 4); for (int i = 0; i < subscriptions_.size(); i++) { output.writeMessage(5, subscriptions_.get(i)); } for (int i = 0; i < httpEndpoints_.size(); i++) { output.writeMessage(6, httpEndpoints_.get(i)); } if (appConnectionProperties_ != null) { output.writeMessage(7, getAppConnectionProperties()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runtimeVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, runtimeVersion_); } for (int i = 0; i < enabledFeatures_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, enabledFeatures_.getRaw(i)); } if (actorRuntime_ != null) { output.writeMessage(10, getActorRuntime()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } for (int i = 0; i < activeActorsCount_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, activeActorsCount_.get(i)); } for (int i = 0; i < registeredComponents_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, registeredComponents_.get(i)); } for (java.util.Map.Entry entry : internalGetExtendedMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry extendedMetadata__ = ExtendedMetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, extendedMetadata__); } for (int i = 0; i < subscriptions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, subscriptions_.get(i)); } for (int i = 0; i < httpEndpoints_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, httpEndpoints_.get(i)); } if (appConnectionProperties_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getAppConnectionProperties()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runtimeVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, runtimeVersion_); } { int dataSize = 0; for (int i = 0; i < enabledFeatures_.size(); i++) { dataSize += computeStringSizeNoTag(enabledFeatures_.getRaw(i)); } size += dataSize; size += 1 * getEnabledFeaturesList().size(); } if (actorRuntime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getActorRuntime()); } 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.GetMetadataResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetMetadataResponse other = (io.dapr.v1.DaprProtos.GetMetadataResponse) obj; if (!getId() .equals(other.getId())) return false; if (!getActiveActorsCountList() .equals(other.getActiveActorsCountList())) return false; if (!getRegisteredComponentsList() .equals(other.getRegisteredComponentsList())) return false; if (!internalGetExtendedMetadata().equals( other.internalGetExtendedMetadata())) return false; if (!getSubscriptionsList() .equals(other.getSubscriptionsList())) return false; if (!getHttpEndpointsList() .equals(other.getHttpEndpointsList())) return false; if (hasAppConnectionProperties() != other.hasAppConnectionProperties()) return false; if (hasAppConnectionProperties()) { if (!getAppConnectionProperties() .equals(other.getAppConnectionProperties())) return false; } if (!getRuntimeVersion() .equals(other.getRuntimeVersion())) return false; if (!getEnabledFeaturesList() .equals(other.getEnabledFeaturesList())) return false; if (hasActorRuntime() != other.hasActorRuntime()) return false; if (hasActorRuntime()) { if (!getActorRuntime() .equals(other.getActorRuntime())) 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 (getActiveActorsCountCount() > 0) { hash = (37 * hash) + ACTIVE_ACTORS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getActiveActorsCountList().hashCode(); } if (getRegisteredComponentsCount() > 0) { hash = (37 * hash) + REGISTERED_COMPONENTS_FIELD_NUMBER; hash = (53 * hash) + getRegisteredComponentsList().hashCode(); } if (!internalGetExtendedMetadata().getMap().isEmpty()) { hash = (37 * hash) + EXTENDED_METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetExtendedMetadata().hashCode(); } if (getSubscriptionsCount() > 0) { hash = (37 * hash) + SUBSCRIPTIONS_FIELD_NUMBER; hash = (53 * hash) + getSubscriptionsList().hashCode(); } if (getHttpEndpointsCount() > 0) { hash = (37 * hash) + HTTP_ENDPOINTS_FIELD_NUMBER; hash = (53 * hash) + getHttpEndpointsList().hashCode(); } if (hasAppConnectionProperties()) { hash = (37 * hash) + APP_CONNECTION_PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getAppConnectionProperties().hashCode(); } hash = (37 * hash) + RUNTIME_VERSION_FIELD_NUMBER; hash = (53 * hash) + getRuntimeVersion().hashCode(); if (getEnabledFeaturesCount() > 0) { hash = (37 * hash) + ENABLED_FEATURES_FIELD_NUMBER; hash = (53 * hash) + getEnabledFeaturesList().hashCode(); } if (hasActorRuntime()) { hash = (37 * hash) + ACTOR_RUNTIME_FIELD_NUMBER; hash = (53 * hash) + getActorRuntime().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.GetMetadataResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetMetadataResponse 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.GetMetadataResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetMetadataResponse 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.GetMetadataResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetMetadataResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetMetadataResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetMetadataResponse 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.GetMetadataResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetMetadataResponse 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.GetMetadataResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetMetadataResponse 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.GetMetadataResponse 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; } /** *
     * GetMetadataResponse is a message that is returned on GetMetadata rpc call.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetMetadataResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetMetadataResponse) io.dapr.v1.DaprProtos.GetMetadataResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetMetadataResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetExtendedMetadata(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: return internalGetMutableExtendedMetadata(); 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_GetMetadataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetMetadataResponse.class, io.dapr.v1.DaprProtos.GetMetadataResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetMetadataResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getActiveActorsCountFieldBuilder(); getRegisteredComponentsFieldBuilder(); getSubscriptionsFieldBuilder(); getHttpEndpointsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; if (activeActorsCountBuilder_ == null) { activeActorsCount_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { activeActorsCountBuilder_.clear(); } if (registeredComponentsBuilder_ == null) { registeredComponents_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { registeredComponentsBuilder_.clear(); } internalGetMutableExtendedMetadata().clear(); if (subscriptionsBuilder_ == null) { subscriptions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { subscriptionsBuilder_.clear(); } if (httpEndpointsBuilder_ == null) { httpEndpoints_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { httpEndpointsBuilder_.clear(); } if (appConnectionPropertiesBuilder_ == null) { appConnectionProperties_ = null; } else { appConnectionProperties_ = null; appConnectionPropertiesBuilder_ = null; } runtimeVersion_ = ""; enabledFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); if (actorRuntimeBuilder_ == null) { actorRuntime_ = null; } else { actorRuntime_ = null; actorRuntimeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetMetadataResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetMetadataResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetMetadataResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetMetadataResponse build() { io.dapr.v1.DaprProtos.GetMetadataResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetMetadataResponse buildPartial() { io.dapr.v1.DaprProtos.GetMetadataResponse result = new io.dapr.v1.DaprProtos.GetMetadataResponse(this); int from_bitField0_ = bitField0_; result.id_ = id_; if (activeActorsCountBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { activeActorsCount_ = java.util.Collections.unmodifiableList(activeActorsCount_); bitField0_ = (bitField0_ & ~0x00000001); } result.activeActorsCount_ = activeActorsCount_; } else { result.activeActorsCount_ = activeActorsCountBuilder_.build(); } if (registeredComponentsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { registeredComponents_ = java.util.Collections.unmodifiableList(registeredComponents_); bitField0_ = (bitField0_ & ~0x00000002); } result.registeredComponents_ = registeredComponents_; } else { result.registeredComponents_ = registeredComponentsBuilder_.build(); } result.extendedMetadata_ = internalGetExtendedMetadata(); result.extendedMetadata_.makeImmutable(); if (subscriptionsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { subscriptions_ = java.util.Collections.unmodifiableList(subscriptions_); bitField0_ = (bitField0_ & ~0x00000008); } result.subscriptions_ = subscriptions_; } else { result.subscriptions_ = subscriptionsBuilder_.build(); } if (httpEndpointsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { httpEndpoints_ = java.util.Collections.unmodifiableList(httpEndpoints_); bitField0_ = (bitField0_ & ~0x00000010); } result.httpEndpoints_ = httpEndpoints_; } else { result.httpEndpoints_ = httpEndpointsBuilder_.build(); } if (appConnectionPropertiesBuilder_ == null) { result.appConnectionProperties_ = appConnectionProperties_; } else { result.appConnectionProperties_ = appConnectionPropertiesBuilder_.build(); } result.runtimeVersion_ = runtimeVersion_; if (((bitField0_ & 0x00000020) != 0)) { enabledFeatures_ = enabledFeatures_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); } result.enabledFeatures_ = enabledFeatures_; if (actorRuntimeBuilder_ == null) { result.actorRuntime_ = actorRuntime_; } else { result.actorRuntime_ = actorRuntimeBuilder_.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.GetMetadataResponse) { return mergeFrom((io.dapr.v1.DaprProtos.GetMetadataResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetMetadataResponse other) { if (other == io.dapr.v1.DaprProtos.GetMetadataResponse.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (activeActorsCountBuilder_ == null) { if (!other.activeActorsCount_.isEmpty()) { if (activeActorsCount_.isEmpty()) { activeActorsCount_ = other.activeActorsCount_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureActiveActorsCountIsMutable(); activeActorsCount_.addAll(other.activeActorsCount_); } onChanged(); } } else { if (!other.activeActorsCount_.isEmpty()) { if (activeActorsCountBuilder_.isEmpty()) { activeActorsCountBuilder_.dispose(); activeActorsCountBuilder_ = null; activeActorsCount_ = other.activeActorsCount_; bitField0_ = (bitField0_ & ~0x00000001); activeActorsCountBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getActiveActorsCountFieldBuilder() : null; } else { activeActorsCountBuilder_.addAllMessages(other.activeActorsCount_); } } } if (registeredComponentsBuilder_ == null) { if (!other.registeredComponents_.isEmpty()) { if (registeredComponents_.isEmpty()) { registeredComponents_ = other.registeredComponents_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureRegisteredComponentsIsMutable(); registeredComponents_.addAll(other.registeredComponents_); } onChanged(); } } else { if (!other.registeredComponents_.isEmpty()) { if (registeredComponentsBuilder_.isEmpty()) { registeredComponentsBuilder_.dispose(); registeredComponentsBuilder_ = null; registeredComponents_ = other.registeredComponents_; bitField0_ = (bitField0_ & ~0x00000002); registeredComponentsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRegisteredComponentsFieldBuilder() : null; } else { registeredComponentsBuilder_.addAllMessages(other.registeredComponents_); } } } internalGetMutableExtendedMetadata().mergeFrom( other.internalGetExtendedMetadata()); if (subscriptionsBuilder_ == null) { if (!other.subscriptions_.isEmpty()) { if (subscriptions_.isEmpty()) { subscriptions_ = other.subscriptions_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureSubscriptionsIsMutable(); subscriptions_.addAll(other.subscriptions_); } onChanged(); } } else { if (!other.subscriptions_.isEmpty()) { if (subscriptionsBuilder_.isEmpty()) { subscriptionsBuilder_.dispose(); subscriptionsBuilder_ = null; subscriptions_ = other.subscriptions_; bitField0_ = (bitField0_ & ~0x00000008); subscriptionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSubscriptionsFieldBuilder() : null; } else { subscriptionsBuilder_.addAllMessages(other.subscriptions_); } } } if (httpEndpointsBuilder_ == null) { if (!other.httpEndpoints_.isEmpty()) { if (httpEndpoints_.isEmpty()) { httpEndpoints_ = other.httpEndpoints_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureHttpEndpointsIsMutable(); httpEndpoints_.addAll(other.httpEndpoints_); } onChanged(); } } else { if (!other.httpEndpoints_.isEmpty()) { if (httpEndpointsBuilder_.isEmpty()) { httpEndpointsBuilder_.dispose(); httpEndpointsBuilder_ = null; httpEndpoints_ = other.httpEndpoints_; bitField0_ = (bitField0_ & ~0x00000010); httpEndpointsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getHttpEndpointsFieldBuilder() : null; } else { httpEndpointsBuilder_.addAllMessages(other.httpEndpoints_); } } } if (other.hasAppConnectionProperties()) { mergeAppConnectionProperties(other.getAppConnectionProperties()); } if (!other.getRuntimeVersion().isEmpty()) { runtimeVersion_ = other.runtimeVersion_; onChanged(); } if (!other.enabledFeatures_.isEmpty()) { if (enabledFeatures_.isEmpty()) { enabledFeatures_ = other.enabledFeatures_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureEnabledFeaturesIsMutable(); enabledFeatures_.addAll(other.enabledFeatures_); } onChanged(); } if (other.hasActorRuntime()) { mergeActorRuntime(other.getActorRuntime()); } 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.GetMetadataResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetMetadataResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object 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; } } /** * 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; } } /** * 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; } /** * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private java.util.List activeActorsCount_ = java.util.Collections.emptyList(); private void ensureActiveActorsCountIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { activeActorsCount_ = new java.util.ArrayList(activeActorsCount_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.ActiveActorsCount, io.dapr.v1.DaprProtos.ActiveActorsCount.Builder, io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder> activeActorsCountBuilder_; /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public java.util.List getActiveActorsCountList() { if (activeActorsCountBuilder_ == null) { return java.util.Collections.unmodifiableList(activeActorsCount_); } else { return activeActorsCountBuilder_.getMessageList(); } } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public int getActiveActorsCountCount() { if (activeActorsCountBuilder_ == null) { return activeActorsCount_.size(); } else { return activeActorsCountBuilder_.getCount(); } } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public io.dapr.v1.DaprProtos.ActiveActorsCount getActiveActorsCount(int index) { if (activeActorsCountBuilder_ == null) { return activeActorsCount_.get(index); } else { return activeActorsCountBuilder_.getMessage(index); } } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public Builder setActiveActorsCount( int index, io.dapr.v1.DaprProtos.ActiveActorsCount value) { if (activeActorsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiveActorsCountIsMutable(); activeActorsCount_.set(index, value); onChanged(); } else { activeActorsCountBuilder_.setMessage(index, value); } return this; } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public Builder setActiveActorsCount( int index, io.dapr.v1.DaprProtos.ActiveActorsCount.Builder builderForValue) { if (activeActorsCountBuilder_ == null) { ensureActiveActorsCountIsMutable(); activeActorsCount_.set(index, builderForValue.build()); onChanged(); } else { activeActorsCountBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public Builder addActiveActorsCount(io.dapr.v1.DaprProtos.ActiveActorsCount value) { if (activeActorsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiveActorsCountIsMutable(); activeActorsCount_.add(value); onChanged(); } else { activeActorsCountBuilder_.addMessage(value); } return this; } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public Builder addActiveActorsCount( int index, io.dapr.v1.DaprProtos.ActiveActorsCount value) { if (activeActorsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiveActorsCountIsMutable(); activeActorsCount_.add(index, value); onChanged(); } else { activeActorsCountBuilder_.addMessage(index, value); } return this; } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public Builder addActiveActorsCount( io.dapr.v1.DaprProtos.ActiveActorsCount.Builder builderForValue) { if (activeActorsCountBuilder_ == null) { ensureActiveActorsCountIsMutable(); activeActorsCount_.add(builderForValue.build()); onChanged(); } else { activeActorsCountBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public Builder addActiveActorsCount( int index, io.dapr.v1.DaprProtos.ActiveActorsCount.Builder builderForValue) { if (activeActorsCountBuilder_ == null) { ensureActiveActorsCountIsMutable(); activeActorsCount_.add(index, builderForValue.build()); onChanged(); } else { activeActorsCountBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public Builder addAllActiveActorsCount( java.lang.Iterable values) { if (activeActorsCountBuilder_ == null) { ensureActiveActorsCountIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, activeActorsCount_); onChanged(); } else { activeActorsCountBuilder_.addAllMessages(values); } return this; } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public Builder clearActiveActorsCount() { if (activeActorsCountBuilder_ == null) { activeActorsCount_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { activeActorsCountBuilder_.clear(); } return this; } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public Builder removeActiveActorsCount(int index) { if (activeActorsCountBuilder_ == null) { ensureActiveActorsCountIsMutable(); activeActorsCount_.remove(index); onChanged(); } else { activeActorsCountBuilder_.remove(index); } return this; } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public io.dapr.v1.DaprProtos.ActiveActorsCount.Builder getActiveActorsCountBuilder( int index) { return getActiveActorsCountFieldBuilder().getBuilder(index); } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder getActiveActorsCountOrBuilder( int index) { if (activeActorsCountBuilder_ == null) { return activeActorsCount_.get(index); } else { return activeActorsCountBuilder_.getMessageOrBuilder(index); } } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public java.util.List getActiveActorsCountOrBuilderList() { if (activeActorsCountBuilder_ != null) { return activeActorsCountBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(activeActorsCount_); } } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public io.dapr.v1.DaprProtos.ActiveActorsCount.Builder addActiveActorsCountBuilder() { return getActiveActorsCountFieldBuilder().addBuilder( io.dapr.v1.DaprProtos.ActiveActorsCount.getDefaultInstance()); } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public io.dapr.v1.DaprProtos.ActiveActorsCount.Builder addActiveActorsCountBuilder( int index) { return getActiveActorsCountFieldBuilder().addBuilder( index, io.dapr.v1.DaprProtos.ActiveActorsCount.getDefaultInstance()); } /** *
       * Deprecated alias for actor_runtime.active_actors.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true]; */ @java.lang.Deprecated public java.util.List getActiveActorsCountBuilderList() { return getActiveActorsCountFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.ActiveActorsCount, io.dapr.v1.DaprProtos.ActiveActorsCount.Builder, io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder> getActiveActorsCountFieldBuilder() { if (activeActorsCountBuilder_ == null) { activeActorsCountBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.ActiveActorsCount, io.dapr.v1.DaprProtos.ActiveActorsCount.Builder, io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder>( activeActorsCount_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); activeActorsCount_ = null; } return activeActorsCountBuilder_; } private java.util.List registeredComponents_ = java.util.Collections.emptyList(); private void ensureRegisteredComponentsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { registeredComponents_ = new java.util.ArrayList(registeredComponents_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.RegisteredComponents, io.dapr.v1.DaprProtos.RegisteredComponents.Builder, io.dapr.v1.DaprProtos.RegisteredComponentsOrBuilder> registeredComponentsBuilder_; /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public java.util.List getRegisteredComponentsList() { if (registeredComponentsBuilder_ == null) { return java.util.Collections.unmodifiableList(registeredComponents_); } else { return registeredComponentsBuilder_.getMessageList(); } } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public int getRegisteredComponentsCount() { if (registeredComponentsBuilder_ == null) { return registeredComponents_.size(); } else { return registeredComponentsBuilder_.getCount(); } } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public io.dapr.v1.DaprProtos.RegisteredComponents getRegisteredComponents(int index) { if (registeredComponentsBuilder_ == null) { return registeredComponents_.get(index); } else { return registeredComponentsBuilder_.getMessage(index); } } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public Builder setRegisteredComponents( int index, io.dapr.v1.DaprProtos.RegisteredComponents value) { if (registeredComponentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRegisteredComponentsIsMutable(); registeredComponents_.set(index, value); onChanged(); } else { registeredComponentsBuilder_.setMessage(index, value); } return this; } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public Builder setRegisteredComponents( int index, io.dapr.v1.DaprProtos.RegisteredComponents.Builder builderForValue) { if (registeredComponentsBuilder_ == null) { ensureRegisteredComponentsIsMutable(); registeredComponents_.set(index, builderForValue.build()); onChanged(); } else { registeredComponentsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public Builder addRegisteredComponents(io.dapr.v1.DaprProtos.RegisteredComponents value) { if (registeredComponentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRegisteredComponentsIsMutable(); registeredComponents_.add(value); onChanged(); } else { registeredComponentsBuilder_.addMessage(value); } return this; } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public Builder addRegisteredComponents( int index, io.dapr.v1.DaprProtos.RegisteredComponents value) { if (registeredComponentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRegisteredComponentsIsMutable(); registeredComponents_.add(index, value); onChanged(); } else { registeredComponentsBuilder_.addMessage(index, value); } return this; } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public Builder addRegisteredComponents( io.dapr.v1.DaprProtos.RegisteredComponents.Builder builderForValue) { if (registeredComponentsBuilder_ == null) { ensureRegisteredComponentsIsMutable(); registeredComponents_.add(builderForValue.build()); onChanged(); } else { registeredComponentsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public Builder addRegisteredComponents( int index, io.dapr.v1.DaprProtos.RegisteredComponents.Builder builderForValue) { if (registeredComponentsBuilder_ == null) { ensureRegisteredComponentsIsMutable(); registeredComponents_.add(index, builderForValue.build()); onChanged(); } else { registeredComponentsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public Builder addAllRegisteredComponents( java.lang.Iterable values) { if (registeredComponentsBuilder_ == null) { ensureRegisteredComponentsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, registeredComponents_); onChanged(); } else { registeredComponentsBuilder_.addAllMessages(values); } return this; } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public Builder clearRegisteredComponents() { if (registeredComponentsBuilder_ == null) { registeredComponents_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { registeredComponentsBuilder_.clear(); } return this; } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public Builder removeRegisteredComponents(int index) { if (registeredComponentsBuilder_ == null) { ensureRegisteredComponentsIsMutable(); registeredComponents_.remove(index); onChanged(); } else { registeredComponentsBuilder_.remove(index); } return this; } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public io.dapr.v1.DaprProtos.RegisteredComponents.Builder getRegisteredComponentsBuilder( int index) { return getRegisteredComponentsFieldBuilder().getBuilder(index); } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public io.dapr.v1.DaprProtos.RegisteredComponentsOrBuilder getRegisteredComponentsOrBuilder( int index) { if (registeredComponentsBuilder_ == null) { return registeredComponents_.get(index); } else { return registeredComponentsBuilder_.getMessageOrBuilder(index); } } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public java.util.List getRegisteredComponentsOrBuilderList() { if (registeredComponentsBuilder_ != null) { return registeredComponentsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(registeredComponents_); } } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public io.dapr.v1.DaprProtos.RegisteredComponents.Builder addRegisteredComponentsBuilder() { return getRegisteredComponentsFieldBuilder().addBuilder( io.dapr.v1.DaprProtos.RegisteredComponents.getDefaultInstance()); } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public io.dapr.v1.DaprProtos.RegisteredComponents.Builder addRegisteredComponentsBuilder( int index) { return getRegisteredComponentsFieldBuilder().addBuilder( index, io.dapr.v1.DaprProtos.RegisteredComponents.getDefaultInstance()); } /** * repeated .dapr.proto.runtime.v1.RegisteredComponents registered_components = 3 [json_name = "components"]; */ public java.util.List getRegisteredComponentsBuilderList() { return getRegisteredComponentsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.RegisteredComponents, io.dapr.v1.DaprProtos.RegisteredComponents.Builder, io.dapr.v1.DaprProtos.RegisteredComponentsOrBuilder> getRegisteredComponentsFieldBuilder() { if (registeredComponentsBuilder_ == null) { registeredComponentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.RegisteredComponents, io.dapr.v1.DaprProtos.RegisteredComponents.Builder, io.dapr.v1.DaprProtos.RegisteredComponentsOrBuilder>( registeredComponents_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); registeredComponents_ = null; } return registeredComponentsBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> extendedMetadata_; private com.google.protobuf.MapField internalGetExtendedMetadata() { if (extendedMetadata_ == null) { return com.google.protobuf.MapField.emptyMapField( ExtendedMetadataDefaultEntryHolder.defaultEntry); } return extendedMetadata_; } private com.google.protobuf.MapField internalGetMutableExtendedMetadata() { onChanged();; if (extendedMetadata_ == null) { extendedMetadata_ = com.google.protobuf.MapField.newMapField( ExtendedMetadataDefaultEntryHolder.defaultEntry); } if (!extendedMetadata_.isMutable()) { extendedMetadata_ = extendedMetadata_.copy(); } return extendedMetadata_; } public int getExtendedMetadataCount() { return internalGetExtendedMetadata().getMap().size(); } /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ @java.lang.Override public boolean containsExtendedMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetExtendedMetadata().getMap().containsKey(key); } /** * Use {@link #getExtendedMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getExtendedMetadata() { return getExtendedMetadataMap(); } /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ @java.lang.Override public java.util.Map getExtendedMetadataMap() { return internalGetExtendedMetadata().getMap(); } /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ @java.lang.Override public java.lang.String getExtendedMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetExtendedMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ @java.lang.Override public java.lang.String getExtendedMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetExtendedMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearExtendedMetadata() { internalGetMutableExtendedMetadata().getMutableMap() .clear(); return this; } /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ public Builder removeExtendedMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableExtendedMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableExtendedMetadata() { return internalGetMutableExtendedMetadata().getMutableMap(); } /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ public Builder putExtendedMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableExtendedMetadata().getMutableMap() .put(key, value); return this; } /** * map<string, string> extended_metadata = 4 [json_name = "extended"]; */ public Builder putAllExtendedMetadata( java.util.Map values) { internalGetMutableExtendedMetadata().getMutableMap() .putAll(values); return this; } private java.util.List subscriptions_ = java.util.Collections.emptyList(); private void ensureSubscriptionsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { subscriptions_ = new java.util.ArrayList(subscriptions_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.PubsubSubscription, io.dapr.v1.DaprProtos.PubsubSubscription.Builder, io.dapr.v1.DaprProtos.PubsubSubscriptionOrBuilder> subscriptionsBuilder_; /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public java.util.List getSubscriptionsList() { if (subscriptionsBuilder_ == null) { return java.util.Collections.unmodifiableList(subscriptions_); } else { return subscriptionsBuilder_.getMessageList(); } } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public int getSubscriptionsCount() { if (subscriptionsBuilder_ == null) { return subscriptions_.size(); } else { return subscriptionsBuilder_.getCount(); } } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public io.dapr.v1.DaprProtos.PubsubSubscription getSubscriptions(int index) { if (subscriptionsBuilder_ == null) { return subscriptions_.get(index); } else { return subscriptionsBuilder_.getMessage(index); } } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public Builder setSubscriptions( int index, io.dapr.v1.DaprProtos.PubsubSubscription value) { if (subscriptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.set(index, value); onChanged(); } else { subscriptionsBuilder_.setMessage(index, value); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public Builder setSubscriptions( int index, io.dapr.v1.DaprProtos.PubsubSubscription.Builder builderForValue) { if (subscriptionsBuilder_ == null) { ensureSubscriptionsIsMutable(); subscriptions_.set(index, builderForValue.build()); onChanged(); } else { subscriptionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public Builder addSubscriptions(io.dapr.v1.DaprProtos.PubsubSubscription value) { if (subscriptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.add(value); onChanged(); } else { subscriptionsBuilder_.addMessage(value); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public Builder addSubscriptions( int index, io.dapr.v1.DaprProtos.PubsubSubscription value) { if (subscriptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubscriptionsIsMutable(); subscriptions_.add(index, value); onChanged(); } else { subscriptionsBuilder_.addMessage(index, value); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public Builder addSubscriptions( io.dapr.v1.DaprProtos.PubsubSubscription.Builder builderForValue) { if (subscriptionsBuilder_ == null) { ensureSubscriptionsIsMutable(); subscriptions_.add(builderForValue.build()); onChanged(); } else { subscriptionsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public Builder addSubscriptions( int index, io.dapr.v1.DaprProtos.PubsubSubscription.Builder builderForValue) { if (subscriptionsBuilder_ == null) { ensureSubscriptionsIsMutable(); subscriptions_.add(index, builderForValue.build()); onChanged(); } else { subscriptionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public Builder addAllSubscriptions( java.lang.Iterable values) { if (subscriptionsBuilder_ == null) { ensureSubscriptionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, subscriptions_); onChanged(); } else { subscriptionsBuilder_.addAllMessages(values); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public Builder clearSubscriptions() { if (subscriptionsBuilder_ == null) { subscriptions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { subscriptionsBuilder_.clear(); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public Builder removeSubscriptions(int index) { if (subscriptionsBuilder_ == null) { ensureSubscriptionsIsMutable(); subscriptions_.remove(index); onChanged(); } else { subscriptionsBuilder_.remove(index); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public io.dapr.v1.DaprProtos.PubsubSubscription.Builder getSubscriptionsBuilder( int index) { return getSubscriptionsFieldBuilder().getBuilder(index); } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public io.dapr.v1.DaprProtos.PubsubSubscriptionOrBuilder getSubscriptionsOrBuilder( int index) { if (subscriptionsBuilder_ == null) { return subscriptions_.get(index); } else { return subscriptionsBuilder_.getMessageOrBuilder(index); } } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public java.util.List getSubscriptionsOrBuilderList() { if (subscriptionsBuilder_ != null) { return subscriptionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(subscriptions_); } } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public io.dapr.v1.DaprProtos.PubsubSubscription.Builder addSubscriptionsBuilder() { return getSubscriptionsFieldBuilder().addBuilder( io.dapr.v1.DaprProtos.PubsubSubscription.getDefaultInstance()); } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public io.dapr.v1.DaprProtos.PubsubSubscription.Builder addSubscriptionsBuilder( int index) { return getSubscriptionsFieldBuilder().addBuilder( index, io.dapr.v1.DaprProtos.PubsubSubscription.getDefaultInstance()); } /** * repeated .dapr.proto.runtime.v1.PubsubSubscription subscriptions = 5 [json_name = "subscriptions"]; */ public java.util.List getSubscriptionsBuilderList() { return getSubscriptionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.PubsubSubscription, io.dapr.v1.DaprProtos.PubsubSubscription.Builder, io.dapr.v1.DaprProtos.PubsubSubscriptionOrBuilder> getSubscriptionsFieldBuilder() { if (subscriptionsBuilder_ == null) { subscriptionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.PubsubSubscription, io.dapr.v1.DaprProtos.PubsubSubscription.Builder, io.dapr.v1.DaprProtos.PubsubSubscriptionOrBuilder>( subscriptions_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); subscriptions_ = null; } return subscriptionsBuilder_; } private java.util.List httpEndpoints_ = java.util.Collections.emptyList(); private void ensureHttpEndpointsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { httpEndpoints_ = new java.util.ArrayList(httpEndpoints_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.MetadataHTTPEndpoint, io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.Builder, io.dapr.v1.DaprProtos.MetadataHTTPEndpointOrBuilder> httpEndpointsBuilder_; /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public java.util.List getHttpEndpointsList() { if (httpEndpointsBuilder_ == null) { return java.util.Collections.unmodifiableList(httpEndpoints_); } else { return httpEndpointsBuilder_.getMessageList(); } } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public int getHttpEndpointsCount() { if (httpEndpointsBuilder_ == null) { return httpEndpoints_.size(); } else { return httpEndpointsBuilder_.getCount(); } } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public io.dapr.v1.DaprProtos.MetadataHTTPEndpoint getHttpEndpoints(int index) { if (httpEndpointsBuilder_ == null) { return httpEndpoints_.get(index); } else { return httpEndpointsBuilder_.getMessage(index); } } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public Builder setHttpEndpoints( int index, io.dapr.v1.DaprProtos.MetadataHTTPEndpoint value) { if (httpEndpointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHttpEndpointsIsMutable(); httpEndpoints_.set(index, value); onChanged(); } else { httpEndpointsBuilder_.setMessage(index, value); } return this; } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public Builder setHttpEndpoints( int index, io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.Builder builderForValue) { if (httpEndpointsBuilder_ == null) { ensureHttpEndpointsIsMutable(); httpEndpoints_.set(index, builderForValue.build()); onChanged(); } else { httpEndpointsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public Builder addHttpEndpoints(io.dapr.v1.DaprProtos.MetadataHTTPEndpoint value) { if (httpEndpointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHttpEndpointsIsMutable(); httpEndpoints_.add(value); onChanged(); } else { httpEndpointsBuilder_.addMessage(value); } return this; } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public Builder addHttpEndpoints( int index, io.dapr.v1.DaprProtos.MetadataHTTPEndpoint value) { if (httpEndpointsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHttpEndpointsIsMutable(); httpEndpoints_.add(index, value); onChanged(); } else { httpEndpointsBuilder_.addMessage(index, value); } return this; } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public Builder addHttpEndpoints( io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.Builder builderForValue) { if (httpEndpointsBuilder_ == null) { ensureHttpEndpointsIsMutable(); httpEndpoints_.add(builderForValue.build()); onChanged(); } else { httpEndpointsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public Builder addHttpEndpoints( int index, io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.Builder builderForValue) { if (httpEndpointsBuilder_ == null) { ensureHttpEndpointsIsMutable(); httpEndpoints_.add(index, builderForValue.build()); onChanged(); } else { httpEndpointsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public Builder addAllHttpEndpoints( java.lang.Iterable values) { if (httpEndpointsBuilder_ == null) { ensureHttpEndpointsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, httpEndpoints_); onChanged(); } else { httpEndpointsBuilder_.addAllMessages(values); } return this; } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public Builder clearHttpEndpoints() { if (httpEndpointsBuilder_ == null) { httpEndpoints_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { httpEndpointsBuilder_.clear(); } return this; } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public Builder removeHttpEndpoints(int index) { if (httpEndpointsBuilder_ == null) { ensureHttpEndpointsIsMutable(); httpEndpoints_.remove(index); onChanged(); } else { httpEndpointsBuilder_.remove(index); } return this; } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.Builder getHttpEndpointsBuilder( int index) { return getHttpEndpointsFieldBuilder().getBuilder(index); } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public io.dapr.v1.DaprProtos.MetadataHTTPEndpointOrBuilder getHttpEndpointsOrBuilder( int index) { if (httpEndpointsBuilder_ == null) { return httpEndpoints_.get(index); } else { return httpEndpointsBuilder_.getMessageOrBuilder(index); } } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public java.util.List getHttpEndpointsOrBuilderList() { if (httpEndpointsBuilder_ != null) { return httpEndpointsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(httpEndpoints_); } } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.Builder addHttpEndpointsBuilder() { return getHttpEndpointsFieldBuilder().addBuilder( io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.getDefaultInstance()); } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.Builder addHttpEndpointsBuilder( int index) { return getHttpEndpointsFieldBuilder().addBuilder( index, io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.getDefaultInstance()); } /** * repeated .dapr.proto.runtime.v1.MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"]; */ public java.util.List getHttpEndpointsBuilderList() { return getHttpEndpointsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.MetadataHTTPEndpoint, io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.Builder, io.dapr.v1.DaprProtos.MetadataHTTPEndpointOrBuilder> getHttpEndpointsFieldBuilder() { if (httpEndpointsBuilder_ == null) { httpEndpointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.MetadataHTTPEndpoint, io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.Builder, io.dapr.v1.DaprProtos.MetadataHTTPEndpointOrBuilder>( httpEndpoints_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); httpEndpoints_ = null; } return httpEndpointsBuilder_; } private io.dapr.v1.DaprProtos.AppConnectionProperties appConnectionProperties_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.AppConnectionProperties, io.dapr.v1.DaprProtos.AppConnectionProperties.Builder, io.dapr.v1.DaprProtos.AppConnectionPropertiesOrBuilder> appConnectionPropertiesBuilder_; /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; * @return Whether the appConnectionProperties field is set. */ public boolean hasAppConnectionProperties() { return appConnectionPropertiesBuilder_ != null || appConnectionProperties_ != null; } /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; * @return The appConnectionProperties. */ public io.dapr.v1.DaprProtos.AppConnectionProperties getAppConnectionProperties() { if (appConnectionPropertiesBuilder_ == null) { return appConnectionProperties_ == null ? io.dapr.v1.DaprProtos.AppConnectionProperties.getDefaultInstance() : appConnectionProperties_; } else { return appConnectionPropertiesBuilder_.getMessage(); } } /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; */ public Builder setAppConnectionProperties(io.dapr.v1.DaprProtos.AppConnectionProperties value) { if (appConnectionPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } appConnectionProperties_ = value; onChanged(); } else { appConnectionPropertiesBuilder_.setMessage(value); } return this; } /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; */ public Builder setAppConnectionProperties( io.dapr.v1.DaprProtos.AppConnectionProperties.Builder builderForValue) { if (appConnectionPropertiesBuilder_ == null) { appConnectionProperties_ = builderForValue.build(); onChanged(); } else { appConnectionPropertiesBuilder_.setMessage(builderForValue.build()); } return this; } /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; */ public Builder mergeAppConnectionProperties(io.dapr.v1.DaprProtos.AppConnectionProperties value) { if (appConnectionPropertiesBuilder_ == null) { if (appConnectionProperties_ != null) { appConnectionProperties_ = io.dapr.v1.DaprProtos.AppConnectionProperties.newBuilder(appConnectionProperties_).mergeFrom(value).buildPartial(); } else { appConnectionProperties_ = value; } onChanged(); } else { appConnectionPropertiesBuilder_.mergeFrom(value); } return this; } /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; */ public Builder clearAppConnectionProperties() { if (appConnectionPropertiesBuilder_ == null) { appConnectionProperties_ = null; onChanged(); } else { appConnectionProperties_ = null; appConnectionPropertiesBuilder_ = null; } return this; } /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; */ public io.dapr.v1.DaprProtos.AppConnectionProperties.Builder getAppConnectionPropertiesBuilder() { onChanged(); return getAppConnectionPropertiesFieldBuilder().getBuilder(); } /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; */ public io.dapr.v1.DaprProtos.AppConnectionPropertiesOrBuilder getAppConnectionPropertiesOrBuilder() { if (appConnectionPropertiesBuilder_ != null) { return appConnectionPropertiesBuilder_.getMessageOrBuilder(); } else { return appConnectionProperties_ == null ? io.dapr.v1.DaprProtos.AppConnectionProperties.getDefaultInstance() : appConnectionProperties_; } } /** * .dapr.proto.runtime.v1.AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"]; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.AppConnectionProperties, io.dapr.v1.DaprProtos.AppConnectionProperties.Builder, io.dapr.v1.DaprProtos.AppConnectionPropertiesOrBuilder> getAppConnectionPropertiesFieldBuilder() { if (appConnectionPropertiesBuilder_ == null) { appConnectionPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.AppConnectionProperties, io.dapr.v1.DaprProtos.AppConnectionProperties.Builder, io.dapr.v1.DaprProtos.AppConnectionPropertiesOrBuilder>( getAppConnectionProperties(), getParentForChildren(), isClean()); appConnectionProperties_ = null; } return appConnectionPropertiesBuilder_; } private java.lang.Object runtimeVersion_ = ""; /** * string runtime_version = 8 [json_name = "runtimeVersion"]; * @return The runtimeVersion. */ public java.lang.String getRuntimeVersion() { java.lang.Object ref = runtimeVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runtimeVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string runtime_version = 8 [json_name = "runtimeVersion"]; * @return The bytes for runtimeVersion. */ public com.google.protobuf.ByteString getRuntimeVersionBytes() { java.lang.Object ref = runtimeVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); runtimeVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string runtime_version = 8 [json_name = "runtimeVersion"]; * @param value The runtimeVersion to set. * @return This builder for chaining. */ public Builder setRuntimeVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } runtimeVersion_ = value; onChanged(); return this; } /** * string runtime_version = 8 [json_name = "runtimeVersion"]; * @return This builder for chaining. */ public Builder clearRuntimeVersion() { runtimeVersion_ = getDefaultInstance().getRuntimeVersion(); onChanged(); return this; } /** * string runtime_version = 8 [json_name = "runtimeVersion"]; * @param value The bytes for runtimeVersion to set. * @return This builder for chaining. */ public Builder setRuntimeVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); runtimeVersion_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList enabledFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEnabledFeaturesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { enabledFeatures_ = new com.google.protobuf.LazyStringArrayList(enabledFeatures_); bitField0_ |= 0x00000020; } } /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @return A list containing the enabledFeatures. */ public com.google.protobuf.ProtocolStringList getEnabledFeaturesList() { return enabledFeatures_.getUnmodifiableView(); } /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @return The count of enabledFeatures. */ public int getEnabledFeaturesCount() { return enabledFeatures_.size(); } /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @param index The index of the element to return. * @return The enabledFeatures at the given index. */ public java.lang.String getEnabledFeatures(int index) { return enabledFeatures_.get(index); } /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @param index The index of the value to return. * @return The bytes of the enabledFeatures at the given index. */ public com.google.protobuf.ByteString getEnabledFeaturesBytes(int index) { return enabledFeatures_.getByteString(index); } /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @param index The index to set the value at. * @param value The enabledFeatures to set. * @return This builder for chaining. */ public Builder setEnabledFeatures( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureEnabledFeaturesIsMutable(); enabledFeatures_.set(index, value); onChanged(); return this; } /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @param value The enabledFeatures to add. * @return This builder for chaining. */ public Builder addEnabledFeatures( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureEnabledFeaturesIsMutable(); enabledFeatures_.add(value); onChanged(); return this; } /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @param values The enabledFeatures to add. * @return This builder for chaining. */ public Builder addAllEnabledFeatures( java.lang.Iterable values) { ensureEnabledFeaturesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, enabledFeatures_); onChanged(); return this; } /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @return This builder for chaining. */ public Builder clearEnabledFeatures() { enabledFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** * repeated string enabled_features = 9 [json_name = "enabledFeatures"]; * @param value The bytes of the enabledFeatures to add. * @return This builder for chaining. */ public Builder addEnabledFeaturesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureEnabledFeaturesIsMutable(); enabledFeatures_.add(value); onChanged(); return this; } private io.dapr.v1.DaprProtos.ActorRuntime actorRuntime_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.ActorRuntime, io.dapr.v1.DaprProtos.ActorRuntime.Builder, io.dapr.v1.DaprProtos.ActorRuntimeOrBuilder> actorRuntimeBuilder_; /** *
       *TODO: Cassie: probably add scheduler runtime status
       * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; * @return Whether the actorRuntime field is set. */ public boolean hasActorRuntime() { return actorRuntimeBuilder_ != null || actorRuntime_ != null; } /** *
       *TODO: Cassie: probably add scheduler runtime status
       * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; * @return The actorRuntime. */ public io.dapr.v1.DaprProtos.ActorRuntime getActorRuntime() { if (actorRuntimeBuilder_ == null) { return actorRuntime_ == null ? io.dapr.v1.DaprProtos.ActorRuntime.getDefaultInstance() : actorRuntime_; } else { return actorRuntimeBuilder_.getMessage(); } } /** *
       *TODO: Cassie: probably add scheduler runtime status
       * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; */ public Builder setActorRuntime(io.dapr.v1.DaprProtos.ActorRuntime value) { if (actorRuntimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } actorRuntime_ = value; onChanged(); } else { actorRuntimeBuilder_.setMessage(value); } return this; } /** *
       *TODO: Cassie: probably add scheduler runtime status
       * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; */ public Builder setActorRuntime( io.dapr.v1.DaprProtos.ActorRuntime.Builder builderForValue) { if (actorRuntimeBuilder_ == null) { actorRuntime_ = builderForValue.build(); onChanged(); } else { actorRuntimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       *TODO: Cassie: probably add scheduler runtime status
       * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; */ public Builder mergeActorRuntime(io.dapr.v1.DaprProtos.ActorRuntime value) { if (actorRuntimeBuilder_ == null) { if (actorRuntime_ != null) { actorRuntime_ = io.dapr.v1.DaprProtos.ActorRuntime.newBuilder(actorRuntime_).mergeFrom(value).buildPartial(); } else { actorRuntime_ = value; } onChanged(); } else { actorRuntimeBuilder_.mergeFrom(value); } return this; } /** *
       *TODO: Cassie: probably add scheduler runtime status
       * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; */ public Builder clearActorRuntime() { if (actorRuntimeBuilder_ == null) { actorRuntime_ = null; onChanged(); } else { actorRuntime_ = null; actorRuntimeBuilder_ = null; } return this; } /** *
       *TODO: Cassie: probably add scheduler runtime status
       * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; */ public io.dapr.v1.DaprProtos.ActorRuntime.Builder getActorRuntimeBuilder() { onChanged(); return getActorRuntimeFieldBuilder().getBuilder(); } /** *
       *TODO: Cassie: probably add scheduler runtime status
       * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; */ public io.dapr.v1.DaprProtos.ActorRuntimeOrBuilder getActorRuntimeOrBuilder() { if (actorRuntimeBuilder_ != null) { return actorRuntimeBuilder_.getMessageOrBuilder(); } else { return actorRuntime_ == null ? io.dapr.v1.DaprProtos.ActorRuntime.getDefaultInstance() : actorRuntime_; } } /** *
       *TODO: Cassie: probably add scheduler runtime status
       * 
* * .dapr.proto.runtime.v1.ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"]; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.ActorRuntime, io.dapr.v1.DaprProtos.ActorRuntime.Builder, io.dapr.v1.DaprProtos.ActorRuntimeOrBuilder> getActorRuntimeFieldBuilder() { if (actorRuntimeBuilder_ == null) { actorRuntimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.ActorRuntime, io.dapr.v1.DaprProtos.ActorRuntime.Builder, io.dapr.v1.DaprProtos.ActorRuntimeOrBuilder>( getActorRuntime(), getParentForChildren(), isClean()); actorRuntime_ = null; } return actorRuntimeBuilder_; } @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.GetMetadataResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetMetadataResponse) private static final io.dapr.v1.DaprProtos.GetMetadataResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetMetadataResponse(); } public static io.dapr.v1.DaprProtos.GetMetadataResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetMetadataResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetMetadataResponse(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.GetMetadataResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ActorRuntimeOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.ActorRuntime) com.google.protobuf.MessageOrBuilder { /** *
     * Contains an enum indicating whether the actor runtime has been initialized.
     * 
* * .dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"]; * @return The enum numeric value on the wire for runtimeStatus. */ int getRuntimeStatusValue(); /** *
     * Contains an enum indicating whether the actor runtime has been initialized.
     * 
* * .dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"]; * @return The runtimeStatus. */ io.dapr.v1.DaprProtos.ActorRuntime.ActorRuntimeStatus getRuntimeStatus(); /** *
     * Count of active actors per type.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ java.util.List getActiveActorsList(); /** *
     * Count of active actors per type.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ io.dapr.v1.DaprProtos.ActiveActorsCount getActiveActors(int index); /** *
     * Count of active actors per type.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ int getActiveActorsCount(); /** *
     * Count of active actors per type.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ java.util.List getActiveActorsOrBuilderList(); /** *
     * Count of active actors per type.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder getActiveActorsOrBuilder( int index); /** *
     * Indicates whether the actor runtime is ready to host actors.
     * 
* * bool host_ready = 3 [json_name = "hostReady"]; * @return The hostReady. */ boolean getHostReady(); /** *
     * Custom message from the placement provider.
     * 
* * string placement = 4 [json_name = "placement"]; * @return The placement. */ java.lang.String getPlacement(); /** *
     * Custom message from the placement provider.
     * 
* * string placement = 4 [json_name = "placement"]; * @return The bytes for placement. */ com.google.protobuf.ByteString getPlacementBytes(); } /** * Protobuf type {@code dapr.proto.runtime.v1.ActorRuntime} */ public static final class ActorRuntime extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.ActorRuntime) ActorRuntimeOrBuilder { private static final long serialVersionUID = 0L; // Use ActorRuntime.newBuilder() to construct. private ActorRuntime(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ActorRuntime() { runtimeStatus_ = 0; activeActors_ = java.util.Collections.emptyList(); placement_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ActorRuntime(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ActorRuntime( 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 8: { int rawValue = input.readEnum(); runtimeStatus_ = rawValue; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { activeActors_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } activeActors_.add( input.readMessage(io.dapr.v1.DaprProtos.ActiveActorsCount.parser(), extensionRegistry)); break; } case 24: { hostReady_ = input.readBool(); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); placement_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { activeActors_ = java.util.Collections.unmodifiableList(activeActors_); } 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_ActorRuntime_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ActorRuntime_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ActorRuntime.class, io.dapr.v1.DaprProtos.ActorRuntime.Builder.class); } /** * Protobuf enum {@code dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus} */ public enum ActorRuntimeStatus implements com.google.protobuf.ProtocolMessageEnum { /** *
       * Indicates that the actor runtime is still being initialized.
       * 
* * INITIALIZING = 0; */ INITIALIZING(0), /** *
       * Indicates that the actor runtime is disabled.
       * This normally happens when Dapr is started without "placement-host-address"
       * 
* * DISABLED = 1; */ DISABLED(1), /** *
       * Indicates the actor runtime is running, either as an actor host or client.
       * 
* * RUNNING = 2; */ RUNNING(2), UNRECOGNIZED(-1), ; /** *
       * Indicates that the actor runtime is still being initialized.
       * 
* * INITIALIZING = 0; */ public static final int INITIALIZING_VALUE = 0; /** *
       * Indicates that the actor runtime is disabled.
       * This normally happens when Dapr is started without "placement-host-address"
       * 
* * DISABLED = 1; */ public static final int DISABLED_VALUE = 1; /** *
       * Indicates the actor runtime is running, either as an actor host or client.
       * 
* * RUNNING = 2; */ public static final int RUNNING_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ActorRuntimeStatus valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ActorRuntimeStatus forNumber(int value) { switch (value) { case 0: return INITIALIZING; case 1: return DISABLED; case 2: return RUNNING; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ActorRuntimeStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ActorRuntimeStatus findValueByNumber(int number) { return ActorRuntimeStatus.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.dapr.v1.DaprProtos.ActorRuntime.getDescriptor().getEnumTypes().get(0); } private static final ActorRuntimeStatus[] VALUES = values(); public static ActorRuntimeStatus valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private ActorRuntimeStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus) } public static final int RUNTIME_STATUS_FIELD_NUMBER = 1; private int runtimeStatus_; /** *
     * Contains an enum indicating whether the actor runtime has been initialized.
     * 
* * .dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"]; * @return The enum numeric value on the wire for runtimeStatus. */ @java.lang.Override public int getRuntimeStatusValue() { return runtimeStatus_; } /** *
     * Contains an enum indicating whether the actor runtime has been initialized.
     * 
* * .dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"]; * @return The runtimeStatus. */ @java.lang.Override public io.dapr.v1.DaprProtos.ActorRuntime.ActorRuntimeStatus getRuntimeStatus() { @SuppressWarnings("deprecation") io.dapr.v1.DaprProtos.ActorRuntime.ActorRuntimeStatus result = io.dapr.v1.DaprProtos.ActorRuntime.ActorRuntimeStatus.valueOf(runtimeStatus_); return result == null ? io.dapr.v1.DaprProtos.ActorRuntime.ActorRuntimeStatus.UNRECOGNIZED : result; } public static final int ACTIVE_ACTORS_FIELD_NUMBER = 2; private java.util.List activeActors_; /** *
     * Count of active actors per type.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ @java.lang.Override public java.util.List getActiveActorsList() { return activeActors_; } /** *
     * Count of active actors per type.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ @java.lang.Override public java.util.List getActiveActorsOrBuilderList() { return activeActors_; } /** *
     * Count of active actors per type.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ @java.lang.Override public int getActiveActorsCount() { return activeActors_.size(); } /** *
     * Count of active actors per type.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ @java.lang.Override public io.dapr.v1.DaprProtos.ActiveActorsCount getActiveActors(int index) { return activeActors_.get(index); } /** *
     * Count of active actors per type.
     * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ @java.lang.Override public io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder getActiveActorsOrBuilder( int index) { return activeActors_.get(index); } public static final int HOST_READY_FIELD_NUMBER = 3; private boolean hostReady_; /** *
     * Indicates whether the actor runtime is ready to host actors.
     * 
* * bool host_ready = 3 [json_name = "hostReady"]; * @return The hostReady. */ @java.lang.Override public boolean getHostReady() { return hostReady_; } public static final int PLACEMENT_FIELD_NUMBER = 4; private volatile java.lang.Object placement_; /** *
     * Custom message from the placement provider.
     * 
* * string placement = 4 [json_name = "placement"]; * @return The placement. */ @java.lang.Override public java.lang.String getPlacement() { java.lang.Object ref = placement_; 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(); placement_ = s; return s; } } /** *
     * Custom message from the placement provider.
     * 
* * string placement = 4 [json_name = "placement"]; * @return The bytes for placement. */ @java.lang.Override public com.google.protobuf.ByteString getPlacementBytes() { java.lang.Object ref = placement_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); placement_ = 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 (runtimeStatus_ != io.dapr.v1.DaprProtos.ActorRuntime.ActorRuntimeStatus.INITIALIZING.getNumber()) { output.writeEnum(1, runtimeStatus_); } for (int i = 0; i < activeActors_.size(); i++) { output.writeMessage(2, activeActors_.get(i)); } if (hostReady_ != false) { output.writeBool(3, hostReady_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(placement_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, placement_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (runtimeStatus_ != io.dapr.v1.DaprProtos.ActorRuntime.ActorRuntimeStatus.INITIALIZING.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, runtimeStatus_); } for (int i = 0; i < activeActors_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, activeActors_.get(i)); } if (hostReady_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, hostReady_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(placement_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, placement_); } 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.ActorRuntime)) { return super.equals(obj); } io.dapr.v1.DaprProtos.ActorRuntime other = (io.dapr.v1.DaprProtos.ActorRuntime) obj; if (runtimeStatus_ != other.runtimeStatus_) return false; if (!getActiveActorsList() .equals(other.getActiveActorsList())) return false; if (getHostReady() != other.getHostReady()) return false; if (!getPlacement() .equals(other.getPlacement())) 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) + RUNTIME_STATUS_FIELD_NUMBER; hash = (53 * hash) + runtimeStatus_; if (getActiveActorsCount() > 0) { hash = (37 * hash) + ACTIVE_ACTORS_FIELD_NUMBER; hash = (53 * hash) + getActiveActorsList().hashCode(); } hash = (37 * hash) + HOST_READY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHostReady()); hash = (37 * hash) + PLACEMENT_FIELD_NUMBER; hash = (53 * hash) + getPlacement().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.ActorRuntime parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ActorRuntime 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.ActorRuntime parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ActorRuntime 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.ActorRuntime parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ActorRuntime parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.ActorRuntime parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ActorRuntime 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.ActorRuntime parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ActorRuntime 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.ActorRuntime parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ActorRuntime 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.ActorRuntime prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.ActorRuntime} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.ActorRuntime) io.dapr.v1.DaprProtos.ActorRuntimeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ActorRuntime_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ActorRuntime_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ActorRuntime.class, io.dapr.v1.DaprProtos.ActorRuntime.Builder.class); } // Construct using io.dapr.v1.DaprProtos.ActorRuntime.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getActiveActorsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); runtimeStatus_ = 0; if (activeActorsBuilder_ == null) { activeActors_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { activeActorsBuilder_.clear(); } hostReady_ = false; placement_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ActorRuntime_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.ActorRuntime getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.ActorRuntime.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.ActorRuntime build() { io.dapr.v1.DaprProtos.ActorRuntime result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.ActorRuntime buildPartial() { io.dapr.v1.DaprProtos.ActorRuntime result = new io.dapr.v1.DaprProtos.ActorRuntime(this); int from_bitField0_ = bitField0_; result.runtimeStatus_ = runtimeStatus_; if (activeActorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { activeActors_ = java.util.Collections.unmodifiableList(activeActors_); bitField0_ = (bitField0_ & ~0x00000001); } result.activeActors_ = activeActors_; } else { result.activeActors_ = activeActorsBuilder_.build(); } result.hostReady_ = hostReady_; result.placement_ = placement_; 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.ActorRuntime) { return mergeFrom((io.dapr.v1.DaprProtos.ActorRuntime)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.ActorRuntime other) { if (other == io.dapr.v1.DaprProtos.ActorRuntime.getDefaultInstance()) return this; if (other.runtimeStatus_ != 0) { setRuntimeStatusValue(other.getRuntimeStatusValue()); } if (activeActorsBuilder_ == null) { if (!other.activeActors_.isEmpty()) { if (activeActors_.isEmpty()) { activeActors_ = other.activeActors_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureActiveActorsIsMutable(); activeActors_.addAll(other.activeActors_); } onChanged(); } } else { if (!other.activeActors_.isEmpty()) { if (activeActorsBuilder_.isEmpty()) { activeActorsBuilder_.dispose(); activeActorsBuilder_ = null; activeActors_ = other.activeActors_; bitField0_ = (bitField0_ & ~0x00000001); activeActorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getActiveActorsFieldBuilder() : null; } else { activeActorsBuilder_.addAllMessages(other.activeActors_); } } } if (other.getHostReady() != false) { setHostReady(other.getHostReady()); } if (!other.getPlacement().isEmpty()) { placement_ = other.placement_; 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.ActorRuntime parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.ActorRuntime) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int runtimeStatus_ = 0; /** *
       * Contains an enum indicating whether the actor runtime has been initialized.
       * 
* * .dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"]; * @return The enum numeric value on the wire for runtimeStatus. */ @java.lang.Override public int getRuntimeStatusValue() { return runtimeStatus_; } /** *
       * Contains an enum indicating whether the actor runtime has been initialized.
       * 
* * .dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"]; * @param value The enum numeric value on the wire for runtimeStatus to set. * @return This builder for chaining. */ public Builder setRuntimeStatusValue(int value) { runtimeStatus_ = value; onChanged(); return this; } /** *
       * Contains an enum indicating whether the actor runtime has been initialized.
       * 
* * .dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"]; * @return The runtimeStatus. */ @java.lang.Override public io.dapr.v1.DaprProtos.ActorRuntime.ActorRuntimeStatus getRuntimeStatus() { @SuppressWarnings("deprecation") io.dapr.v1.DaprProtos.ActorRuntime.ActorRuntimeStatus result = io.dapr.v1.DaprProtos.ActorRuntime.ActorRuntimeStatus.valueOf(runtimeStatus_); return result == null ? io.dapr.v1.DaprProtos.ActorRuntime.ActorRuntimeStatus.UNRECOGNIZED : result; } /** *
       * Contains an enum indicating whether the actor runtime has been initialized.
       * 
* * .dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"]; * @param value The runtimeStatus to set. * @return This builder for chaining. */ public Builder setRuntimeStatus(io.dapr.v1.DaprProtos.ActorRuntime.ActorRuntimeStatus value) { if (value == null) { throw new NullPointerException(); } runtimeStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Contains an enum indicating whether the actor runtime has been initialized.
       * 
* * .dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"]; * @return This builder for chaining. */ public Builder clearRuntimeStatus() { runtimeStatus_ = 0; onChanged(); return this; } private java.util.List activeActors_ = java.util.Collections.emptyList(); private void ensureActiveActorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { activeActors_ = new java.util.ArrayList(activeActors_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.ActiveActorsCount, io.dapr.v1.DaprProtos.ActiveActorsCount.Builder, io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder> activeActorsBuilder_; /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public java.util.List getActiveActorsList() { if (activeActorsBuilder_ == null) { return java.util.Collections.unmodifiableList(activeActors_); } else { return activeActorsBuilder_.getMessageList(); } } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public int getActiveActorsCount() { if (activeActorsBuilder_ == null) { return activeActors_.size(); } else { return activeActorsBuilder_.getCount(); } } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public io.dapr.v1.DaprProtos.ActiveActorsCount getActiveActors(int index) { if (activeActorsBuilder_ == null) { return activeActors_.get(index); } else { return activeActorsBuilder_.getMessage(index); } } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public Builder setActiveActors( int index, io.dapr.v1.DaprProtos.ActiveActorsCount value) { if (activeActorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiveActorsIsMutable(); activeActors_.set(index, value); onChanged(); } else { activeActorsBuilder_.setMessage(index, value); } return this; } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public Builder setActiveActors( int index, io.dapr.v1.DaprProtos.ActiveActorsCount.Builder builderForValue) { if (activeActorsBuilder_ == null) { ensureActiveActorsIsMutable(); activeActors_.set(index, builderForValue.build()); onChanged(); } else { activeActorsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public Builder addActiveActors(io.dapr.v1.DaprProtos.ActiveActorsCount value) { if (activeActorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiveActorsIsMutable(); activeActors_.add(value); onChanged(); } else { activeActorsBuilder_.addMessage(value); } return this; } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public Builder addActiveActors( int index, io.dapr.v1.DaprProtos.ActiveActorsCount value) { if (activeActorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiveActorsIsMutable(); activeActors_.add(index, value); onChanged(); } else { activeActorsBuilder_.addMessage(index, value); } return this; } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public Builder addActiveActors( io.dapr.v1.DaprProtos.ActiveActorsCount.Builder builderForValue) { if (activeActorsBuilder_ == null) { ensureActiveActorsIsMutable(); activeActors_.add(builderForValue.build()); onChanged(); } else { activeActorsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public Builder addActiveActors( int index, io.dapr.v1.DaprProtos.ActiveActorsCount.Builder builderForValue) { if (activeActorsBuilder_ == null) { ensureActiveActorsIsMutable(); activeActors_.add(index, builderForValue.build()); onChanged(); } else { activeActorsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public Builder addAllActiveActors( java.lang.Iterable values) { if (activeActorsBuilder_ == null) { ensureActiveActorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, activeActors_); onChanged(); } else { activeActorsBuilder_.addAllMessages(values); } return this; } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public Builder clearActiveActors() { if (activeActorsBuilder_ == null) { activeActors_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { activeActorsBuilder_.clear(); } return this; } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public Builder removeActiveActors(int index) { if (activeActorsBuilder_ == null) { ensureActiveActorsIsMutable(); activeActors_.remove(index); onChanged(); } else { activeActorsBuilder_.remove(index); } return this; } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public io.dapr.v1.DaprProtos.ActiveActorsCount.Builder getActiveActorsBuilder( int index) { return getActiveActorsFieldBuilder().getBuilder(index); } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder getActiveActorsOrBuilder( int index) { if (activeActorsBuilder_ == null) { return activeActors_.get(index); } else { return activeActorsBuilder_.getMessageOrBuilder(index); } } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public java.util.List getActiveActorsOrBuilderList() { if (activeActorsBuilder_ != null) { return activeActorsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(activeActors_); } } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public io.dapr.v1.DaprProtos.ActiveActorsCount.Builder addActiveActorsBuilder() { return getActiveActorsFieldBuilder().addBuilder( io.dapr.v1.DaprProtos.ActiveActorsCount.getDefaultInstance()); } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public io.dapr.v1.DaprProtos.ActiveActorsCount.Builder addActiveActorsBuilder( int index) { return getActiveActorsFieldBuilder().addBuilder( index, io.dapr.v1.DaprProtos.ActiveActorsCount.getDefaultInstance()); } /** *
       * Count of active actors per type.
       * 
* * repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"]; */ public java.util.List getActiveActorsBuilderList() { return getActiveActorsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.ActiveActorsCount, io.dapr.v1.DaprProtos.ActiveActorsCount.Builder, io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder> getActiveActorsFieldBuilder() { if (activeActorsBuilder_ == null) { activeActorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.ActiveActorsCount, io.dapr.v1.DaprProtos.ActiveActorsCount.Builder, io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder>( activeActors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); activeActors_ = null; } return activeActorsBuilder_; } private boolean hostReady_ ; /** *
       * Indicates whether the actor runtime is ready to host actors.
       * 
* * bool host_ready = 3 [json_name = "hostReady"]; * @return The hostReady. */ @java.lang.Override public boolean getHostReady() { return hostReady_; } /** *
       * Indicates whether the actor runtime is ready to host actors.
       * 
* * bool host_ready = 3 [json_name = "hostReady"]; * @param value The hostReady to set. * @return This builder for chaining. */ public Builder setHostReady(boolean value) { hostReady_ = value; onChanged(); return this; } /** *
       * Indicates whether the actor runtime is ready to host actors.
       * 
* * bool host_ready = 3 [json_name = "hostReady"]; * @return This builder for chaining. */ public Builder clearHostReady() { hostReady_ = false; onChanged(); return this; } private java.lang.Object placement_ = ""; /** *
       * Custom message from the placement provider.
       * 
* * string placement = 4 [json_name = "placement"]; * @return The placement. */ public java.lang.String getPlacement() { java.lang.Object ref = placement_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); placement_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Custom message from the placement provider.
       * 
* * string placement = 4 [json_name = "placement"]; * @return The bytes for placement. */ public com.google.protobuf.ByteString getPlacementBytes() { java.lang.Object ref = placement_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); placement_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Custom message from the placement provider.
       * 
* * string placement = 4 [json_name = "placement"]; * @param value The placement to set. * @return This builder for chaining. */ public Builder setPlacement( java.lang.String value) { if (value == null) { throw new NullPointerException(); } placement_ = value; onChanged(); return this; } /** *
       * Custom message from the placement provider.
       * 
* * string placement = 4 [json_name = "placement"]; * @return This builder for chaining. */ public Builder clearPlacement() { placement_ = getDefaultInstance().getPlacement(); onChanged(); return this; } /** *
       * Custom message from the placement provider.
       * 
* * string placement = 4 [json_name = "placement"]; * @param value The bytes for placement to set. * @return This builder for chaining. */ public Builder setPlacementBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); placement_ = 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.ActorRuntime) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.ActorRuntime) private static final io.dapr.v1.DaprProtos.ActorRuntime DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.ActorRuntime(); } public static io.dapr.v1.DaprProtos.ActorRuntime getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ActorRuntime parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ActorRuntime(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.ActorRuntime getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ActiveActorsCountOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.ActiveActorsCount) com.google.protobuf.MessageOrBuilder { /** * string type = 1; * @return The type. */ java.lang.String getType(); /** * string type = 1; * @return The bytes for type. */ com.google.protobuf.ByteString getTypeBytes(); /** * int32 count = 2; * @return The count. */ int getCount(); } /** * Protobuf type {@code dapr.proto.runtime.v1.ActiveActorsCount} */ public static final class ActiveActorsCount extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.ActiveActorsCount) ActiveActorsCountOrBuilder { private static final long serialVersionUID = 0L; // Use ActiveActorsCount.newBuilder() to construct. private ActiveActorsCount(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ActiveActorsCount() { type_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ActiveActorsCount(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ActiveActorsCount( 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(); type_ = s; break; } case 16: { count_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ActiveActorsCount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ActiveActorsCount_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ActiveActorsCount.class, io.dapr.v1.DaprProtos.ActiveActorsCount.Builder.class); } public static final int TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object type_; /** * string type = 1; * @return The type. */ @java.lang.Override public java.lang.String getType() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** * string type = 1; * @return The bytes for type. */ @java.lang.Override public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COUNT_FIELD_NUMBER = 2; private int count_; /** * int32 count = 2; * @return The count. */ @java.lang.Override public int getCount() { return count_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } if (count_ != 0) { output.writeInt32(2, count_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); } if (count_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, count_); } 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.ActiveActorsCount)) { return super.equals(obj); } io.dapr.v1.DaprProtos.ActiveActorsCount other = (io.dapr.v1.DaprProtos.ActiveActorsCount) obj; if (!getType() .equals(other.getType())) return false; if (getCount() != other.getCount()) 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) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCount(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.ActiveActorsCount parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ActiveActorsCount 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.ActiveActorsCount parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ActiveActorsCount 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.ActiveActorsCount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ActiveActorsCount parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.ActiveActorsCount parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ActiveActorsCount 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.ActiveActorsCount parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ActiveActorsCount 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.ActiveActorsCount parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ActiveActorsCount 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.ActiveActorsCount prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.ActiveActorsCount} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.ActiveActorsCount) io.dapr.v1.DaprProtos.ActiveActorsCountOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ActiveActorsCount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ActiveActorsCount_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ActiveActorsCount.class, io.dapr.v1.DaprProtos.ActiveActorsCount.Builder.class); } // Construct using io.dapr.v1.DaprProtos.ActiveActorsCount.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(); type_ = ""; count_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ActiveActorsCount_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.ActiveActorsCount getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.ActiveActorsCount.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.ActiveActorsCount build() { io.dapr.v1.DaprProtos.ActiveActorsCount result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.ActiveActorsCount buildPartial() { io.dapr.v1.DaprProtos.ActiveActorsCount result = new io.dapr.v1.DaprProtos.ActiveActorsCount(this); result.type_ = type_; result.count_ = count_; 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.ActiveActorsCount) { return mergeFrom((io.dapr.v1.DaprProtos.ActiveActorsCount)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.ActiveActorsCount other) { if (other == io.dapr.v1.DaprProtos.ActiveActorsCount.getDefaultInstance()) return this; if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (other.getCount() != 0) { setCount(other.getCount()); } 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.ActiveActorsCount parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.ActiveActorsCount) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object type_ = ""; /** * string type = 1; * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } else { return (java.lang.String) ref; } } /** * string type = 1; * @return The bytes for type. */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string type = 1; * @param value The type to set. * @return This builder for chaining. */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); return this; } /** * string type = 1; * @return This builder for chaining. */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * string type = 1; * @param value The bytes for type to set. * @return This builder for chaining. */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; onChanged(); return this; } private int count_ ; /** * int32 count = 2; * @return The count. */ @java.lang.Override public int getCount() { return count_; } /** * int32 count = 2; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { count_ = value; onChanged(); return this; } /** * int32 count = 2; * @return This builder for chaining. */ public Builder clearCount() { count_ = 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.ActiveActorsCount) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.ActiveActorsCount) private static final io.dapr.v1.DaprProtos.ActiveActorsCount DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.ActiveActorsCount(); } public static io.dapr.v1.DaprProtos.ActiveActorsCount getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ActiveActorsCount parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ActiveActorsCount(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.ActiveActorsCount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RegisteredComponentsOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.RegisteredComponents) com.google.protobuf.MessageOrBuilder { /** * string name = 1; * @return The name. */ java.lang.String getName(); /** * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * string type = 2; * @return The type. */ java.lang.String getType(); /** * string type = 2; * @return The bytes for type. */ com.google.protobuf.ByteString getTypeBytes(); /** * string version = 3; * @return The version. */ java.lang.String getVersion(); /** * string version = 3; * @return The bytes for version. */ com.google.protobuf.ByteString getVersionBytes(); /** * repeated string capabilities = 4; * @return A list containing the capabilities. */ java.util.List getCapabilitiesList(); /** * repeated string capabilities = 4; * @return The count of capabilities. */ int getCapabilitiesCount(); /** * repeated string capabilities = 4; * @param index The index of the element to return. * @return The capabilities at the given index. */ java.lang.String getCapabilities(int index); /** * repeated string capabilities = 4; * @param index The index of the value to return. * @return The bytes of the capabilities at the given index. */ com.google.protobuf.ByteString getCapabilitiesBytes(int index); } /** * Protobuf type {@code dapr.proto.runtime.v1.RegisteredComponents} */ public static final class RegisteredComponents extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.RegisteredComponents) RegisteredComponentsOrBuilder { private static final long serialVersionUID = 0L; // Use RegisteredComponents.newBuilder() to construct. private RegisteredComponents(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RegisteredComponents() { name_ = ""; type_ = ""; version_ = ""; capabilities_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RegisteredComponents(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RegisteredComponents( 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: { java.lang.String s = input.readStringRequireUtf8(); type_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); version_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { capabilities_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } capabilities_.add(s); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { capabilities_ = capabilities_.getUnmodifiableView(); } 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_RegisteredComponents_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisteredComponents_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.RegisteredComponents.class, io.dapr.v1.DaprProtos.RegisteredComponents.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object type_; /** * string type = 2; * @return The type. */ @java.lang.Override public java.lang.String getType() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** * string type = 2; * @return The bytes for type. */ @java.lang.Override public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object version_; /** * string version = 3; * @return The version. */ @java.lang.Override public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; } } /** * string version = 3; * @return The bytes for version. */ @java.lang.Override public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CAPABILITIES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList capabilities_; /** * repeated string capabilities = 4; * @return A list containing the capabilities. */ public com.google.protobuf.ProtocolStringList getCapabilitiesList() { return capabilities_; } /** * repeated string capabilities = 4; * @return The count of capabilities. */ public int getCapabilitiesCount() { return capabilities_.size(); } /** * repeated string capabilities = 4; * @param index The index of the element to return. * @return The capabilities at the given index. */ public java.lang.String getCapabilities(int index) { return capabilities_.get(index); } /** * repeated string capabilities = 4; * @param index The index of the value to return. * @return The bytes of the capabilities at the given index. */ public com.google.protobuf.ByteString getCapabilitiesBytes(int index) { return capabilities_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, version_); } for (int i = 0; i < capabilities_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, capabilities_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_); } { int dataSize = 0; for (int i = 0; i < capabilities_.size(); i++) { dataSize += computeStringSizeNoTag(capabilities_.getRaw(i)); } size += dataSize; size += 1 * getCapabilitiesList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprProtos.RegisteredComponents)) { return super.equals(obj); } io.dapr.v1.DaprProtos.RegisteredComponents other = (io.dapr.v1.DaprProtos.RegisteredComponents) obj; if (!getName() .equals(other.getName())) return false; if (!getType() .equals(other.getType())) return false; if (!getVersion() .equals(other.getVersion())) return false; if (!getCapabilitiesList() .equals(other.getCapabilitiesList())) 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) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); if (getCapabilitiesCount() > 0) { hash = (37 * hash) + CAPABILITIES_FIELD_NUMBER; hash = (53 * hash) + getCapabilitiesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.RegisteredComponents parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.RegisteredComponents 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.RegisteredComponents parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.RegisteredComponents 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.RegisteredComponents parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.RegisteredComponents parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.RegisteredComponents parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.RegisteredComponents 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.RegisteredComponents parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.RegisteredComponents 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.RegisteredComponents parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.RegisteredComponents 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.RegisteredComponents prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.RegisteredComponents} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.RegisteredComponents) io.dapr.v1.DaprProtos.RegisteredComponentsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisteredComponents_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisteredComponents_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.RegisteredComponents.class, io.dapr.v1.DaprProtos.RegisteredComponents.Builder.class); } // Construct using io.dapr.v1.DaprProtos.RegisteredComponents.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_ = ""; type_ = ""; version_ = ""; capabilities_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RegisteredComponents_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.RegisteredComponents getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.RegisteredComponents.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.RegisteredComponents build() { io.dapr.v1.DaprProtos.RegisteredComponents result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.RegisteredComponents buildPartial() { io.dapr.v1.DaprProtos.RegisteredComponents result = new io.dapr.v1.DaprProtos.RegisteredComponents(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.type_ = type_; result.version_ = version_; if (((bitField0_ & 0x00000001) != 0)) { capabilities_ = capabilities_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.capabilities_ = capabilities_; 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.RegisteredComponents) { return mergeFrom((io.dapr.v1.DaprProtos.RegisteredComponents)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.RegisteredComponents other) { if (other == io.dapr.v1.DaprProtos.RegisteredComponents.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (!other.getVersion().isEmpty()) { version_ = other.version_; onChanged(); } if (!other.capabilities_.isEmpty()) { if (capabilities_.isEmpty()) { capabilities_ = other.capabilities_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCapabilitiesIsMutable(); capabilities_.addAll(other.capabilities_); } 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.RegisteredComponents parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.RegisteredComponents) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * 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; } } /** * 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; } /** * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * 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 java.lang.Object type_ = ""; /** * string type = 2; * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } else { return (java.lang.String) ref; } } /** * string type = 2; * @return The bytes for type. */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string type = 2; * @param value The type to set. * @return This builder for chaining. */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); return this; } /** * string type = 2; * @return This builder for chaining. */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * string type = 2; * @param value The bytes for type to set. * @return This builder for chaining. */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; onChanged(); return this; } private java.lang.Object version_ = ""; /** * string version = 3; * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } else { return (java.lang.String) ref; } } /** * string version = 3; * @return The bytes for version. */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string version = 3; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } version_ = value; onChanged(); return this; } /** * string version = 3; * @return This builder for chaining. */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * string version = 3; * @param value The bytes for version to set. * @return This builder for chaining. */ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList capabilities_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCapabilitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { capabilities_ = new com.google.protobuf.LazyStringArrayList(capabilities_); bitField0_ |= 0x00000001; } } /** * repeated string capabilities = 4; * @return A list containing the capabilities. */ public com.google.protobuf.ProtocolStringList getCapabilitiesList() { return capabilities_.getUnmodifiableView(); } /** * repeated string capabilities = 4; * @return The count of capabilities. */ public int getCapabilitiesCount() { return capabilities_.size(); } /** * repeated string capabilities = 4; * @param index The index of the element to return. * @return The capabilities at the given index. */ public java.lang.String getCapabilities(int index) { return capabilities_.get(index); } /** * repeated string capabilities = 4; * @param index The index of the value to return. * @return The bytes of the capabilities at the given index. */ public com.google.protobuf.ByteString getCapabilitiesBytes(int index) { return capabilities_.getByteString(index); } /** * repeated string capabilities = 4; * @param index The index to set the value at. * @param value The capabilities to set. * @return This builder for chaining. */ public Builder setCapabilities( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCapabilitiesIsMutable(); capabilities_.set(index, value); onChanged(); return this; } /** * repeated string capabilities = 4; * @param value The capabilities to add. * @return This builder for chaining. */ public Builder addCapabilities( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCapabilitiesIsMutable(); capabilities_.add(value); onChanged(); return this; } /** * repeated string capabilities = 4; * @param values The capabilities to add. * @return This builder for chaining. */ public Builder addAllCapabilities( java.lang.Iterable values) { ensureCapabilitiesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, capabilities_); onChanged(); return this; } /** * repeated string capabilities = 4; * @return This builder for chaining. */ public Builder clearCapabilities() { capabilities_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string capabilities = 4; * @param value The bytes of the capabilities to add. * @return This builder for chaining. */ public Builder addCapabilitiesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCapabilitiesIsMutable(); capabilities_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.RegisteredComponents) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.RegisteredComponents) private static final io.dapr.v1.DaprProtos.RegisteredComponents DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.RegisteredComponents(); } public static io.dapr.v1.DaprProtos.RegisteredComponents getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RegisteredComponents parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RegisteredComponents(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.RegisteredComponents getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MetadataHTTPEndpointOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.MetadataHTTPEndpoint) com.google.protobuf.MessageOrBuilder { /** * string name = 1 [json_name = "name"]; * @return The name. */ java.lang.String getName(); /** * string name = 1 [json_name = "name"]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } /** * Protobuf type {@code dapr.proto.runtime.v1.MetadataHTTPEndpoint} */ public static final class MetadataHTTPEndpoint extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.MetadataHTTPEndpoint) MetadataHTTPEndpointOrBuilder { private static final long serialVersionUID = 0L; // Use MetadataHTTPEndpoint.newBuilder() to construct. private MetadataHTTPEndpoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MetadataHTTPEndpoint() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MetadataHTTPEndpoint(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MetadataHTTPEndpoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_MetadataHTTPEndpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_MetadataHTTPEndpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.class, io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * string name = 1 [json_name = "name"]; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 1 [json_name = "name"]; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } 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.MetadataHTTPEndpoint)) { return super.equals(obj); } io.dapr.v1.DaprProtos.MetadataHTTPEndpoint other = (io.dapr.v1.DaprProtos.MetadataHTTPEndpoint) obj; if (!getName() .equals(other.getName())) 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.MetadataHTTPEndpoint parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.MetadataHTTPEndpoint 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.MetadataHTTPEndpoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.MetadataHTTPEndpoint 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.MetadataHTTPEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.MetadataHTTPEndpoint parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.MetadataHTTPEndpoint parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.MetadataHTTPEndpoint 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.MetadataHTTPEndpoint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.MetadataHTTPEndpoint 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.MetadataHTTPEndpoint parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.MetadataHTTPEndpoint 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.MetadataHTTPEndpoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.MetadataHTTPEndpoint} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.MetadataHTTPEndpoint) io.dapr.v1.DaprProtos.MetadataHTTPEndpointOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_MetadataHTTPEndpoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_MetadataHTTPEndpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.class, io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.Builder.class); } // Construct using io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.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_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_MetadataHTTPEndpoint_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.MetadataHTTPEndpoint getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.MetadataHTTPEndpoint build() { io.dapr.v1.DaprProtos.MetadataHTTPEndpoint result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.MetadataHTTPEndpoint buildPartial() { io.dapr.v1.DaprProtos.MetadataHTTPEndpoint result = new io.dapr.v1.DaprProtos.MetadataHTTPEndpoint(this); result.name_ = name_; 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.MetadataHTTPEndpoint) { return mergeFrom((io.dapr.v1.DaprProtos.MetadataHTTPEndpoint)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.MetadataHTTPEndpoint other) { if (other == io.dapr.v1.DaprProtos.MetadataHTTPEndpoint.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; 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.MetadataHTTPEndpoint parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.MetadataHTTPEndpoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object name_ = ""; /** * string name = 1 [json_name = "name"]; * @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; } } /** * string name = 1 [json_name = "name"]; * @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; } } /** * string name = 1 [json_name = "name"]; * @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; } /** * string name = 1 [json_name = "name"]; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * string name = 1 [json_name = "name"]; * @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; } @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.MetadataHTTPEndpoint) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.MetadataHTTPEndpoint) private static final io.dapr.v1.DaprProtos.MetadataHTTPEndpoint DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.MetadataHTTPEndpoint(); } public static io.dapr.v1.DaprProtos.MetadataHTTPEndpoint getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MetadataHTTPEndpoint parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MetadataHTTPEndpoint(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.MetadataHTTPEndpoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AppConnectionPropertiesOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.AppConnectionProperties) com.google.protobuf.MessageOrBuilder { /** * int32 port = 1; * @return The port. */ int getPort(); /** * string protocol = 2; * @return The protocol. */ java.lang.String getProtocol(); /** * string protocol = 2; * @return The bytes for protocol. */ com.google.protobuf.ByteString getProtocolBytes(); /** * string channel_address = 3 [json_name = "channelAddress"]; * @return The channelAddress. */ java.lang.String getChannelAddress(); /** * string channel_address = 3 [json_name = "channelAddress"]; * @return The bytes for channelAddress. */ com.google.protobuf.ByteString getChannelAddressBytes(); /** * int32 max_concurrency = 4 [json_name = "maxConcurrency"]; * @return The maxConcurrency. */ int getMaxConcurrency(); /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; * @return Whether the health field is set. */ boolean hasHealth(); /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; * @return The health. */ io.dapr.v1.DaprProtos.AppConnectionHealthProperties getHealth(); /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; */ io.dapr.v1.DaprProtos.AppConnectionHealthPropertiesOrBuilder getHealthOrBuilder(); } /** * Protobuf type {@code dapr.proto.runtime.v1.AppConnectionProperties} */ public static final class AppConnectionProperties extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.AppConnectionProperties) AppConnectionPropertiesOrBuilder { private static final long serialVersionUID = 0L; // Use AppConnectionProperties.newBuilder() to construct. private AppConnectionProperties(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AppConnectionProperties() { protocol_ = ""; channelAddress_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AppConnectionProperties(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AppConnectionProperties( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { port_ = input.readInt32(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); protocol_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); channelAddress_ = s; break; } case 32: { maxConcurrency_ = input.readInt32(); break; } case 42: { io.dapr.v1.DaprProtos.AppConnectionHealthProperties.Builder subBuilder = null; if (health_ != null) { subBuilder = health_.toBuilder(); } health_ = input.readMessage(io.dapr.v1.DaprProtos.AppConnectionHealthProperties.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(health_); health_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_AppConnectionProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_AppConnectionProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.AppConnectionProperties.class, io.dapr.v1.DaprProtos.AppConnectionProperties.Builder.class); } public static final int PORT_FIELD_NUMBER = 1; private int port_; /** * int32 port = 1; * @return The port. */ @java.lang.Override public int getPort() { return port_; } public static final int PROTOCOL_FIELD_NUMBER = 2; private volatile java.lang.Object protocol_; /** * string protocol = 2; * @return The protocol. */ @java.lang.Override public java.lang.String getProtocol() { java.lang.Object ref = protocol_; 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(); protocol_ = s; return s; } } /** * string protocol = 2; * @return The bytes for protocol. */ @java.lang.Override public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); protocol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CHANNEL_ADDRESS_FIELD_NUMBER = 3; private volatile java.lang.Object channelAddress_; /** * string channel_address = 3 [json_name = "channelAddress"]; * @return The channelAddress. */ @java.lang.Override public java.lang.String getChannelAddress() { java.lang.Object ref = channelAddress_; 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(); channelAddress_ = s; return s; } } /** * string channel_address = 3 [json_name = "channelAddress"]; * @return The bytes for channelAddress. */ @java.lang.Override public com.google.protobuf.ByteString getChannelAddressBytes() { java.lang.Object ref = channelAddress_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MAX_CONCURRENCY_FIELD_NUMBER = 4; private int maxConcurrency_; /** * int32 max_concurrency = 4 [json_name = "maxConcurrency"]; * @return The maxConcurrency. */ @java.lang.Override public int getMaxConcurrency() { return maxConcurrency_; } public static final int HEALTH_FIELD_NUMBER = 5; private io.dapr.v1.DaprProtos.AppConnectionHealthProperties health_; /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; * @return Whether the health field is set. */ @java.lang.Override public boolean hasHealth() { return health_ != null; } /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; * @return The health. */ @java.lang.Override public io.dapr.v1.DaprProtos.AppConnectionHealthProperties getHealth() { return health_ == null ? io.dapr.v1.DaprProtos.AppConnectionHealthProperties.getDefaultInstance() : health_; } /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; */ @java.lang.Override public io.dapr.v1.DaprProtos.AppConnectionHealthPropertiesOrBuilder getHealthOrBuilder() { return getHealth(); } 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 (port_ != 0) { output.writeInt32(1, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, protocol_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channelAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, channelAddress_); } if (maxConcurrency_ != 0) { output.writeInt32(4, maxConcurrency_); } if (health_ != null) { output.writeMessage(5, getHealth()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (port_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, protocol_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channelAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, channelAddress_); } if (maxConcurrency_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, maxConcurrency_); } if (health_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getHealth()); } 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.AppConnectionProperties)) { return super.equals(obj); } io.dapr.v1.DaprProtos.AppConnectionProperties other = (io.dapr.v1.DaprProtos.AppConnectionProperties) obj; if (getPort() != other.getPort()) return false; if (!getProtocol() .equals(other.getProtocol())) return false; if (!getChannelAddress() .equals(other.getChannelAddress())) return false; if (getMaxConcurrency() != other.getMaxConcurrency()) return false; if (hasHealth() != other.hasHealth()) return false; if (hasHealth()) { if (!getHealth() .equals(other.getHealth())) 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) + PORT_FIELD_NUMBER; hash = (53 * hash) + getPort(); hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + getProtocol().hashCode(); hash = (37 * hash) + CHANNEL_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getChannelAddress().hashCode(); hash = (37 * hash) + MAX_CONCURRENCY_FIELD_NUMBER; hash = (53 * hash) + getMaxConcurrency(); if (hasHealth()) { hash = (37 * hash) + HEALTH_FIELD_NUMBER; hash = (53 * hash) + getHealth().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.AppConnectionProperties parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.AppConnectionProperties 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.AppConnectionProperties parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.AppConnectionProperties 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.AppConnectionProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.AppConnectionProperties parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.AppConnectionProperties parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.AppConnectionProperties 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.AppConnectionProperties parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.AppConnectionProperties 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.AppConnectionProperties parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.AppConnectionProperties 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.AppConnectionProperties prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.AppConnectionProperties} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.AppConnectionProperties) io.dapr.v1.DaprProtos.AppConnectionPropertiesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_AppConnectionProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_AppConnectionProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.AppConnectionProperties.class, io.dapr.v1.DaprProtos.AppConnectionProperties.Builder.class); } // Construct using io.dapr.v1.DaprProtos.AppConnectionProperties.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(); port_ = 0; protocol_ = ""; channelAddress_ = ""; maxConcurrency_ = 0; if (healthBuilder_ == null) { health_ = null; } else { health_ = null; healthBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_AppConnectionProperties_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.AppConnectionProperties getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.AppConnectionProperties.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.AppConnectionProperties build() { io.dapr.v1.DaprProtos.AppConnectionProperties result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.AppConnectionProperties buildPartial() { io.dapr.v1.DaprProtos.AppConnectionProperties result = new io.dapr.v1.DaprProtos.AppConnectionProperties(this); result.port_ = port_; result.protocol_ = protocol_; result.channelAddress_ = channelAddress_; result.maxConcurrency_ = maxConcurrency_; if (healthBuilder_ == null) { result.health_ = health_; } else { result.health_ = healthBuilder_.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.AppConnectionProperties) { return mergeFrom((io.dapr.v1.DaprProtos.AppConnectionProperties)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.AppConnectionProperties other) { if (other == io.dapr.v1.DaprProtos.AppConnectionProperties.getDefaultInstance()) return this; if (other.getPort() != 0) { setPort(other.getPort()); } if (!other.getProtocol().isEmpty()) { protocol_ = other.protocol_; onChanged(); } if (!other.getChannelAddress().isEmpty()) { channelAddress_ = other.channelAddress_; onChanged(); } if (other.getMaxConcurrency() != 0) { setMaxConcurrency(other.getMaxConcurrency()); } if (other.hasHealth()) { mergeHealth(other.getHealth()); } 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.AppConnectionProperties parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.AppConnectionProperties) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int port_ ; /** * int32 port = 1; * @return The port. */ @java.lang.Override public int getPort() { return port_; } /** * int32 port = 1; * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { port_ = value; onChanged(); return this; } /** * int32 port = 1; * @return This builder for chaining. */ public Builder clearPort() { port_ = 0; onChanged(); return this; } private java.lang.Object protocol_ = ""; /** * string protocol = 2; * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; } else { return (java.lang.String) ref; } } /** * string protocol = 2; * @return The bytes for protocol. */ public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); protocol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string protocol = 2; * @param value The protocol to set. * @return This builder for chaining. */ public Builder setProtocol( java.lang.String value) { if (value == null) { throw new NullPointerException(); } protocol_ = value; onChanged(); return this; } /** * string protocol = 2; * @return This builder for chaining. */ public Builder clearProtocol() { protocol_ = getDefaultInstance().getProtocol(); onChanged(); return this; } /** * string protocol = 2; * @param value The bytes for protocol to set. * @return This builder for chaining. */ public Builder setProtocolBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); protocol_ = value; onChanged(); return this; } private java.lang.Object channelAddress_ = ""; /** * string channel_address = 3 [json_name = "channelAddress"]; * @return The channelAddress. */ public java.lang.String getChannelAddress() { java.lang.Object ref = channelAddress_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelAddress_ = s; return s; } else { return (java.lang.String) ref; } } /** * string channel_address = 3 [json_name = "channelAddress"]; * @return The bytes for channelAddress. */ public com.google.protobuf.ByteString getChannelAddressBytes() { java.lang.Object ref = channelAddress_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string channel_address = 3 [json_name = "channelAddress"]; * @param value The channelAddress to set. * @return This builder for chaining. */ public Builder setChannelAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } channelAddress_ = value; onChanged(); return this; } /** * string channel_address = 3 [json_name = "channelAddress"]; * @return This builder for chaining. */ public Builder clearChannelAddress() { channelAddress_ = getDefaultInstance().getChannelAddress(); onChanged(); return this; } /** * string channel_address = 3 [json_name = "channelAddress"]; * @param value The bytes for channelAddress to set. * @return This builder for chaining. */ public Builder setChannelAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); channelAddress_ = value; onChanged(); return this; } private int maxConcurrency_ ; /** * int32 max_concurrency = 4 [json_name = "maxConcurrency"]; * @return The maxConcurrency. */ @java.lang.Override public int getMaxConcurrency() { return maxConcurrency_; } /** * int32 max_concurrency = 4 [json_name = "maxConcurrency"]; * @param value The maxConcurrency to set. * @return This builder for chaining. */ public Builder setMaxConcurrency(int value) { maxConcurrency_ = value; onChanged(); return this; } /** * int32 max_concurrency = 4 [json_name = "maxConcurrency"]; * @return This builder for chaining. */ public Builder clearMaxConcurrency() { maxConcurrency_ = 0; onChanged(); return this; } private io.dapr.v1.DaprProtos.AppConnectionHealthProperties health_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.AppConnectionHealthProperties, io.dapr.v1.DaprProtos.AppConnectionHealthProperties.Builder, io.dapr.v1.DaprProtos.AppConnectionHealthPropertiesOrBuilder> healthBuilder_; /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; * @return Whether the health field is set. */ public boolean hasHealth() { return healthBuilder_ != null || health_ != null; } /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; * @return The health. */ public io.dapr.v1.DaprProtos.AppConnectionHealthProperties getHealth() { if (healthBuilder_ == null) { return health_ == null ? io.dapr.v1.DaprProtos.AppConnectionHealthProperties.getDefaultInstance() : health_; } else { return healthBuilder_.getMessage(); } } /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; */ public Builder setHealth(io.dapr.v1.DaprProtos.AppConnectionHealthProperties value) { if (healthBuilder_ == null) { if (value == null) { throw new NullPointerException(); } health_ = value; onChanged(); } else { healthBuilder_.setMessage(value); } return this; } /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; */ public Builder setHealth( io.dapr.v1.DaprProtos.AppConnectionHealthProperties.Builder builderForValue) { if (healthBuilder_ == null) { health_ = builderForValue.build(); onChanged(); } else { healthBuilder_.setMessage(builderForValue.build()); } return this; } /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; */ public Builder mergeHealth(io.dapr.v1.DaprProtos.AppConnectionHealthProperties value) { if (healthBuilder_ == null) { if (health_ != null) { health_ = io.dapr.v1.DaprProtos.AppConnectionHealthProperties.newBuilder(health_).mergeFrom(value).buildPartial(); } else { health_ = value; } onChanged(); } else { healthBuilder_.mergeFrom(value); } return this; } /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; */ public Builder clearHealth() { if (healthBuilder_ == null) { health_ = null; onChanged(); } else { health_ = null; healthBuilder_ = null; } return this; } /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; */ public io.dapr.v1.DaprProtos.AppConnectionHealthProperties.Builder getHealthBuilder() { onChanged(); return getHealthFieldBuilder().getBuilder(); } /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; */ public io.dapr.v1.DaprProtos.AppConnectionHealthPropertiesOrBuilder getHealthOrBuilder() { if (healthBuilder_ != null) { return healthBuilder_.getMessageOrBuilder(); } else { return health_ == null ? io.dapr.v1.DaprProtos.AppConnectionHealthProperties.getDefaultInstance() : health_; } } /** * .dapr.proto.runtime.v1.AppConnectionHealthProperties health = 5; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.AppConnectionHealthProperties, io.dapr.v1.DaprProtos.AppConnectionHealthProperties.Builder, io.dapr.v1.DaprProtos.AppConnectionHealthPropertiesOrBuilder> getHealthFieldBuilder() { if (healthBuilder_ == null) { healthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.AppConnectionHealthProperties, io.dapr.v1.DaprProtos.AppConnectionHealthProperties.Builder, io.dapr.v1.DaprProtos.AppConnectionHealthPropertiesOrBuilder>( getHealth(), getParentForChildren(), isClean()); health_ = null; } return healthBuilder_; } @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.AppConnectionProperties) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.AppConnectionProperties) private static final io.dapr.v1.DaprProtos.AppConnectionProperties DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.AppConnectionProperties(); } public static io.dapr.v1.DaprProtos.AppConnectionProperties getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AppConnectionProperties parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AppConnectionProperties(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.AppConnectionProperties getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AppConnectionHealthPropertiesOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.AppConnectionHealthProperties) com.google.protobuf.MessageOrBuilder { /** * string health_check_path = 1 [json_name = "healthCheckPath"]; * @return The healthCheckPath. */ java.lang.String getHealthCheckPath(); /** * string health_check_path = 1 [json_name = "healthCheckPath"]; * @return The bytes for healthCheckPath. */ com.google.protobuf.ByteString getHealthCheckPathBytes(); /** * string health_probe_interval = 2 [json_name = "healthProbeInterval"]; * @return The healthProbeInterval. */ java.lang.String getHealthProbeInterval(); /** * string health_probe_interval = 2 [json_name = "healthProbeInterval"]; * @return The bytes for healthProbeInterval. */ com.google.protobuf.ByteString getHealthProbeIntervalBytes(); /** * string health_probe_timeout = 3 [json_name = "healthProbeTimeout"]; * @return The healthProbeTimeout. */ java.lang.String getHealthProbeTimeout(); /** * string health_probe_timeout = 3 [json_name = "healthProbeTimeout"]; * @return The bytes for healthProbeTimeout. */ com.google.protobuf.ByteString getHealthProbeTimeoutBytes(); /** * int32 health_threshold = 4 [json_name = "healthThreshold"]; * @return The healthThreshold. */ int getHealthThreshold(); } /** * Protobuf type {@code dapr.proto.runtime.v1.AppConnectionHealthProperties} */ public static final class AppConnectionHealthProperties extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.AppConnectionHealthProperties) AppConnectionHealthPropertiesOrBuilder { private static final long serialVersionUID = 0L; // Use AppConnectionHealthProperties.newBuilder() to construct. private AppConnectionHealthProperties(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AppConnectionHealthProperties() { healthCheckPath_ = ""; healthProbeInterval_ = ""; healthProbeTimeout_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AppConnectionHealthProperties(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AppConnectionHealthProperties( 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(); healthCheckPath_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); healthProbeInterval_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); healthProbeTimeout_ = s; break; } case 32: { healthThreshold_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_AppConnectionHealthProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_AppConnectionHealthProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.AppConnectionHealthProperties.class, io.dapr.v1.DaprProtos.AppConnectionHealthProperties.Builder.class); } public static final int HEALTH_CHECK_PATH_FIELD_NUMBER = 1; private volatile java.lang.Object healthCheckPath_; /** * string health_check_path = 1 [json_name = "healthCheckPath"]; * @return The healthCheckPath. */ @java.lang.Override public java.lang.String getHealthCheckPath() { java.lang.Object ref = healthCheckPath_; 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(); healthCheckPath_ = s; return s; } } /** * string health_check_path = 1 [json_name = "healthCheckPath"]; * @return The bytes for healthCheckPath. */ @java.lang.Override public com.google.protobuf.ByteString getHealthCheckPathBytes() { java.lang.Object ref = healthCheckPath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); healthCheckPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HEALTH_PROBE_INTERVAL_FIELD_NUMBER = 2; private volatile java.lang.Object healthProbeInterval_; /** * string health_probe_interval = 2 [json_name = "healthProbeInterval"]; * @return The healthProbeInterval. */ @java.lang.Override public java.lang.String getHealthProbeInterval() { java.lang.Object ref = healthProbeInterval_; 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(); healthProbeInterval_ = s; return s; } } /** * string health_probe_interval = 2 [json_name = "healthProbeInterval"]; * @return The bytes for healthProbeInterval. */ @java.lang.Override public com.google.protobuf.ByteString getHealthProbeIntervalBytes() { java.lang.Object ref = healthProbeInterval_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); healthProbeInterval_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HEALTH_PROBE_TIMEOUT_FIELD_NUMBER = 3; private volatile java.lang.Object healthProbeTimeout_; /** * string health_probe_timeout = 3 [json_name = "healthProbeTimeout"]; * @return The healthProbeTimeout. */ @java.lang.Override public java.lang.String getHealthProbeTimeout() { java.lang.Object ref = healthProbeTimeout_; 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(); healthProbeTimeout_ = s; return s; } } /** * string health_probe_timeout = 3 [json_name = "healthProbeTimeout"]; * @return The bytes for healthProbeTimeout. */ @java.lang.Override public com.google.protobuf.ByteString getHealthProbeTimeoutBytes() { java.lang.Object ref = healthProbeTimeout_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); healthProbeTimeout_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HEALTH_THRESHOLD_FIELD_NUMBER = 4; private int healthThreshold_; /** * int32 health_threshold = 4 [json_name = "healthThreshold"]; * @return The healthThreshold. */ @java.lang.Override public int getHealthThreshold() { return healthThreshold_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthCheckPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, healthCheckPath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthProbeInterval_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, healthProbeInterval_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthProbeTimeout_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, healthProbeTimeout_); } if (healthThreshold_ != 0) { output.writeInt32(4, healthThreshold_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthCheckPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, healthCheckPath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthProbeInterval_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, healthProbeInterval_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthProbeTimeout_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, healthProbeTimeout_); } if (healthThreshold_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, healthThreshold_); } 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.AppConnectionHealthProperties)) { return super.equals(obj); } io.dapr.v1.DaprProtos.AppConnectionHealthProperties other = (io.dapr.v1.DaprProtos.AppConnectionHealthProperties) obj; if (!getHealthCheckPath() .equals(other.getHealthCheckPath())) return false; if (!getHealthProbeInterval() .equals(other.getHealthProbeInterval())) return false; if (!getHealthProbeTimeout() .equals(other.getHealthProbeTimeout())) return false; if (getHealthThreshold() != other.getHealthThreshold()) 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) + HEALTH_CHECK_PATH_FIELD_NUMBER; hash = (53 * hash) + getHealthCheckPath().hashCode(); hash = (37 * hash) + HEALTH_PROBE_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getHealthProbeInterval().hashCode(); hash = (37 * hash) + HEALTH_PROBE_TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + getHealthProbeTimeout().hashCode(); hash = (37 * hash) + HEALTH_THRESHOLD_FIELD_NUMBER; hash = (53 * hash) + getHealthThreshold(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.AppConnectionHealthProperties parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.AppConnectionHealthProperties 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.AppConnectionHealthProperties parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.AppConnectionHealthProperties 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.AppConnectionHealthProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.AppConnectionHealthProperties parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.AppConnectionHealthProperties parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.AppConnectionHealthProperties 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.AppConnectionHealthProperties parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.AppConnectionHealthProperties 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.AppConnectionHealthProperties parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.AppConnectionHealthProperties 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.AppConnectionHealthProperties prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.AppConnectionHealthProperties} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.AppConnectionHealthProperties) io.dapr.v1.DaprProtos.AppConnectionHealthPropertiesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_AppConnectionHealthProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_AppConnectionHealthProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.AppConnectionHealthProperties.class, io.dapr.v1.DaprProtos.AppConnectionHealthProperties.Builder.class); } // Construct using io.dapr.v1.DaprProtos.AppConnectionHealthProperties.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(); healthCheckPath_ = ""; healthProbeInterval_ = ""; healthProbeTimeout_ = ""; healthThreshold_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_AppConnectionHealthProperties_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.AppConnectionHealthProperties getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.AppConnectionHealthProperties.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.AppConnectionHealthProperties build() { io.dapr.v1.DaprProtos.AppConnectionHealthProperties result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.AppConnectionHealthProperties buildPartial() { io.dapr.v1.DaprProtos.AppConnectionHealthProperties result = new io.dapr.v1.DaprProtos.AppConnectionHealthProperties(this); result.healthCheckPath_ = healthCheckPath_; result.healthProbeInterval_ = healthProbeInterval_; result.healthProbeTimeout_ = healthProbeTimeout_; result.healthThreshold_ = healthThreshold_; 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.AppConnectionHealthProperties) { return mergeFrom((io.dapr.v1.DaprProtos.AppConnectionHealthProperties)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.AppConnectionHealthProperties other) { if (other == io.dapr.v1.DaprProtos.AppConnectionHealthProperties.getDefaultInstance()) return this; if (!other.getHealthCheckPath().isEmpty()) { healthCheckPath_ = other.healthCheckPath_; onChanged(); } if (!other.getHealthProbeInterval().isEmpty()) { healthProbeInterval_ = other.healthProbeInterval_; onChanged(); } if (!other.getHealthProbeTimeout().isEmpty()) { healthProbeTimeout_ = other.healthProbeTimeout_; onChanged(); } if (other.getHealthThreshold() != 0) { setHealthThreshold(other.getHealthThreshold()); } 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.AppConnectionHealthProperties parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.AppConnectionHealthProperties) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object healthCheckPath_ = ""; /** * string health_check_path = 1 [json_name = "healthCheckPath"]; * @return The healthCheckPath. */ public java.lang.String getHealthCheckPath() { java.lang.Object ref = healthCheckPath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); healthCheckPath_ = s; return s; } else { return (java.lang.String) ref; } } /** * string health_check_path = 1 [json_name = "healthCheckPath"]; * @return The bytes for healthCheckPath. */ public com.google.protobuf.ByteString getHealthCheckPathBytes() { java.lang.Object ref = healthCheckPath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); healthCheckPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string health_check_path = 1 [json_name = "healthCheckPath"]; * @param value The healthCheckPath to set. * @return This builder for chaining. */ public Builder setHealthCheckPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } healthCheckPath_ = value; onChanged(); return this; } /** * string health_check_path = 1 [json_name = "healthCheckPath"]; * @return This builder for chaining. */ public Builder clearHealthCheckPath() { healthCheckPath_ = getDefaultInstance().getHealthCheckPath(); onChanged(); return this; } /** * string health_check_path = 1 [json_name = "healthCheckPath"]; * @param value The bytes for healthCheckPath to set. * @return This builder for chaining. */ public Builder setHealthCheckPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); healthCheckPath_ = value; onChanged(); return this; } private java.lang.Object healthProbeInterval_ = ""; /** * string health_probe_interval = 2 [json_name = "healthProbeInterval"]; * @return The healthProbeInterval. */ public java.lang.String getHealthProbeInterval() { java.lang.Object ref = healthProbeInterval_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); healthProbeInterval_ = s; return s; } else { return (java.lang.String) ref; } } /** * string health_probe_interval = 2 [json_name = "healthProbeInterval"]; * @return The bytes for healthProbeInterval. */ public com.google.protobuf.ByteString getHealthProbeIntervalBytes() { java.lang.Object ref = healthProbeInterval_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); healthProbeInterval_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string health_probe_interval = 2 [json_name = "healthProbeInterval"]; * @param value The healthProbeInterval to set. * @return This builder for chaining. */ public Builder setHealthProbeInterval( java.lang.String value) { if (value == null) { throw new NullPointerException(); } healthProbeInterval_ = value; onChanged(); return this; } /** * string health_probe_interval = 2 [json_name = "healthProbeInterval"]; * @return This builder for chaining. */ public Builder clearHealthProbeInterval() { healthProbeInterval_ = getDefaultInstance().getHealthProbeInterval(); onChanged(); return this; } /** * string health_probe_interval = 2 [json_name = "healthProbeInterval"]; * @param value The bytes for healthProbeInterval to set. * @return This builder for chaining. */ public Builder setHealthProbeIntervalBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); healthProbeInterval_ = value; onChanged(); return this; } private java.lang.Object healthProbeTimeout_ = ""; /** * string health_probe_timeout = 3 [json_name = "healthProbeTimeout"]; * @return The healthProbeTimeout. */ public java.lang.String getHealthProbeTimeout() { java.lang.Object ref = healthProbeTimeout_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); healthProbeTimeout_ = s; return s; } else { return (java.lang.String) ref; } } /** * string health_probe_timeout = 3 [json_name = "healthProbeTimeout"]; * @return The bytes for healthProbeTimeout. */ public com.google.protobuf.ByteString getHealthProbeTimeoutBytes() { java.lang.Object ref = healthProbeTimeout_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); healthProbeTimeout_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string health_probe_timeout = 3 [json_name = "healthProbeTimeout"]; * @param value The healthProbeTimeout to set. * @return This builder for chaining. */ public Builder setHealthProbeTimeout( java.lang.String value) { if (value == null) { throw new NullPointerException(); } healthProbeTimeout_ = value; onChanged(); return this; } /** * string health_probe_timeout = 3 [json_name = "healthProbeTimeout"]; * @return This builder for chaining. */ public Builder clearHealthProbeTimeout() { healthProbeTimeout_ = getDefaultInstance().getHealthProbeTimeout(); onChanged(); return this; } /** * string health_probe_timeout = 3 [json_name = "healthProbeTimeout"]; * @param value The bytes for healthProbeTimeout to set. * @return This builder for chaining. */ public Builder setHealthProbeTimeoutBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); healthProbeTimeout_ = value; onChanged(); return this; } private int healthThreshold_ ; /** * int32 health_threshold = 4 [json_name = "healthThreshold"]; * @return The healthThreshold. */ @java.lang.Override public int getHealthThreshold() { return healthThreshold_; } /** * int32 health_threshold = 4 [json_name = "healthThreshold"]; * @param value The healthThreshold to set. * @return This builder for chaining. */ public Builder setHealthThreshold(int value) { healthThreshold_ = value; onChanged(); return this; } /** * int32 health_threshold = 4 [json_name = "healthThreshold"]; * @return This builder for chaining. */ public Builder clearHealthThreshold() { healthThreshold_ = 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.AppConnectionHealthProperties) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.AppConnectionHealthProperties) private static final io.dapr.v1.DaprProtos.AppConnectionHealthProperties DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.AppConnectionHealthProperties(); } public static io.dapr.v1.DaprProtos.AppConnectionHealthProperties getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AppConnectionHealthProperties parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AppConnectionHealthProperties(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.AppConnectionHealthProperties getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PubsubSubscriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.PubsubSubscription) com.google.protobuf.MessageOrBuilder { /** * string pubsub_name = 1 [json_name = "pubsubname"]; * @return The pubsubName. */ java.lang.String getPubsubName(); /** * string pubsub_name = 1 [json_name = "pubsubname"]; * @return The bytes for pubsubName. */ com.google.protobuf.ByteString getPubsubNameBytes(); /** * string topic = 2 [json_name = "topic"]; * @return The topic. */ java.lang.String getTopic(); /** * string topic = 2 [json_name = "topic"]; * @return The bytes for topic. */ com.google.protobuf.ByteString getTopicBytes(); /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ int getMetadataCount(); /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ java.util.Map getMetadataMap(); /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ java.lang.String getMetadataOrThrow( java.lang.String key); /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; * @return Whether the rules field is set. */ boolean hasRules(); /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; * @return The rules. */ io.dapr.v1.DaprProtos.PubsubSubscriptionRules getRules(); /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; */ io.dapr.v1.DaprProtos.PubsubSubscriptionRulesOrBuilder getRulesOrBuilder(); /** * string dead_letter_topic = 5 [json_name = "deadLetterTopic"]; * @return The deadLetterTopic. */ java.lang.String getDeadLetterTopic(); /** * string dead_letter_topic = 5 [json_name = "deadLetterTopic"]; * @return The bytes for deadLetterTopic. */ com.google.protobuf.ByteString getDeadLetterTopicBytes(); /** * .dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** * .dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"]; * @return The type. */ io.dapr.v1.DaprProtos.PubsubSubscriptionType getType(); } /** * Protobuf type {@code dapr.proto.runtime.v1.PubsubSubscription} */ public static final class PubsubSubscription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.PubsubSubscription) PubsubSubscriptionOrBuilder { private static final long serialVersionUID = 0L; // Use PubsubSubscription.newBuilder() to construct. private PubsubSubscription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PubsubSubscription() { pubsubName_ = ""; topic_ = ""; deadLetterTopic_ = ""; type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PubsubSubscription(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PubsubSubscription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); pubsubName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); topic_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } case 34: { io.dapr.v1.DaprProtos.PubsubSubscriptionRules.Builder subBuilder = null; if (rules_ != null) { subBuilder = rules_.toBuilder(); } rules_ = input.readMessage(io.dapr.v1.DaprProtos.PubsubSubscriptionRules.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rules_); rules_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); deadLetterTopic_ = s; break; } case 48: { int rawValue = input.readEnum(); type_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscription_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_PubsubSubscription_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.PubsubSubscription.class, io.dapr.v1.DaprProtos.PubsubSubscription.Builder.class); } public static final int PUBSUB_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object pubsubName_; /** * string pubsub_name = 1 [json_name = "pubsubname"]; * @return The pubsubName. */ @java.lang.Override public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pubsubName_ = s; return s; } } /** * string pubsub_name = 1 [json_name = "pubsubname"]; * @return The bytes for pubsubName. */ @java.lang.Override public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOPIC_FIELD_NUMBER = 2; private volatile java.lang.Object topic_; /** * string topic = 2 [json_name = "topic"]; * @return The topic. */ @java.lang.Override public java.lang.String getTopic() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** * string topic = 2 [json_name = "topic"]; * @return The bytes for topic. */ @java.lang.Override public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); topic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METADATA_FIELD_NUMBER = 3; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscription_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(); } /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int RULES_FIELD_NUMBER = 4; private io.dapr.v1.DaprProtos.PubsubSubscriptionRules rules_; /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; * @return Whether the rules field is set. */ @java.lang.Override public boolean hasRules() { return rules_ != null; } /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; * @return The rules. */ @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionRules getRules() { return rules_ == null ? io.dapr.v1.DaprProtos.PubsubSubscriptionRules.getDefaultInstance() : rules_; } /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; */ @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionRulesOrBuilder getRulesOrBuilder() { return getRules(); } public static final int DEAD_LETTER_TOPIC_FIELD_NUMBER = 5; private volatile java.lang.Object deadLetterTopic_; /** * string dead_letter_topic = 5 [json_name = "deadLetterTopic"]; * @return The deadLetterTopic. */ @java.lang.Override public java.lang.String getDeadLetterTopic() { java.lang.Object ref = deadLetterTopic_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deadLetterTopic_ = s; return s; } } /** * string dead_letter_topic = 5 [json_name = "deadLetterTopic"]; * @return The bytes for deadLetterTopic. */ @java.lang.Override public com.google.protobuf.ByteString getDeadLetterTopicBytes() { java.lang.Object ref = deadLetterTopic_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deadLetterTopic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 6; private int type_; /** * .dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"]; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"]; * @return The type. */ @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionType getType() { @SuppressWarnings("deprecation") io.dapr.v1.DaprProtos.PubsubSubscriptionType result = io.dapr.v1.DaprProtos.PubsubSubscriptionType.valueOf(type_); return result == null ? io.dapr.v1.DaprProtos.PubsubSubscriptionType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, topic_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); if (rules_ != null) { output.writeMessage(4, getRules()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterTopic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, deadLetterTopic_); } if (type_ != io.dapr.v1.DaprProtos.PubsubSubscriptionType.UNKNOWN.getNumber()) { output.writeEnum(6, type_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pubsubName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pubsubName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { com.google.protobuf.MapEntry metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, metadata__); } if (rules_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getRules()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterTopic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, deadLetterTopic_); } if (type_ != io.dapr.v1.DaprProtos.PubsubSubscriptionType.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, type_); } 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.PubsubSubscription)) { return super.equals(obj); } io.dapr.v1.DaprProtos.PubsubSubscription other = (io.dapr.v1.DaprProtos.PubsubSubscription) obj; if (!getPubsubName() .equals(other.getPubsubName())) return false; if (!getTopic() .equals(other.getTopic())) return false; if (!internalGetMetadata().equals( other.internalGetMetadata())) return false; if (hasRules() != other.hasRules()) return false; if (hasRules()) { if (!getRules() .equals(other.getRules())) return false; } if (!getDeadLetterTopic() .equals(other.getDeadLetterTopic())) return false; if (type_ != other.type_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PUBSUB_NAME_FIELD_NUMBER; hash = (53 * hash) + getPubsubName().hashCode(); hash = (37 * hash) + TOPIC_FIELD_NUMBER; hash = (53 * hash) + getTopic().hashCode(); if (!internalGetMetadata().getMap().isEmpty()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + internalGetMetadata().hashCode(); } if (hasRules()) { hash = (37 * hash) + RULES_FIELD_NUMBER; hash = (53 * hash) + getRules().hashCode(); } hash = (37 * hash) + DEAD_LETTER_TOPIC_FIELD_NUMBER; hash = (53 * hash) + getDeadLetterTopic().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.PubsubSubscription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PubsubSubscription 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.PubsubSubscription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PubsubSubscription 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.PubsubSubscription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PubsubSubscription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.PubsubSubscription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PubsubSubscription 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.PubsubSubscription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PubsubSubscription 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.PubsubSubscription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PubsubSubscription 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.PubsubSubscription prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.PubsubSubscription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.PubsubSubscription) io.dapr.v1.DaprProtos.PubsubSubscriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscription_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_PubsubSubscription_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.PubsubSubscription.class, io.dapr.v1.DaprProtos.PubsubSubscription.Builder.class); } // Construct using io.dapr.v1.DaprProtos.PubsubSubscription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); pubsubName_ = ""; topic_ = ""; internalGetMutableMetadata().clear(); if (rulesBuilder_ == null) { rules_ = null; } else { rules_ = null; rulesBuilder_ = null; } deadLetterTopic_ = ""; type_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscription_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscription getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.PubsubSubscription.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscription build() { io.dapr.v1.DaprProtos.PubsubSubscription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscription buildPartial() { io.dapr.v1.DaprProtos.PubsubSubscription result = new io.dapr.v1.DaprProtos.PubsubSubscription(this); int from_bitField0_ = bitField0_; result.pubsubName_ = pubsubName_; result.topic_ = topic_; result.metadata_ = internalGetMetadata(); result.metadata_.makeImmutable(); if (rulesBuilder_ == null) { result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } result.deadLetterTopic_ = deadLetterTopic_; result.type_ = type_; 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.PubsubSubscription) { return mergeFrom((io.dapr.v1.DaprProtos.PubsubSubscription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.PubsubSubscription other) { if (other == io.dapr.v1.DaprProtos.PubsubSubscription.getDefaultInstance()) return this; if (!other.getPubsubName().isEmpty()) { pubsubName_ = other.pubsubName_; onChanged(); } if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); } internalGetMutableMetadata().mergeFrom( other.internalGetMetadata()); if (other.hasRules()) { mergeRules(other.getRules()); } if (!other.getDeadLetterTopic().isEmpty()) { deadLetterTopic_ = other.deadLetterTopic_; onChanged(); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } 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.PubsubSubscription parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.PubsubSubscription) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object pubsubName_ = ""; /** * string pubsub_name = 1 [json_name = "pubsubname"]; * @return The pubsubName. */ public java.lang.String getPubsubName() { java.lang.Object ref = pubsubName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pubsubName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string pubsub_name = 1 [json_name = "pubsubname"]; * @return The bytes for pubsubName. */ public com.google.protobuf.ByteString getPubsubNameBytes() { java.lang.Object ref = pubsubName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pubsubName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string pubsub_name = 1 [json_name = "pubsubname"]; * @param value The pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } pubsubName_ = value; onChanged(); return this; } /** * string pubsub_name = 1 [json_name = "pubsubname"]; * @return This builder for chaining. */ public Builder clearPubsubName() { pubsubName_ = getDefaultInstance().getPubsubName(); onChanged(); return this; } /** * string pubsub_name = 1 [json_name = "pubsubname"]; * @param value The bytes for pubsubName to set. * @return This builder for chaining. */ public Builder setPubsubNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pubsubName_ = value; onChanged(); return this; } private java.lang.Object topic_ = ""; /** * string topic = 2 [json_name = "topic"]; * @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; } } /** * string topic = 2 [json_name = "topic"]; * @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; } } /** * string topic = 2 [json_name = "topic"]; * @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; } /** * string topic = 2 [json_name = "topic"]; * @return This builder for chaining. */ public Builder clearTopic() { topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** * string topic = 2 [json_name = "topic"]; * @param value The bytes for topic to set. * @return This builder for chaining. */ public Builder setTopicBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); topic_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> metadata_; private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { return com.google.protobuf.MapField.emptyMapField( MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } private com.google.protobuf.MapField internalGetMutableMetadata() { onChanged();; if (metadata_ == null) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); } return metadata_; } public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** * map<string, string> metadata = 3 [json_name = "metadata"]; */ public Builder putAllMetadata( java.util.Map values) { internalGetMutableMetadata().getMutableMap() .putAll(values); return this; } private io.dapr.v1.DaprProtos.PubsubSubscriptionRules rules_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.PubsubSubscriptionRules, io.dapr.v1.DaprProtos.PubsubSubscriptionRules.Builder, io.dapr.v1.DaprProtos.PubsubSubscriptionRulesOrBuilder> rulesBuilder_; /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; * @return Whether the rules field is set. */ public boolean hasRules() { return rulesBuilder_ != null || rules_ != null; } /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; * @return The rules. */ public io.dapr.v1.DaprProtos.PubsubSubscriptionRules getRules() { if (rulesBuilder_ == null) { return rules_ == null ? io.dapr.v1.DaprProtos.PubsubSubscriptionRules.getDefaultInstance() : rules_; } else { return rulesBuilder_.getMessage(); } } /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; */ public Builder setRules(io.dapr.v1.DaprProtos.PubsubSubscriptionRules value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rules_ = value; onChanged(); } else { rulesBuilder_.setMessage(value); } return this; } /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; */ public Builder setRules( io.dapr.v1.DaprProtos.PubsubSubscriptionRules.Builder builderForValue) { if (rulesBuilder_ == null) { rules_ = builderForValue.build(); onChanged(); } else { rulesBuilder_.setMessage(builderForValue.build()); } return this; } /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; */ public Builder mergeRules(io.dapr.v1.DaprProtos.PubsubSubscriptionRules value) { if (rulesBuilder_ == null) { if (rules_ != null) { rules_ = io.dapr.v1.DaprProtos.PubsubSubscriptionRules.newBuilder(rules_).mergeFrom(value).buildPartial(); } else { rules_ = value; } onChanged(); } else { rulesBuilder_.mergeFrom(value); } return this; } /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; */ public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = null; onChanged(); } else { rules_ = null; rulesBuilder_ = null; } return this; } /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; */ public io.dapr.v1.DaprProtos.PubsubSubscriptionRules.Builder getRulesBuilder() { onChanged(); return getRulesFieldBuilder().getBuilder(); } /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; */ public io.dapr.v1.DaprProtos.PubsubSubscriptionRulesOrBuilder getRulesOrBuilder() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilder(); } else { return rules_ == null ? io.dapr.v1.DaprProtos.PubsubSubscriptionRules.getDefaultInstance() : rules_; } } /** * .dapr.proto.runtime.v1.PubsubSubscriptionRules rules = 4 [json_name = "rules"]; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.PubsubSubscriptionRules, io.dapr.v1.DaprProtos.PubsubSubscriptionRules.Builder, io.dapr.v1.DaprProtos.PubsubSubscriptionRulesOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.PubsubSubscriptionRules, io.dapr.v1.DaprProtos.PubsubSubscriptionRules.Builder, io.dapr.v1.DaprProtos.PubsubSubscriptionRulesOrBuilder>( getRules(), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } private java.lang.Object deadLetterTopic_ = ""; /** * string dead_letter_topic = 5 [json_name = "deadLetterTopic"]; * @return The deadLetterTopic. */ public java.lang.String getDeadLetterTopic() { java.lang.Object ref = deadLetterTopic_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deadLetterTopic_ = s; return s; } else { return (java.lang.String) ref; } } /** * string dead_letter_topic = 5 [json_name = "deadLetterTopic"]; * @return The bytes for deadLetterTopic. */ public com.google.protobuf.ByteString getDeadLetterTopicBytes() { java.lang.Object ref = deadLetterTopic_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); deadLetterTopic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string dead_letter_topic = 5 [json_name = "deadLetterTopic"]; * @param value The deadLetterTopic to set. * @return This builder for chaining. */ public Builder setDeadLetterTopic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } deadLetterTopic_ = value; onChanged(); return this; } /** * string dead_letter_topic = 5 [json_name = "deadLetterTopic"]; * @return This builder for chaining. */ public Builder clearDeadLetterTopic() { deadLetterTopic_ = getDefaultInstance().getDeadLetterTopic(); onChanged(); return this; } /** * string dead_letter_topic = 5 [json_name = "deadLetterTopic"]; * @param value The bytes for deadLetterTopic to set. * @return This builder for chaining. */ public Builder setDeadLetterTopicBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); deadLetterTopic_ = value; onChanged(); return this; } private int type_ = 0; /** * .dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"]; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /** * .dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"]; * @return The type. */ @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionType getType() { @SuppressWarnings("deprecation") io.dapr.v1.DaprProtos.PubsubSubscriptionType result = io.dapr.v1.DaprProtos.PubsubSubscriptionType.valueOf(type_); return result == null ? io.dapr.v1.DaprProtos.PubsubSubscriptionType.UNRECOGNIZED : result; } /** * .dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"]; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(io.dapr.v1.DaprProtos.PubsubSubscriptionType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** * .dapr.proto.runtime.v1.PubsubSubscriptionType type = 6 [json_name = "type"]; * @return This builder for chaining. */ public Builder clearType() { type_ = 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.PubsubSubscription) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.PubsubSubscription) private static final io.dapr.v1.DaprProtos.PubsubSubscription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.PubsubSubscription(); } public static io.dapr.v1.DaprProtos.PubsubSubscription getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PubsubSubscription parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PubsubSubscription(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.PubsubSubscription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PubsubSubscriptionRulesOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.PubsubSubscriptionRules) com.google.protobuf.MessageOrBuilder { /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ java.util.List getRulesList(); /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ io.dapr.v1.DaprProtos.PubsubSubscriptionRule getRules(int index); /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ int getRulesCount(); /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ java.util.List getRulesOrBuilderList(); /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ io.dapr.v1.DaprProtos.PubsubSubscriptionRuleOrBuilder getRulesOrBuilder( int index); } /** * Protobuf type {@code dapr.proto.runtime.v1.PubsubSubscriptionRules} */ public static final class PubsubSubscriptionRules extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.PubsubSubscriptionRules) PubsubSubscriptionRulesOrBuilder { private static final long serialVersionUID = 0L; // Use PubsubSubscriptionRules.newBuilder() to construct. private PubsubSubscriptionRules(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PubsubSubscriptionRules() { rules_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PubsubSubscriptionRules(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PubsubSubscriptionRules( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } rules_.add( input.readMessage(io.dapr.v1.DaprProtos.PubsubSubscriptionRule.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); } 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_PubsubSubscriptionRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRules_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.PubsubSubscriptionRules.class, io.dapr.v1.DaprProtos.PubsubSubscriptionRules.Builder.class); } public static final int RULES_FIELD_NUMBER = 1; private java.util.List rules_; /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ @java.lang.Override public java.util.List getRulesOrBuilderList() { return rules_; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionRule getRules(int index) { return rules_.get(index); } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionRuleOrBuilder getRulesOrBuilder( int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < rules_.size(); i++) { output.writeMessage(1, rules_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, rules_.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.PubsubSubscriptionRules)) { return super.equals(obj); } io.dapr.v1.DaprProtos.PubsubSubscriptionRules other = (io.dapr.v1.DaprProtos.PubsubSubscriptionRules) obj; if (!getRulesList() .equals(other.getRulesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getRulesCount() > 0) { hash = (37 * hash) + RULES_FIELD_NUMBER; hash = (53 * hash) + getRulesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRules parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRules 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.PubsubSubscriptionRules parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRules 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.PubsubSubscriptionRules parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRules parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRules parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRules 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.PubsubSubscriptionRules parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRules 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.PubsubSubscriptionRules parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRules 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.PubsubSubscriptionRules prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.PubsubSubscriptionRules} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.PubsubSubscriptionRules) io.dapr.v1.DaprProtos.PubsubSubscriptionRulesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRules_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRules_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.PubsubSubscriptionRules.class, io.dapr.v1.DaprProtos.PubsubSubscriptionRules.Builder.class); } // Construct using io.dapr.v1.DaprProtos.PubsubSubscriptionRules.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRulesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { rulesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRules_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionRules getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.PubsubSubscriptionRules.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionRules build() { io.dapr.v1.DaprProtos.PubsubSubscriptionRules result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionRules buildPartial() { io.dapr.v1.DaprProtos.PubsubSubscriptionRules result = new io.dapr.v1.DaprProtos.PubsubSubscriptionRules(this); int from_bitField0_ = bitField0_; if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); bitField0_ = (bitField0_ & ~0x00000001); } result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } 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.PubsubSubscriptionRules) { return mergeFrom((io.dapr.v1.DaprProtos.PubsubSubscriptionRules)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.PubsubSubscriptionRules other) { if (other == io.dapr.v1.DaprProtos.PubsubSubscriptionRules.getDefaultInstance()) return this; if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRulesIsMutable(); rules_.addAll(other.rules_); } onChanged(); } } else { if (!other.rules_.isEmpty()) { if (rulesBuilder_.isEmpty()) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } } } 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.PubsubSubscriptionRules parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.PubsubSubscriptionRules) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List rules_ = java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.PubsubSubscriptionRule, io.dapr.v1.DaprProtos.PubsubSubscriptionRule.Builder, io.dapr.v1.DaprProtos.PubsubSubscriptionRuleOrBuilder> rulesBuilder_; /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { return java.util.Collections.unmodifiableList(rules_); } else { return rulesBuilder_.getMessageList(); } } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public int getRulesCount() { if (rulesBuilder_ == null) { return rules_.size(); } else { return rulesBuilder_.getCount(); } } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public io.dapr.v1.DaprProtos.PubsubSubscriptionRule getRules(int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessage(index); } } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public Builder setRules( int index, io.dapr.v1.DaprProtos.PubsubSubscriptionRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.set(index, value); onChanged(); } else { rulesBuilder_.setMessage(index, value); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public Builder setRules( int index, io.dapr.v1.DaprProtos.PubsubSubscriptionRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.set(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public Builder addRules(io.dapr.v1.DaprProtos.PubsubSubscriptionRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(value); onChanged(); } else { rulesBuilder_.addMessage(value); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public Builder addRules( int index, io.dapr.v1.DaprProtos.PubsubSubscriptionRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRulesIsMutable(); rules_.add(index, value); onChanged(); } else { rulesBuilder_.addMessage(index, value); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public Builder addRules( io.dapr.v1.DaprProtos.PubsubSubscriptionRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public Builder addRules( int index, io.dapr.v1.DaprProtos.PubsubSubscriptionRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(index, builderForValue.build()); onChanged(); } else { rulesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { rulesBuilder_.clear(); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.remove(index); onChanged(); } else { rulesBuilder_.remove(index); } return this; } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public io.dapr.v1.DaprProtos.PubsubSubscriptionRule.Builder getRulesBuilder( int index) { return getRulesFieldBuilder().getBuilder(index); } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public io.dapr.v1.DaprProtos.PubsubSubscriptionRuleOrBuilder getRulesOrBuilder( int index) { if (rulesBuilder_ == null) { return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public java.util.List getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rules_); } } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public io.dapr.v1.DaprProtos.PubsubSubscriptionRule.Builder addRulesBuilder() { return getRulesFieldBuilder().addBuilder( io.dapr.v1.DaprProtos.PubsubSubscriptionRule.getDefaultInstance()); } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public io.dapr.v1.DaprProtos.PubsubSubscriptionRule.Builder addRulesBuilder( int index) { return getRulesFieldBuilder().addBuilder( index, io.dapr.v1.DaprProtos.PubsubSubscriptionRule.getDefaultInstance()); } /** * repeated .dapr.proto.runtime.v1.PubsubSubscriptionRule rules = 1; */ public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.PubsubSubscriptionRule, io.dapr.v1.DaprProtos.PubsubSubscriptionRule.Builder, io.dapr.v1.DaprProtos.PubsubSubscriptionRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.dapr.v1.DaprProtos.PubsubSubscriptionRule, io.dapr.v1.DaprProtos.PubsubSubscriptionRule.Builder, io.dapr.v1.DaprProtos.PubsubSubscriptionRuleOrBuilder>( rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } @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.PubsubSubscriptionRules) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.PubsubSubscriptionRules) private static final io.dapr.v1.DaprProtos.PubsubSubscriptionRules DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.PubsubSubscriptionRules(); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRules getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PubsubSubscriptionRules parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PubsubSubscriptionRules(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.PubsubSubscriptionRules getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PubsubSubscriptionRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.PubsubSubscriptionRule) com.google.protobuf.MessageOrBuilder { /** * string match = 1; * @return The match. */ java.lang.String getMatch(); /** * string match = 1; * @return The bytes for match. */ com.google.protobuf.ByteString getMatchBytes(); /** * string path = 2; * @return The path. */ java.lang.String getPath(); /** * string path = 2; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); } /** * Protobuf type {@code dapr.proto.runtime.v1.PubsubSubscriptionRule} */ public static final class PubsubSubscriptionRule extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.PubsubSubscriptionRule) PubsubSubscriptionRuleOrBuilder { private static final long serialVersionUID = 0L; // Use PubsubSubscriptionRule.newBuilder() to construct. private PubsubSubscriptionRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PubsubSubscriptionRule() { match_ = ""; path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PubsubSubscriptionRule(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PubsubSubscriptionRule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); match_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRule_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.PubsubSubscriptionRule.class, io.dapr.v1.DaprProtos.PubsubSubscriptionRule.Builder.class); } public static final int MATCH_FIELD_NUMBER = 1; private volatile java.lang.Object match_; /** * string match = 1; * @return The match. */ @java.lang.Override public java.lang.String getMatch() { java.lang.Object ref = match_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); match_ = s; return s; } } /** * string match = 1; * @return The bytes for match. */ @java.lang.Override public com.google.protobuf.ByteString getMatchBytes() { java.lang.Object ref = match_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); match_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** * string path = 2; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** * string path = 2; * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(match_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, match_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(match_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, match_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprProtos.PubsubSubscriptionRule)) { return super.equals(obj); } io.dapr.v1.DaprProtos.PubsubSubscriptionRule other = (io.dapr.v1.DaprProtos.PubsubSubscriptionRule) obj; if (!getMatch() .equals(other.getMatch())) return false; if (!getPath() .equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MATCH_FIELD_NUMBER; hash = (53 * hash) + getMatch().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRule parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRule 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.PubsubSubscriptionRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRule 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.PubsubSubscriptionRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRule parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRule parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRule 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.PubsubSubscriptionRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRule 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.PubsubSubscriptionRule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRule 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.PubsubSubscriptionRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.PubsubSubscriptionRule} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.PubsubSubscriptionRule) io.dapr.v1.DaprProtos.PubsubSubscriptionRuleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRule_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.PubsubSubscriptionRule.class, io.dapr.v1.DaprProtos.PubsubSubscriptionRule.Builder.class); } // Construct using io.dapr.v1.DaprProtos.PubsubSubscriptionRule.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); match_ = ""; path_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRule_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionRule getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.PubsubSubscriptionRule.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionRule build() { io.dapr.v1.DaprProtos.PubsubSubscriptionRule result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.PubsubSubscriptionRule buildPartial() { io.dapr.v1.DaprProtos.PubsubSubscriptionRule result = new io.dapr.v1.DaprProtos.PubsubSubscriptionRule(this); result.match_ = match_; result.path_ = path_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprProtos.PubsubSubscriptionRule) { return mergeFrom((io.dapr.v1.DaprProtos.PubsubSubscriptionRule)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.PubsubSubscriptionRule other) { if (other == io.dapr.v1.DaprProtos.PubsubSubscriptionRule.getDefaultInstance()) return this; if (!other.getMatch().isEmpty()) { match_ = other.match_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprProtos.PubsubSubscriptionRule parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.PubsubSubscriptionRule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object match_ = ""; /** * string match = 1; * @return The match. */ public java.lang.String getMatch() { java.lang.Object ref = match_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); match_ = s; return s; } else { return (java.lang.String) ref; } } /** * string match = 1; * @return The bytes for match. */ public com.google.protobuf.ByteString getMatchBytes() { java.lang.Object ref = match_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); match_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string match = 1; * @param value The match to set. * @return This builder for chaining. */ public Builder setMatch( java.lang.String value) { if (value == null) { throw new NullPointerException(); } match_ = value; onChanged(); return this; } /** * string match = 1; * @return This builder for chaining. */ public Builder clearMatch() { match_ = getDefaultInstance().getMatch(); onChanged(); return this; } /** * string match = 1; * @param value The bytes for match to set. * @return This builder for chaining. */ public Builder setMatchBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); match_ = value; onChanged(); return this; } private java.lang.Object path_ = ""; /** * string path = 2; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** * string path = 2; * @return The bytes for path. */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string path = 2; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * string path = 2; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * string path = 2; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.PubsubSubscriptionRule) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.PubsubSubscriptionRule) private static final io.dapr.v1.DaprProtos.PubsubSubscriptionRule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.PubsubSubscriptionRule(); } public static io.dapr.v1.DaprProtos.PubsubSubscriptionRule getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PubsubSubscriptionRule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PubsubSubscriptionRule(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.PubsubSubscriptionRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SetMetadataRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SetMetadataRequest) com.google.protobuf.MessageOrBuilder { /** * string key = 1; * @return The key. */ java.lang.String getKey(); /** * string key = 1; * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** * string value = 2; * @return The value. */ java.lang.String getValue(); /** * string value = 2; * @return The bytes for value. */ com.google.protobuf.ByteString getValueBytes(); } /** * Protobuf type {@code dapr.proto.runtime.v1.SetMetadataRequest} */ public static final class SetMetadataRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SetMetadataRequest) SetMetadataRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SetMetadataRequest.newBuilder() to construct. private SetMetadataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SetMetadataRequest() { key_ = ""; value_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SetMetadataRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SetMetadataRequest( 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(); key_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); value_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SetMetadataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SetMetadataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SetMetadataRequest.class, io.dapr.v1.DaprProtos.SetMetadataRequest.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** * string key = 1; * @return The key. */ @java.lang.Override 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; } } /** * string key = 1; * @return The bytes for key. */ @java.lang.Override 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 VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** * string value = 2; * @return The value. */ @java.lang.Override public java.lang.String getValue() { java.lang.Object ref = value_; 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(); value_ = s; return s; } } /** * string value = 2; * @return The bytes for value. */ @java.lang.Override public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } 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.SetMetadataRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SetMetadataRequest other = (io.dapr.v1.DaprProtos.SetMetadataRequest) obj; if (!getKey() .equals(other.getKey())) return false; if (!getValue() .equals(other.getValue())) 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) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SetMetadataRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SetMetadataRequest 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.SetMetadataRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SetMetadataRequest 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.SetMetadataRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SetMetadataRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SetMetadataRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SetMetadataRequest 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.SetMetadataRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SetMetadataRequest 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.SetMetadataRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SetMetadataRequest 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.SetMetadataRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.SetMetadataRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SetMetadataRequest) io.dapr.v1.DaprProtos.SetMetadataRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SetMetadataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SetMetadataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SetMetadataRequest.class, io.dapr.v1.DaprProtos.SetMetadataRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SetMetadataRequest.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(); key_ = ""; value_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SetMetadataRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SetMetadataRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SetMetadataRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SetMetadataRequest build() { io.dapr.v1.DaprProtos.SetMetadataRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SetMetadataRequest buildPartial() { io.dapr.v1.DaprProtos.SetMetadataRequest result = new io.dapr.v1.DaprProtos.SetMetadataRequest(this); result.key_ = key_; result.value_ = value_; 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.SetMetadataRequest) { return mergeFrom((io.dapr.v1.DaprProtos.SetMetadataRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SetMetadataRequest other) { if (other == io.dapr.v1.DaprProtos.SetMetadataRequest.getDefaultInstance()) return this; if (!other.getKey().isEmpty()) { key_ = other.key_; onChanged(); } if (!other.getValue().isEmpty()) { value_ = other.value_; 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.SetMetadataRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SetMetadataRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object key_ = ""; /** * string key = 1; * @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; } } /** * string key = 1; * @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; } } /** * string key = 1; * @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; } /** * string key = 1; * @return This builder for chaining. */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** * string key = 1; * @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 value_ = ""; /** * string value = 2; * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } else { return (java.lang.String) ref; } } /** * string value = 2; * @return The bytes for value. */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string value = 2; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); return this; } /** * string value = 2; * @return This builder for chaining. */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** * string value = 2; * @param value The bytes for value to set. * @return This builder for chaining. */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); value_ = 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.SetMetadataRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SetMetadataRequest) private static final io.dapr.v1.DaprProtos.SetMetadataRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SetMetadataRequest(); } public static io.dapr.v1.DaprProtos.SetMetadataRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SetMetadataRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SetMetadataRequest(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.SetMetadataRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetConfigurationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetConfigurationRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Required. The name of configuration store.
     * 
* * string store_name = 1; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * Required. The name of configuration store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @return A list containing the keys. */ java.util.List getKeysList(); /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @return The count of keys. */ int getKeysCount(); /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @param index The index of the element to return. * @return The keys at the given index. */ java.lang.String getKeys(int index); /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @param index The index of the value to return. * @return The bytes of the keys at the given index. */ com.google.protobuf.ByteString getKeysBytes(int index); /** *
     * Optional. The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * Optional. The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ boolean containsMetadata( java.lang.String key); /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Deprecated java.util.Map getMetadata(); /** *
     * Optional. The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * Optional. The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * Optional. The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * GetConfigurationRequest is the message to get a list of key-value configuration from specified configuration store.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetConfigurationRequest} */ public static final class GetConfigurationRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetConfigurationRequest) GetConfigurationRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetConfigurationRequest.newBuilder() to construct. private GetConfigurationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetConfigurationRequest() { storeName_ = ""; keys_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetConfigurationRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetConfigurationRequest( 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(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { keys_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } keys_.add(s); break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { keys_ = keys_.getUnmodifiableView(); } 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_GetConfigurationRequest_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_GetConfigurationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetConfigurationRequest.class, io.dapr.v1.DaprProtos.GetConfigurationRequest.Builder.class); } public static final int STORE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object storeName_; /** *
     * Required. The name of configuration store.
     * 
* * string store_name = 1; * @return The storeName. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * Required. The name of configuration store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEYS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList keys_; /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @return A list containing the keys. */ public com.google.protobuf.ProtocolStringList getKeysList() { return keys_; } /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @return The count of keys. */ public int getKeysCount() { return keys_.size(); } /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @param index The index of the element to return. * @return The keys at the given index. */ public java.lang.String getKeys(int index) { return keys_.get(index); } /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @param index The index of the value to return. * @return The bytes of the keys at the given index. */ public com.google.protobuf.ByteString getKeysBytes(int index) { return keys_.getByteString(index); } public static final int METADATA_FIELD_NUMBER = 3; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_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(); } /** *
     * Optional. The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * Optional. The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * Optional. The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Optional. The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } for (int i = 0; i < keys_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, keys_.getRaw(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } { int dataSize = 0; for (int i = 0; i < keys_.size(); i++) { dataSize += computeStringSizeNoTag(keys_.getRaw(i)); } size += dataSize; size += 1 * getKeysList().size(); } 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.GetConfigurationRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetConfigurationRequest other = (io.dapr.v1.DaprProtos.GetConfigurationRequest) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getKeysList() .equals(other.getKeysList())) 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(); if (getKeysCount() > 0) { hash = (37 * hash) + KEYS_FIELD_NUMBER; hash = (53 * hash) + getKeysList().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.GetConfigurationRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetConfigurationRequest 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.GetConfigurationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetConfigurationRequest 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.GetConfigurationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetConfigurationRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetConfigurationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetConfigurationRequest 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.GetConfigurationRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetConfigurationRequest 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.GetConfigurationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetConfigurationRequest 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.GetConfigurationRequest 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; } /** *
     * GetConfigurationRequest is the message to get a list of key-value configuration from specified configuration store.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetConfigurationRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetConfigurationRequest) io.dapr.v1.DaprProtos.GetConfigurationRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_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_GetConfigurationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetConfigurationRequest.class, io.dapr.v1.DaprProtos.GetConfigurationRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetConfigurationRequest.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_ = ""; keys_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); 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_GetConfigurationRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetConfigurationRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetConfigurationRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetConfigurationRequest build() { io.dapr.v1.DaprProtos.GetConfigurationRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetConfigurationRequest buildPartial() { io.dapr.v1.DaprProtos.GetConfigurationRequest result = new io.dapr.v1.DaprProtos.GetConfigurationRequest(this); int from_bitField0_ = bitField0_; result.storeName_ = storeName_; if (((bitField0_ & 0x00000001) != 0)) { keys_ = keys_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.keys_ = keys_; 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.GetConfigurationRequest) { return mergeFrom((io.dapr.v1.DaprProtos.GetConfigurationRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetConfigurationRequest other) { if (other == io.dapr.v1.DaprProtos.GetConfigurationRequest.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; onChanged(); } if (!other.keys_.isEmpty()) { if (keys_.isEmpty()) { keys_ = other.keys_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureKeysIsMutable(); keys_.addAll(other.keys_); } 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.GetConfigurationRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetConfigurationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object storeName_ = ""; /** *
       * Required. The name of configuration 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; } } /** *
       * Required. The name of configuration 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; } } /** *
       * Required. The name of configuration 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; } /** *
       * Required. The name of configuration store.
       * 
* * string store_name = 1; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * Required. The name of configuration 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 com.google.protobuf.LazyStringList keys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keys_ = new com.google.protobuf.LazyStringArrayList(keys_); bitField0_ |= 0x00000001; } } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @return A list containing the keys. */ public com.google.protobuf.ProtocolStringList getKeysList() { return keys_.getUnmodifiableView(); } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @return The count of keys. */ public int getKeysCount() { return keys_.size(); } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @param index The index of the element to return. * @return The keys at the given index. */ public java.lang.String getKeys(int index) { return keys_.get(index); } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @param index The index of the value to return. * @return The bytes of the keys at the given index. */ public com.google.protobuf.ByteString getKeysBytes(int index) { return keys_.getByteString(index); } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @param index The index to set the value at. * @param value The keys to set. * @return This builder for chaining. */ public Builder setKeys( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.set(index, value); onChanged(); return this; } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @param value The keys to add. * @return This builder for chaining. */ public Builder addKeys( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.add(value); onChanged(); return this; } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @param values The keys to add. * @return This builder for chaining. */ public Builder addAllKeys( java.lang.Iterable values) { ensureKeysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, keys_); onChanged(); return this; } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @return This builder for chaining. */ public Builder clearKeys() { keys_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @param value The bytes of the keys to add. * @return This builder for chaining. */ public Builder addKeysBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKeysIsMutable(); keys_.add(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(); } /** *
       * Optional. The metadata which will be sent to configuration store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * Optional. The metadata which will be sent to configuration store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * Optional. The metadata which will be sent to configuration store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Optional. The metadata which will be sent to configuration store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * Optional. The metadata which will be sent to configuration store components.
       * 
* * map<string, string> metadata = 3; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * Optional. The metadata which will be sent to configuration store components.
       * 
* * map<string, string> metadata = 3; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * Optional. The metadata which will be sent to configuration 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.GetConfigurationRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetConfigurationRequest) private static final io.dapr.v1.DaprProtos.GetConfigurationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetConfigurationRequest(); } public static io.dapr.v1.DaprProtos.GetConfigurationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetConfigurationRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetConfigurationRequest(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.GetConfigurationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetConfigurationResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetConfigurationResponse) com.google.protobuf.MessageOrBuilder { /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ int getItemsCount(); /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ boolean containsItems( java.lang.String key); /** * Use {@link #getItemsMap()} instead. */ @java.lang.Deprecated java.util.Map getItems(); /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ java.util.Map getItemsMap(); /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ /* nullable */ io.dapr.v1.CommonProtos.ConfigurationItem getItemsOrDefault( java.lang.String key, /* nullable */ io.dapr.v1.CommonProtos.ConfigurationItem defaultValue); /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ io.dapr.v1.CommonProtos.ConfigurationItem getItemsOrThrow( java.lang.String key); } /** *
   * GetConfigurationResponse is the response conveying the list of configuration values.
   * It should be the FULL configuration of specified application which contains all of its configuration items.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetConfigurationResponse} */ public static final class GetConfigurationResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetConfigurationResponse) GetConfigurationResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetConfigurationResponse.newBuilder() to construct. private GetConfigurationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetConfigurationResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetConfigurationResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetConfigurationResponse( 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)) { items_ = com.google.protobuf.MapField.newMapField( ItemsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry items__ = input.readMessage( ItemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); items_.getMutableMap().put( items__.getKey(), items__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetItems(); 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_GetConfigurationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetConfigurationResponse.class, io.dapr.v1.DaprProtos.GetConfigurationResponse.Builder.class); } public static final int ITEMS_FIELD_NUMBER = 1; private static final class ItemsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, io.dapr.v1.CommonProtos.ConfigurationItem> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_ItemsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, io.dapr.v1.CommonProtos.ConfigurationItem.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, io.dapr.v1.CommonProtos.ConfigurationItem> items_; private com.google.protobuf.MapField internalGetItems() { if (items_ == null) { return com.google.protobuf.MapField.emptyMapField( ItemsDefaultEntryHolder.defaultEntry); } return items_; } public int getItemsCount() { return internalGetItems().getMap().size(); } /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ @java.lang.Override public boolean containsItems( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetItems().getMap().containsKey(key); } /** * Use {@link #getItemsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getItems() { return getItemsMap(); } /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ @java.lang.Override public java.util.Map getItemsMap() { return internalGetItems().getMap(); } /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ @java.lang.Override public io.dapr.v1.CommonProtos.ConfigurationItem getItemsOrDefault( java.lang.String key, io.dapr.v1.CommonProtos.ConfigurationItem defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetItems().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ @java.lang.Override public io.dapr.v1.CommonProtos.ConfigurationItem getItemsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetItems().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, internalGetItems(), ItemsDefaultEntryHolder.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 : internalGetItems().getMap().entrySet()) { com.google.protobuf.MapEntry items__ = ItemsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, items__); } 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.GetConfigurationResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetConfigurationResponse other = (io.dapr.v1.DaprProtos.GetConfigurationResponse) obj; if (!internalGetItems().equals( other.internalGetItems())) 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 (!internalGetItems().getMap().isEmpty()) { hash = (37 * hash) + ITEMS_FIELD_NUMBER; hash = (53 * hash) + internalGetItems().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.GetConfigurationResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetConfigurationResponse 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.GetConfigurationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetConfigurationResponse 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.GetConfigurationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetConfigurationResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetConfigurationResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetConfigurationResponse 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.GetConfigurationResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetConfigurationResponse 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.GetConfigurationResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetConfigurationResponse 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.GetConfigurationResponse 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; } /** *
     * GetConfigurationResponse is the response conveying the list of configuration values.
     * It should be the FULL configuration of specified application which contains all of its configuration items.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetConfigurationResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetConfigurationResponse) io.dapr.v1.DaprProtos.GetConfigurationResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetItems(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableItems(); 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_GetConfigurationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetConfigurationResponse.class, io.dapr.v1.DaprProtos.GetConfigurationResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetConfigurationResponse.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(); internalGetMutableItems().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetConfigurationResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetConfigurationResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetConfigurationResponse build() { io.dapr.v1.DaprProtos.GetConfigurationResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetConfigurationResponse buildPartial() { io.dapr.v1.DaprProtos.GetConfigurationResponse result = new io.dapr.v1.DaprProtos.GetConfigurationResponse(this); int from_bitField0_ = bitField0_; result.items_ = internalGetItems(); result.items_.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.GetConfigurationResponse) { return mergeFrom((io.dapr.v1.DaprProtos.GetConfigurationResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetConfigurationResponse other) { if (other == io.dapr.v1.DaprProtos.GetConfigurationResponse.getDefaultInstance()) return this; internalGetMutableItems().mergeFrom( other.internalGetItems()); 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.GetConfigurationResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetConfigurationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, io.dapr.v1.CommonProtos.ConfigurationItem> items_; private com.google.protobuf.MapField internalGetItems() { if (items_ == null) { return com.google.protobuf.MapField.emptyMapField( ItemsDefaultEntryHolder.defaultEntry); } return items_; } private com.google.protobuf.MapField internalGetMutableItems() { onChanged();; if (items_ == null) { items_ = com.google.protobuf.MapField.newMapField( ItemsDefaultEntryHolder.defaultEntry); } if (!items_.isMutable()) { items_ = items_.copy(); } return items_; } public int getItemsCount() { return internalGetItems().getMap().size(); } /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ @java.lang.Override public boolean containsItems( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetItems().getMap().containsKey(key); } /** * Use {@link #getItemsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getItems() { return getItemsMap(); } /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ @java.lang.Override public java.util.Map getItemsMap() { return internalGetItems().getMap(); } /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ @java.lang.Override public io.dapr.v1.CommonProtos.ConfigurationItem getItemsOrDefault( java.lang.String key, io.dapr.v1.CommonProtos.ConfigurationItem defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetItems().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ @java.lang.Override public io.dapr.v1.CommonProtos.ConfigurationItem getItemsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetItems().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearItems() { internalGetMutableItems().getMutableMap() .clear(); return this; } /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ public Builder removeItems( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableItems().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableItems() { return internalGetMutableItems().getMutableMap(); } /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ public Builder putItems( java.lang.String key, io.dapr.v1.CommonProtos.ConfigurationItem value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableItems().getMutableMap() .put(key, value); return this; } /** * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 1; */ public Builder putAllItems( java.util.Map values) { internalGetMutableItems().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.GetConfigurationResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetConfigurationResponse) private static final io.dapr.v1.DaprProtos.GetConfigurationResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetConfigurationResponse(); } public static io.dapr.v1.DaprProtos.GetConfigurationResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetConfigurationResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetConfigurationResponse(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.GetConfigurationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeConfigurationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubscribeConfigurationRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of configuration store.
     * 
* * string store_name = 1; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * The name of configuration store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @return A list containing the keys. */ java.util.List getKeysList(); /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @return The count of keys. */ int getKeysCount(); /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @param index The index of the element to return. * @return The keys at the given index. */ java.lang.String getKeys(int index); /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @param index The index of the value to return. * @return The bytes of the keys at the given index. */ com.google.protobuf.ByteString getKeysBytes(int index); /** *
     * The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ int getMetadataCount(); /** *
     * The metadata which will be sent to configuration 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 configuration store components.
     * 
* * map<string, string> metadata = 3; */ java.util.Map getMetadataMap(); /** *
     * The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ /* nullable */ java.lang.String getMetadataOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ java.lang.String getMetadataOrThrow( java.lang.String key); } /** *
   * SubscribeConfigurationRequest is the message to get a list of key-value configuration from specified configuration store.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubscribeConfigurationRequest} */ public static final class SubscribeConfigurationRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubscribeConfigurationRequest) SubscribeConfigurationRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeConfigurationRequest.newBuilder() to construct. private SubscribeConfigurationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeConfigurationRequest() { storeName_ = ""; keys_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeConfigurationRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeConfigurationRequest( 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(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { keys_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } keys_.add(s); break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { metadata_ = com.google.protobuf.MapField.newMapField( MetadataDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry metadata__ = input.readMessage( MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); metadata_.getMutableMap().put( metadata__.getKey(), metadata__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { keys_ = keys_.getUnmodifiableView(); } 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_SubscribeConfigurationRequest_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_SubscribeConfigurationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubscribeConfigurationRequest.class, io.dapr.v1.DaprProtos.SubscribeConfigurationRequest.Builder.class); } public static final int STORE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object storeName_; /** *
     * The name of configuration store.
     * 
* * string store_name = 1; * @return The storeName. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * The name of configuration store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEYS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList keys_; /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @return A list containing the keys. */ public com.google.protobuf.ProtocolStringList getKeysList() { return keys_; } /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @return The count of keys. */ public int getKeysCount() { return keys_.size(); } /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @param index The index of the element to return. * @return The keys at the given index. */ public java.lang.String getKeys(int index) { return keys_.get(index); } /** *
     * Optional. The key of the configuration item to fetch.
     * If set, only query for the specified configuration items.
     * Empty list means fetch all.
     * 
* * repeated string keys = 2; * @param index The index of the value to return. * @return The bytes of the keys at the given index. */ public com.google.protobuf.ByteString getKeysBytes(int index) { return keys_.getByteString(index); } public static final int METADATA_FIELD_NUMBER = 3; private static final class MetadataDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_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 configuration store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
     * The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
     * The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The metadata which will be sent to configuration store components.
     * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } for (int i = 0; i < keys_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, keys_.getRaw(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } { int dataSize = 0; for (int i = 0; i < keys_.size(); i++) { dataSize += computeStringSizeNoTag(keys_.getRaw(i)); } size += dataSize; size += 1 * getKeysList().size(); } 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.SubscribeConfigurationRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubscribeConfigurationRequest other = (io.dapr.v1.DaprProtos.SubscribeConfigurationRequest) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getKeysList() .equals(other.getKeysList())) 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(); if (getKeysCount() > 0) { hash = (37 * hash) + KEYS_FIELD_NUMBER; hash = (53 * hash) + getKeysList().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.SubscribeConfigurationRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationRequest 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.SubscribeConfigurationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationRequest 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.SubscribeConfigurationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationRequest 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.SubscribeConfigurationRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationRequest 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.SubscribeConfigurationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationRequest 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.SubscribeConfigurationRequest 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; } /** *
     * SubscribeConfigurationRequest is the message to get a list of key-value configuration from specified configuration store.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubscribeConfigurationRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubscribeConfigurationRequest) io.dapr.v1.DaprProtos.SubscribeConfigurationRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_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_SubscribeConfigurationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubscribeConfigurationRequest.class, io.dapr.v1.DaprProtos.SubscribeConfigurationRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubscribeConfigurationRequest.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_ = ""; keys_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); 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_SubscribeConfigurationRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeConfigurationRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubscribeConfigurationRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeConfigurationRequest build() { io.dapr.v1.DaprProtos.SubscribeConfigurationRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeConfigurationRequest buildPartial() { io.dapr.v1.DaprProtos.SubscribeConfigurationRequest result = new io.dapr.v1.DaprProtos.SubscribeConfigurationRequest(this); int from_bitField0_ = bitField0_; result.storeName_ = storeName_; if (((bitField0_ & 0x00000001) != 0)) { keys_ = keys_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.keys_ = keys_; 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.SubscribeConfigurationRequest) { return mergeFrom((io.dapr.v1.DaprProtos.SubscribeConfigurationRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubscribeConfigurationRequest other) { if (other == io.dapr.v1.DaprProtos.SubscribeConfigurationRequest.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; onChanged(); } if (!other.keys_.isEmpty()) { if (keys_.isEmpty()) { keys_ = other.keys_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureKeysIsMutable(); keys_.addAll(other.keys_); } 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.SubscribeConfigurationRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubscribeConfigurationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object storeName_ = ""; /** *
       * The name of configuration 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 configuration 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 configuration 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 configuration store.
       * 
* * string store_name = 1; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * The name of configuration 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 com.google.protobuf.LazyStringList keys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keys_ = new com.google.protobuf.LazyStringArrayList(keys_); bitField0_ |= 0x00000001; } } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @return A list containing the keys. */ public com.google.protobuf.ProtocolStringList getKeysList() { return keys_.getUnmodifiableView(); } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @return The count of keys. */ public int getKeysCount() { return keys_.size(); } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @param index The index of the element to return. * @return The keys at the given index. */ public java.lang.String getKeys(int index) { return keys_.get(index); } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @param index The index of the value to return. * @return The bytes of the keys at the given index. */ public com.google.protobuf.ByteString getKeysBytes(int index) { return keys_.getByteString(index); } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @param index The index to set the value at. * @param value The keys to set. * @return This builder for chaining. */ public Builder setKeys( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.set(index, value); onChanged(); return this; } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @param value The keys to add. * @return This builder for chaining. */ public Builder addKeys( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.add(value); onChanged(); return this; } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @param values The keys to add. * @return This builder for chaining. */ public Builder addAllKeys( java.lang.Iterable values) { ensureKeysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, keys_); onChanged(); return this; } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @return This builder for chaining. */ public Builder clearKeys() { keys_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Optional. The key of the configuration item to fetch.
       * If set, only query for the specified configuration items.
       * Empty list means fetch all.
       * 
* * repeated string keys = 2; * @param value The bytes of the keys to add. * @return This builder for chaining. */ public Builder addKeysBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKeysIsMutable(); keys_.add(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 configuration store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public boolean containsMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetMetadata().getMap().containsKey(key); } /** * Use {@link #getMetadataMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); } /** *
       * The metadata which will be sent to configuration store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } /** *
       * The metadata which will be sent to configuration store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The metadata which will be sent to configuration store components.
       * 
* * map<string, string> metadata = 3; */ @java.lang.Override public java.lang.String getMetadataOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMetadata().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMetadata() { internalGetMutableMetadata().getMutableMap() .clear(); return this; } /** *
       * The metadata which will be sent to configuration store components.
       * 
* * map<string, string> metadata = 3; */ public Builder removeMetadata( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableMetadata().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMetadata() { return internalGetMutableMetadata().getMutableMap(); } /** *
       * The metadata which will be sent to configuration store components.
       * 
* * map<string, string> metadata = 3; */ public Builder putMetadata( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableMetadata().getMutableMap() .put(key, value); return this; } /** *
       * The metadata which will be sent to configuration 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.SubscribeConfigurationRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubscribeConfigurationRequest) private static final io.dapr.v1.DaprProtos.SubscribeConfigurationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubscribeConfigurationRequest(); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeConfigurationRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeConfigurationRequest(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.SubscribeConfigurationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UnsubscribeConfigurationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.UnsubscribeConfigurationRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of configuration store.
     * 
* * string store_name = 1; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * The name of configuration store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * The id to unsubscribe.
     * 
* * string id = 2; * @return The id. */ java.lang.String getId(); /** *
     * The id to unsubscribe.
     * 
* * string id = 2; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); } /** *
   * UnSubscribeConfigurationRequest is the message to stop watching the key-value configuration.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.UnsubscribeConfigurationRequest} */ public static final class UnsubscribeConfigurationRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.UnsubscribeConfigurationRequest) UnsubscribeConfigurationRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UnsubscribeConfigurationRequest.newBuilder() to construct. private UnsubscribeConfigurationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UnsubscribeConfigurationRequest() { storeName_ = ""; id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UnsubscribeConfigurationRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UnsubscribeConfigurationRequest( 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(); id_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest.class, io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest.Builder.class); } public static final int STORE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object storeName_; /** *
     * The name of configuration store.
     * 
* * string store_name = 1; * @return The storeName. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * The name of configuration store.
     * 
* * string store_name = 1; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ID_FIELD_NUMBER = 2; private volatile java.lang.Object id_; /** *
     * The id to unsubscribe.
     * 
* * string id = 2; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** *
     * The id to unsubscribe.
     * 
* * string id = 2; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); } 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.UnsubscribeConfigurationRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest other = (io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getId() .equals(other.getId())) 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) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest 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.UnsubscribeConfigurationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest 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.UnsubscribeConfigurationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest 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.UnsubscribeConfigurationRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest 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.UnsubscribeConfigurationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest 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.UnsubscribeConfigurationRequest 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; } /** *
     * UnSubscribeConfigurationRequest is the message to stop watching the key-value configuration.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.UnsubscribeConfigurationRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.UnsubscribeConfigurationRequest) io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest.class, io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest.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_ = ""; id_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest build() { io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest buildPartial() { io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest result = new io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest(this); result.storeName_ = storeName_; result.id_ = id_; 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.UnsubscribeConfigurationRequest) { return mergeFrom((io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest other) { if (other == io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; onChanged(); } if (!other.getId().isEmpty()) { id_ = other.id_; 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.UnsubscribeConfigurationRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object storeName_ = ""; /** *
       * The name of configuration 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 configuration 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 configuration 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 configuration store.
       * 
* * string store_name = 1; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * The name of configuration 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 id_ = ""; /** *
       * The id to unsubscribe.
       * 
* * string id = 2; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The id to unsubscribe.
       * 
* * string id = 2; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The id to unsubscribe.
       * 
* * string id = 2; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** *
       * The id to unsubscribe.
       * 
* * string id = 2; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * The id to unsubscribe.
       * 
* * string id = 2; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; 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.UnsubscribeConfigurationRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.UnsubscribeConfigurationRequest) private static final io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest(); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UnsubscribeConfigurationRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UnsubscribeConfigurationRequest(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.UnsubscribeConfigurationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeConfigurationResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubscribeConfigurationResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Subscribe id, used to stop subscription.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * Subscribe id, used to stop subscription.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * The list of items containing configuration values
     * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ int getItemsCount(); /** *
     * The list of items containing configuration values
     * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ boolean containsItems( java.lang.String key); /** * Use {@link #getItemsMap()} instead. */ @java.lang.Deprecated java.util.Map getItems(); /** *
     * The list of items containing configuration values
     * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ java.util.Map getItemsMap(); /** *
     * The list of items containing configuration values
     * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ /* nullable */ io.dapr.v1.CommonProtos.ConfigurationItem getItemsOrDefault( java.lang.String key, /* nullable */ io.dapr.v1.CommonProtos.ConfigurationItem defaultValue); /** *
     * The list of items containing configuration values
     * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ io.dapr.v1.CommonProtos.ConfigurationItem getItemsOrThrow( java.lang.String key); } /** * Protobuf type {@code dapr.proto.runtime.v1.SubscribeConfigurationResponse} */ public static final class SubscribeConfigurationResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubscribeConfigurationResponse) SubscribeConfigurationResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeConfigurationResponse.newBuilder() to construct. private SubscribeConfigurationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeConfigurationResponse() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeConfigurationResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeConfigurationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { items_ = com.google.protobuf.MapField.newMapField( ItemsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry items__ = input.readMessage( ItemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); items_.getMutableMap().put( items__.getKey(), items__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetItems(); 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_SubscribeConfigurationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubscribeConfigurationResponse.class, io.dapr.v1.DaprProtos.SubscribeConfigurationResponse.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * Subscribe id, used to stop subscription.
     * 
* * string id = 1; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** *
     * Subscribe id, used to stop subscription.
     * 
* * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ITEMS_FIELD_NUMBER = 2; private static final class ItemsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, io.dapr.v1.CommonProtos.ConfigurationItem> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_ItemsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, io.dapr.v1.CommonProtos.ConfigurationItem.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, io.dapr.v1.CommonProtos.ConfigurationItem> items_; private com.google.protobuf.MapField internalGetItems() { if (items_ == null) { return com.google.protobuf.MapField.emptyMapField( ItemsDefaultEntryHolder.defaultEntry); } return items_; } public int getItemsCount() { return internalGetItems().getMap().size(); } /** *
     * The list of items containing configuration values
     * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ @java.lang.Override public boolean containsItems( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetItems().getMap().containsKey(key); } /** * Use {@link #getItemsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getItems() { return getItemsMap(); } /** *
     * The list of items containing configuration values
     * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ @java.lang.Override public java.util.Map getItemsMap() { return internalGetItems().getMap(); } /** *
     * The list of items containing configuration values
     * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ @java.lang.Override public io.dapr.v1.CommonProtos.ConfigurationItem getItemsOrDefault( java.lang.String key, io.dapr.v1.CommonProtos.ConfigurationItem defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetItems().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * The list of items containing configuration values
     * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ @java.lang.Override public io.dapr.v1.CommonProtos.ConfigurationItem getItemsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetItems().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetItems(), ItemsDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } for (java.util.Map.Entry entry : internalGetItems().getMap().entrySet()) { com.google.protobuf.MapEntry items__ = ItemsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, items__); } 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.SubscribeConfigurationResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubscribeConfigurationResponse other = (io.dapr.v1.DaprProtos.SubscribeConfigurationResponse) obj; if (!getId() .equals(other.getId())) return false; if (!internalGetItems().equals( other.internalGetItems())) 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 (!internalGetItems().getMap().isEmpty()) { hash = (37 * hash) + ITEMS_FIELD_NUMBER; hash = (53 * hash) + internalGetItems().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubscribeConfigurationResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationResponse 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.SubscribeConfigurationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationResponse 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.SubscribeConfigurationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationResponse 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.SubscribeConfigurationResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationResponse 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.SubscribeConfigurationResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationResponse 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.SubscribeConfigurationResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.SubscribeConfigurationResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubscribeConfigurationResponse) io.dapr.v1.DaprProtos.SubscribeConfigurationResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetItems(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableItems(); 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_SubscribeConfigurationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubscribeConfigurationResponse.class, io.dapr.v1.DaprProtos.SubscribeConfigurationResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubscribeConfigurationResponse.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_ = ""; internalGetMutableItems().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeConfigurationResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubscribeConfigurationResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeConfigurationResponse build() { io.dapr.v1.DaprProtos.SubscribeConfigurationResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubscribeConfigurationResponse buildPartial() { io.dapr.v1.DaprProtos.SubscribeConfigurationResponse result = new io.dapr.v1.DaprProtos.SubscribeConfigurationResponse(this); int from_bitField0_ = bitField0_; result.id_ = id_; result.items_ = internalGetItems(); result.items_.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.SubscribeConfigurationResponse) { return mergeFrom((io.dapr.v1.DaprProtos.SubscribeConfigurationResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubscribeConfigurationResponse other) { if (other == io.dapr.v1.DaprProtos.SubscribeConfigurationResponse.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } internalGetMutableItems().mergeFrom( other.internalGetItems()); 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.SubscribeConfigurationResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubscribeConfigurationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** *
       * Subscribe id, used to stop subscription.
       * 
* * 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; } } /** *
       * Subscribe id, used to stop subscription.
       * 
* * 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; } } /** *
       * Subscribe id, used to stop subscription.
       * 
* * 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; } /** *
       * Subscribe id, used to stop subscription.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * Subscribe id, used to stop subscription.
       * 
* * 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 com.google.protobuf.MapField< java.lang.String, io.dapr.v1.CommonProtos.ConfigurationItem> items_; private com.google.protobuf.MapField internalGetItems() { if (items_ == null) { return com.google.protobuf.MapField.emptyMapField( ItemsDefaultEntryHolder.defaultEntry); } return items_; } private com.google.protobuf.MapField internalGetMutableItems() { onChanged();; if (items_ == null) { items_ = com.google.protobuf.MapField.newMapField( ItemsDefaultEntryHolder.defaultEntry); } if (!items_.isMutable()) { items_ = items_.copy(); } return items_; } public int getItemsCount() { return internalGetItems().getMap().size(); } /** *
       * The list of items containing configuration values
       * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ @java.lang.Override public boolean containsItems( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetItems().getMap().containsKey(key); } /** * Use {@link #getItemsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getItems() { return getItemsMap(); } /** *
       * The list of items containing configuration values
       * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ @java.lang.Override public java.util.Map getItemsMap() { return internalGetItems().getMap(); } /** *
       * The list of items containing configuration values
       * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ @java.lang.Override public io.dapr.v1.CommonProtos.ConfigurationItem getItemsOrDefault( java.lang.String key, io.dapr.v1.CommonProtos.ConfigurationItem defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetItems().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The list of items containing configuration values
       * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ @java.lang.Override public io.dapr.v1.CommonProtos.ConfigurationItem getItemsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetItems().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearItems() { internalGetMutableItems().getMutableMap() .clear(); return this; } /** *
       * The list of items containing configuration values
       * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ public Builder removeItems( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableItems().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableItems() { return internalGetMutableItems().getMutableMap(); } /** *
       * The list of items containing configuration values
       * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ public Builder putItems( java.lang.String key, io.dapr.v1.CommonProtos.ConfigurationItem value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableItems().getMutableMap() .put(key, value); return this; } /** *
       * The list of items containing configuration values
       * 
* * map<string, .dapr.proto.common.v1.ConfigurationItem> items = 2; */ public Builder putAllItems( java.util.Map values) { internalGetMutableItems().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.SubscribeConfigurationResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubscribeConfigurationResponse) private static final io.dapr.v1.DaprProtos.SubscribeConfigurationResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubscribeConfigurationResponse(); } public static io.dapr.v1.DaprProtos.SubscribeConfigurationResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeConfigurationResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeConfigurationResponse(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.SubscribeConfigurationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UnsubscribeConfigurationResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.UnsubscribeConfigurationResponse) com.google.protobuf.MessageOrBuilder { /** * bool ok = 1; * @return The ok. */ boolean getOk(); /** * string message = 2; * @return The message. */ java.lang.String getMessage(); /** * string message = 2; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); } /** * Protobuf type {@code dapr.proto.runtime.v1.UnsubscribeConfigurationResponse} */ public static final class UnsubscribeConfigurationResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.UnsubscribeConfigurationResponse) UnsubscribeConfigurationResponseOrBuilder { private static final long serialVersionUID = 0L; // Use UnsubscribeConfigurationResponse.newBuilder() to construct. private UnsubscribeConfigurationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UnsubscribeConfigurationResponse() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UnsubscribeConfigurationResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UnsubscribeConfigurationResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { ok_ = input.readBool(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse.class, io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse.Builder.class); } public static final int OK_FIELD_NUMBER = 1; private boolean ok_; /** * bool ok = 1; * @return The ok. */ @java.lang.Override public boolean getOk() { return ok_; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * string message = 2; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 2; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = 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 (ok_ != false) { output.writeBool(1, ok_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (ok_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, ok_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } 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.UnsubscribeConfigurationResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse other = (io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse) obj; if (getOk() != other.getOk()) return false; 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) + OK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOk()); 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.UnsubscribeConfigurationResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse 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.UnsubscribeConfigurationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse 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.UnsubscribeConfigurationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse 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.UnsubscribeConfigurationResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse 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.UnsubscribeConfigurationResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse 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.UnsubscribeConfigurationResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.UnsubscribeConfigurationResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.UnsubscribeConfigurationResponse) io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse.class, io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse.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(); ok_ = false; message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse build() { io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse buildPartial() { io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse result = new io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse(this); result.ok_ = ok_; result.message_ = message_; 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.UnsubscribeConfigurationResponse) { return mergeFrom((io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse other) { if (other == io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse.getDefaultInstance()) return this; if (other.getOk() != false) { setOk(other.getOk()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; 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.UnsubscribeConfigurationResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean ok_ ; /** * bool ok = 1; * @return The ok. */ @java.lang.Override public boolean getOk() { return ok_; } /** * bool ok = 1; * @param value The ok to set. * @return This builder for chaining. */ public Builder setOk(boolean value) { ok_ = value; onChanged(); return this; } /** * bool ok = 1; * @return This builder for chaining. */ public Builder clearOk() { ok_ = false; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 2; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 2; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 2; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 2; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = 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.UnsubscribeConfigurationResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.UnsubscribeConfigurationResponse) private static final io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse(); } public static io.dapr.v1.DaprProtos.UnsubscribeConfigurationResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UnsubscribeConfigurationResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UnsubscribeConfigurationResponse(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.UnsubscribeConfigurationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TryLockRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TryLockRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Required. The lock store name,e.g. `redis`.
     * 
* * string store_name = 1 [json_name = "storeName"]; * @return The storeName. */ java.lang.String getStoreName(); /** *
     * Required. The lock store name,e.g. `redis`.
     * 
* * string store_name = 1 [json_name = "storeName"]; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * Required. resource_id is the lock key. e.g. `order_id_111`
     * It stands for "which resource I want to protect"
     * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return The resourceId. */ java.lang.String getResourceId(); /** *
     * Required. resource_id is the lock key. e.g. `order_id_111`
     * It stands for "which resource I want to protect"
     * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return The bytes for resourceId. */ com.google.protobuf.ByteString getResourceIdBytes(); /** *
     * Required. lock_owner indicate the identifier of lock owner.
     * You can generate a uuid as lock_owner.For example,in golang:
     * req.LockOwner = uuid.New().String()
     * This field is per request,not per process,so it is different for each request,
     * which aims to prevent multi-thread in the same process trying the same lock concurrently.
     * The reason why we don't make it automatically generated is:
     * 1. If it is automatically generated,there must be a 'my_lock_owner_id' field in the response.
     * This name is so weird that we think it is inappropriate to put it into the api spec
     * 2. If we change the field 'my_lock_owner_id' in the response to 'lock_owner',which means the current lock owner of this lock,
     * we find that in some lock services users can't get the current lock owner.Actually users don't need it at all.
     * 3. When reentrant lock is needed,the existing lock_owner is required to identify client and check "whether this client can reenter this lock".
     * So this field in the request shouldn't be removed.
     * 
* * string lock_owner = 3 [json_name = "lockOwner"]; * @return The lockOwner. */ java.lang.String getLockOwner(); /** *
     * Required. lock_owner indicate the identifier of lock owner.
     * You can generate a uuid as lock_owner.For example,in golang:
     * req.LockOwner = uuid.New().String()
     * This field is per request,not per process,so it is different for each request,
     * which aims to prevent multi-thread in the same process trying the same lock concurrently.
     * The reason why we don't make it automatically generated is:
     * 1. If it is automatically generated,there must be a 'my_lock_owner_id' field in the response.
     * This name is so weird that we think it is inappropriate to put it into the api spec
     * 2. If we change the field 'my_lock_owner_id' in the response to 'lock_owner',which means the current lock owner of this lock,
     * we find that in some lock services users can't get the current lock owner.Actually users don't need it at all.
     * 3. When reentrant lock is needed,the existing lock_owner is required to identify client and check "whether this client can reenter this lock".
     * So this field in the request shouldn't be removed.
     * 
* * string lock_owner = 3 [json_name = "lockOwner"]; * @return The bytes for lockOwner. */ com.google.protobuf.ByteString getLockOwnerBytes(); /** *
     * Required. The time before expiry.The time unit is second.
     * 
* * int32 expiry_in_seconds = 4 [json_name = "expiryInSeconds"]; * @return The expiryInSeconds. */ int getExpiryInSeconds(); } /** * Protobuf type {@code dapr.proto.runtime.v1.TryLockRequest} */ public static final class TryLockRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TryLockRequest) TryLockRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TryLockRequest.newBuilder() to construct. private TryLockRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TryLockRequest() { storeName_ = ""; resourceId_ = ""; lockOwner_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TryLockRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TryLockRequest( 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(); resourceId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); lockOwner_ = s; break; } case 32: { expiryInSeconds_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TryLockRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TryLockRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.TryLockRequest.class, io.dapr.v1.DaprProtos.TryLockRequest.Builder.class); } public static final int STORE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object storeName_; /** *
     * Required. The lock store name,e.g. `redis`.
     * 
* * string store_name = 1 [json_name = "storeName"]; * @return The storeName. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** *
     * Required. The lock store name,e.g. `redis`.
     * 
* * string store_name = 1 [json_name = "storeName"]; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOURCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object resourceId_; /** *
     * Required. resource_id is the lock key. e.g. `order_id_111`
     * It stands for "which resource I want to protect"
     * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return The resourceId. */ @java.lang.Override public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; 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(); resourceId_ = s; return s; } } /** *
     * Required. resource_id is the lock key. e.g. `order_id_111`
     * It stands for "which resource I want to protect"
     * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return The bytes for resourceId. */ @java.lang.Override public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOCK_OWNER_FIELD_NUMBER = 3; private volatile java.lang.Object lockOwner_; /** *
     * Required. lock_owner indicate the identifier of lock owner.
     * You can generate a uuid as lock_owner.For example,in golang:
     * req.LockOwner = uuid.New().String()
     * This field is per request,not per process,so it is different for each request,
     * which aims to prevent multi-thread in the same process trying the same lock concurrently.
     * The reason why we don't make it automatically generated is:
     * 1. If it is automatically generated,there must be a 'my_lock_owner_id' field in the response.
     * This name is so weird that we think it is inappropriate to put it into the api spec
     * 2. If we change the field 'my_lock_owner_id' in the response to 'lock_owner',which means the current lock owner of this lock,
     * we find that in some lock services users can't get the current lock owner.Actually users don't need it at all.
     * 3. When reentrant lock is needed,the existing lock_owner is required to identify client and check "whether this client can reenter this lock".
     * So this field in the request shouldn't be removed.
     * 
* * string lock_owner = 3 [json_name = "lockOwner"]; * @return The lockOwner. */ @java.lang.Override public java.lang.String getLockOwner() { java.lang.Object ref = lockOwner_; 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(); lockOwner_ = s; return s; } } /** *
     * Required. lock_owner indicate the identifier of lock owner.
     * You can generate a uuid as lock_owner.For example,in golang:
     * req.LockOwner = uuid.New().String()
     * This field is per request,not per process,so it is different for each request,
     * which aims to prevent multi-thread in the same process trying the same lock concurrently.
     * The reason why we don't make it automatically generated is:
     * 1. If it is automatically generated,there must be a 'my_lock_owner_id' field in the response.
     * This name is so weird that we think it is inappropriate to put it into the api spec
     * 2. If we change the field 'my_lock_owner_id' in the response to 'lock_owner',which means the current lock owner of this lock,
     * we find that in some lock services users can't get the current lock owner.Actually users don't need it at all.
     * 3. When reentrant lock is needed,the existing lock_owner is required to identify client and check "whether this client can reenter this lock".
     * So this field in the request shouldn't be removed.
     * 
* * string lock_owner = 3 [json_name = "lockOwner"]; * @return The bytes for lockOwner. */ @java.lang.Override public com.google.protobuf.ByteString getLockOwnerBytes() { java.lang.Object ref = lockOwner_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lockOwner_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXPIRY_IN_SECONDS_FIELD_NUMBER = 4; private int expiryInSeconds_; /** *
     * Required. The time before expiry.The time unit is second.
     * 
* * int32 expiry_in_seconds = 4 [json_name = "expiryInSeconds"]; * @return The expiryInSeconds. */ @java.lang.Override public int getExpiryInSeconds() { return expiryInSeconds_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lockOwner_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, lockOwner_); } if (expiryInSeconds_ != 0) { output.writeInt32(4, expiryInSeconds_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lockOwner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, lockOwner_); } if (expiryInSeconds_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, expiryInSeconds_); } 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.TryLockRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.TryLockRequest other = (io.dapr.v1.DaprProtos.TryLockRequest) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getResourceId() .equals(other.getResourceId())) return false; if (!getLockOwner() .equals(other.getLockOwner())) return false; if (getExpiryInSeconds() != other.getExpiryInSeconds()) 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) + RESOURCE_ID_FIELD_NUMBER; hash = (53 * hash) + getResourceId().hashCode(); hash = (37 * hash) + LOCK_OWNER_FIELD_NUMBER; hash = (53 * hash) + getLockOwner().hashCode(); hash = (37 * hash) + EXPIRY_IN_SECONDS_FIELD_NUMBER; hash = (53 * hash) + getExpiryInSeconds(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.TryLockRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TryLockRequest 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.TryLockRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TryLockRequest 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.TryLockRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TryLockRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.TryLockRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TryLockRequest 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.TryLockRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TryLockRequest 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.TryLockRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TryLockRequest 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.TryLockRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.TryLockRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TryLockRequest) io.dapr.v1.DaprProtos.TryLockRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TryLockRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TryLockRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.TryLockRequest.class, io.dapr.v1.DaprProtos.TryLockRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.TryLockRequest.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_ = ""; resourceId_ = ""; lockOwner_ = ""; expiryInSeconds_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TryLockRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.TryLockRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.TryLockRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.TryLockRequest build() { io.dapr.v1.DaprProtos.TryLockRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.TryLockRequest buildPartial() { io.dapr.v1.DaprProtos.TryLockRequest result = new io.dapr.v1.DaprProtos.TryLockRequest(this); result.storeName_ = storeName_; result.resourceId_ = resourceId_; result.lockOwner_ = lockOwner_; result.expiryInSeconds_ = expiryInSeconds_; 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.TryLockRequest) { return mergeFrom((io.dapr.v1.DaprProtos.TryLockRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.TryLockRequest other) { if (other == io.dapr.v1.DaprProtos.TryLockRequest.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; onChanged(); } if (!other.getResourceId().isEmpty()) { resourceId_ = other.resourceId_; onChanged(); } if (!other.getLockOwner().isEmpty()) { lockOwner_ = other.lockOwner_; onChanged(); } if (other.getExpiryInSeconds() != 0) { setExpiryInSeconds(other.getExpiryInSeconds()); } 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.TryLockRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.TryLockRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object storeName_ = ""; /** *
       * Required. The lock store name,e.g. `redis`.
       * 
* * string store_name = 1 [json_name = "storeName"]; * @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; } } /** *
       * Required. The lock store name,e.g. `redis`.
       * 
* * string store_name = 1 [json_name = "storeName"]; * @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; } } /** *
       * Required. The lock store name,e.g. `redis`.
       * 
* * string store_name = 1 [json_name = "storeName"]; * @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; } /** *
       * Required. The lock store name,e.g. `redis`.
       * 
* * string store_name = 1 [json_name = "storeName"]; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** *
       * Required. The lock store name,e.g. `redis`.
       * 
* * string store_name = 1 [json_name = "storeName"]; * @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 resourceId_ = ""; /** *
       * Required. resource_id is the lock key. e.g. `order_id_111`
       * It stands for "which resource I want to protect"
       * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return The resourceId. */ public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Required. resource_id is the lock key. e.g. `order_id_111`
       * It stands for "which resource I want to protect"
       * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return The bytes for resourceId. */ public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Required. resource_id is the lock key. e.g. `order_id_111`
       * It stands for "which resource I want to protect"
       * 
* * string resource_id = 2 [json_name = "resourceId"]; * @param value The resourceId to set. * @return This builder for chaining. */ public Builder setResourceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceId_ = value; onChanged(); return this; } /** *
       * Required. resource_id is the lock key. e.g. `order_id_111`
       * It stands for "which resource I want to protect"
       * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return This builder for chaining. */ public Builder clearResourceId() { resourceId_ = getDefaultInstance().getResourceId(); onChanged(); return this; } /** *
       * Required. resource_id is the lock key. e.g. `order_id_111`
       * It stands for "which resource I want to protect"
       * 
* * string resource_id = 2 [json_name = "resourceId"]; * @param value The bytes for resourceId to set. * @return This builder for chaining. */ public Builder setResourceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceId_ = value; onChanged(); return this; } private java.lang.Object lockOwner_ = ""; /** *
       * Required. lock_owner indicate the identifier of lock owner.
       * You can generate a uuid as lock_owner.For example,in golang:
       * req.LockOwner = uuid.New().String()
       * This field is per request,not per process,so it is different for each request,
       * which aims to prevent multi-thread in the same process trying the same lock concurrently.
       * The reason why we don't make it automatically generated is:
       * 1. If it is automatically generated,there must be a 'my_lock_owner_id' field in the response.
       * This name is so weird that we think it is inappropriate to put it into the api spec
       * 2. If we change the field 'my_lock_owner_id' in the response to 'lock_owner',which means the current lock owner of this lock,
       * we find that in some lock services users can't get the current lock owner.Actually users don't need it at all.
       * 3. When reentrant lock is needed,the existing lock_owner is required to identify client and check "whether this client can reenter this lock".
       * So this field in the request shouldn't be removed.
       * 
* * string lock_owner = 3 [json_name = "lockOwner"]; * @return The lockOwner. */ public java.lang.String getLockOwner() { java.lang.Object ref = lockOwner_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lockOwner_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Required. lock_owner indicate the identifier of lock owner.
       * You can generate a uuid as lock_owner.For example,in golang:
       * req.LockOwner = uuid.New().String()
       * This field is per request,not per process,so it is different for each request,
       * which aims to prevent multi-thread in the same process trying the same lock concurrently.
       * The reason why we don't make it automatically generated is:
       * 1. If it is automatically generated,there must be a 'my_lock_owner_id' field in the response.
       * This name is so weird that we think it is inappropriate to put it into the api spec
       * 2. If we change the field 'my_lock_owner_id' in the response to 'lock_owner',which means the current lock owner of this lock,
       * we find that in some lock services users can't get the current lock owner.Actually users don't need it at all.
       * 3. When reentrant lock is needed,the existing lock_owner is required to identify client and check "whether this client can reenter this lock".
       * So this field in the request shouldn't be removed.
       * 
* * string lock_owner = 3 [json_name = "lockOwner"]; * @return The bytes for lockOwner. */ public com.google.protobuf.ByteString getLockOwnerBytes() { java.lang.Object ref = lockOwner_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lockOwner_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Required. lock_owner indicate the identifier of lock owner.
       * You can generate a uuid as lock_owner.For example,in golang:
       * req.LockOwner = uuid.New().String()
       * This field is per request,not per process,so it is different for each request,
       * which aims to prevent multi-thread in the same process trying the same lock concurrently.
       * The reason why we don't make it automatically generated is:
       * 1. If it is automatically generated,there must be a 'my_lock_owner_id' field in the response.
       * This name is so weird that we think it is inappropriate to put it into the api spec
       * 2. If we change the field 'my_lock_owner_id' in the response to 'lock_owner',which means the current lock owner of this lock,
       * we find that in some lock services users can't get the current lock owner.Actually users don't need it at all.
       * 3. When reentrant lock is needed,the existing lock_owner is required to identify client and check "whether this client can reenter this lock".
       * So this field in the request shouldn't be removed.
       * 
* * string lock_owner = 3 [json_name = "lockOwner"]; * @param value The lockOwner to set. * @return This builder for chaining. */ public Builder setLockOwner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lockOwner_ = value; onChanged(); return this; } /** *
       * Required. lock_owner indicate the identifier of lock owner.
       * You can generate a uuid as lock_owner.For example,in golang:
       * req.LockOwner = uuid.New().String()
       * This field is per request,not per process,so it is different for each request,
       * which aims to prevent multi-thread in the same process trying the same lock concurrently.
       * The reason why we don't make it automatically generated is:
       * 1. If it is automatically generated,there must be a 'my_lock_owner_id' field in the response.
       * This name is so weird that we think it is inappropriate to put it into the api spec
       * 2. If we change the field 'my_lock_owner_id' in the response to 'lock_owner',which means the current lock owner of this lock,
       * we find that in some lock services users can't get the current lock owner.Actually users don't need it at all.
       * 3. When reentrant lock is needed,the existing lock_owner is required to identify client and check "whether this client can reenter this lock".
       * So this field in the request shouldn't be removed.
       * 
* * string lock_owner = 3 [json_name = "lockOwner"]; * @return This builder for chaining. */ public Builder clearLockOwner() { lockOwner_ = getDefaultInstance().getLockOwner(); onChanged(); return this; } /** *
       * Required. lock_owner indicate the identifier of lock owner.
       * You can generate a uuid as lock_owner.For example,in golang:
       * req.LockOwner = uuid.New().String()
       * This field is per request,not per process,so it is different for each request,
       * which aims to prevent multi-thread in the same process trying the same lock concurrently.
       * The reason why we don't make it automatically generated is:
       * 1. If it is automatically generated,there must be a 'my_lock_owner_id' field in the response.
       * This name is so weird that we think it is inappropriate to put it into the api spec
       * 2. If we change the field 'my_lock_owner_id' in the response to 'lock_owner',which means the current lock owner of this lock,
       * we find that in some lock services users can't get the current lock owner.Actually users don't need it at all.
       * 3. When reentrant lock is needed,the existing lock_owner is required to identify client and check "whether this client can reenter this lock".
       * So this field in the request shouldn't be removed.
       * 
* * string lock_owner = 3 [json_name = "lockOwner"]; * @param value The bytes for lockOwner to set. * @return This builder for chaining. */ public Builder setLockOwnerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lockOwner_ = value; onChanged(); return this; } private int expiryInSeconds_ ; /** *
       * Required. The time before expiry.The time unit is second.
       * 
* * int32 expiry_in_seconds = 4 [json_name = "expiryInSeconds"]; * @return The expiryInSeconds. */ @java.lang.Override public int getExpiryInSeconds() { return expiryInSeconds_; } /** *
       * Required. The time before expiry.The time unit is second.
       * 
* * int32 expiry_in_seconds = 4 [json_name = "expiryInSeconds"]; * @param value The expiryInSeconds to set. * @return This builder for chaining. */ public Builder setExpiryInSeconds(int value) { expiryInSeconds_ = value; onChanged(); return this; } /** *
       * Required. The time before expiry.The time unit is second.
       * 
* * int32 expiry_in_seconds = 4 [json_name = "expiryInSeconds"]; * @return This builder for chaining. */ public Builder clearExpiryInSeconds() { expiryInSeconds_ = 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.TryLockRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TryLockRequest) private static final io.dapr.v1.DaprProtos.TryLockRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.TryLockRequest(); } public static io.dapr.v1.DaprProtos.TryLockRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TryLockRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TryLockRequest(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.TryLockRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TryLockResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TryLockResponse) com.google.protobuf.MessageOrBuilder { /** * bool success = 1; * @return The success. */ boolean getSuccess(); } /** * Protobuf type {@code dapr.proto.runtime.v1.TryLockResponse} */ public static final class TryLockResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TryLockResponse) TryLockResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TryLockResponse.newBuilder() to construct. private TryLockResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TryLockResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TryLockResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TryLockResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { success_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TryLockResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TryLockResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.TryLockResponse.class, io.dapr.v1.DaprProtos.TryLockResponse.Builder.class); } public static final int SUCCESS_FIELD_NUMBER = 1; private boolean success_; /** * bool success = 1; * @return The success. */ @java.lang.Override public boolean getSuccess() { return success_; } 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 (success_ != false) { output.writeBool(1, success_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (success_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, success_); } 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.TryLockResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.TryLockResponse other = (io.dapr.v1.DaprProtos.TryLockResponse) obj; if (getSuccess() != other.getSuccess()) 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) + SUCCESS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSuccess()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.TryLockResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TryLockResponse 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.TryLockResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TryLockResponse 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.TryLockResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TryLockResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.TryLockResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TryLockResponse 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.TryLockResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TryLockResponse 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.TryLockResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TryLockResponse 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.TryLockResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.TryLockResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TryLockResponse) io.dapr.v1.DaprProtos.TryLockResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TryLockResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TryLockResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.TryLockResponse.class, io.dapr.v1.DaprProtos.TryLockResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.TryLockResponse.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(); success_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TryLockResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.TryLockResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.TryLockResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.TryLockResponse build() { io.dapr.v1.DaprProtos.TryLockResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.TryLockResponse buildPartial() { io.dapr.v1.DaprProtos.TryLockResponse result = new io.dapr.v1.DaprProtos.TryLockResponse(this); result.success_ = success_; 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.TryLockResponse) { return mergeFrom((io.dapr.v1.DaprProtos.TryLockResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.TryLockResponse other) { if (other == io.dapr.v1.DaprProtos.TryLockResponse.getDefaultInstance()) return this; if (other.getSuccess() != false) { setSuccess(other.getSuccess()); } 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.TryLockResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.TryLockResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean success_ ; /** * bool success = 1; * @return The success. */ @java.lang.Override public boolean getSuccess() { return success_; } /** * bool success = 1; * @param value The success to set. * @return This builder for chaining. */ public Builder setSuccess(boolean value) { success_ = value; onChanged(); return this; } /** * bool success = 1; * @return This builder for chaining. */ public Builder clearSuccess() { success_ = false; 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.TryLockResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TryLockResponse) private static final io.dapr.v1.DaprProtos.TryLockResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.TryLockResponse(); } public static io.dapr.v1.DaprProtos.TryLockResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TryLockResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TryLockResponse(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.TryLockResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UnlockRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.UnlockRequest) com.google.protobuf.MessageOrBuilder { /** * string store_name = 1 [json_name = "storeName"]; * @return The storeName. */ java.lang.String getStoreName(); /** * string store_name = 1 [json_name = "storeName"]; * @return The bytes for storeName. */ com.google.protobuf.ByteString getStoreNameBytes(); /** *
     * resource_id is the lock key.
     * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return The resourceId. */ java.lang.String getResourceId(); /** *
     * resource_id is the lock key.
     * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return The bytes for resourceId. */ com.google.protobuf.ByteString getResourceIdBytes(); /** * string lock_owner = 3 [json_name = "lockOwner"]; * @return The lockOwner. */ java.lang.String getLockOwner(); /** * string lock_owner = 3 [json_name = "lockOwner"]; * @return The bytes for lockOwner. */ com.google.protobuf.ByteString getLockOwnerBytes(); } /** * Protobuf type {@code dapr.proto.runtime.v1.UnlockRequest} */ public static final class UnlockRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.UnlockRequest) UnlockRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UnlockRequest.newBuilder() to construct. private UnlockRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UnlockRequest() { storeName_ = ""; resourceId_ = ""; lockOwner_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UnlockRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UnlockRequest( 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(); resourceId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); lockOwner_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnlockRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnlockRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.UnlockRequest.class, io.dapr.v1.DaprProtos.UnlockRequest.Builder.class); } public static final int STORE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object storeName_; /** * string store_name = 1 [json_name = "storeName"]; * @return The storeName. */ @java.lang.Override public java.lang.String getStoreName() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeName_ = s; return s; } } /** * string store_name = 1 [json_name = "storeName"]; * @return The bytes for storeName. */ @java.lang.Override public com.google.protobuf.ByteString getStoreNameBytes() { java.lang.Object ref = storeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOURCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object resourceId_; /** *
     * resource_id is the lock key.
     * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return The resourceId. */ @java.lang.Override public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; 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(); resourceId_ = s; return s; } } /** *
     * resource_id is the lock key.
     * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return The bytes for resourceId. */ @java.lang.Override public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOCK_OWNER_FIELD_NUMBER = 3; private volatile java.lang.Object lockOwner_; /** * string lock_owner = 3 [json_name = "lockOwner"]; * @return The lockOwner. */ @java.lang.Override public java.lang.String getLockOwner() { java.lang.Object ref = lockOwner_; 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(); lockOwner_ = s; return s; } } /** * string lock_owner = 3 [json_name = "lockOwner"]; * @return The bytes for lockOwner. */ @java.lang.Override public com.google.protobuf.ByteString getLockOwnerBytes() { java.lang.Object ref = lockOwner_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lockOwner_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lockOwner_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, lockOwner_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, storeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lockOwner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, lockOwner_); } 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.UnlockRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.UnlockRequest other = (io.dapr.v1.DaprProtos.UnlockRequest) obj; if (!getStoreName() .equals(other.getStoreName())) return false; if (!getResourceId() .equals(other.getResourceId())) return false; if (!getLockOwner() .equals(other.getLockOwner())) 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) + RESOURCE_ID_FIELD_NUMBER; hash = (53 * hash) + getResourceId().hashCode(); hash = (37 * hash) + LOCK_OWNER_FIELD_NUMBER; hash = (53 * hash) + getLockOwner().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.UnlockRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnlockRequest 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.UnlockRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnlockRequest 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.UnlockRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnlockRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.UnlockRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnlockRequest 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.UnlockRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnlockRequest 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.UnlockRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnlockRequest 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.UnlockRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.UnlockRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.UnlockRequest) io.dapr.v1.DaprProtos.UnlockRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnlockRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnlockRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.UnlockRequest.class, io.dapr.v1.DaprProtos.UnlockRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.UnlockRequest.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_ = ""; resourceId_ = ""; lockOwner_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnlockRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.UnlockRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.UnlockRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.UnlockRequest build() { io.dapr.v1.DaprProtos.UnlockRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.UnlockRequest buildPartial() { io.dapr.v1.DaprProtos.UnlockRequest result = new io.dapr.v1.DaprProtos.UnlockRequest(this); result.storeName_ = storeName_; result.resourceId_ = resourceId_; result.lockOwner_ = lockOwner_; 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.UnlockRequest) { return mergeFrom((io.dapr.v1.DaprProtos.UnlockRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.UnlockRequest other) { if (other == io.dapr.v1.DaprProtos.UnlockRequest.getDefaultInstance()) return this; if (!other.getStoreName().isEmpty()) { storeName_ = other.storeName_; onChanged(); } if (!other.getResourceId().isEmpty()) { resourceId_ = other.resourceId_; onChanged(); } if (!other.getLockOwner().isEmpty()) { lockOwner_ = other.lockOwner_; 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.UnlockRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.UnlockRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object storeName_ = ""; /** * string store_name = 1 [json_name = "storeName"]; * @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; } } /** * string store_name = 1 [json_name = "storeName"]; * @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; } } /** * string store_name = 1 [json_name = "storeName"]; * @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; } /** * string store_name = 1 [json_name = "storeName"]; * @return This builder for chaining. */ public Builder clearStoreName() { storeName_ = getDefaultInstance().getStoreName(); onChanged(); return this; } /** * string store_name = 1 [json_name = "storeName"]; * @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 resourceId_ = ""; /** *
       * resource_id is the lock key.
       * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return The resourceId. */ public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * resource_id is the lock key.
       * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return The bytes for resourceId. */ public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * resource_id is the lock key.
       * 
* * string resource_id = 2 [json_name = "resourceId"]; * @param value The resourceId to set. * @return This builder for chaining. */ public Builder setResourceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceId_ = value; onChanged(); return this; } /** *
       * resource_id is the lock key.
       * 
* * string resource_id = 2 [json_name = "resourceId"]; * @return This builder for chaining. */ public Builder clearResourceId() { resourceId_ = getDefaultInstance().getResourceId(); onChanged(); return this; } /** *
       * resource_id is the lock key.
       * 
* * string resource_id = 2 [json_name = "resourceId"]; * @param value The bytes for resourceId to set. * @return This builder for chaining. */ public Builder setResourceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceId_ = value; onChanged(); return this; } private java.lang.Object lockOwner_ = ""; /** * string lock_owner = 3 [json_name = "lockOwner"]; * @return The lockOwner. */ public java.lang.String getLockOwner() { java.lang.Object ref = lockOwner_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lockOwner_ = s; return s; } else { return (java.lang.String) ref; } } /** * string lock_owner = 3 [json_name = "lockOwner"]; * @return The bytes for lockOwner. */ public com.google.protobuf.ByteString getLockOwnerBytes() { java.lang.Object ref = lockOwner_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lockOwner_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string lock_owner = 3 [json_name = "lockOwner"]; * @param value The lockOwner to set. * @return This builder for chaining. */ public Builder setLockOwner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } lockOwner_ = value; onChanged(); return this; } /** * string lock_owner = 3 [json_name = "lockOwner"]; * @return This builder for chaining. */ public Builder clearLockOwner() { lockOwner_ = getDefaultInstance().getLockOwner(); onChanged(); return this; } /** * string lock_owner = 3 [json_name = "lockOwner"]; * @param value The bytes for lockOwner to set. * @return This builder for chaining. */ public Builder setLockOwnerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); lockOwner_ = 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.UnlockRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.UnlockRequest) private static final io.dapr.v1.DaprProtos.UnlockRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.UnlockRequest(); } public static io.dapr.v1.DaprProtos.UnlockRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UnlockRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UnlockRequest(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.UnlockRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UnlockResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.UnlockResponse) com.google.protobuf.MessageOrBuilder { /** * .dapr.proto.runtime.v1.UnlockResponse.Status status = 1; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** * .dapr.proto.runtime.v1.UnlockResponse.Status status = 1; * @return The status. */ io.dapr.v1.DaprProtos.UnlockResponse.Status getStatus(); } /** * Protobuf type {@code dapr.proto.runtime.v1.UnlockResponse} */ public static final class UnlockResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.UnlockResponse) UnlockResponseOrBuilder { private static final long serialVersionUID = 0L; // Use UnlockResponse.newBuilder() to construct. private UnlockResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UnlockResponse() { status_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UnlockResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UnlockResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); status_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnlockResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnlockResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.UnlockResponse.class, io.dapr.v1.DaprProtos.UnlockResponse.Builder.class); } /** * Protobuf enum {@code dapr.proto.runtime.v1.UnlockResponse.Status} */ public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** * SUCCESS = 0; */ SUCCESS(0), /** * LOCK_DOES_NOT_EXIST = 1; */ LOCK_DOES_NOT_EXIST(1), /** * LOCK_BELONGS_TO_OTHERS = 2; */ LOCK_BELONGS_TO_OTHERS(2), /** * INTERNAL_ERROR = 3; */ INTERNAL_ERROR(3), UNRECOGNIZED(-1), ; /** * SUCCESS = 0; */ public static final int SUCCESS_VALUE = 0; /** * LOCK_DOES_NOT_EXIST = 1; */ public static final int LOCK_DOES_NOT_EXIST_VALUE = 1; /** * LOCK_BELONGS_TO_OTHERS = 2; */ public static final int LOCK_BELONGS_TO_OTHERS_VALUE = 2; /** * INTERNAL_ERROR = 3; */ public static final int INTERNAL_ERROR_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Status valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Status forNumber(int value) { switch (value) { case 0: return SUCCESS; case 1: return LOCK_DOES_NOT_EXIST; case 2: return LOCK_BELONGS_TO_OTHERS; case 3: return INTERNAL_ERROR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Status> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Status findValueByNumber(int number) { return Status.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.dapr.v1.DaprProtos.UnlockResponse.getDescriptor().getEnumTypes().get(0); } private static final Status[] VALUES = values(); public static Status valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Status(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:dapr.proto.runtime.v1.UnlockResponse.Status) } public static final int STATUS_FIELD_NUMBER = 1; private int status_; /** * .dapr.proto.runtime.v1.UnlockResponse.Status status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * .dapr.proto.runtime.v1.UnlockResponse.Status status = 1; * @return The status. */ @java.lang.Override public io.dapr.v1.DaprProtos.UnlockResponse.Status getStatus() { @SuppressWarnings("deprecation") io.dapr.v1.DaprProtos.UnlockResponse.Status result = io.dapr.v1.DaprProtos.UnlockResponse.Status.valueOf(status_); return result == null ? io.dapr.v1.DaprProtos.UnlockResponse.Status.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (status_ != io.dapr.v1.DaprProtos.UnlockResponse.Status.SUCCESS.getNumber()) { output.writeEnum(1, status_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != io.dapr.v1.DaprProtos.UnlockResponse.Status.SUCCESS.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprProtos.UnlockResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.UnlockResponse other = (io.dapr.v1.DaprProtos.UnlockResponse) obj; if (status_ != other.status_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.UnlockResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnlockResponse 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.UnlockResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnlockResponse 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.UnlockResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.UnlockResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.UnlockResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnlockResponse 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.UnlockResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnlockResponse 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.UnlockResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.UnlockResponse 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.UnlockResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code dapr.proto.runtime.v1.UnlockResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.UnlockResponse) io.dapr.v1.DaprProtos.UnlockResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnlockResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnlockResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.UnlockResponse.class, io.dapr.v1.DaprProtos.UnlockResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.UnlockResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); status_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_UnlockResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.UnlockResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.UnlockResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.UnlockResponse build() { io.dapr.v1.DaprProtos.UnlockResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.UnlockResponse buildPartial() { io.dapr.v1.DaprProtos.UnlockResponse result = new io.dapr.v1.DaprProtos.UnlockResponse(this); result.status_ = status_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprProtos.UnlockResponse) { return mergeFrom((io.dapr.v1.DaprProtos.UnlockResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.UnlockResponse other) { if (other == io.dapr.v1.DaprProtos.UnlockResponse.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprProtos.UnlockResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.UnlockResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int status_ = 0; /** * .dapr.proto.runtime.v1.UnlockResponse.Status status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * .dapr.proto.runtime.v1.UnlockResponse.Status status = 1; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** * .dapr.proto.runtime.v1.UnlockResponse.Status status = 1; * @return The status. */ @java.lang.Override public io.dapr.v1.DaprProtos.UnlockResponse.Status getStatus() { @SuppressWarnings("deprecation") io.dapr.v1.DaprProtos.UnlockResponse.Status result = io.dapr.v1.DaprProtos.UnlockResponse.Status.valueOf(status_); return result == null ? io.dapr.v1.DaprProtos.UnlockResponse.Status.UNRECOGNIZED : result; } /** * .dapr.proto.runtime.v1.UnlockResponse.Status status = 1; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(io.dapr.v1.DaprProtos.UnlockResponse.Status value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** * .dapr.proto.runtime.v1.UnlockResponse.Status status = 1; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.UnlockResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.UnlockResponse) private static final io.dapr.v1.DaprProtos.UnlockResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.UnlockResponse(); } public static io.dapr.v1.DaprProtos.UnlockResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UnlockResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UnlockResponse(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.UnlockResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleGetKeyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleGetKeyRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ java.lang.String getComponentName(); /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ com.google.protobuf.ByteString getComponentNameBytes(); /** *
     * Name (or name/version) of the key to use in the key vault
     * 
* * string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * Name (or name/version) of the key to use in the key vault
     * 
* * string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Response format
     * 
* * .dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat format = 3; * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** *
     * Response format
     * 
* * .dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat format = 3; * @return The format. */ io.dapr.v1.DaprProtos.SubtleGetKeyRequest.KeyFormat getFormat(); } /** *
   * SubtleGetKeyRequest is the request object for SubtleGetKeyAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleGetKeyRequest} */ public static final class SubtleGetKeyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleGetKeyRequest) SubtleGetKeyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleGetKeyRequest.newBuilder() to construct. private SubtleGetKeyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleGetKeyRequest() { componentName_ = ""; name_ = ""; format_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleGetKeyRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleGetKeyRequest( 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(); componentName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 24: { int rawValue = input.readEnum(); format_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleGetKeyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleGetKeyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleGetKeyRequest.class, io.dapr.v1.DaprProtos.SubtleGetKeyRequest.Builder.class); } /** * Protobuf enum {@code dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat} */ public enum KeyFormat implements com.google.protobuf.ProtocolMessageEnum { /** *
       * PEM (PKIX) (default)
       * 
* * PEM = 0; */ PEM(0), /** *
       * JSON (JSON Web Key) as string
       * 
* * JSON = 1; */ JSON(1), UNRECOGNIZED(-1), ; /** *
       * PEM (PKIX) (default)
       * 
* * PEM = 0; */ public static final int PEM_VALUE = 0; /** *
       * JSON (JSON Web Key) as string
       * 
* * JSON = 1; */ public static final int JSON_VALUE = 1; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static KeyFormat valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static KeyFormat forNumber(int value) { switch (value) { case 0: return PEM; case 1: return JSON; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< KeyFormat> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public KeyFormat findValueByNumber(int number) { return KeyFormat.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.dapr.v1.DaprProtos.SubtleGetKeyRequest.getDescriptor().getEnumTypes().get(0); } private static final KeyFormat[] VALUES = values(); public static KeyFormat valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private KeyFormat(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat) } public static final int COMPONENT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object componentName_; /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ @java.lang.Override public java.lang.String getComponentName() { java.lang.Object ref = componentName_; 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(); componentName_ = s; return s; } } /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ @java.lang.Override public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * Name (or name/version) of the key to use in the key vault
     * 
* * string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * Name (or name/version) of the key to use in the key vault
     * 
* * string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FORMAT_FIELD_NUMBER = 3; private int format_; /** *
     * Response format
     * 
* * .dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat format = 3; * @return The enum numeric value on the wire for format. */ @java.lang.Override public int getFormatValue() { return format_; } /** *
     * Response format
     * 
* * .dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat format = 3; * @return The format. */ @java.lang.Override public io.dapr.v1.DaprProtos.SubtleGetKeyRequest.KeyFormat getFormat() { @SuppressWarnings("deprecation") io.dapr.v1.DaprProtos.SubtleGetKeyRequest.KeyFormat result = io.dapr.v1.DaprProtos.SubtleGetKeyRequest.KeyFormat.valueOf(format_); return result == null ? io.dapr.v1.DaprProtos.SubtleGetKeyRequest.KeyFormat.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, componentName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (format_ != io.dapr.v1.DaprProtos.SubtleGetKeyRequest.KeyFormat.PEM.getNumber()) { output.writeEnum(3, format_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, componentName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (format_ != io.dapr.v1.DaprProtos.SubtleGetKeyRequest.KeyFormat.PEM.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, format_); } 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.SubtleGetKeyRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleGetKeyRequest other = (io.dapr.v1.DaprProtos.SubtleGetKeyRequest) obj; if (!getComponentName() .equals(other.getComponentName())) return false; if (!getName() .equals(other.getName())) return false; if (format_ != other.format_) 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) + COMPONENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getComponentName().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + format_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleGetKeyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleGetKeyRequest 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.SubtleGetKeyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleGetKeyRequest 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.SubtleGetKeyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleGetKeyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleGetKeyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleGetKeyRequest 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.SubtleGetKeyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleGetKeyRequest 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.SubtleGetKeyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleGetKeyRequest 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.SubtleGetKeyRequest 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; } /** *
     * SubtleGetKeyRequest is the request object for SubtleGetKeyAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleGetKeyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleGetKeyRequest) io.dapr.v1.DaprProtos.SubtleGetKeyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleGetKeyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleGetKeyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleGetKeyRequest.class, io.dapr.v1.DaprProtos.SubtleGetKeyRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleGetKeyRequest.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(); componentName_ = ""; name_ = ""; format_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleGetKeyRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleGetKeyRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleGetKeyRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleGetKeyRequest build() { io.dapr.v1.DaprProtos.SubtleGetKeyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleGetKeyRequest buildPartial() { io.dapr.v1.DaprProtos.SubtleGetKeyRequest result = new io.dapr.v1.DaprProtos.SubtleGetKeyRequest(this); result.componentName_ = componentName_; result.name_ = name_; result.format_ = format_; 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.SubtleGetKeyRequest) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleGetKeyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleGetKeyRequest other) { if (other == io.dapr.v1.DaprProtos.SubtleGetKeyRequest.getDefaultInstance()) return this; if (!other.getComponentName().isEmpty()) { componentName_ = other.componentName_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.format_ != 0) { setFormatValue(other.getFormatValue()); } 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.SubtleGetKeyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleGetKeyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object componentName_ = ""; /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ public java.lang.String getComponentName() { java.lang.Object ref = componentName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The componentName to set. * @return This builder for chaining. */ public Builder setComponentName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } componentName_ = value; onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return This builder for chaining. */ public Builder clearComponentName() { componentName_ = getDefaultInstance().getComponentName(); onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The bytes for componentName to set. * @return This builder for chaining. */ public Builder setComponentNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); componentName_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * Name (or name/version) of the key to use in the key vault
       * 
* * string name = 2; * @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; } } /** *
       * Name (or name/version) of the key to use in the key vault
       * 
* * string name = 2; * @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; } } /** *
       * Name (or name/version) of the key to use in the key vault
       * 
* * string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * Name (or name/version) of the key to use in the key vault
       * 
* * string name = 2; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Name (or name/version) of the key to use in the key vault
       * 
* * string name = 2; * @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 int format_ = 0; /** *
       * Response format
       * 
* * .dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat format = 3; * @return The enum numeric value on the wire for format. */ @java.lang.Override public int getFormatValue() { return format_; } /** *
       * Response format
       * 
* * .dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat format = 3; * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { format_ = value; onChanged(); return this; } /** *
       * Response format
       * 
* * .dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat format = 3; * @return The format. */ @java.lang.Override public io.dapr.v1.DaprProtos.SubtleGetKeyRequest.KeyFormat getFormat() { @SuppressWarnings("deprecation") io.dapr.v1.DaprProtos.SubtleGetKeyRequest.KeyFormat result = io.dapr.v1.DaprProtos.SubtleGetKeyRequest.KeyFormat.valueOf(format_); return result == null ? io.dapr.v1.DaprProtos.SubtleGetKeyRequest.KeyFormat.UNRECOGNIZED : result; } /** *
       * Response format
       * 
* * .dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat format = 3; * @param value The format to set. * @return This builder for chaining. */ public Builder setFormat(io.dapr.v1.DaprProtos.SubtleGetKeyRequest.KeyFormat value) { if (value == null) { throw new NullPointerException(); } format_ = value.getNumber(); onChanged(); return this; } /** *
       * Response format
       * 
* * .dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat format = 3; * @return This builder for chaining. */ public Builder clearFormat() { format_ = 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.SubtleGetKeyRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleGetKeyRequest) private static final io.dapr.v1.DaprProtos.SubtleGetKeyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleGetKeyRequest(); } public static io.dapr.v1.DaprProtos.SubtleGetKeyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleGetKeyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleGetKeyRequest(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.SubtleGetKeyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleGetKeyResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleGetKeyResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Name (or name/version) of the key.
     * This is returned as response too in case there is a version.
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * Name (or name/version) of the key.
     * This is returned as response too in case there is a version.
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * Public key, encoded in the requested format
     * 
* * string public_key = 2 [json_name = "publicKey"]; * @return The publicKey. */ java.lang.String getPublicKey(); /** *
     * Public key, encoded in the requested format
     * 
* * string public_key = 2 [json_name = "publicKey"]; * @return The bytes for publicKey. */ com.google.protobuf.ByteString getPublicKeyBytes(); } /** *
   * SubtleGetKeyResponse is the response for SubtleGetKeyAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleGetKeyResponse} */ public static final class SubtleGetKeyResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleGetKeyResponse) SubtleGetKeyResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleGetKeyResponse.newBuilder() to construct. private SubtleGetKeyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleGetKeyResponse() { name_ = ""; publicKey_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleGetKeyResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleGetKeyResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); publicKey_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleGetKeyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleGetKeyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleGetKeyResponse.class, io.dapr.v1.DaprProtos.SubtleGetKeyResponse.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * Name (or name/version) of the key.
     * This is returned as response too in case there is a version.
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * Name (or name/version) of the key.
     * This is returned as response too in case there is a version.
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PUBLIC_KEY_FIELD_NUMBER = 2; private volatile java.lang.Object publicKey_; /** *
     * Public key, encoded in the requested format
     * 
* * string public_key = 2 [json_name = "publicKey"]; * @return The publicKey. */ @java.lang.Override public java.lang.String getPublicKey() { java.lang.Object ref = publicKey_; 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(); publicKey_ = s; return s; } } /** *
     * Public key, encoded in the requested format
     * 
* * string public_key = 2 [json_name = "publicKey"]; * @return The bytes for publicKey. */ @java.lang.Override public com.google.protobuf.ByteString getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); publicKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, publicKey_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, publicKey_); } 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.SubtleGetKeyResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleGetKeyResponse other = (io.dapr.v1.DaprProtos.SubtleGetKeyResponse) obj; if (!getName() .equals(other.getName())) return false; if (!getPublicKey() .equals(other.getPublicKey())) 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) + PUBLIC_KEY_FIELD_NUMBER; hash = (53 * hash) + getPublicKey().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleGetKeyResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleGetKeyResponse 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.SubtleGetKeyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleGetKeyResponse 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.SubtleGetKeyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleGetKeyResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleGetKeyResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleGetKeyResponse 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.SubtleGetKeyResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleGetKeyResponse 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.SubtleGetKeyResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleGetKeyResponse 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.SubtleGetKeyResponse 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; } /** *
     * SubtleGetKeyResponse is the response for SubtleGetKeyAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleGetKeyResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleGetKeyResponse) io.dapr.v1.DaprProtos.SubtleGetKeyResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleGetKeyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleGetKeyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleGetKeyResponse.class, io.dapr.v1.DaprProtos.SubtleGetKeyResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleGetKeyResponse.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_ = ""; publicKey_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleGetKeyResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleGetKeyResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleGetKeyResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleGetKeyResponse build() { io.dapr.v1.DaprProtos.SubtleGetKeyResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleGetKeyResponse buildPartial() { io.dapr.v1.DaprProtos.SubtleGetKeyResponse result = new io.dapr.v1.DaprProtos.SubtleGetKeyResponse(this); result.name_ = name_; result.publicKey_ = publicKey_; 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.SubtleGetKeyResponse) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleGetKeyResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleGetKeyResponse other) { if (other == io.dapr.v1.DaprProtos.SubtleGetKeyResponse.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getPublicKey().isEmpty()) { publicKey_ = other.publicKey_; 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.SubtleGetKeyResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleGetKeyResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object name_ = ""; /** *
       * Name (or name/version) of the key.
       * This is returned as response too in case there is a version.
       * 
* * 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; } } /** *
       * Name (or name/version) of the key.
       * This is returned as response too in case there is a version.
       * 
* * 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; } } /** *
       * Name (or name/version) of the key.
       * This is returned as response too in case there is a version.
       * 
* * 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; } /** *
       * Name (or name/version) of the key.
       * This is returned as response too in case there is a version.
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * This is returned as response too in case there is a version.
       * 
* * 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 java.lang.Object publicKey_ = ""; /** *
       * Public key, encoded in the requested format
       * 
* * string public_key = 2 [json_name = "publicKey"]; * @return The publicKey. */ public java.lang.String getPublicKey() { java.lang.Object ref = publicKey_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Public key, encoded in the requested format
       * 
* * string public_key = 2 [json_name = "publicKey"]; * @return The bytes for publicKey. */ public com.google.protobuf.ByteString getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); publicKey_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Public key, encoded in the requested format
       * 
* * string public_key = 2 [json_name = "publicKey"]; * @param value The publicKey to set. * @return This builder for chaining. */ public Builder setPublicKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } publicKey_ = value; onChanged(); return this; } /** *
       * Public key, encoded in the requested format
       * 
* * string public_key = 2 [json_name = "publicKey"]; * @return This builder for chaining. */ public Builder clearPublicKey() { publicKey_ = getDefaultInstance().getPublicKey(); onChanged(); return this; } /** *
       * Public key, encoded in the requested format
       * 
* * string public_key = 2 [json_name = "publicKey"]; * @param value The bytes for publicKey to set. * @return This builder for chaining. */ public Builder setPublicKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); publicKey_ = 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.SubtleGetKeyResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleGetKeyResponse) private static final io.dapr.v1.DaprProtos.SubtleGetKeyResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleGetKeyResponse(); } public static io.dapr.v1.DaprProtos.SubtleGetKeyResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleGetKeyResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleGetKeyResponse(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.SubtleGetKeyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleEncryptRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleEncryptRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ java.lang.String getComponentName(); /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ com.google.protobuf.ByteString getComponentNameBytes(); /** *
     * Message to encrypt.
     * 
* * bytes plaintext = 2; * @return The plaintext. */ com.google.protobuf.ByteString getPlaintext(); /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The algorithm. */ java.lang.String getAlgorithm(); /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The bytes for algorithm. */ com.google.protobuf.ByteString getAlgorithmBytes(); /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ java.lang.String getKeyName(); /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ com.google.protobuf.ByteString getKeyNameBytes(); /** *
     * Nonce / initialization vector.
     * Ignored with asymmetric ciphers.
     * 
* * bytes nonce = 5; * @return The nonce. */ com.google.protobuf.ByteString getNonce(); /** *
     * Associated Data when using AEAD ciphers (optional).
     * 
* * bytes associated_data = 6 [json_name = "associatedData"]; * @return The associatedData. */ com.google.protobuf.ByteString getAssociatedData(); } /** *
   * SubtleEncryptRequest is the request for SubtleEncryptAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleEncryptRequest} */ public static final class SubtleEncryptRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleEncryptRequest) SubtleEncryptRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleEncryptRequest.newBuilder() to construct. private SubtleEncryptRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleEncryptRequest() { componentName_ = ""; plaintext_ = com.google.protobuf.ByteString.EMPTY; algorithm_ = ""; keyName_ = ""; nonce_ = com.google.protobuf.ByteString.EMPTY; associatedData_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleEncryptRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleEncryptRequest( 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(); componentName_ = s; break; } case 18: { plaintext_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); algorithm_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); keyName_ = s; break; } case 42: { nonce_ = input.readBytes(); break; } case 50: { associatedData_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleEncryptRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleEncryptRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleEncryptRequest.class, io.dapr.v1.DaprProtos.SubtleEncryptRequest.Builder.class); } public static final int COMPONENT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object componentName_; /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ @java.lang.Override public java.lang.String getComponentName() { java.lang.Object ref = componentName_; 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(); componentName_ = s; return s; } } /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ @java.lang.Override public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PLAINTEXT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString plaintext_; /** *
     * Message to encrypt.
     * 
* * bytes plaintext = 2; * @return The plaintext. */ @java.lang.Override public com.google.protobuf.ByteString getPlaintext() { return plaintext_; } public static final int ALGORITHM_FIELD_NUMBER = 3; private volatile java.lang.Object algorithm_; /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The algorithm. */ @java.lang.Override public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; 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(); algorithm_ = s; return s; } } /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The bytes for algorithm. */ @java.lang.Override public com.google.protobuf.ByteString getAlgorithmBytes() { java.lang.Object ref = algorithm_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); algorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object keyName_; /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ @java.lang.Override public java.lang.String getKeyName() { java.lang.Object ref = keyName_; 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(); keyName_ = s; return s; } } /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ @java.lang.Override public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NONCE_FIELD_NUMBER = 5; private com.google.protobuf.ByteString nonce_; /** *
     * Nonce / initialization vector.
     * Ignored with asymmetric ciphers.
     * 
* * bytes nonce = 5; * @return The nonce. */ @java.lang.Override public com.google.protobuf.ByteString getNonce() { return nonce_; } public static final int ASSOCIATED_DATA_FIELD_NUMBER = 6; private com.google.protobuf.ByteString associatedData_; /** *
     * Associated Data when using AEAD ciphers (optional).
     * 
* * bytes associated_data = 6 [json_name = "associatedData"]; * @return The associatedData. */ @java.lang.Override public com.google.protobuf.ByteString getAssociatedData() { return associatedData_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, componentName_); } if (!plaintext_.isEmpty()) { output.writeBytes(2, plaintext_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(algorithm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, algorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, keyName_); } if (!nonce_.isEmpty()) { output.writeBytes(5, nonce_); } if (!associatedData_.isEmpty()) { output.writeBytes(6, associatedData_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, componentName_); } if (!plaintext_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, plaintext_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(algorithm_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, algorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, keyName_); } if (!nonce_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, nonce_); } if (!associatedData_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, associatedData_); } 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.SubtleEncryptRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleEncryptRequest other = (io.dapr.v1.DaprProtos.SubtleEncryptRequest) obj; if (!getComponentName() .equals(other.getComponentName())) return false; if (!getPlaintext() .equals(other.getPlaintext())) return false; if (!getAlgorithm() .equals(other.getAlgorithm())) return false; if (!getKeyName() .equals(other.getKeyName())) return false; if (!getNonce() .equals(other.getNonce())) return false; if (!getAssociatedData() .equals(other.getAssociatedData())) 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) + COMPONENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getComponentName().hashCode(); hash = (37 * hash) + PLAINTEXT_FIELD_NUMBER; hash = (53 * hash) + getPlaintext().hashCode(); hash = (37 * hash) + ALGORITHM_FIELD_NUMBER; hash = (53 * hash) + getAlgorithm().hashCode(); hash = (37 * hash) + KEY_NAME_FIELD_NUMBER; hash = (53 * hash) + getKeyName().hashCode(); hash = (37 * hash) + NONCE_FIELD_NUMBER; hash = (53 * hash) + getNonce().hashCode(); hash = (37 * hash) + ASSOCIATED_DATA_FIELD_NUMBER; hash = (53 * hash) + getAssociatedData().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleEncryptRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleEncryptRequest 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.SubtleEncryptRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleEncryptRequest 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.SubtleEncryptRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleEncryptRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleEncryptRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleEncryptRequest 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.SubtleEncryptRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleEncryptRequest 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.SubtleEncryptRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleEncryptRequest 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.SubtleEncryptRequest 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; } /** *
     * SubtleEncryptRequest is the request for SubtleEncryptAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleEncryptRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleEncryptRequest) io.dapr.v1.DaprProtos.SubtleEncryptRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleEncryptRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleEncryptRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleEncryptRequest.class, io.dapr.v1.DaprProtos.SubtleEncryptRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleEncryptRequest.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(); componentName_ = ""; plaintext_ = com.google.protobuf.ByteString.EMPTY; algorithm_ = ""; keyName_ = ""; nonce_ = com.google.protobuf.ByteString.EMPTY; associatedData_ = 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_SubtleEncryptRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleEncryptRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleEncryptRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleEncryptRequest build() { io.dapr.v1.DaprProtos.SubtleEncryptRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleEncryptRequest buildPartial() { io.dapr.v1.DaprProtos.SubtleEncryptRequest result = new io.dapr.v1.DaprProtos.SubtleEncryptRequest(this); result.componentName_ = componentName_; result.plaintext_ = plaintext_; result.algorithm_ = algorithm_; result.keyName_ = keyName_; result.nonce_ = nonce_; result.associatedData_ = associatedData_; 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.SubtleEncryptRequest) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleEncryptRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleEncryptRequest other) { if (other == io.dapr.v1.DaprProtos.SubtleEncryptRequest.getDefaultInstance()) return this; if (!other.getComponentName().isEmpty()) { componentName_ = other.componentName_; onChanged(); } if (other.getPlaintext() != com.google.protobuf.ByteString.EMPTY) { setPlaintext(other.getPlaintext()); } if (!other.getAlgorithm().isEmpty()) { algorithm_ = other.algorithm_; onChanged(); } if (!other.getKeyName().isEmpty()) { keyName_ = other.keyName_; onChanged(); } if (other.getNonce() != com.google.protobuf.ByteString.EMPTY) { setNonce(other.getNonce()); } if (other.getAssociatedData() != com.google.protobuf.ByteString.EMPTY) { setAssociatedData(other.getAssociatedData()); } 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.SubtleEncryptRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleEncryptRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object componentName_ = ""; /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ public java.lang.String getComponentName() { java.lang.Object ref = componentName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The componentName to set. * @return This builder for chaining. */ public Builder setComponentName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } componentName_ = value; onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return This builder for chaining. */ public Builder clearComponentName() { componentName_ = getDefaultInstance().getComponentName(); onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The bytes for componentName to set. * @return This builder for chaining. */ public Builder setComponentNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); componentName_ = value; onChanged(); return this; } private com.google.protobuf.ByteString plaintext_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Message to encrypt.
       * 
* * bytes plaintext = 2; * @return The plaintext. */ @java.lang.Override public com.google.protobuf.ByteString getPlaintext() { return plaintext_; } /** *
       * Message to encrypt.
       * 
* * bytes plaintext = 2; * @param value The plaintext to set. * @return This builder for chaining. */ public Builder setPlaintext(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } plaintext_ = value; onChanged(); return this; } /** *
       * Message to encrypt.
       * 
* * bytes plaintext = 2; * @return This builder for chaining. */ public Builder clearPlaintext() { plaintext_ = getDefaultInstance().getPlaintext(); onChanged(); return this; } private java.lang.Object algorithm_ = ""; /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return The algorithm. */ public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); algorithm_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return The bytes for algorithm. */ public com.google.protobuf.ByteString getAlgorithmBytes() { java.lang.Object ref = algorithm_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); algorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @param value The algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } algorithm_ = value; onChanged(); return this; } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return This builder for chaining. */ public Builder clearAlgorithm() { algorithm_ = getDefaultInstance().getAlgorithm(); onChanged(); return this; } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @param value The bytes for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); algorithm_ = value; onChanged(); return this; } private java.lang.Object keyName_ = ""; /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @param value The keyName to set. * @return This builder for chaining. */ public Builder setKeyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyName_ = value; onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return This builder for chaining. */ public Builder clearKeyName() { keyName_ = getDefaultInstance().getKeyName(); onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @param value The bytes for keyName to set. * @return This builder for chaining. */ public Builder setKeyNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyName_ = value; onChanged(); return this; } private com.google.protobuf.ByteString nonce_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Nonce / initialization vector.
       * Ignored with asymmetric ciphers.
       * 
* * bytes nonce = 5; * @return The nonce. */ @java.lang.Override public com.google.protobuf.ByteString getNonce() { return nonce_; } /** *
       * Nonce / initialization vector.
       * Ignored with asymmetric ciphers.
       * 
* * bytes nonce = 5; * @param value The nonce to set. * @return This builder for chaining. */ public Builder setNonce(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } nonce_ = value; onChanged(); return this; } /** *
       * Nonce / initialization vector.
       * Ignored with asymmetric ciphers.
       * 
* * bytes nonce = 5; * @return This builder for chaining. */ public Builder clearNonce() { nonce_ = getDefaultInstance().getNonce(); onChanged(); return this; } private com.google.protobuf.ByteString associatedData_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Associated Data when using AEAD ciphers (optional).
       * 
* * bytes associated_data = 6 [json_name = "associatedData"]; * @return The associatedData. */ @java.lang.Override public com.google.protobuf.ByteString getAssociatedData() { return associatedData_; } /** *
       * Associated Data when using AEAD ciphers (optional).
       * 
* * bytes associated_data = 6 [json_name = "associatedData"]; * @param value The associatedData to set. * @return This builder for chaining. */ public Builder setAssociatedData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } associatedData_ = value; onChanged(); return this; } /** *
       * Associated Data when using AEAD ciphers (optional).
       * 
* * bytes associated_data = 6 [json_name = "associatedData"]; * @return This builder for chaining. */ public Builder clearAssociatedData() { associatedData_ = getDefaultInstance().getAssociatedData(); 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.SubtleEncryptRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleEncryptRequest) private static final io.dapr.v1.DaprProtos.SubtleEncryptRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleEncryptRequest(); } public static io.dapr.v1.DaprProtos.SubtleEncryptRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleEncryptRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleEncryptRequest(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.SubtleEncryptRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleEncryptResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleEncryptResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Encrypted ciphertext.
     * 
* * bytes ciphertext = 1; * @return The ciphertext. */ com.google.protobuf.ByteString getCiphertext(); /** *
     * Authentication tag.
     * This is nil when not using an authenticated cipher.
     * 
* * bytes tag = 2; * @return The tag. */ com.google.protobuf.ByteString getTag(); } /** *
   * SubtleEncryptResponse is the response for SubtleEncryptAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleEncryptResponse} */ public static final class SubtleEncryptResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleEncryptResponse) SubtleEncryptResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleEncryptResponse.newBuilder() to construct. private SubtleEncryptResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleEncryptResponse() { ciphertext_ = com.google.protobuf.ByteString.EMPTY; tag_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleEncryptResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleEncryptResponse( 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: { ciphertext_ = input.readBytes(); break; } case 18: { tag_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleEncryptResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleEncryptResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleEncryptResponse.class, io.dapr.v1.DaprProtos.SubtleEncryptResponse.Builder.class); } public static final int CIPHERTEXT_FIELD_NUMBER = 1; private com.google.protobuf.ByteString ciphertext_; /** *
     * Encrypted ciphertext.
     * 
* * bytes ciphertext = 1; * @return The ciphertext. */ @java.lang.Override public com.google.protobuf.ByteString getCiphertext() { return ciphertext_; } public static final int TAG_FIELD_NUMBER = 2; private com.google.protobuf.ByteString tag_; /** *
     * Authentication tag.
     * This is nil when not using an authenticated cipher.
     * 
* * bytes tag = 2; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } 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 (!ciphertext_.isEmpty()) { output.writeBytes(1, ciphertext_); } if (!tag_.isEmpty()) { output.writeBytes(2, tag_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!ciphertext_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, ciphertext_); } if (!tag_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, tag_); } 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.SubtleEncryptResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleEncryptResponse other = (io.dapr.v1.DaprProtos.SubtleEncryptResponse) obj; if (!getCiphertext() .equals(other.getCiphertext())) return false; if (!getTag() .equals(other.getTag())) 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) + CIPHERTEXT_FIELD_NUMBER; hash = (53 * hash) + getCiphertext().hashCode(); hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleEncryptResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleEncryptResponse 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.SubtleEncryptResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleEncryptResponse 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.SubtleEncryptResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleEncryptResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleEncryptResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleEncryptResponse 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.SubtleEncryptResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleEncryptResponse 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.SubtleEncryptResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleEncryptResponse 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.SubtleEncryptResponse 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; } /** *
     * SubtleEncryptResponse is the response for SubtleEncryptAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleEncryptResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleEncryptResponse) io.dapr.v1.DaprProtos.SubtleEncryptResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleEncryptResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleEncryptResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleEncryptResponse.class, io.dapr.v1.DaprProtos.SubtleEncryptResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleEncryptResponse.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(); ciphertext_ = com.google.protobuf.ByteString.EMPTY; tag_ = 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_SubtleEncryptResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleEncryptResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleEncryptResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleEncryptResponse build() { io.dapr.v1.DaprProtos.SubtleEncryptResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleEncryptResponse buildPartial() { io.dapr.v1.DaprProtos.SubtleEncryptResponse result = new io.dapr.v1.DaprProtos.SubtleEncryptResponse(this); result.ciphertext_ = ciphertext_; result.tag_ = tag_; 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.SubtleEncryptResponse) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleEncryptResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleEncryptResponse other) { if (other == io.dapr.v1.DaprProtos.SubtleEncryptResponse.getDefaultInstance()) return this; if (other.getCiphertext() != com.google.protobuf.ByteString.EMPTY) { setCiphertext(other.getCiphertext()); } if (other.getTag() != com.google.protobuf.ByteString.EMPTY) { setTag(other.getTag()); } 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.SubtleEncryptResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleEncryptResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString ciphertext_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Encrypted ciphertext.
       * 
* * bytes ciphertext = 1; * @return The ciphertext. */ @java.lang.Override public com.google.protobuf.ByteString getCiphertext() { return ciphertext_; } /** *
       * Encrypted ciphertext.
       * 
* * bytes ciphertext = 1; * @param value The ciphertext to set. * @return This builder for chaining. */ public Builder setCiphertext(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ciphertext_ = value; onChanged(); return this; } /** *
       * Encrypted ciphertext.
       * 
* * bytes ciphertext = 1; * @return This builder for chaining. */ public Builder clearCiphertext() { ciphertext_ = getDefaultInstance().getCiphertext(); onChanged(); return this; } private com.google.protobuf.ByteString tag_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Authentication tag.
       * This is nil when not using an authenticated cipher.
       * 
* * bytes tag = 2; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } /** *
       * Authentication tag.
       * This is nil when not using an authenticated cipher.
       * 
* * bytes tag = 2; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } tag_ = value; onChanged(); return this; } /** *
       * Authentication tag.
       * This is nil when not using an authenticated cipher.
       * 
* * bytes tag = 2; * @return This builder for chaining. */ public Builder clearTag() { tag_ = getDefaultInstance().getTag(); 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.SubtleEncryptResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleEncryptResponse) private static final io.dapr.v1.DaprProtos.SubtleEncryptResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleEncryptResponse(); } public static io.dapr.v1.DaprProtos.SubtleEncryptResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleEncryptResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleEncryptResponse(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.SubtleEncryptResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleDecryptRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleDecryptRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ java.lang.String getComponentName(); /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ com.google.protobuf.ByteString getComponentNameBytes(); /** *
     * Message to decrypt.
     * 
* * bytes ciphertext = 2; * @return The ciphertext. */ com.google.protobuf.ByteString getCiphertext(); /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The algorithm. */ java.lang.String getAlgorithm(); /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The bytes for algorithm. */ com.google.protobuf.ByteString getAlgorithmBytes(); /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ java.lang.String getKeyName(); /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ com.google.protobuf.ByteString getKeyNameBytes(); /** *
     * Nonce / initialization vector.
     * Ignored with asymmetric ciphers.
     * 
* * bytes nonce = 5; * @return The nonce. */ com.google.protobuf.ByteString getNonce(); /** *
     * Authentication tag.
     * This is nil when not using an authenticated cipher.
     * 
* * bytes tag = 6; * @return The tag. */ com.google.protobuf.ByteString getTag(); /** *
     * Associated Data when using AEAD ciphers (optional).
     * 
* * bytes associated_data = 7 [json_name = "associatedData"]; * @return The associatedData. */ com.google.protobuf.ByteString getAssociatedData(); } /** *
   * SubtleDecryptRequest is the request for SubtleDecryptAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleDecryptRequest} */ public static final class SubtleDecryptRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleDecryptRequest) SubtleDecryptRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleDecryptRequest.newBuilder() to construct. private SubtleDecryptRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleDecryptRequest() { componentName_ = ""; ciphertext_ = com.google.protobuf.ByteString.EMPTY; algorithm_ = ""; keyName_ = ""; nonce_ = com.google.protobuf.ByteString.EMPTY; tag_ = com.google.protobuf.ByteString.EMPTY; associatedData_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleDecryptRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleDecryptRequest( 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(); componentName_ = s; break; } case 18: { ciphertext_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); algorithm_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); keyName_ = s; break; } case 42: { nonce_ = input.readBytes(); break; } case 50: { tag_ = input.readBytes(); break; } case 58: { associatedData_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleDecryptRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleDecryptRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleDecryptRequest.class, io.dapr.v1.DaprProtos.SubtleDecryptRequest.Builder.class); } public static final int COMPONENT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object componentName_; /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ @java.lang.Override public java.lang.String getComponentName() { java.lang.Object ref = componentName_; 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(); componentName_ = s; return s; } } /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ @java.lang.Override public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CIPHERTEXT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString ciphertext_; /** *
     * Message to decrypt.
     * 
* * bytes ciphertext = 2; * @return The ciphertext. */ @java.lang.Override public com.google.protobuf.ByteString getCiphertext() { return ciphertext_; } public static final int ALGORITHM_FIELD_NUMBER = 3; private volatile java.lang.Object algorithm_; /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The algorithm. */ @java.lang.Override public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; 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(); algorithm_ = s; return s; } } /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The bytes for algorithm. */ @java.lang.Override public com.google.protobuf.ByteString getAlgorithmBytes() { java.lang.Object ref = algorithm_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); algorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object keyName_; /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ @java.lang.Override public java.lang.String getKeyName() { java.lang.Object ref = keyName_; 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(); keyName_ = s; return s; } } /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ @java.lang.Override public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NONCE_FIELD_NUMBER = 5; private com.google.protobuf.ByteString nonce_; /** *
     * Nonce / initialization vector.
     * Ignored with asymmetric ciphers.
     * 
* * bytes nonce = 5; * @return The nonce. */ @java.lang.Override public com.google.protobuf.ByteString getNonce() { return nonce_; } public static final int TAG_FIELD_NUMBER = 6; private com.google.protobuf.ByteString tag_; /** *
     * Authentication tag.
     * This is nil when not using an authenticated cipher.
     * 
* * bytes tag = 6; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } public static final int ASSOCIATED_DATA_FIELD_NUMBER = 7; private com.google.protobuf.ByteString associatedData_; /** *
     * Associated Data when using AEAD ciphers (optional).
     * 
* * bytes associated_data = 7 [json_name = "associatedData"]; * @return The associatedData. */ @java.lang.Override public com.google.protobuf.ByteString getAssociatedData() { return associatedData_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, componentName_); } if (!ciphertext_.isEmpty()) { output.writeBytes(2, ciphertext_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(algorithm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, algorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, keyName_); } if (!nonce_.isEmpty()) { output.writeBytes(5, nonce_); } if (!tag_.isEmpty()) { output.writeBytes(6, tag_); } if (!associatedData_.isEmpty()) { output.writeBytes(7, associatedData_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, componentName_); } if (!ciphertext_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, ciphertext_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(algorithm_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, algorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, keyName_); } if (!nonce_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, nonce_); } if (!tag_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, tag_); } if (!associatedData_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, associatedData_); } 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.SubtleDecryptRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleDecryptRequest other = (io.dapr.v1.DaprProtos.SubtleDecryptRequest) obj; if (!getComponentName() .equals(other.getComponentName())) return false; if (!getCiphertext() .equals(other.getCiphertext())) return false; if (!getAlgorithm() .equals(other.getAlgorithm())) return false; if (!getKeyName() .equals(other.getKeyName())) return false; if (!getNonce() .equals(other.getNonce())) return false; if (!getTag() .equals(other.getTag())) return false; if (!getAssociatedData() .equals(other.getAssociatedData())) 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) + COMPONENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getComponentName().hashCode(); hash = (37 * hash) + CIPHERTEXT_FIELD_NUMBER; hash = (53 * hash) + getCiphertext().hashCode(); hash = (37 * hash) + ALGORITHM_FIELD_NUMBER; hash = (53 * hash) + getAlgorithm().hashCode(); hash = (37 * hash) + KEY_NAME_FIELD_NUMBER; hash = (53 * hash) + getKeyName().hashCode(); hash = (37 * hash) + NONCE_FIELD_NUMBER; hash = (53 * hash) + getNonce().hashCode(); hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); hash = (37 * hash) + ASSOCIATED_DATA_FIELD_NUMBER; hash = (53 * hash) + getAssociatedData().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleDecryptRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleDecryptRequest 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.SubtleDecryptRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleDecryptRequest 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.SubtleDecryptRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleDecryptRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleDecryptRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleDecryptRequest 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.SubtleDecryptRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleDecryptRequest 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.SubtleDecryptRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleDecryptRequest 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.SubtleDecryptRequest 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; } /** *
     * SubtleDecryptRequest is the request for SubtleDecryptAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleDecryptRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleDecryptRequest) io.dapr.v1.DaprProtos.SubtleDecryptRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleDecryptRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleDecryptRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleDecryptRequest.class, io.dapr.v1.DaprProtos.SubtleDecryptRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleDecryptRequest.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(); componentName_ = ""; ciphertext_ = com.google.protobuf.ByteString.EMPTY; algorithm_ = ""; keyName_ = ""; nonce_ = com.google.protobuf.ByteString.EMPTY; tag_ = com.google.protobuf.ByteString.EMPTY; associatedData_ = 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_SubtleDecryptRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleDecryptRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleDecryptRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleDecryptRequest build() { io.dapr.v1.DaprProtos.SubtleDecryptRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleDecryptRequest buildPartial() { io.dapr.v1.DaprProtos.SubtleDecryptRequest result = new io.dapr.v1.DaprProtos.SubtleDecryptRequest(this); result.componentName_ = componentName_; result.ciphertext_ = ciphertext_; result.algorithm_ = algorithm_; result.keyName_ = keyName_; result.nonce_ = nonce_; result.tag_ = tag_; result.associatedData_ = associatedData_; 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.SubtleDecryptRequest) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleDecryptRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleDecryptRequest other) { if (other == io.dapr.v1.DaprProtos.SubtleDecryptRequest.getDefaultInstance()) return this; if (!other.getComponentName().isEmpty()) { componentName_ = other.componentName_; onChanged(); } if (other.getCiphertext() != com.google.protobuf.ByteString.EMPTY) { setCiphertext(other.getCiphertext()); } if (!other.getAlgorithm().isEmpty()) { algorithm_ = other.algorithm_; onChanged(); } if (!other.getKeyName().isEmpty()) { keyName_ = other.keyName_; onChanged(); } if (other.getNonce() != com.google.protobuf.ByteString.EMPTY) { setNonce(other.getNonce()); } if (other.getTag() != com.google.protobuf.ByteString.EMPTY) { setTag(other.getTag()); } if (other.getAssociatedData() != com.google.protobuf.ByteString.EMPTY) { setAssociatedData(other.getAssociatedData()); } 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.SubtleDecryptRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleDecryptRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object componentName_ = ""; /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ public java.lang.String getComponentName() { java.lang.Object ref = componentName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The componentName to set. * @return This builder for chaining. */ public Builder setComponentName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } componentName_ = value; onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return This builder for chaining. */ public Builder clearComponentName() { componentName_ = getDefaultInstance().getComponentName(); onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The bytes for componentName to set. * @return This builder for chaining. */ public Builder setComponentNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); componentName_ = value; onChanged(); return this; } private com.google.protobuf.ByteString ciphertext_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Message to decrypt.
       * 
* * bytes ciphertext = 2; * @return The ciphertext. */ @java.lang.Override public com.google.protobuf.ByteString getCiphertext() { return ciphertext_; } /** *
       * Message to decrypt.
       * 
* * bytes ciphertext = 2; * @param value The ciphertext to set. * @return This builder for chaining. */ public Builder setCiphertext(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ciphertext_ = value; onChanged(); return this; } /** *
       * Message to decrypt.
       * 
* * bytes ciphertext = 2; * @return This builder for chaining. */ public Builder clearCiphertext() { ciphertext_ = getDefaultInstance().getCiphertext(); onChanged(); return this; } private java.lang.Object algorithm_ = ""; /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return The algorithm. */ public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); algorithm_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return The bytes for algorithm. */ public com.google.protobuf.ByteString getAlgorithmBytes() { java.lang.Object ref = algorithm_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); algorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @param value The algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } algorithm_ = value; onChanged(); return this; } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return This builder for chaining. */ public Builder clearAlgorithm() { algorithm_ = getDefaultInstance().getAlgorithm(); onChanged(); return this; } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @param value The bytes for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); algorithm_ = value; onChanged(); return this; } private java.lang.Object keyName_ = ""; /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @param value The keyName to set. * @return This builder for chaining. */ public Builder setKeyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyName_ = value; onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return This builder for chaining. */ public Builder clearKeyName() { keyName_ = getDefaultInstance().getKeyName(); onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @param value The bytes for keyName to set. * @return This builder for chaining. */ public Builder setKeyNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyName_ = value; onChanged(); return this; } private com.google.protobuf.ByteString nonce_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Nonce / initialization vector.
       * Ignored with asymmetric ciphers.
       * 
* * bytes nonce = 5; * @return The nonce. */ @java.lang.Override public com.google.protobuf.ByteString getNonce() { return nonce_; } /** *
       * Nonce / initialization vector.
       * Ignored with asymmetric ciphers.
       * 
* * bytes nonce = 5; * @param value The nonce to set. * @return This builder for chaining. */ public Builder setNonce(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } nonce_ = value; onChanged(); return this; } /** *
       * Nonce / initialization vector.
       * Ignored with asymmetric ciphers.
       * 
* * bytes nonce = 5; * @return This builder for chaining. */ public Builder clearNonce() { nonce_ = getDefaultInstance().getNonce(); onChanged(); return this; } private com.google.protobuf.ByteString tag_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Authentication tag.
       * This is nil when not using an authenticated cipher.
       * 
* * bytes tag = 6; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } /** *
       * Authentication tag.
       * This is nil when not using an authenticated cipher.
       * 
* * bytes tag = 6; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } tag_ = value; onChanged(); return this; } /** *
       * Authentication tag.
       * This is nil when not using an authenticated cipher.
       * 
* * bytes tag = 6; * @return This builder for chaining. */ public Builder clearTag() { tag_ = getDefaultInstance().getTag(); onChanged(); return this; } private com.google.protobuf.ByteString associatedData_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Associated Data when using AEAD ciphers (optional).
       * 
* * bytes associated_data = 7 [json_name = "associatedData"]; * @return The associatedData. */ @java.lang.Override public com.google.protobuf.ByteString getAssociatedData() { return associatedData_; } /** *
       * Associated Data when using AEAD ciphers (optional).
       * 
* * bytes associated_data = 7 [json_name = "associatedData"]; * @param value The associatedData to set. * @return This builder for chaining. */ public Builder setAssociatedData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } associatedData_ = value; onChanged(); return this; } /** *
       * Associated Data when using AEAD ciphers (optional).
       * 
* * bytes associated_data = 7 [json_name = "associatedData"]; * @return This builder for chaining. */ public Builder clearAssociatedData() { associatedData_ = getDefaultInstance().getAssociatedData(); 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.SubtleDecryptRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleDecryptRequest) private static final io.dapr.v1.DaprProtos.SubtleDecryptRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleDecryptRequest(); } public static io.dapr.v1.DaprProtos.SubtleDecryptRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleDecryptRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleDecryptRequest(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.SubtleDecryptRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleDecryptResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleDecryptResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Decrypted plaintext.
     * 
* * bytes plaintext = 1; * @return The plaintext. */ com.google.protobuf.ByteString getPlaintext(); } /** *
   * SubtleDecryptResponse is the response for SubtleDecryptAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleDecryptResponse} */ public static final class SubtleDecryptResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleDecryptResponse) SubtleDecryptResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleDecryptResponse.newBuilder() to construct. private SubtleDecryptResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleDecryptResponse() { plaintext_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleDecryptResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleDecryptResponse( 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: { plaintext_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleDecryptResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleDecryptResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleDecryptResponse.class, io.dapr.v1.DaprProtos.SubtleDecryptResponse.Builder.class); } public static final int PLAINTEXT_FIELD_NUMBER = 1; private com.google.protobuf.ByteString plaintext_; /** *
     * Decrypted plaintext.
     * 
* * bytes plaintext = 1; * @return The plaintext. */ @java.lang.Override public com.google.protobuf.ByteString getPlaintext() { return plaintext_; } 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 (!plaintext_.isEmpty()) { output.writeBytes(1, plaintext_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!plaintext_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, plaintext_); } 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.SubtleDecryptResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleDecryptResponse other = (io.dapr.v1.DaprProtos.SubtleDecryptResponse) obj; if (!getPlaintext() .equals(other.getPlaintext())) 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) + PLAINTEXT_FIELD_NUMBER; hash = (53 * hash) + getPlaintext().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleDecryptResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleDecryptResponse 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.SubtleDecryptResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleDecryptResponse 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.SubtleDecryptResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleDecryptResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleDecryptResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleDecryptResponse 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.SubtleDecryptResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleDecryptResponse 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.SubtleDecryptResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleDecryptResponse 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.SubtleDecryptResponse 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; } /** *
     * SubtleDecryptResponse is the response for SubtleDecryptAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleDecryptResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleDecryptResponse) io.dapr.v1.DaprProtos.SubtleDecryptResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleDecryptResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleDecryptResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleDecryptResponse.class, io.dapr.v1.DaprProtos.SubtleDecryptResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleDecryptResponse.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(); plaintext_ = 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_SubtleDecryptResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleDecryptResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleDecryptResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleDecryptResponse build() { io.dapr.v1.DaprProtos.SubtleDecryptResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleDecryptResponse buildPartial() { io.dapr.v1.DaprProtos.SubtleDecryptResponse result = new io.dapr.v1.DaprProtos.SubtleDecryptResponse(this); result.plaintext_ = plaintext_; 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.SubtleDecryptResponse) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleDecryptResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleDecryptResponse other) { if (other == io.dapr.v1.DaprProtos.SubtleDecryptResponse.getDefaultInstance()) return this; if (other.getPlaintext() != com.google.protobuf.ByteString.EMPTY) { setPlaintext(other.getPlaintext()); } 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.SubtleDecryptResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleDecryptResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString plaintext_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Decrypted plaintext.
       * 
* * bytes plaintext = 1; * @return The plaintext. */ @java.lang.Override public com.google.protobuf.ByteString getPlaintext() { return plaintext_; } /** *
       * Decrypted plaintext.
       * 
* * bytes plaintext = 1; * @param value The plaintext to set. * @return This builder for chaining. */ public Builder setPlaintext(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } plaintext_ = value; onChanged(); return this; } /** *
       * Decrypted plaintext.
       * 
* * bytes plaintext = 1; * @return This builder for chaining. */ public Builder clearPlaintext() { plaintext_ = getDefaultInstance().getPlaintext(); 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.SubtleDecryptResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleDecryptResponse) private static final io.dapr.v1.DaprProtos.SubtleDecryptResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleDecryptResponse(); } public static io.dapr.v1.DaprProtos.SubtleDecryptResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleDecryptResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleDecryptResponse(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.SubtleDecryptResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleWrapKeyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleWrapKeyRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ java.lang.String getComponentName(); /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ com.google.protobuf.ByteString getComponentNameBytes(); /** *
     * Key to wrap
     * 
* * bytes plaintext_key = 2 [json_name = "plaintextKey"]; * @return The plaintextKey. */ com.google.protobuf.ByteString getPlaintextKey(); /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The algorithm. */ java.lang.String getAlgorithm(); /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The bytes for algorithm. */ com.google.protobuf.ByteString getAlgorithmBytes(); /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ java.lang.String getKeyName(); /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ com.google.protobuf.ByteString getKeyNameBytes(); /** *
     * Nonce / initialization vector.
     * Ignored with asymmetric ciphers.
     * 
* * bytes nonce = 5; * @return The nonce. */ com.google.protobuf.ByteString getNonce(); /** *
     * Associated Data when using AEAD ciphers (optional).
     * 
* * bytes associated_data = 6 [json_name = "associatedData"]; * @return The associatedData. */ com.google.protobuf.ByteString getAssociatedData(); } /** *
   * SubtleWrapKeyRequest is the request for SubtleWrapKeyAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleWrapKeyRequest} */ public static final class SubtleWrapKeyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleWrapKeyRequest) SubtleWrapKeyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleWrapKeyRequest.newBuilder() to construct. private SubtleWrapKeyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleWrapKeyRequest() { componentName_ = ""; plaintextKey_ = com.google.protobuf.ByteString.EMPTY; algorithm_ = ""; keyName_ = ""; nonce_ = com.google.protobuf.ByteString.EMPTY; associatedData_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleWrapKeyRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleWrapKeyRequest( 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(); componentName_ = s; break; } case 18: { plaintextKey_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); algorithm_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); keyName_ = s; break; } case 42: { nonce_ = input.readBytes(); break; } case 50: { associatedData_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleWrapKeyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleWrapKeyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleWrapKeyRequest.class, io.dapr.v1.DaprProtos.SubtleWrapKeyRequest.Builder.class); } public static final int COMPONENT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object componentName_; /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ @java.lang.Override public java.lang.String getComponentName() { java.lang.Object ref = componentName_; 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(); componentName_ = s; return s; } } /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ @java.lang.Override public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PLAINTEXT_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString plaintextKey_; /** *
     * Key to wrap
     * 
* * bytes plaintext_key = 2 [json_name = "plaintextKey"]; * @return The plaintextKey. */ @java.lang.Override public com.google.protobuf.ByteString getPlaintextKey() { return plaintextKey_; } public static final int ALGORITHM_FIELD_NUMBER = 3; private volatile java.lang.Object algorithm_; /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The algorithm. */ @java.lang.Override public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; 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(); algorithm_ = s; return s; } } /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The bytes for algorithm. */ @java.lang.Override public com.google.protobuf.ByteString getAlgorithmBytes() { java.lang.Object ref = algorithm_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); algorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object keyName_; /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ @java.lang.Override public java.lang.String getKeyName() { java.lang.Object ref = keyName_; 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(); keyName_ = s; return s; } } /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ @java.lang.Override public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NONCE_FIELD_NUMBER = 5; private com.google.protobuf.ByteString nonce_; /** *
     * Nonce / initialization vector.
     * Ignored with asymmetric ciphers.
     * 
* * bytes nonce = 5; * @return The nonce. */ @java.lang.Override public com.google.protobuf.ByteString getNonce() { return nonce_; } public static final int ASSOCIATED_DATA_FIELD_NUMBER = 6; private com.google.protobuf.ByteString associatedData_; /** *
     * Associated Data when using AEAD ciphers (optional).
     * 
* * bytes associated_data = 6 [json_name = "associatedData"]; * @return The associatedData. */ @java.lang.Override public com.google.protobuf.ByteString getAssociatedData() { return associatedData_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, componentName_); } if (!plaintextKey_.isEmpty()) { output.writeBytes(2, plaintextKey_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(algorithm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, algorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, keyName_); } if (!nonce_.isEmpty()) { output.writeBytes(5, nonce_); } if (!associatedData_.isEmpty()) { output.writeBytes(6, associatedData_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, componentName_); } if (!plaintextKey_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, plaintextKey_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(algorithm_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, algorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, keyName_); } if (!nonce_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, nonce_); } if (!associatedData_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, associatedData_); } 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.SubtleWrapKeyRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleWrapKeyRequest other = (io.dapr.v1.DaprProtos.SubtleWrapKeyRequest) obj; if (!getComponentName() .equals(other.getComponentName())) return false; if (!getPlaintextKey() .equals(other.getPlaintextKey())) return false; if (!getAlgorithm() .equals(other.getAlgorithm())) return false; if (!getKeyName() .equals(other.getKeyName())) return false; if (!getNonce() .equals(other.getNonce())) return false; if (!getAssociatedData() .equals(other.getAssociatedData())) 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) + COMPONENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getComponentName().hashCode(); hash = (37 * hash) + PLAINTEXT_KEY_FIELD_NUMBER; hash = (53 * hash) + getPlaintextKey().hashCode(); hash = (37 * hash) + ALGORITHM_FIELD_NUMBER; hash = (53 * hash) + getAlgorithm().hashCode(); hash = (37 * hash) + KEY_NAME_FIELD_NUMBER; hash = (53 * hash) + getKeyName().hashCode(); hash = (37 * hash) + NONCE_FIELD_NUMBER; hash = (53 * hash) + getNonce().hashCode(); hash = (37 * hash) + ASSOCIATED_DATA_FIELD_NUMBER; hash = (53 * hash) + getAssociatedData().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleWrapKeyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyRequest 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.SubtleWrapKeyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyRequest 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.SubtleWrapKeyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyRequest 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.SubtleWrapKeyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyRequest 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.SubtleWrapKeyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyRequest 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.SubtleWrapKeyRequest 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; } /** *
     * SubtleWrapKeyRequest is the request for SubtleWrapKeyAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleWrapKeyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleWrapKeyRequest) io.dapr.v1.DaprProtos.SubtleWrapKeyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleWrapKeyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleWrapKeyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleWrapKeyRequest.class, io.dapr.v1.DaprProtos.SubtleWrapKeyRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleWrapKeyRequest.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(); componentName_ = ""; plaintextKey_ = com.google.protobuf.ByteString.EMPTY; algorithm_ = ""; keyName_ = ""; nonce_ = com.google.protobuf.ByteString.EMPTY; associatedData_ = 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_SubtleWrapKeyRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleWrapKeyRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleWrapKeyRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleWrapKeyRequest build() { io.dapr.v1.DaprProtos.SubtleWrapKeyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleWrapKeyRequest buildPartial() { io.dapr.v1.DaprProtos.SubtleWrapKeyRequest result = new io.dapr.v1.DaprProtos.SubtleWrapKeyRequest(this); result.componentName_ = componentName_; result.plaintextKey_ = plaintextKey_; result.algorithm_ = algorithm_; result.keyName_ = keyName_; result.nonce_ = nonce_; result.associatedData_ = associatedData_; 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.SubtleWrapKeyRequest) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleWrapKeyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleWrapKeyRequest other) { if (other == io.dapr.v1.DaprProtos.SubtleWrapKeyRequest.getDefaultInstance()) return this; if (!other.getComponentName().isEmpty()) { componentName_ = other.componentName_; onChanged(); } if (other.getPlaintextKey() != com.google.protobuf.ByteString.EMPTY) { setPlaintextKey(other.getPlaintextKey()); } if (!other.getAlgorithm().isEmpty()) { algorithm_ = other.algorithm_; onChanged(); } if (!other.getKeyName().isEmpty()) { keyName_ = other.keyName_; onChanged(); } if (other.getNonce() != com.google.protobuf.ByteString.EMPTY) { setNonce(other.getNonce()); } if (other.getAssociatedData() != com.google.protobuf.ByteString.EMPTY) { setAssociatedData(other.getAssociatedData()); } 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.SubtleWrapKeyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleWrapKeyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object componentName_ = ""; /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ public java.lang.String getComponentName() { java.lang.Object ref = componentName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The componentName to set. * @return This builder for chaining. */ public Builder setComponentName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } componentName_ = value; onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return This builder for chaining. */ public Builder clearComponentName() { componentName_ = getDefaultInstance().getComponentName(); onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The bytes for componentName to set. * @return This builder for chaining. */ public Builder setComponentNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); componentName_ = value; onChanged(); return this; } private com.google.protobuf.ByteString plaintextKey_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Key to wrap
       * 
* * bytes plaintext_key = 2 [json_name = "plaintextKey"]; * @return The plaintextKey. */ @java.lang.Override public com.google.protobuf.ByteString getPlaintextKey() { return plaintextKey_; } /** *
       * Key to wrap
       * 
* * bytes plaintext_key = 2 [json_name = "plaintextKey"]; * @param value The plaintextKey to set. * @return This builder for chaining. */ public Builder setPlaintextKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } plaintextKey_ = value; onChanged(); return this; } /** *
       * Key to wrap
       * 
* * bytes plaintext_key = 2 [json_name = "plaintextKey"]; * @return This builder for chaining. */ public Builder clearPlaintextKey() { plaintextKey_ = getDefaultInstance().getPlaintextKey(); onChanged(); return this; } private java.lang.Object algorithm_ = ""; /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return The algorithm. */ public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); algorithm_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return The bytes for algorithm. */ public com.google.protobuf.ByteString getAlgorithmBytes() { java.lang.Object ref = algorithm_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); algorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @param value The algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } algorithm_ = value; onChanged(); return this; } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return This builder for chaining. */ public Builder clearAlgorithm() { algorithm_ = getDefaultInstance().getAlgorithm(); onChanged(); return this; } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @param value The bytes for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); algorithm_ = value; onChanged(); return this; } private java.lang.Object keyName_ = ""; /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @param value The keyName to set. * @return This builder for chaining. */ public Builder setKeyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyName_ = value; onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return This builder for chaining. */ public Builder clearKeyName() { keyName_ = getDefaultInstance().getKeyName(); onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @param value The bytes for keyName to set. * @return This builder for chaining. */ public Builder setKeyNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyName_ = value; onChanged(); return this; } private com.google.protobuf.ByteString nonce_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Nonce / initialization vector.
       * Ignored with asymmetric ciphers.
       * 
* * bytes nonce = 5; * @return The nonce. */ @java.lang.Override public com.google.protobuf.ByteString getNonce() { return nonce_; } /** *
       * Nonce / initialization vector.
       * Ignored with asymmetric ciphers.
       * 
* * bytes nonce = 5; * @param value The nonce to set. * @return This builder for chaining. */ public Builder setNonce(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } nonce_ = value; onChanged(); return this; } /** *
       * Nonce / initialization vector.
       * Ignored with asymmetric ciphers.
       * 
* * bytes nonce = 5; * @return This builder for chaining. */ public Builder clearNonce() { nonce_ = getDefaultInstance().getNonce(); onChanged(); return this; } private com.google.protobuf.ByteString associatedData_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Associated Data when using AEAD ciphers (optional).
       * 
* * bytes associated_data = 6 [json_name = "associatedData"]; * @return The associatedData. */ @java.lang.Override public com.google.protobuf.ByteString getAssociatedData() { return associatedData_; } /** *
       * Associated Data when using AEAD ciphers (optional).
       * 
* * bytes associated_data = 6 [json_name = "associatedData"]; * @param value The associatedData to set. * @return This builder for chaining. */ public Builder setAssociatedData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } associatedData_ = value; onChanged(); return this; } /** *
       * Associated Data when using AEAD ciphers (optional).
       * 
* * bytes associated_data = 6 [json_name = "associatedData"]; * @return This builder for chaining. */ public Builder clearAssociatedData() { associatedData_ = getDefaultInstance().getAssociatedData(); 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.SubtleWrapKeyRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleWrapKeyRequest) private static final io.dapr.v1.DaprProtos.SubtleWrapKeyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleWrapKeyRequest(); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleWrapKeyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleWrapKeyRequest(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.SubtleWrapKeyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleWrapKeyResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleWrapKeyResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Wrapped key.
     * 
* * bytes wrapped_key = 1 [json_name = "wrappedKey"]; * @return The wrappedKey. */ com.google.protobuf.ByteString getWrappedKey(); /** *
     * Authentication tag.
     * This is nil when not using an authenticated cipher.
     * 
* * bytes tag = 2; * @return The tag. */ com.google.protobuf.ByteString getTag(); } /** *
   * SubtleWrapKeyResponse is the response for SubtleWrapKeyAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleWrapKeyResponse} */ public static final class SubtleWrapKeyResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleWrapKeyResponse) SubtleWrapKeyResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleWrapKeyResponse.newBuilder() to construct. private SubtleWrapKeyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleWrapKeyResponse() { wrappedKey_ = com.google.protobuf.ByteString.EMPTY; tag_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleWrapKeyResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleWrapKeyResponse( 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: { wrappedKey_ = input.readBytes(); break; } case 18: { tag_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleWrapKeyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleWrapKeyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleWrapKeyResponse.class, io.dapr.v1.DaprProtos.SubtleWrapKeyResponse.Builder.class); } public static final int WRAPPED_KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString wrappedKey_; /** *
     * Wrapped key.
     * 
* * bytes wrapped_key = 1 [json_name = "wrappedKey"]; * @return The wrappedKey. */ @java.lang.Override public com.google.protobuf.ByteString getWrappedKey() { return wrappedKey_; } public static final int TAG_FIELD_NUMBER = 2; private com.google.protobuf.ByteString tag_; /** *
     * Authentication tag.
     * This is nil when not using an authenticated cipher.
     * 
* * bytes tag = 2; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } 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 (!wrappedKey_.isEmpty()) { output.writeBytes(1, wrappedKey_); } if (!tag_.isEmpty()) { output.writeBytes(2, tag_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!wrappedKey_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, wrappedKey_); } if (!tag_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, tag_); } 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.SubtleWrapKeyResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleWrapKeyResponse other = (io.dapr.v1.DaprProtos.SubtleWrapKeyResponse) obj; if (!getWrappedKey() .equals(other.getWrappedKey())) return false; if (!getTag() .equals(other.getTag())) 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) + WRAPPED_KEY_FIELD_NUMBER; hash = (53 * hash) + getWrappedKey().hashCode(); hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleWrapKeyResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyResponse 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.SubtleWrapKeyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyResponse 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.SubtleWrapKeyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyResponse 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.SubtleWrapKeyResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyResponse 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.SubtleWrapKeyResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyResponse 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.SubtleWrapKeyResponse 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; } /** *
     * SubtleWrapKeyResponse is the response for SubtleWrapKeyAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleWrapKeyResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleWrapKeyResponse) io.dapr.v1.DaprProtos.SubtleWrapKeyResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleWrapKeyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleWrapKeyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleWrapKeyResponse.class, io.dapr.v1.DaprProtos.SubtleWrapKeyResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleWrapKeyResponse.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(); wrappedKey_ = com.google.protobuf.ByteString.EMPTY; tag_ = 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_SubtleWrapKeyResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleWrapKeyResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleWrapKeyResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleWrapKeyResponse build() { io.dapr.v1.DaprProtos.SubtleWrapKeyResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleWrapKeyResponse buildPartial() { io.dapr.v1.DaprProtos.SubtleWrapKeyResponse result = new io.dapr.v1.DaprProtos.SubtleWrapKeyResponse(this); result.wrappedKey_ = wrappedKey_; result.tag_ = tag_; 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.SubtleWrapKeyResponse) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleWrapKeyResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleWrapKeyResponse other) { if (other == io.dapr.v1.DaprProtos.SubtleWrapKeyResponse.getDefaultInstance()) return this; if (other.getWrappedKey() != com.google.protobuf.ByteString.EMPTY) { setWrappedKey(other.getWrappedKey()); } if (other.getTag() != com.google.protobuf.ByteString.EMPTY) { setTag(other.getTag()); } 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.SubtleWrapKeyResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleWrapKeyResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString wrappedKey_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Wrapped key.
       * 
* * bytes wrapped_key = 1 [json_name = "wrappedKey"]; * @return The wrappedKey. */ @java.lang.Override public com.google.protobuf.ByteString getWrappedKey() { return wrappedKey_; } /** *
       * Wrapped key.
       * 
* * bytes wrapped_key = 1 [json_name = "wrappedKey"]; * @param value The wrappedKey to set. * @return This builder for chaining. */ public Builder setWrappedKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } wrappedKey_ = value; onChanged(); return this; } /** *
       * Wrapped key.
       * 
* * bytes wrapped_key = 1 [json_name = "wrappedKey"]; * @return This builder for chaining. */ public Builder clearWrappedKey() { wrappedKey_ = getDefaultInstance().getWrappedKey(); onChanged(); return this; } private com.google.protobuf.ByteString tag_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Authentication tag.
       * This is nil when not using an authenticated cipher.
       * 
* * bytes tag = 2; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } /** *
       * Authentication tag.
       * This is nil when not using an authenticated cipher.
       * 
* * bytes tag = 2; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } tag_ = value; onChanged(); return this; } /** *
       * Authentication tag.
       * This is nil when not using an authenticated cipher.
       * 
* * bytes tag = 2; * @return This builder for chaining. */ public Builder clearTag() { tag_ = getDefaultInstance().getTag(); 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.SubtleWrapKeyResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleWrapKeyResponse) private static final io.dapr.v1.DaprProtos.SubtleWrapKeyResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleWrapKeyResponse(); } public static io.dapr.v1.DaprProtos.SubtleWrapKeyResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleWrapKeyResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleWrapKeyResponse(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.SubtleWrapKeyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleUnwrapKeyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleUnwrapKeyRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ java.lang.String getComponentName(); /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ com.google.protobuf.ByteString getComponentNameBytes(); /** *
     * Wrapped key.
     * 
* * bytes wrapped_key = 2 [json_name = "wrappedKey"]; * @return The wrappedKey. */ com.google.protobuf.ByteString getWrappedKey(); /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The algorithm. */ java.lang.String getAlgorithm(); /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The bytes for algorithm. */ com.google.protobuf.ByteString getAlgorithmBytes(); /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ java.lang.String getKeyName(); /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ com.google.protobuf.ByteString getKeyNameBytes(); /** *
     * Nonce / initialization vector.
     * Ignored with asymmetric ciphers.
     * 
* * bytes nonce = 5; * @return The nonce. */ com.google.protobuf.ByteString getNonce(); /** *
     * Authentication tag.
     * This is nil when not using an authenticated cipher.
     * 
* * bytes tag = 6; * @return The tag. */ com.google.protobuf.ByteString getTag(); /** *
     * Associated Data when using AEAD ciphers (optional).
     * 
* * bytes associated_data = 7 [json_name = "associatedData"]; * @return The associatedData. */ com.google.protobuf.ByteString getAssociatedData(); } /** *
   * SubtleUnwrapKeyRequest is the request for SubtleUnwrapKeyAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleUnwrapKeyRequest} */ public static final class SubtleUnwrapKeyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleUnwrapKeyRequest) SubtleUnwrapKeyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleUnwrapKeyRequest.newBuilder() to construct. private SubtleUnwrapKeyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleUnwrapKeyRequest() { componentName_ = ""; wrappedKey_ = com.google.protobuf.ByteString.EMPTY; algorithm_ = ""; keyName_ = ""; nonce_ = com.google.protobuf.ByteString.EMPTY; tag_ = com.google.protobuf.ByteString.EMPTY; associatedData_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleUnwrapKeyRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleUnwrapKeyRequest( 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(); componentName_ = s; break; } case 18: { wrappedKey_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); algorithm_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); keyName_ = s; break; } case 42: { nonce_ = input.readBytes(); break; } case 50: { tag_ = input.readBytes(); break; } case 58: { associatedData_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest.class, io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest.Builder.class); } public static final int COMPONENT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object componentName_; /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ @java.lang.Override public java.lang.String getComponentName() { java.lang.Object ref = componentName_; 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(); componentName_ = s; return s; } } /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ @java.lang.Override public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WRAPPED_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString wrappedKey_; /** *
     * Wrapped key.
     * 
* * bytes wrapped_key = 2 [json_name = "wrappedKey"]; * @return The wrappedKey. */ @java.lang.Override public com.google.protobuf.ByteString getWrappedKey() { return wrappedKey_; } public static final int ALGORITHM_FIELD_NUMBER = 3; private volatile java.lang.Object algorithm_; /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The algorithm. */ @java.lang.Override public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; 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(); algorithm_ = s; return s; } } /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The bytes for algorithm. */ @java.lang.Override public com.google.protobuf.ByteString getAlgorithmBytes() { java.lang.Object ref = algorithm_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); algorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object keyName_; /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ @java.lang.Override public java.lang.String getKeyName() { java.lang.Object ref = keyName_; 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(); keyName_ = s; return s; } } /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ @java.lang.Override public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NONCE_FIELD_NUMBER = 5; private com.google.protobuf.ByteString nonce_; /** *
     * Nonce / initialization vector.
     * Ignored with asymmetric ciphers.
     * 
* * bytes nonce = 5; * @return The nonce. */ @java.lang.Override public com.google.protobuf.ByteString getNonce() { return nonce_; } public static final int TAG_FIELD_NUMBER = 6; private com.google.protobuf.ByteString tag_; /** *
     * Authentication tag.
     * This is nil when not using an authenticated cipher.
     * 
* * bytes tag = 6; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } public static final int ASSOCIATED_DATA_FIELD_NUMBER = 7; private com.google.protobuf.ByteString associatedData_; /** *
     * Associated Data when using AEAD ciphers (optional).
     * 
* * bytes associated_data = 7 [json_name = "associatedData"]; * @return The associatedData. */ @java.lang.Override public com.google.protobuf.ByteString getAssociatedData() { return associatedData_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, componentName_); } if (!wrappedKey_.isEmpty()) { output.writeBytes(2, wrappedKey_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(algorithm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, algorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, keyName_); } if (!nonce_.isEmpty()) { output.writeBytes(5, nonce_); } if (!tag_.isEmpty()) { output.writeBytes(6, tag_); } if (!associatedData_.isEmpty()) { output.writeBytes(7, associatedData_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, componentName_); } if (!wrappedKey_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, wrappedKey_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(algorithm_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, algorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, keyName_); } if (!nonce_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, nonce_); } if (!tag_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, tag_); } if (!associatedData_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, associatedData_); } 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.SubtleUnwrapKeyRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest other = (io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest) obj; if (!getComponentName() .equals(other.getComponentName())) return false; if (!getWrappedKey() .equals(other.getWrappedKey())) return false; if (!getAlgorithm() .equals(other.getAlgorithm())) return false; if (!getKeyName() .equals(other.getKeyName())) return false; if (!getNonce() .equals(other.getNonce())) return false; if (!getTag() .equals(other.getTag())) return false; if (!getAssociatedData() .equals(other.getAssociatedData())) 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) + COMPONENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getComponentName().hashCode(); hash = (37 * hash) + WRAPPED_KEY_FIELD_NUMBER; hash = (53 * hash) + getWrappedKey().hashCode(); hash = (37 * hash) + ALGORITHM_FIELD_NUMBER; hash = (53 * hash) + getAlgorithm().hashCode(); hash = (37 * hash) + KEY_NAME_FIELD_NUMBER; hash = (53 * hash) + getKeyName().hashCode(); hash = (37 * hash) + NONCE_FIELD_NUMBER; hash = (53 * hash) + getNonce().hashCode(); hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); hash = (37 * hash) + ASSOCIATED_DATA_FIELD_NUMBER; hash = (53 * hash) + getAssociatedData().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest 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.SubtleUnwrapKeyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest 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.SubtleUnwrapKeyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest 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.SubtleUnwrapKeyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest 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.SubtleUnwrapKeyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest 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.SubtleUnwrapKeyRequest 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; } /** *
     * SubtleUnwrapKeyRequest is the request for SubtleUnwrapKeyAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleUnwrapKeyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleUnwrapKeyRequest) io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest.class, io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest.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(); componentName_ = ""; wrappedKey_ = com.google.protobuf.ByteString.EMPTY; algorithm_ = ""; keyName_ = ""; nonce_ = com.google.protobuf.ByteString.EMPTY; tag_ = com.google.protobuf.ByteString.EMPTY; associatedData_ = 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_SubtleUnwrapKeyRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest build() { io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest buildPartial() { io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest result = new io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest(this); result.componentName_ = componentName_; result.wrappedKey_ = wrappedKey_; result.algorithm_ = algorithm_; result.keyName_ = keyName_; result.nonce_ = nonce_; result.tag_ = tag_; result.associatedData_ = associatedData_; 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.SubtleUnwrapKeyRequest) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest other) { if (other == io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest.getDefaultInstance()) return this; if (!other.getComponentName().isEmpty()) { componentName_ = other.componentName_; onChanged(); } if (other.getWrappedKey() != com.google.protobuf.ByteString.EMPTY) { setWrappedKey(other.getWrappedKey()); } if (!other.getAlgorithm().isEmpty()) { algorithm_ = other.algorithm_; onChanged(); } if (!other.getKeyName().isEmpty()) { keyName_ = other.keyName_; onChanged(); } if (other.getNonce() != com.google.protobuf.ByteString.EMPTY) { setNonce(other.getNonce()); } if (other.getTag() != com.google.protobuf.ByteString.EMPTY) { setTag(other.getTag()); } if (other.getAssociatedData() != com.google.protobuf.ByteString.EMPTY) { setAssociatedData(other.getAssociatedData()); } 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.SubtleUnwrapKeyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object componentName_ = ""; /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ public java.lang.String getComponentName() { java.lang.Object ref = componentName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The componentName to set. * @return This builder for chaining. */ public Builder setComponentName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } componentName_ = value; onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return This builder for chaining. */ public Builder clearComponentName() { componentName_ = getDefaultInstance().getComponentName(); onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The bytes for componentName to set. * @return This builder for chaining. */ public Builder setComponentNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); componentName_ = value; onChanged(); return this; } private com.google.protobuf.ByteString wrappedKey_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Wrapped key.
       * 
* * bytes wrapped_key = 2 [json_name = "wrappedKey"]; * @return The wrappedKey. */ @java.lang.Override public com.google.protobuf.ByteString getWrappedKey() { return wrappedKey_; } /** *
       * Wrapped key.
       * 
* * bytes wrapped_key = 2 [json_name = "wrappedKey"]; * @param value The wrappedKey to set. * @return This builder for chaining. */ public Builder setWrappedKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } wrappedKey_ = value; onChanged(); return this; } /** *
       * Wrapped key.
       * 
* * bytes wrapped_key = 2 [json_name = "wrappedKey"]; * @return This builder for chaining. */ public Builder clearWrappedKey() { wrappedKey_ = getDefaultInstance().getWrappedKey(); onChanged(); return this; } private java.lang.Object algorithm_ = ""; /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return The algorithm. */ public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); algorithm_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return The bytes for algorithm. */ public com.google.protobuf.ByteString getAlgorithmBytes() { java.lang.Object ref = algorithm_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); algorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @param value The algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } algorithm_ = value; onChanged(); return this; } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return This builder for chaining. */ public Builder clearAlgorithm() { algorithm_ = getDefaultInstance().getAlgorithm(); onChanged(); return this; } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @param value The bytes for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); algorithm_ = value; onChanged(); return this; } private java.lang.Object keyName_ = ""; /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @param value The keyName to set. * @return This builder for chaining. */ public Builder setKeyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyName_ = value; onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return This builder for chaining. */ public Builder clearKeyName() { keyName_ = getDefaultInstance().getKeyName(); onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @param value The bytes for keyName to set. * @return This builder for chaining. */ public Builder setKeyNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyName_ = value; onChanged(); return this; } private com.google.protobuf.ByteString nonce_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Nonce / initialization vector.
       * Ignored with asymmetric ciphers.
       * 
* * bytes nonce = 5; * @return The nonce. */ @java.lang.Override public com.google.protobuf.ByteString getNonce() { return nonce_; } /** *
       * Nonce / initialization vector.
       * Ignored with asymmetric ciphers.
       * 
* * bytes nonce = 5; * @param value The nonce to set. * @return This builder for chaining. */ public Builder setNonce(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } nonce_ = value; onChanged(); return this; } /** *
       * Nonce / initialization vector.
       * Ignored with asymmetric ciphers.
       * 
* * bytes nonce = 5; * @return This builder for chaining. */ public Builder clearNonce() { nonce_ = getDefaultInstance().getNonce(); onChanged(); return this; } private com.google.protobuf.ByteString tag_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Authentication tag.
       * This is nil when not using an authenticated cipher.
       * 
* * bytes tag = 6; * @return The tag. */ @java.lang.Override public com.google.protobuf.ByteString getTag() { return tag_; } /** *
       * Authentication tag.
       * This is nil when not using an authenticated cipher.
       * 
* * bytes tag = 6; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } tag_ = value; onChanged(); return this; } /** *
       * Authentication tag.
       * This is nil when not using an authenticated cipher.
       * 
* * bytes tag = 6; * @return This builder for chaining. */ public Builder clearTag() { tag_ = getDefaultInstance().getTag(); onChanged(); return this; } private com.google.protobuf.ByteString associatedData_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Associated Data when using AEAD ciphers (optional).
       * 
* * bytes associated_data = 7 [json_name = "associatedData"]; * @return The associatedData. */ @java.lang.Override public com.google.protobuf.ByteString getAssociatedData() { return associatedData_; } /** *
       * Associated Data when using AEAD ciphers (optional).
       * 
* * bytes associated_data = 7 [json_name = "associatedData"]; * @param value The associatedData to set. * @return This builder for chaining. */ public Builder setAssociatedData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } associatedData_ = value; onChanged(); return this; } /** *
       * Associated Data when using AEAD ciphers (optional).
       * 
* * bytes associated_data = 7 [json_name = "associatedData"]; * @return This builder for chaining. */ public Builder clearAssociatedData() { associatedData_ = getDefaultInstance().getAssociatedData(); 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.SubtleUnwrapKeyRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleUnwrapKeyRequest) private static final io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest(); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleUnwrapKeyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleUnwrapKeyRequest(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.SubtleUnwrapKeyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleUnwrapKeyResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleUnwrapKeyResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Key in plaintext
     * 
* * bytes plaintext_key = 1 [json_name = "plaintextKey"]; * @return The plaintextKey. */ com.google.protobuf.ByteString getPlaintextKey(); } /** *
   * SubtleUnwrapKeyResponse is the response for SubtleUnwrapKeyAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleUnwrapKeyResponse} */ public static final class SubtleUnwrapKeyResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleUnwrapKeyResponse) SubtleUnwrapKeyResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleUnwrapKeyResponse.newBuilder() to construct. private SubtleUnwrapKeyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleUnwrapKeyResponse() { plaintextKey_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleUnwrapKeyResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleUnwrapKeyResponse( 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: { plaintextKey_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse.class, io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse.Builder.class); } public static final int PLAINTEXT_KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString plaintextKey_; /** *
     * Key in plaintext
     * 
* * bytes plaintext_key = 1 [json_name = "plaintextKey"]; * @return The plaintextKey. */ @java.lang.Override public com.google.protobuf.ByteString getPlaintextKey() { return plaintextKey_; } 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 (!plaintextKey_.isEmpty()) { output.writeBytes(1, plaintextKey_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!plaintextKey_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, plaintextKey_); } 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.SubtleUnwrapKeyResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse other = (io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse) obj; if (!getPlaintextKey() .equals(other.getPlaintextKey())) 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) + PLAINTEXT_KEY_FIELD_NUMBER; hash = (53 * hash) + getPlaintextKey().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse 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.SubtleUnwrapKeyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse 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.SubtleUnwrapKeyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse 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.SubtleUnwrapKeyResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse 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.SubtleUnwrapKeyResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse 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.SubtleUnwrapKeyResponse 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; } /** *
     * SubtleUnwrapKeyResponse is the response for SubtleUnwrapKeyAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleUnwrapKeyResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleUnwrapKeyResponse) io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse.class, io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse.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(); plaintextKey_ = 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_SubtleUnwrapKeyResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse build() { io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse buildPartial() { io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse result = new io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse(this); result.plaintextKey_ = plaintextKey_; 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.SubtleUnwrapKeyResponse) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse other) { if (other == io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse.getDefaultInstance()) return this; if (other.getPlaintextKey() != com.google.protobuf.ByteString.EMPTY) { setPlaintextKey(other.getPlaintextKey()); } 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.SubtleUnwrapKeyResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString plaintextKey_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Key in plaintext
       * 
* * bytes plaintext_key = 1 [json_name = "plaintextKey"]; * @return The plaintextKey. */ @java.lang.Override public com.google.protobuf.ByteString getPlaintextKey() { return plaintextKey_; } /** *
       * Key in plaintext
       * 
* * bytes plaintext_key = 1 [json_name = "plaintextKey"]; * @param value The plaintextKey to set. * @return This builder for chaining. */ public Builder setPlaintextKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } plaintextKey_ = value; onChanged(); return this; } /** *
       * Key in plaintext
       * 
* * bytes plaintext_key = 1 [json_name = "plaintextKey"]; * @return This builder for chaining. */ public Builder clearPlaintextKey() { plaintextKey_ = getDefaultInstance().getPlaintextKey(); 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.SubtleUnwrapKeyResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleUnwrapKeyResponse) private static final io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse(); } public static io.dapr.v1.DaprProtos.SubtleUnwrapKeyResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleUnwrapKeyResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleUnwrapKeyResponse(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.SubtleUnwrapKeyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleSignRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleSignRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ java.lang.String getComponentName(); /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ com.google.protobuf.ByteString getComponentNameBytes(); /** *
     * Digest to sign.
     * 
* * bytes digest = 2; * @return The digest. */ com.google.protobuf.ByteString getDigest(); /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The algorithm. */ java.lang.String getAlgorithm(); /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The bytes for algorithm. */ com.google.protobuf.ByteString getAlgorithmBytes(); /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ java.lang.String getKeyName(); /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ com.google.protobuf.ByteString getKeyNameBytes(); } /** *
   * SubtleSignRequest is the request for SubtleSignAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleSignRequest} */ public static final class SubtleSignRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleSignRequest) SubtleSignRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleSignRequest.newBuilder() to construct. private SubtleSignRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleSignRequest() { componentName_ = ""; digest_ = com.google.protobuf.ByteString.EMPTY; algorithm_ = ""; keyName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleSignRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleSignRequest( 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(); componentName_ = s; break; } case 18: { digest_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); algorithm_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); keyName_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleSignRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleSignRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleSignRequest.class, io.dapr.v1.DaprProtos.SubtleSignRequest.Builder.class); } public static final int COMPONENT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object componentName_; /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ @java.lang.Override public java.lang.String getComponentName() { java.lang.Object ref = componentName_; 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(); componentName_ = s; return s; } } /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ @java.lang.Override public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DIGEST_FIELD_NUMBER = 2; private com.google.protobuf.ByteString digest_; /** *
     * Digest to sign.
     * 
* * bytes digest = 2; * @return The digest. */ @java.lang.Override public com.google.protobuf.ByteString getDigest() { return digest_; } public static final int ALGORITHM_FIELD_NUMBER = 3; private volatile java.lang.Object algorithm_; /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The algorithm. */ @java.lang.Override public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; 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(); algorithm_ = s; return s; } } /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The bytes for algorithm. */ @java.lang.Override public com.google.protobuf.ByteString getAlgorithmBytes() { java.lang.Object ref = algorithm_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); algorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object keyName_; /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ @java.lang.Override public java.lang.String getKeyName() { java.lang.Object ref = keyName_; 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(); keyName_ = s; return s; } } /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ @java.lang.Override public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, componentName_); } if (!digest_.isEmpty()) { output.writeBytes(2, digest_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(algorithm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, algorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, keyName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, componentName_); } if (!digest_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, digest_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(algorithm_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, algorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, keyName_); } 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.SubtleSignRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleSignRequest other = (io.dapr.v1.DaprProtos.SubtleSignRequest) obj; if (!getComponentName() .equals(other.getComponentName())) return false; if (!getDigest() .equals(other.getDigest())) return false; if (!getAlgorithm() .equals(other.getAlgorithm())) return false; if (!getKeyName() .equals(other.getKeyName())) 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) + COMPONENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getComponentName().hashCode(); hash = (37 * hash) + DIGEST_FIELD_NUMBER; hash = (53 * hash) + getDigest().hashCode(); hash = (37 * hash) + ALGORITHM_FIELD_NUMBER; hash = (53 * hash) + getAlgorithm().hashCode(); hash = (37 * hash) + KEY_NAME_FIELD_NUMBER; hash = (53 * hash) + getKeyName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleSignRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleSignRequest 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.SubtleSignRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleSignRequest 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.SubtleSignRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleSignRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleSignRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleSignRequest 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.SubtleSignRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleSignRequest 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.SubtleSignRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleSignRequest 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.SubtleSignRequest 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; } /** *
     * SubtleSignRequest is the request for SubtleSignAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleSignRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleSignRequest) io.dapr.v1.DaprProtos.SubtleSignRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleSignRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleSignRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleSignRequest.class, io.dapr.v1.DaprProtos.SubtleSignRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleSignRequest.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(); componentName_ = ""; digest_ = com.google.protobuf.ByteString.EMPTY; algorithm_ = ""; keyName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleSignRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleSignRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleSignRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleSignRequest build() { io.dapr.v1.DaprProtos.SubtleSignRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleSignRequest buildPartial() { io.dapr.v1.DaprProtos.SubtleSignRequest result = new io.dapr.v1.DaprProtos.SubtleSignRequest(this); result.componentName_ = componentName_; result.digest_ = digest_; result.algorithm_ = algorithm_; result.keyName_ = keyName_; 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.SubtleSignRequest) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleSignRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleSignRequest other) { if (other == io.dapr.v1.DaprProtos.SubtleSignRequest.getDefaultInstance()) return this; if (!other.getComponentName().isEmpty()) { componentName_ = other.componentName_; onChanged(); } if (other.getDigest() != com.google.protobuf.ByteString.EMPTY) { setDigest(other.getDigest()); } if (!other.getAlgorithm().isEmpty()) { algorithm_ = other.algorithm_; onChanged(); } if (!other.getKeyName().isEmpty()) { keyName_ = other.keyName_; 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.SubtleSignRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleSignRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object componentName_ = ""; /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ public java.lang.String getComponentName() { java.lang.Object ref = componentName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The componentName to set. * @return This builder for chaining. */ public Builder setComponentName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } componentName_ = value; onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return This builder for chaining. */ public Builder clearComponentName() { componentName_ = getDefaultInstance().getComponentName(); onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The bytes for componentName to set. * @return This builder for chaining. */ public Builder setComponentNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); componentName_ = value; onChanged(); return this; } private com.google.protobuf.ByteString digest_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Digest to sign.
       * 
* * bytes digest = 2; * @return The digest. */ @java.lang.Override public com.google.protobuf.ByteString getDigest() { return digest_; } /** *
       * Digest to sign.
       * 
* * bytes digest = 2; * @param value The digest to set. * @return This builder for chaining. */ public Builder setDigest(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } digest_ = value; onChanged(); return this; } /** *
       * Digest to sign.
       * 
* * bytes digest = 2; * @return This builder for chaining. */ public Builder clearDigest() { digest_ = getDefaultInstance().getDigest(); onChanged(); return this; } private java.lang.Object algorithm_ = ""; /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return The algorithm. */ public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); algorithm_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return The bytes for algorithm. */ public com.google.protobuf.ByteString getAlgorithmBytes() { java.lang.Object ref = algorithm_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); algorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @param value The algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } algorithm_ = value; onChanged(); return this; } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return This builder for chaining. */ public Builder clearAlgorithm() { algorithm_ = getDefaultInstance().getAlgorithm(); onChanged(); return this; } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @param value The bytes for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); algorithm_ = value; onChanged(); return this; } private java.lang.Object keyName_ = ""; /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @param value The keyName to set. * @return This builder for chaining. */ public Builder setKeyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyName_ = value; onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return This builder for chaining. */ public Builder clearKeyName() { keyName_ = getDefaultInstance().getKeyName(); onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @param value The bytes for keyName to set. * @return This builder for chaining. */ public Builder setKeyNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyName_ = 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.SubtleSignRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleSignRequest) private static final io.dapr.v1.DaprProtos.SubtleSignRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleSignRequest(); } public static io.dapr.v1.DaprProtos.SubtleSignRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleSignRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleSignRequest(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.SubtleSignRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleSignResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleSignResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The signature that was computed
     * 
* * bytes signature = 1; * @return The signature. */ com.google.protobuf.ByteString getSignature(); } /** *
   * SubtleSignResponse is the response for SubtleSignAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleSignResponse} */ public static final class SubtleSignResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleSignResponse) SubtleSignResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleSignResponse.newBuilder() to construct. private SubtleSignResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleSignResponse() { signature_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleSignResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleSignResponse( 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: { signature_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleSignResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleSignResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleSignResponse.class, io.dapr.v1.DaprProtos.SubtleSignResponse.Builder.class); } public static final int SIGNATURE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString signature_; /** *
     * The signature that was computed
     * 
* * bytes signature = 1; * @return The signature. */ @java.lang.Override public com.google.protobuf.ByteString getSignature() { return signature_; } 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 (!signature_.isEmpty()) { output.writeBytes(1, signature_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!signature_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, signature_); } 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.SubtleSignResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleSignResponse other = (io.dapr.v1.DaprProtos.SubtleSignResponse) obj; if (!getSignature() .equals(other.getSignature())) 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) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleSignResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleSignResponse 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.SubtleSignResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleSignResponse 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.SubtleSignResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleSignResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleSignResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleSignResponse 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.SubtleSignResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleSignResponse 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.SubtleSignResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleSignResponse 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.SubtleSignResponse 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; } /** *
     * SubtleSignResponse is the response for SubtleSignAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleSignResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleSignResponse) io.dapr.v1.DaprProtos.SubtleSignResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleSignResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleSignResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleSignResponse.class, io.dapr.v1.DaprProtos.SubtleSignResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleSignResponse.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(); signature_ = 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_SubtleSignResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleSignResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleSignResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleSignResponse build() { io.dapr.v1.DaprProtos.SubtleSignResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleSignResponse buildPartial() { io.dapr.v1.DaprProtos.SubtleSignResponse result = new io.dapr.v1.DaprProtos.SubtleSignResponse(this); result.signature_ = signature_; 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.SubtleSignResponse) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleSignResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleSignResponse other) { if (other == io.dapr.v1.DaprProtos.SubtleSignResponse.getDefaultInstance()) return this; if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } 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.SubtleSignResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleSignResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString signature_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The signature that was computed
       * 
* * bytes signature = 1; * @return The signature. */ @java.lang.Override public com.google.protobuf.ByteString getSignature() { return signature_; } /** *
       * The signature that was computed
       * 
* * bytes signature = 1; * @param value The signature to set. * @return This builder for chaining. */ public Builder setSignature(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } signature_ = value; onChanged(); return this; } /** *
       * The signature that was computed
       * 
* * bytes signature = 1; * @return This builder for chaining. */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); 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.SubtleSignResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleSignResponse) private static final io.dapr.v1.DaprProtos.SubtleSignResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleSignResponse(); } public static io.dapr.v1.DaprProtos.SubtleSignResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleSignResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleSignResponse(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.SubtleSignResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleVerifyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleVerifyRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ java.lang.String getComponentName(); /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ com.google.protobuf.ByteString getComponentNameBytes(); /** *
     * Digest of the message.
     * 
* * bytes digest = 2; * @return The digest. */ com.google.protobuf.ByteString getDigest(); /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The algorithm. */ java.lang.String getAlgorithm(); /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The bytes for algorithm. */ com.google.protobuf.ByteString getAlgorithmBytes(); /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ java.lang.String getKeyName(); /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ com.google.protobuf.ByteString getKeyNameBytes(); /** *
     * Signature to verify.
     * 
* * bytes signature = 5; * @return The signature. */ com.google.protobuf.ByteString getSignature(); } /** *
   * SubtleVerifyRequest is the request for SubtleVerifyAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleVerifyRequest} */ public static final class SubtleVerifyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleVerifyRequest) SubtleVerifyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleVerifyRequest.newBuilder() to construct. private SubtleVerifyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleVerifyRequest() { componentName_ = ""; digest_ = com.google.protobuf.ByteString.EMPTY; algorithm_ = ""; keyName_ = ""; signature_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleVerifyRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleVerifyRequest( 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(); componentName_ = s; break; } case 18: { digest_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); algorithm_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); keyName_ = s; break; } case 42: { signature_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleVerifyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleVerifyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleVerifyRequest.class, io.dapr.v1.DaprProtos.SubtleVerifyRequest.Builder.class); } public static final int COMPONENT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object componentName_; /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ @java.lang.Override public java.lang.String getComponentName() { java.lang.Object ref = componentName_; 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(); componentName_ = s; return s; } } /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ @java.lang.Override public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DIGEST_FIELD_NUMBER = 2; private com.google.protobuf.ByteString digest_; /** *
     * Digest of the message.
     * 
* * bytes digest = 2; * @return The digest. */ @java.lang.Override public com.google.protobuf.ByteString getDigest() { return digest_; } public static final int ALGORITHM_FIELD_NUMBER = 3; private volatile java.lang.Object algorithm_; /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The algorithm. */ @java.lang.Override public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; 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(); algorithm_ = s; return s; } } /** *
     * Algorithm to use, as in the JWA standard.
     * 
* * string algorithm = 3; * @return The bytes for algorithm. */ @java.lang.Override public com.google.protobuf.ByteString getAlgorithmBytes() { java.lang.Object ref = algorithm_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); algorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object keyName_; /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ @java.lang.Override public java.lang.String getKeyName() { java.lang.Object ref = keyName_; 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(); keyName_ = s; return s; } } /** *
     * Name (or name/version) of the key.
     * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ @java.lang.Override public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SIGNATURE_FIELD_NUMBER = 5; private com.google.protobuf.ByteString signature_; /** *
     * Signature to verify.
     * 
* * bytes signature = 5; * @return The signature. */ @java.lang.Override public com.google.protobuf.ByteString getSignature() { return signature_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, componentName_); } if (!digest_.isEmpty()) { output.writeBytes(2, digest_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(algorithm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, algorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, keyName_); } if (!signature_.isEmpty()) { output.writeBytes(5, signature_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, componentName_); } if (!digest_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, digest_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(algorithm_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, algorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, keyName_); } if (!signature_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, signature_); } 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.SubtleVerifyRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleVerifyRequest other = (io.dapr.v1.DaprProtos.SubtleVerifyRequest) obj; if (!getComponentName() .equals(other.getComponentName())) return false; if (!getDigest() .equals(other.getDigest())) return false; if (!getAlgorithm() .equals(other.getAlgorithm())) return false; if (!getKeyName() .equals(other.getKeyName())) return false; if (!getSignature() .equals(other.getSignature())) 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) + COMPONENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getComponentName().hashCode(); hash = (37 * hash) + DIGEST_FIELD_NUMBER; hash = (53 * hash) + getDigest().hashCode(); hash = (37 * hash) + ALGORITHM_FIELD_NUMBER; hash = (53 * hash) + getAlgorithm().hashCode(); hash = (37 * hash) + KEY_NAME_FIELD_NUMBER; hash = (53 * hash) + getKeyName().hashCode(); hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleVerifyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleVerifyRequest 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.SubtleVerifyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleVerifyRequest 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.SubtleVerifyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleVerifyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleVerifyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleVerifyRequest 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.SubtleVerifyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleVerifyRequest 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.SubtleVerifyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleVerifyRequest 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.SubtleVerifyRequest 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; } /** *
     * SubtleVerifyRequest is the request for SubtleVerifyAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleVerifyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleVerifyRequest) io.dapr.v1.DaprProtos.SubtleVerifyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleVerifyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleVerifyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleVerifyRequest.class, io.dapr.v1.DaprProtos.SubtleVerifyRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleVerifyRequest.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(); componentName_ = ""; digest_ = com.google.protobuf.ByteString.EMPTY; algorithm_ = ""; keyName_ = ""; signature_ = 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_SubtleVerifyRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleVerifyRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleVerifyRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleVerifyRequest build() { io.dapr.v1.DaprProtos.SubtleVerifyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleVerifyRequest buildPartial() { io.dapr.v1.DaprProtos.SubtleVerifyRequest result = new io.dapr.v1.DaprProtos.SubtleVerifyRequest(this); result.componentName_ = componentName_; result.digest_ = digest_; result.algorithm_ = algorithm_; result.keyName_ = keyName_; result.signature_ = signature_; 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.SubtleVerifyRequest) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleVerifyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleVerifyRequest other) { if (other == io.dapr.v1.DaprProtos.SubtleVerifyRequest.getDefaultInstance()) return this; if (!other.getComponentName().isEmpty()) { componentName_ = other.componentName_; onChanged(); } if (other.getDigest() != com.google.protobuf.ByteString.EMPTY) { setDigest(other.getDigest()); } if (!other.getAlgorithm().isEmpty()) { algorithm_ = other.algorithm_; onChanged(); } if (!other.getKeyName().isEmpty()) { keyName_ = other.keyName_; onChanged(); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } 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.SubtleVerifyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleVerifyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object componentName_ = ""; /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ public java.lang.String getComponentName() { java.lang.Object ref = componentName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The componentName to set. * @return This builder for chaining. */ public Builder setComponentName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } componentName_ = value; onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return This builder for chaining. */ public Builder clearComponentName() { componentName_ = getDefaultInstance().getComponentName(); onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The bytes for componentName to set. * @return This builder for chaining. */ public Builder setComponentNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); componentName_ = value; onChanged(); return this; } private com.google.protobuf.ByteString digest_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Digest of the message.
       * 
* * bytes digest = 2; * @return The digest. */ @java.lang.Override public com.google.protobuf.ByteString getDigest() { return digest_; } /** *
       * Digest of the message.
       * 
* * bytes digest = 2; * @param value The digest to set. * @return This builder for chaining. */ public Builder setDigest(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } digest_ = value; onChanged(); return this; } /** *
       * Digest of the message.
       * 
* * bytes digest = 2; * @return This builder for chaining. */ public Builder clearDigest() { digest_ = getDefaultInstance().getDigest(); onChanged(); return this; } private java.lang.Object algorithm_ = ""; /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return The algorithm. */ public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); algorithm_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return The bytes for algorithm. */ public com.google.protobuf.ByteString getAlgorithmBytes() { java.lang.Object ref = algorithm_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); algorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @param value The algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } algorithm_ = value; onChanged(); return this; } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @return This builder for chaining. */ public Builder clearAlgorithm() { algorithm_ = getDefaultInstance().getAlgorithm(); onChanged(); return this; } /** *
       * Algorithm to use, as in the JWA standard.
       * 
* * string algorithm = 3; * @param value The bytes for algorithm to set. * @return This builder for chaining. */ public Builder setAlgorithmBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); algorithm_ = value; onChanged(); return this; } private java.lang.Object keyName_ = ""; /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return The keyName. */ public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return The bytes for keyName. */ public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @param value The keyName to set. * @return This builder for chaining. */ public Builder setKeyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyName_ = value; onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @return This builder for chaining. */ public Builder clearKeyName() { keyName_ = getDefaultInstance().getKeyName(); onChanged(); return this; } /** *
       * Name (or name/version) of the key.
       * 
* * string key_name = 4 [json_name = "keyName"]; * @param value The bytes for keyName to set. * @return This builder for chaining. */ public Builder setKeyNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyName_ = value; onChanged(); return this; } private com.google.protobuf.ByteString signature_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Signature to verify.
       * 
* * bytes signature = 5; * @return The signature. */ @java.lang.Override public com.google.protobuf.ByteString getSignature() { return signature_; } /** *
       * Signature to verify.
       * 
* * bytes signature = 5; * @param value The signature to set. * @return This builder for chaining. */ public Builder setSignature(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } signature_ = value; onChanged(); return this; } /** *
       * Signature to verify.
       * 
* * bytes signature = 5; * @return This builder for chaining. */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); 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.SubtleVerifyRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleVerifyRequest) private static final io.dapr.v1.DaprProtos.SubtleVerifyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleVerifyRequest(); } public static io.dapr.v1.DaprProtos.SubtleVerifyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleVerifyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleVerifyRequest(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.SubtleVerifyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubtleVerifyResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.SubtleVerifyResponse) com.google.protobuf.MessageOrBuilder { /** *
     * True if the signature is valid.
     * 
* * bool valid = 1; * @return The valid. */ boolean getValid(); } /** *
   * SubtleVerifyResponse is the response for SubtleVerifyAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleVerifyResponse} */ public static final class SubtleVerifyResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.SubtleVerifyResponse) SubtleVerifyResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SubtleVerifyResponse.newBuilder() to construct. private SubtleVerifyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubtleVerifyResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubtleVerifyResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubtleVerifyResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { valid_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleVerifyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleVerifyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleVerifyResponse.class, io.dapr.v1.DaprProtos.SubtleVerifyResponse.Builder.class); } public static final int VALID_FIELD_NUMBER = 1; private boolean valid_; /** *
     * True if the signature is valid.
     * 
* * bool valid = 1; * @return The valid. */ @java.lang.Override public boolean getValid() { return valid_; } 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 (valid_ != false) { output.writeBool(1, valid_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (valid_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, valid_); } 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.SubtleVerifyResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.SubtleVerifyResponse other = (io.dapr.v1.DaprProtos.SubtleVerifyResponse) obj; if (getValid() != other.getValid()) 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) + VALID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getValid()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.SubtleVerifyResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleVerifyResponse 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.SubtleVerifyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleVerifyResponse 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.SubtleVerifyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.SubtleVerifyResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.SubtleVerifyResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleVerifyResponse 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.SubtleVerifyResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleVerifyResponse 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.SubtleVerifyResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.SubtleVerifyResponse 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.SubtleVerifyResponse 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; } /** *
     * SubtleVerifyResponse is the response for SubtleVerifyAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.SubtleVerifyResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.SubtleVerifyResponse) io.dapr.v1.DaprProtos.SubtleVerifyResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleVerifyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleVerifyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.SubtleVerifyResponse.class, io.dapr.v1.DaprProtos.SubtleVerifyResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.SubtleVerifyResponse.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(); valid_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_SubtleVerifyResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleVerifyResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.SubtleVerifyResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleVerifyResponse build() { io.dapr.v1.DaprProtos.SubtleVerifyResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.SubtleVerifyResponse buildPartial() { io.dapr.v1.DaprProtos.SubtleVerifyResponse result = new io.dapr.v1.DaprProtos.SubtleVerifyResponse(this); result.valid_ = valid_; 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.SubtleVerifyResponse) { return mergeFrom((io.dapr.v1.DaprProtos.SubtleVerifyResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.SubtleVerifyResponse other) { if (other == io.dapr.v1.DaprProtos.SubtleVerifyResponse.getDefaultInstance()) return this; if (other.getValid() != false) { setValid(other.getValid()); } 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.SubtleVerifyResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.SubtleVerifyResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean valid_ ; /** *
       * True if the signature is valid.
       * 
* * bool valid = 1; * @return The valid. */ @java.lang.Override public boolean getValid() { return valid_; } /** *
       * True if the signature is valid.
       * 
* * bool valid = 1; * @param value The valid to set. * @return This builder for chaining. */ public Builder setValid(boolean value) { valid_ = value; onChanged(); return this; } /** *
       * True if the signature is valid.
       * 
* * bool valid = 1; * @return This builder for chaining. */ public Builder clearValid() { valid_ = false; 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.SubtleVerifyResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.SubtleVerifyResponse) private static final io.dapr.v1.DaprProtos.SubtleVerifyResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.SubtleVerifyResponse(); } public static io.dapr.v1.DaprProtos.SubtleVerifyResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubtleVerifyResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubtleVerifyResponse(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.SubtleVerifyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EncryptRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.EncryptRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Request details. Must be present in the first message only.
     * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; * @return Whether the options field is set. */ boolean hasOptions(); /** *
     * Request details. Must be present in the first message only.
     * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; * @return The options. */ io.dapr.v1.DaprProtos.EncryptRequestOptions getOptions(); /** *
     * Request details. Must be present in the first message only.
     * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; */ io.dapr.v1.DaprProtos.EncryptRequestOptionsOrBuilder getOptionsOrBuilder(); /** *
     * Chunk of data of arbitrary size.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; * @return Whether the payload field is set. */ boolean hasPayload(); /** *
     * Chunk of data of arbitrary size.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; * @return The payload. */ io.dapr.v1.CommonProtos.StreamPayload getPayload(); /** *
     * Chunk of data of arbitrary size.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ io.dapr.v1.CommonProtos.StreamPayloadOrBuilder getPayloadOrBuilder(); } /** *
   * EncryptRequest is the request for EncryptAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.EncryptRequest} */ public static final class EncryptRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.EncryptRequest) EncryptRequestOrBuilder { private static final long serialVersionUID = 0L; // Use EncryptRequest.newBuilder() to construct. private EncryptRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EncryptRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EncryptRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EncryptRequest( 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: { io.dapr.v1.DaprProtos.EncryptRequestOptions.Builder subBuilder = null; if (options_ != null) { subBuilder = options_.toBuilder(); } options_ = input.readMessage(io.dapr.v1.DaprProtos.EncryptRequestOptions.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(options_); options_ = subBuilder.buildPartial(); } break; } case 18: { io.dapr.v1.CommonProtos.StreamPayload.Builder subBuilder = null; if (payload_ != null) { subBuilder = payload_.toBuilder(); } payload_ = input.readMessage(io.dapr.v1.CommonProtos.StreamPayload.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(payload_); payload_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.EncryptRequest.class, io.dapr.v1.DaprProtos.EncryptRequest.Builder.class); } public static final int OPTIONS_FIELD_NUMBER = 1; private io.dapr.v1.DaprProtos.EncryptRequestOptions options_; /** *
     * Request details. Must be present in the first message only.
     * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; * @return Whether the options field is set. */ @java.lang.Override public boolean hasOptions() { return options_ != null; } /** *
     * Request details. Must be present in the first message only.
     * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; * @return The options. */ @java.lang.Override public io.dapr.v1.DaprProtos.EncryptRequestOptions getOptions() { return options_ == null ? io.dapr.v1.DaprProtos.EncryptRequestOptions.getDefaultInstance() : options_; } /** *
     * Request details. Must be present in the first message only.
     * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.EncryptRequestOptionsOrBuilder getOptionsOrBuilder() { return getOptions(); } public static final int PAYLOAD_FIELD_NUMBER = 2; private io.dapr.v1.CommonProtos.StreamPayload payload_; /** *
     * Chunk of data of arbitrary size.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; * @return Whether the payload field is set. */ @java.lang.Override public boolean hasPayload() { return payload_ != null; } /** *
     * Chunk of data of arbitrary size.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; * @return The payload. */ @java.lang.Override public io.dapr.v1.CommonProtos.StreamPayload getPayload() { return payload_ == null ? io.dapr.v1.CommonProtos.StreamPayload.getDefaultInstance() : payload_; } /** *
     * Chunk of data of arbitrary size.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ @java.lang.Override public io.dapr.v1.CommonProtos.StreamPayloadOrBuilder getPayloadOrBuilder() { return getPayload(); } 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 (options_ != null) { output.writeMessage(1, getOptions()); } if (payload_ != null) { output.writeMessage(2, getPayload()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (options_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOptions()); } if (payload_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPayload()); } 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.EncryptRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.EncryptRequest other = (io.dapr.v1.DaprProtos.EncryptRequest) obj; if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { if (!getOptions() .equals(other.getOptions())) return false; } if (hasPayload() != other.hasPayload()) return false; if (hasPayload()) { if (!getPayload() .equals(other.getPayload())) 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 (hasOptions()) { hash = (37 * hash) + OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getOptions().hashCode(); } if (hasPayload()) { hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getPayload().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.EncryptRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.EncryptRequest 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.EncryptRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.EncryptRequest 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.EncryptRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.EncryptRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.EncryptRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.EncryptRequest 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.EncryptRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.EncryptRequest 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.EncryptRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.EncryptRequest 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.EncryptRequest 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; } /** *
     * EncryptRequest is the request for EncryptAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.EncryptRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.EncryptRequest) io.dapr.v1.DaprProtos.EncryptRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.EncryptRequest.class, io.dapr.v1.DaprProtos.EncryptRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.EncryptRequest.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(); if (optionsBuilder_ == null) { options_ = null; } else { options_ = null; optionsBuilder_ = null; } if (payloadBuilder_ == null) { payload_ = null; } else { payload_ = null; payloadBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.EncryptRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.EncryptRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.EncryptRequest build() { io.dapr.v1.DaprProtos.EncryptRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.EncryptRequest buildPartial() { io.dapr.v1.DaprProtos.EncryptRequest result = new io.dapr.v1.DaprProtos.EncryptRequest(this); if (optionsBuilder_ == null) { result.options_ = options_; } else { result.options_ = optionsBuilder_.build(); } if (payloadBuilder_ == null) { result.payload_ = payload_; } else { result.payload_ = payloadBuilder_.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.EncryptRequest) { return mergeFrom((io.dapr.v1.DaprProtos.EncryptRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.EncryptRequest other) { if (other == io.dapr.v1.DaprProtos.EncryptRequest.getDefaultInstance()) return this; if (other.hasOptions()) { mergeOptions(other.getOptions()); } if (other.hasPayload()) { mergePayload(other.getPayload()); } 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.EncryptRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.EncryptRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.dapr.v1.DaprProtos.EncryptRequestOptions options_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.EncryptRequestOptions, io.dapr.v1.DaprProtos.EncryptRequestOptions.Builder, io.dapr.v1.DaprProtos.EncryptRequestOptionsOrBuilder> optionsBuilder_; /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; * @return The options. */ public io.dapr.v1.DaprProtos.EncryptRequestOptions getOptions() { if (optionsBuilder_ == null) { return options_ == null ? io.dapr.v1.DaprProtos.EncryptRequestOptions.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; */ public Builder setOptions(io.dapr.v1.DaprProtos.EncryptRequestOptions value) { if (optionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } options_ = value; onChanged(); } else { optionsBuilder_.setMessage(value); } return this; } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; */ public Builder setOptions( io.dapr.v1.DaprProtos.EncryptRequestOptions.Builder builderForValue) { if (optionsBuilder_ == null) { options_ = builderForValue.build(); onChanged(); } else { optionsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; */ public Builder mergeOptions(io.dapr.v1.DaprProtos.EncryptRequestOptions value) { if (optionsBuilder_ == null) { if (options_ != null) { options_ = io.dapr.v1.DaprProtos.EncryptRequestOptions.newBuilder(options_).mergeFrom(value).buildPartial(); } else { options_ = value; } onChanged(); } else { optionsBuilder_.mergeFrom(value); } return this; } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; */ public Builder clearOptions() { if (optionsBuilder_ == null) { options_ = null; onChanged(); } else { options_ = null; optionsBuilder_ = null; } return this; } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; */ public io.dapr.v1.DaprProtos.EncryptRequestOptions.Builder getOptionsBuilder() { onChanged(); return getOptionsFieldBuilder().getBuilder(); } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; */ public io.dapr.v1.DaprProtos.EncryptRequestOptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { return options_ == null ? io.dapr.v1.DaprProtos.EncryptRequestOptions.getDefaultInstance() : options_; } } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.EncryptRequestOptions options = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.EncryptRequestOptions, io.dapr.v1.DaprProtos.EncryptRequestOptions.Builder, io.dapr.v1.DaprProtos.EncryptRequestOptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.EncryptRequestOptions, io.dapr.v1.DaprProtos.EncryptRequestOptions.Builder, io.dapr.v1.DaprProtos.EncryptRequestOptionsOrBuilder>( getOptions(), getParentForChildren(), isClean()); options_ = null; } return optionsBuilder_; } private io.dapr.v1.CommonProtos.StreamPayload payload_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StreamPayload, io.dapr.v1.CommonProtos.StreamPayload.Builder, io.dapr.v1.CommonProtos.StreamPayloadOrBuilder> payloadBuilder_; /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; * @return Whether the payload field is set. */ public boolean hasPayload() { return payloadBuilder_ != null || payload_ != null; } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; * @return The payload. */ public io.dapr.v1.CommonProtos.StreamPayload getPayload() { if (payloadBuilder_ == null) { return payload_ == null ? io.dapr.v1.CommonProtos.StreamPayload.getDefaultInstance() : payload_; } else { return payloadBuilder_.getMessage(); } } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ public Builder setPayload(io.dapr.v1.CommonProtos.StreamPayload value) { if (payloadBuilder_ == null) { if (value == null) { throw new NullPointerException(); } payload_ = value; onChanged(); } else { payloadBuilder_.setMessage(value); } return this; } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ public Builder setPayload( io.dapr.v1.CommonProtos.StreamPayload.Builder builderForValue) { if (payloadBuilder_ == null) { payload_ = builderForValue.build(); onChanged(); } else { payloadBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ public Builder mergePayload(io.dapr.v1.CommonProtos.StreamPayload value) { if (payloadBuilder_ == null) { if (payload_ != null) { payload_ = io.dapr.v1.CommonProtos.StreamPayload.newBuilder(payload_).mergeFrom(value).buildPartial(); } else { payload_ = value; } onChanged(); } else { payloadBuilder_.mergeFrom(value); } return this; } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ public Builder clearPayload() { if (payloadBuilder_ == null) { payload_ = null; onChanged(); } else { payload_ = null; payloadBuilder_ = null; } return this; } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ public io.dapr.v1.CommonProtos.StreamPayload.Builder getPayloadBuilder() { onChanged(); return getPayloadFieldBuilder().getBuilder(); } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ public io.dapr.v1.CommonProtos.StreamPayloadOrBuilder getPayloadOrBuilder() { if (payloadBuilder_ != null) { return payloadBuilder_.getMessageOrBuilder(); } else { return payload_ == null ? io.dapr.v1.CommonProtos.StreamPayload.getDefaultInstance() : payload_; } } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StreamPayload, io.dapr.v1.CommonProtos.StreamPayload.Builder, io.dapr.v1.CommonProtos.StreamPayloadOrBuilder> getPayloadFieldBuilder() { if (payloadBuilder_ == null) { payloadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StreamPayload, io.dapr.v1.CommonProtos.StreamPayload.Builder, io.dapr.v1.CommonProtos.StreamPayloadOrBuilder>( getPayload(), getParentForChildren(), isClean()); payload_ = null; } return payloadBuilder_; } @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.EncryptRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.EncryptRequest) private static final io.dapr.v1.DaprProtos.EncryptRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.EncryptRequest(); } public static io.dapr.v1.DaprProtos.EncryptRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EncryptRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EncryptRequest(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.EncryptRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EncryptRequestOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.EncryptRequestOptions) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the component. Required.
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ java.lang.String getComponentName(); /** *
     * Name of the component. Required.
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ com.google.protobuf.ByteString getComponentNameBytes(); /** *
     * Name (or name/version) of the key. Required.
     * 
* * string key_name = 2 [json_name = "keyName"]; * @return The keyName. */ java.lang.String getKeyName(); /** *
     * Name (or name/version) of the key. Required.
     * 
* * string key_name = 2 [json_name = "keyName"]; * @return The bytes for keyName. */ com.google.protobuf.ByteString getKeyNameBytes(); /** *
     * Key wrapping algorithm to use. Required.
     * Supported options include: A256KW (alias: AES), A128CBC, A192CBC, A256CBC, RSA-OAEP-256 (alias: RSA).
     * 
* * string key_wrap_algorithm = 3; * @return The keyWrapAlgorithm. */ java.lang.String getKeyWrapAlgorithm(); /** *
     * Key wrapping algorithm to use. Required.
     * Supported options include: A256KW (alias: AES), A128CBC, A192CBC, A256CBC, RSA-OAEP-256 (alias: RSA).
     * 
* * string key_wrap_algorithm = 3; * @return The bytes for keyWrapAlgorithm. */ com.google.protobuf.ByteString getKeyWrapAlgorithmBytes(); /** *
     * Cipher used to encrypt data (optional): "aes-gcm" (default) or "chacha20-poly1305"
     * 
* * string data_encryption_cipher = 10; * @return The dataEncryptionCipher. */ java.lang.String getDataEncryptionCipher(); /** *
     * Cipher used to encrypt data (optional): "aes-gcm" (default) or "chacha20-poly1305"
     * 
* * string data_encryption_cipher = 10; * @return The bytes for dataEncryptionCipher. */ com.google.protobuf.ByteString getDataEncryptionCipherBytes(); /** *
     * If true, the encrypted document does not contain a key reference.
     * In that case, calls to the Decrypt method must provide a key reference (name or name/version).
     * Defaults to false.
     * 
* * bool omit_decryption_key_name = 11 [json_name = "omitDecryptionKeyName"]; * @return The omitDecryptionKeyName. */ boolean getOmitDecryptionKeyName(); /** *
     * Key reference to embed in the encrypted document (name or name/version).
     * This is helpful if the reference of the key used to decrypt the document is different from the one used to encrypt it.
     * If unset, uses the reference of the key used to encrypt the document (this is the default behavior).
     * This option is ignored if omit_decryption_key_name is true.
     * 
* * string decryption_key_name = 12 [json_name = "decryptionKeyName"]; * @return The decryptionKeyName. */ java.lang.String getDecryptionKeyName(); /** *
     * Key reference to embed in the encrypted document (name or name/version).
     * This is helpful if the reference of the key used to decrypt the document is different from the one used to encrypt it.
     * If unset, uses the reference of the key used to encrypt the document (this is the default behavior).
     * This option is ignored if omit_decryption_key_name is true.
     * 
* * string decryption_key_name = 12 [json_name = "decryptionKeyName"]; * @return The bytes for decryptionKeyName. */ com.google.protobuf.ByteString getDecryptionKeyNameBytes(); } /** *
   * EncryptRequestOptions contains options for the first message in the EncryptAlpha1 request.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.EncryptRequestOptions} */ public static final class EncryptRequestOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.EncryptRequestOptions) EncryptRequestOptionsOrBuilder { private static final long serialVersionUID = 0L; // Use EncryptRequestOptions.newBuilder() to construct. private EncryptRequestOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EncryptRequestOptions() { componentName_ = ""; keyName_ = ""; keyWrapAlgorithm_ = ""; dataEncryptionCipher_ = ""; decryptionKeyName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EncryptRequestOptions(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EncryptRequestOptions( 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(); componentName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); keyName_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); keyWrapAlgorithm_ = s; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); dataEncryptionCipher_ = s; break; } case 88: { omitDecryptionKeyName_ = input.readBool(); break; } case 98: { java.lang.String s = input.readStringRequireUtf8(); decryptionKeyName_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptRequestOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptRequestOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.EncryptRequestOptions.class, io.dapr.v1.DaprProtos.EncryptRequestOptions.Builder.class); } public static final int COMPONENT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object componentName_; /** *
     * Name of the component. Required.
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ @java.lang.Override public java.lang.String getComponentName() { java.lang.Object ref = componentName_; 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(); componentName_ = s; return s; } } /** *
     * Name of the component. Required.
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ @java.lang.Override public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object keyName_; /** *
     * Name (or name/version) of the key. Required.
     * 
* * string key_name = 2 [json_name = "keyName"]; * @return The keyName. */ @java.lang.Override public java.lang.String getKeyName() { java.lang.Object ref = keyName_; 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(); keyName_ = s; return s; } } /** *
     * Name (or name/version) of the key. Required.
     * 
* * string key_name = 2 [json_name = "keyName"]; * @return The bytes for keyName. */ @java.lang.Override public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_WRAP_ALGORITHM_FIELD_NUMBER = 3; private volatile java.lang.Object keyWrapAlgorithm_; /** *
     * Key wrapping algorithm to use. Required.
     * Supported options include: A256KW (alias: AES), A128CBC, A192CBC, A256CBC, RSA-OAEP-256 (alias: RSA).
     * 
* * string key_wrap_algorithm = 3; * @return The keyWrapAlgorithm. */ @java.lang.Override public java.lang.String getKeyWrapAlgorithm() { java.lang.Object ref = keyWrapAlgorithm_; 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(); keyWrapAlgorithm_ = s; return s; } } /** *
     * Key wrapping algorithm to use. Required.
     * Supported options include: A256KW (alias: AES), A128CBC, A192CBC, A256CBC, RSA-OAEP-256 (alias: RSA).
     * 
* * string key_wrap_algorithm = 3; * @return The bytes for keyWrapAlgorithm. */ @java.lang.Override public com.google.protobuf.ByteString getKeyWrapAlgorithmBytes() { java.lang.Object ref = keyWrapAlgorithm_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyWrapAlgorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_ENCRYPTION_CIPHER_FIELD_NUMBER = 10; private volatile java.lang.Object dataEncryptionCipher_; /** *
     * Cipher used to encrypt data (optional): "aes-gcm" (default) or "chacha20-poly1305"
     * 
* * string data_encryption_cipher = 10; * @return The dataEncryptionCipher. */ @java.lang.Override public java.lang.String getDataEncryptionCipher() { java.lang.Object ref = dataEncryptionCipher_; 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(); dataEncryptionCipher_ = s; return s; } } /** *
     * Cipher used to encrypt data (optional): "aes-gcm" (default) or "chacha20-poly1305"
     * 
* * string data_encryption_cipher = 10; * @return The bytes for dataEncryptionCipher. */ @java.lang.Override public com.google.protobuf.ByteString getDataEncryptionCipherBytes() { java.lang.Object ref = dataEncryptionCipher_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataEncryptionCipher_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OMIT_DECRYPTION_KEY_NAME_FIELD_NUMBER = 11; private boolean omitDecryptionKeyName_; /** *
     * If true, the encrypted document does not contain a key reference.
     * In that case, calls to the Decrypt method must provide a key reference (name or name/version).
     * Defaults to false.
     * 
* * bool omit_decryption_key_name = 11 [json_name = "omitDecryptionKeyName"]; * @return The omitDecryptionKeyName. */ @java.lang.Override public boolean getOmitDecryptionKeyName() { return omitDecryptionKeyName_; } public static final int DECRYPTION_KEY_NAME_FIELD_NUMBER = 12; private volatile java.lang.Object decryptionKeyName_; /** *
     * Key reference to embed in the encrypted document (name or name/version).
     * This is helpful if the reference of the key used to decrypt the document is different from the one used to encrypt it.
     * If unset, uses the reference of the key used to encrypt the document (this is the default behavior).
     * This option is ignored if omit_decryption_key_name is true.
     * 
* * string decryption_key_name = 12 [json_name = "decryptionKeyName"]; * @return The decryptionKeyName. */ @java.lang.Override public java.lang.String getDecryptionKeyName() { java.lang.Object ref = decryptionKeyName_; 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(); decryptionKeyName_ = s; return s; } } /** *
     * Key reference to embed in the encrypted document (name or name/version).
     * This is helpful if the reference of the key used to decrypt the document is different from the one used to encrypt it.
     * If unset, uses the reference of the key used to encrypt the document (this is the default behavior).
     * This option is ignored if omit_decryption_key_name is true.
     * 
* * string decryption_key_name = 12 [json_name = "decryptionKeyName"]; * @return The bytes for decryptionKeyName. */ @java.lang.Override public com.google.protobuf.ByteString getDecryptionKeyNameBytes() { java.lang.Object ref = decryptionKeyName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); decryptionKeyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, componentName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, keyName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyWrapAlgorithm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, keyWrapAlgorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataEncryptionCipher_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, dataEncryptionCipher_); } if (omitDecryptionKeyName_ != false) { output.writeBool(11, omitDecryptionKeyName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(decryptionKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, decryptionKeyName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, componentName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, keyName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyWrapAlgorithm_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, keyWrapAlgorithm_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataEncryptionCipher_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, dataEncryptionCipher_); } if (omitDecryptionKeyName_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, omitDecryptionKeyName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(decryptionKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, decryptionKeyName_); } 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.EncryptRequestOptions)) { return super.equals(obj); } io.dapr.v1.DaprProtos.EncryptRequestOptions other = (io.dapr.v1.DaprProtos.EncryptRequestOptions) obj; if (!getComponentName() .equals(other.getComponentName())) return false; if (!getKeyName() .equals(other.getKeyName())) return false; if (!getKeyWrapAlgorithm() .equals(other.getKeyWrapAlgorithm())) return false; if (!getDataEncryptionCipher() .equals(other.getDataEncryptionCipher())) return false; if (getOmitDecryptionKeyName() != other.getOmitDecryptionKeyName()) return false; if (!getDecryptionKeyName() .equals(other.getDecryptionKeyName())) 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) + COMPONENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getComponentName().hashCode(); hash = (37 * hash) + KEY_NAME_FIELD_NUMBER; hash = (53 * hash) + getKeyName().hashCode(); hash = (37 * hash) + KEY_WRAP_ALGORITHM_FIELD_NUMBER; hash = (53 * hash) + getKeyWrapAlgorithm().hashCode(); hash = (37 * hash) + DATA_ENCRYPTION_CIPHER_FIELD_NUMBER; hash = (53 * hash) + getDataEncryptionCipher().hashCode(); hash = (37 * hash) + OMIT_DECRYPTION_KEY_NAME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOmitDecryptionKeyName()); hash = (37 * hash) + DECRYPTION_KEY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDecryptionKeyName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.EncryptRequestOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.EncryptRequestOptions 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.EncryptRequestOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.EncryptRequestOptions 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.EncryptRequestOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.EncryptRequestOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.EncryptRequestOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.EncryptRequestOptions 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.EncryptRequestOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.EncryptRequestOptions 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.EncryptRequestOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.EncryptRequestOptions 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.EncryptRequestOptions 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; } /** *
     * EncryptRequestOptions contains options for the first message in the EncryptAlpha1 request.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.EncryptRequestOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.EncryptRequestOptions) io.dapr.v1.DaprProtos.EncryptRequestOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptRequestOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptRequestOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.EncryptRequestOptions.class, io.dapr.v1.DaprProtos.EncryptRequestOptions.Builder.class); } // Construct using io.dapr.v1.DaprProtos.EncryptRequestOptions.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(); componentName_ = ""; keyName_ = ""; keyWrapAlgorithm_ = ""; dataEncryptionCipher_ = ""; omitDecryptionKeyName_ = false; decryptionKeyName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptRequestOptions_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.EncryptRequestOptions getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.EncryptRequestOptions.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.EncryptRequestOptions build() { io.dapr.v1.DaprProtos.EncryptRequestOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.EncryptRequestOptions buildPartial() { io.dapr.v1.DaprProtos.EncryptRequestOptions result = new io.dapr.v1.DaprProtos.EncryptRequestOptions(this); result.componentName_ = componentName_; result.keyName_ = keyName_; result.keyWrapAlgorithm_ = keyWrapAlgorithm_; result.dataEncryptionCipher_ = dataEncryptionCipher_; result.omitDecryptionKeyName_ = omitDecryptionKeyName_; result.decryptionKeyName_ = decryptionKeyName_; 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.EncryptRequestOptions) { return mergeFrom((io.dapr.v1.DaprProtos.EncryptRequestOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.EncryptRequestOptions other) { if (other == io.dapr.v1.DaprProtos.EncryptRequestOptions.getDefaultInstance()) return this; if (!other.getComponentName().isEmpty()) { componentName_ = other.componentName_; onChanged(); } if (!other.getKeyName().isEmpty()) { keyName_ = other.keyName_; onChanged(); } if (!other.getKeyWrapAlgorithm().isEmpty()) { keyWrapAlgorithm_ = other.keyWrapAlgorithm_; onChanged(); } if (!other.getDataEncryptionCipher().isEmpty()) { dataEncryptionCipher_ = other.dataEncryptionCipher_; onChanged(); } if (other.getOmitDecryptionKeyName() != false) { setOmitDecryptionKeyName(other.getOmitDecryptionKeyName()); } if (!other.getDecryptionKeyName().isEmpty()) { decryptionKeyName_ = other.decryptionKeyName_; 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.EncryptRequestOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.EncryptRequestOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object componentName_ = ""; /** *
       * Name of the component. Required.
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ public java.lang.String getComponentName() { java.lang.Object ref = componentName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the component. Required.
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the component. Required.
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The componentName to set. * @return This builder for chaining. */ public Builder setComponentName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } componentName_ = value; onChanged(); return this; } /** *
       * Name of the component. Required.
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return This builder for chaining. */ public Builder clearComponentName() { componentName_ = getDefaultInstance().getComponentName(); onChanged(); return this; } /** *
       * Name of the component. Required.
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The bytes for componentName to set. * @return This builder for chaining. */ public Builder setComponentNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); componentName_ = value; onChanged(); return this; } private java.lang.Object keyName_ = ""; /** *
       * Name (or name/version) of the key. Required.
       * 
* * string key_name = 2 [json_name = "keyName"]; * @return The keyName. */ public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name (or name/version) of the key. Required.
       * 
* * string key_name = 2 [json_name = "keyName"]; * @return The bytes for keyName. */ public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name (or name/version) of the key. Required.
       * 
* * string key_name = 2 [json_name = "keyName"]; * @param value The keyName to set. * @return This builder for chaining. */ public Builder setKeyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyName_ = value; onChanged(); return this; } /** *
       * Name (or name/version) of the key. Required.
       * 
* * string key_name = 2 [json_name = "keyName"]; * @return This builder for chaining. */ public Builder clearKeyName() { keyName_ = getDefaultInstance().getKeyName(); onChanged(); return this; } /** *
       * Name (or name/version) of the key. Required.
       * 
* * string key_name = 2 [json_name = "keyName"]; * @param value The bytes for keyName to set. * @return This builder for chaining. */ public Builder setKeyNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyName_ = value; onChanged(); return this; } private java.lang.Object keyWrapAlgorithm_ = ""; /** *
       * Key wrapping algorithm to use. Required.
       * Supported options include: A256KW (alias: AES), A128CBC, A192CBC, A256CBC, RSA-OAEP-256 (alias: RSA).
       * 
* * string key_wrap_algorithm = 3; * @return The keyWrapAlgorithm. */ public java.lang.String getKeyWrapAlgorithm() { java.lang.Object ref = keyWrapAlgorithm_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyWrapAlgorithm_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Key wrapping algorithm to use. Required.
       * Supported options include: A256KW (alias: AES), A128CBC, A192CBC, A256CBC, RSA-OAEP-256 (alias: RSA).
       * 
* * string key_wrap_algorithm = 3; * @return The bytes for keyWrapAlgorithm. */ public com.google.protobuf.ByteString getKeyWrapAlgorithmBytes() { java.lang.Object ref = keyWrapAlgorithm_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyWrapAlgorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Key wrapping algorithm to use. Required.
       * Supported options include: A256KW (alias: AES), A128CBC, A192CBC, A256CBC, RSA-OAEP-256 (alias: RSA).
       * 
* * string key_wrap_algorithm = 3; * @param value The keyWrapAlgorithm to set. * @return This builder for chaining. */ public Builder setKeyWrapAlgorithm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyWrapAlgorithm_ = value; onChanged(); return this; } /** *
       * Key wrapping algorithm to use. Required.
       * Supported options include: A256KW (alias: AES), A128CBC, A192CBC, A256CBC, RSA-OAEP-256 (alias: RSA).
       * 
* * string key_wrap_algorithm = 3; * @return This builder for chaining. */ public Builder clearKeyWrapAlgorithm() { keyWrapAlgorithm_ = getDefaultInstance().getKeyWrapAlgorithm(); onChanged(); return this; } /** *
       * Key wrapping algorithm to use. Required.
       * Supported options include: A256KW (alias: AES), A128CBC, A192CBC, A256CBC, RSA-OAEP-256 (alias: RSA).
       * 
* * string key_wrap_algorithm = 3; * @param value The bytes for keyWrapAlgorithm to set. * @return This builder for chaining. */ public Builder setKeyWrapAlgorithmBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyWrapAlgorithm_ = value; onChanged(); return this; } private java.lang.Object dataEncryptionCipher_ = ""; /** *
       * Cipher used to encrypt data (optional): "aes-gcm" (default) or "chacha20-poly1305"
       * 
* * string data_encryption_cipher = 10; * @return The dataEncryptionCipher. */ public java.lang.String getDataEncryptionCipher() { java.lang.Object ref = dataEncryptionCipher_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataEncryptionCipher_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Cipher used to encrypt data (optional): "aes-gcm" (default) or "chacha20-poly1305"
       * 
* * string data_encryption_cipher = 10; * @return The bytes for dataEncryptionCipher. */ public com.google.protobuf.ByteString getDataEncryptionCipherBytes() { java.lang.Object ref = dataEncryptionCipher_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataEncryptionCipher_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Cipher used to encrypt data (optional): "aes-gcm" (default) or "chacha20-poly1305"
       * 
* * string data_encryption_cipher = 10; * @param value The dataEncryptionCipher to set. * @return This builder for chaining. */ public Builder setDataEncryptionCipher( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dataEncryptionCipher_ = value; onChanged(); return this; } /** *
       * Cipher used to encrypt data (optional): "aes-gcm" (default) or "chacha20-poly1305"
       * 
* * string data_encryption_cipher = 10; * @return This builder for chaining. */ public Builder clearDataEncryptionCipher() { dataEncryptionCipher_ = getDefaultInstance().getDataEncryptionCipher(); onChanged(); return this; } /** *
       * Cipher used to encrypt data (optional): "aes-gcm" (default) or "chacha20-poly1305"
       * 
* * string data_encryption_cipher = 10; * @param value The bytes for dataEncryptionCipher to set. * @return This builder for chaining. */ public Builder setDataEncryptionCipherBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataEncryptionCipher_ = value; onChanged(); return this; } private boolean omitDecryptionKeyName_ ; /** *
       * If true, the encrypted document does not contain a key reference.
       * In that case, calls to the Decrypt method must provide a key reference (name or name/version).
       * Defaults to false.
       * 
* * bool omit_decryption_key_name = 11 [json_name = "omitDecryptionKeyName"]; * @return The omitDecryptionKeyName. */ @java.lang.Override public boolean getOmitDecryptionKeyName() { return omitDecryptionKeyName_; } /** *
       * If true, the encrypted document does not contain a key reference.
       * In that case, calls to the Decrypt method must provide a key reference (name or name/version).
       * Defaults to false.
       * 
* * bool omit_decryption_key_name = 11 [json_name = "omitDecryptionKeyName"]; * @param value The omitDecryptionKeyName to set. * @return This builder for chaining. */ public Builder setOmitDecryptionKeyName(boolean value) { omitDecryptionKeyName_ = value; onChanged(); return this; } /** *
       * If true, the encrypted document does not contain a key reference.
       * In that case, calls to the Decrypt method must provide a key reference (name or name/version).
       * Defaults to false.
       * 
* * bool omit_decryption_key_name = 11 [json_name = "omitDecryptionKeyName"]; * @return This builder for chaining. */ public Builder clearOmitDecryptionKeyName() { omitDecryptionKeyName_ = false; onChanged(); return this; } private java.lang.Object decryptionKeyName_ = ""; /** *
       * Key reference to embed in the encrypted document (name or name/version).
       * This is helpful if the reference of the key used to decrypt the document is different from the one used to encrypt it.
       * If unset, uses the reference of the key used to encrypt the document (this is the default behavior).
       * This option is ignored if omit_decryption_key_name is true.
       * 
* * string decryption_key_name = 12 [json_name = "decryptionKeyName"]; * @return The decryptionKeyName. */ public java.lang.String getDecryptionKeyName() { java.lang.Object ref = decryptionKeyName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); decryptionKeyName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Key reference to embed in the encrypted document (name or name/version).
       * This is helpful if the reference of the key used to decrypt the document is different from the one used to encrypt it.
       * If unset, uses the reference of the key used to encrypt the document (this is the default behavior).
       * This option is ignored if omit_decryption_key_name is true.
       * 
* * string decryption_key_name = 12 [json_name = "decryptionKeyName"]; * @return The bytes for decryptionKeyName. */ public com.google.protobuf.ByteString getDecryptionKeyNameBytes() { java.lang.Object ref = decryptionKeyName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); decryptionKeyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Key reference to embed in the encrypted document (name or name/version).
       * This is helpful if the reference of the key used to decrypt the document is different from the one used to encrypt it.
       * If unset, uses the reference of the key used to encrypt the document (this is the default behavior).
       * This option is ignored if omit_decryption_key_name is true.
       * 
* * string decryption_key_name = 12 [json_name = "decryptionKeyName"]; * @param value The decryptionKeyName to set. * @return This builder for chaining. */ public Builder setDecryptionKeyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } decryptionKeyName_ = value; onChanged(); return this; } /** *
       * Key reference to embed in the encrypted document (name or name/version).
       * This is helpful if the reference of the key used to decrypt the document is different from the one used to encrypt it.
       * If unset, uses the reference of the key used to encrypt the document (this is the default behavior).
       * This option is ignored if omit_decryption_key_name is true.
       * 
* * string decryption_key_name = 12 [json_name = "decryptionKeyName"]; * @return This builder for chaining. */ public Builder clearDecryptionKeyName() { decryptionKeyName_ = getDefaultInstance().getDecryptionKeyName(); onChanged(); return this; } /** *
       * Key reference to embed in the encrypted document (name or name/version).
       * This is helpful if the reference of the key used to decrypt the document is different from the one used to encrypt it.
       * If unset, uses the reference of the key used to encrypt the document (this is the default behavior).
       * This option is ignored if omit_decryption_key_name is true.
       * 
* * string decryption_key_name = 12 [json_name = "decryptionKeyName"]; * @param value The bytes for decryptionKeyName to set. * @return This builder for chaining. */ public Builder setDecryptionKeyNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); decryptionKeyName_ = 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.EncryptRequestOptions) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.EncryptRequestOptions) private static final io.dapr.v1.DaprProtos.EncryptRequestOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.EncryptRequestOptions(); } public static io.dapr.v1.DaprProtos.EncryptRequestOptions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EncryptRequestOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EncryptRequestOptions(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.EncryptRequestOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EncryptResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.EncryptResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Chunk of data.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; * @return Whether the payload field is set. */ boolean hasPayload(); /** *
     * Chunk of data.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; * @return The payload. */ io.dapr.v1.CommonProtos.StreamPayload getPayload(); /** *
     * Chunk of data.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ io.dapr.v1.CommonProtos.StreamPayloadOrBuilder getPayloadOrBuilder(); } /** *
   * EncryptResponse is the response for EncryptAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.EncryptResponse} */ public static final class EncryptResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.EncryptResponse) EncryptResponseOrBuilder { private static final long serialVersionUID = 0L; // Use EncryptResponse.newBuilder() to construct. private EncryptResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EncryptResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EncryptResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EncryptResponse( 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: { io.dapr.v1.CommonProtos.StreamPayload.Builder subBuilder = null; if (payload_ != null) { subBuilder = payload_.toBuilder(); } payload_ = input.readMessage(io.dapr.v1.CommonProtos.StreamPayload.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(payload_); payload_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.EncryptResponse.class, io.dapr.v1.DaprProtos.EncryptResponse.Builder.class); } public static final int PAYLOAD_FIELD_NUMBER = 1; private io.dapr.v1.CommonProtos.StreamPayload payload_; /** *
     * Chunk of data.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; * @return Whether the payload field is set. */ @java.lang.Override public boolean hasPayload() { return payload_ != null; } /** *
     * Chunk of data.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; * @return The payload. */ @java.lang.Override public io.dapr.v1.CommonProtos.StreamPayload getPayload() { return payload_ == null ? io.dapr.v1.CommonProtos.StreamPayload.getDefaultInstance() : payload_; } /** *
     * Chunk of data.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ @java.lang.Override public io.dapr.v1.CommonProtos.StreamPayloadOrBuilder getPayloadOrBuilder() { return getPayload(); } 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 (payload_ != null) { output.writeMessage(1, getPayload()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (payload_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPayload()); } 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.EncryptResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.EncryptResponse other = (io.dapr.v1.DaprProtos.EncryptResponse) obj; if (hasPayload() != other.hasPayload()) return false; if (hasPayload()) { if (!getPayload() .equals(other.getPayload())) 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 (hasPayload()) { hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getPayload().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.EncryptResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.EncryptResponse 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.EncryptResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.EncryptResponse 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.EncryptResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.EncryptResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.EncryptResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.EncryptResponse 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.EncryptResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.EncryptResponse 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.EncryptResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.EncryptResponse 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.EncryptResponse 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; } /** *
     * EncryptResponse is the response for EncryptAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.EncryptResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.EncryptResponse) io.dapr.v1.DaprProtos.EncryptResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.EncryptResponse.class, io.dapr.v1.DaprProtos.EncryptResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.EncryptResponse.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(); if (payloadBuilder_ == null) { payload_ = null; } else { payload_ = null; payloadBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_EncryptResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.EncryptResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.EncryptResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.EncryptResponse build() { io.dapr.v1.DaprProtos.EncryptResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.EncryptResponse buildPartial() { io.dapr.v1.DaprProtos.EncryptResponse result = new io.dapr.v1.DaprProtos.EncryptResponse(this); if (payloadBuilder_ == null) { result.payload_ = payload_; } else { result.payload_ = payloadBuilder_.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.EncryptResponse) { return mergeFrom((io.dapr.v1.DaprProtos.EncryptResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.EncryptResponse other) { if (other == io.dapr.v1.DaprProtos.EncryptResponse.getDefaultInstance()) return this; if (other.hasPayload()) { mergePayload(other.getPayload()); } 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.EncryptResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.EncryptResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.dapr.v1.CommonProtos.StreamPayload payload_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StreamPayload, io.dapr.v1.CommonProtos.StreamPayload.Builder, io.dapr.v1.CommonProtos.StreamPayloadOrBuilder> payloadBuilder_; /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; * @return Whether the payload field is set. */ public boolean hasPayload() { return payloadBuilder_ != null || payload_ != null; } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; * @return The payload. */ public io.dapr.v1.CommonProtos.StreamPayload getPayload() { if (payloadBuilder_ == null) { return payload_ == null ? io.dapr.v1.CommonProtos.StreamPayload.getDefaultInstance() : payload_; } else { return payloadBuilder_.getMessage(); } } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ public Builder setPayload(io.dapr.v1.CommonProtos.StreamPayload value) { if (payloadBuilder_ == null) { if (value == null) { throw new NullPointerException(); } payload_ = value; onChanged(); } else { payloadBuilder_.setMessage(value); } return this; } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ public Builder setPayload( io.dapr.v1.CommonProtos.StreamPayload.Builder builderForValue) { if (payloadBuilder_ == null) { payload_ = builderForValue.build(); onChanged(); } else { payloadBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ public Builder mergePayload(io.dapr.v1.CommonProtos.StreamPayload value) { if (payloadBuilder_ == null) { if (payload_ != null) { payload_ = io.dapr.v1.CommonProtos.StreamPayload.newBuilder(payload_).mergeFrom(value).buildPartial(); } else { payload_ = value; } onChanged(); } else { payloadBuilder_.mergeFrom(value); } return this; } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ public Builder clearPayload() { if (payloadBuilder_ == null) { payload_ = null; onChanged(); } else { payload_ = null; payloadBuilder_ = null; } return this; } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ public io.dapr.v1.CommonProtos.StreamPayload.Builder getPayloadBuilder() { onChanged(); return getPayloadFieldBuilder().getBuilder(); } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ public io.dapr.v1.CommonProtos.StreamPayloadOrBuilder getPayloadOrBuilder() { if (payloadBuilder_ != null) { return payloadBuilder_.getMessageOrBuilder(); } else { return payload_ == null ? io.dapr.v1.CommonProtos.StreamPayload.getDefaultInstance() : payload_; } } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StreamPayload, io.dapr.v1.CommonProtos.StreamPayload.Builder, io.dapr.v1.CommonProtos.StreamPayloadOrBuilder> getPayloadFieldBuilder() { if (payloadBuilder_ == null) { payloadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StreamPayload, io.dapr.v1.CommonProtos.StreamPayload.Builder, io.dapr.v1.CommonProtos.StreamPayloadOrBuilder>( getPayload(), getParentForChildren(), isClean()); payload_ = null; } return payloadBuilder_; } @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.EncryptResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.EncryptResponse) private static final io.dapr.v1.DaprProtos.EncryptResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.EncryptResponse(); } public static io.dapr.v1.DaprProtos.EncryptResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EncryptResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EncryptResponse(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.EncryptResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DecryptRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.DecryptRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Request details. Must be present in the first message only.
     * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; * @return Whether the options field is set. */ boolean hasOptions(); /** *
     * Request details. Must be present in the first message only.
     * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; * @return The options. */ io.dapr.v1.DaprProtos.DecryptRequestOptions getOptions(); /** *
     * Request details. Must be present in the first message only.
     * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; */ io.dapr.v1.DaprProtos.DecryptRequestOptionsOrBuilder getOptionsOrBuilder(); /** *
     * Chunk of data of arbitrary size.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; * @return Whether the payload field is set. */ boolean hasPayload(); /** *
     * Chunk of data of arbitrary size.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; * @return The payload. */ io.dapr.v1.CommonProtos.StreamPayload getPayload(); /** *
     * Chunk of data of arbitrary size.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ io.dapr.v1.CommonProtos.StreamPayloadOrBuilder getPayloadOrBuilder(); } /** *
   * DecryptRequest is the request for DecryptAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.DecryptRequest} */ public static final class DecryptRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.DecryptRequest) DecryptRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DecryptRequest.newBuilder() to construct. private DecryptRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DecryptRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DecryptRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DecryptRequest( 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: { io.dapr.v1.DaprProtos.DecryptRequestOptions.Builder subBuilder = null; if (options_ != null) { subBuilder = options_.toBuilder(); } options_ = input.readMessage(io.dapr.v1.DaprProtos.DecryptRequestOptions.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(options_); options_ = subBuilder.buildPartial(); } break; } case 18: { io.dapr.v1.CommonProtos.StreamPayload.Builder subBuilder = null; if (payload_ != null) { subBuilder = payload_.toBuilder(); } payload_ = input.readMessage(io.dapr.v1.CommonProtos.StreamPayload.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(payload_); payload_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DecryptRequest.class, io.dapr.v1.DaprProtos.DecryptRequest.Builder.class); } public static final int OPTIONS_FIELD_NUMBER = 1; private io.dapr.v1.DaprProtos.DecryptRequestOptions options_; /** *
     * Request details. Must be present in the first message only.
     * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; * @return Whether the options field is set. */ @java.lang.Override public boolean hasOptions() { return options_ != null; } /** *
     * Request details. Must be present in the first message only.
     * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; * @return The options. */ @java.lang.Override public io.dapr.v1.DaprProtos.DecryptRequestOptions getOptions() { return options_ == null ? io.dapr.v1.DaprProtos.DecryptRequestOptions.getDefaultInstance() : options_; } /** *
     * Request details. Must be present in the first message only.
     * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.DecryptRequestOptionsOrBuilder getOptionsOrBuilder() { return getOptions(); } public static final int PAYLOAD_FIELD_NUMBER = 2; private io.dapr.v1.CommonProtos.StreamPayload payload_; /** *
     * Chunk of data of arbitrary size.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; * @return Whether the payload field is set. */ @java.lang.Override public boolean hasPayload() { return payload_ != null; } /** *
     * Chunk of data of arbitrary size.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; * @return The payload. */ @java.lang.Override public io.dapr.v1.CommonProtos.StreamPayload getPayload() { return payload_ == null ? io.dapr.v1.CommonProtos.StreamPayload.getDefaultInstance() : payload_; } /** *
     * Chunk of data of arbitrary size.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ @java.lang.Override public io.dapr.v1.CommonProtos.StreamPayloadOrBuilder getPayloadOrBuilder() { return getPayload(); } 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 (options_ != null) { output.writeMessage(1, getOptions()); } if (payload_ != null) { output.writeMessage(2, getPayload()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (options_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOptions()); } if (payload_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPayload()); } 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.DecryptRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.DecryptRequest other = (io.dapr.v1.DaprProtos.DecryptRequest) obj; if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { if (!getOptions() .equals(other.getOptions())) return false; } if (hasPayload() != other.hasPayload()) return false; if (hasPayload()) { if (!getPayload() .equals(other.getPayload())) 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 (hasOptions()) { hash = (37 * hash) + OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getOptions().hashCode(); } if (hasPayload()) { hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getPayload().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.DecryptRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DecryptRequest 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.DecryptRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DecryptRequest 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.DecryptRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DecryptRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.DecryptRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DecryptRequest 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.DecryptRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DecryptRequest 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.DecryptRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DecryptRequest 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.DecryptRequest 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; } /** *
     * DecryptRequest is the request for DecryptAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.DecryptRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.DecryptRequest) io.dapr.v1.DaprProtos.DecryptRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DecryptRequest.class, io.dapr.v1.DaprProtos.DecryptRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.DecryptRequest.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(); if (optionsBuilder_ == null) { options_ = null; } else { options_ = null; optionsBuilder_ = null; } if (payloadBuilder_ == null) { payload_ = null; } else { payload_ = null; payloadBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.DecryptRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.DecryptRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.DecryptRequest build() { io.dapr.v1.DaprProtos.DecryptRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.DecryptRequest buildPartial() { io.dapr.v1.DaprProtos.DecryptRequest result = new io.dapr.v1.DaprProtos.DecryptRequest(this); if (optionsBuilder_ == null) { result.options_ = options_; } else { result.options_ = optionsBuilder_.build(); } if (payloadBuilder_ == null) { result.payload_ = payload_; } else { result.payload_ = payloadBuilder_.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.DecryptRequest) { return mergeFrom((io.dapr.v1.DaprProtos.DecryptRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.DecryptRequest other) { if (other == io.dapr.v1.DaprProtos.DecryptRequest.getDefaultInstance()) return this; if (other.hasOptions()) { mergeOptions(other.getOptions()); } if (other.hasPayload()) { mergePayload(other.getPayload()); } 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.DecryptRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.DecryptRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.dapr.v1.DaprProtos.DecryptRequestOptions options_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.DecryptRequestOptions, io.dapr.v1.DaprProtos.DecryptRequestOptions.Builder, io.dapr.v1.DaprProtos.DecryptRequestOptionsOrBuilder> optionsBuilder_; /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; * @return The options. */ public io.dapr.v1.DaprProtos.DecryptRequestOptions getOptions() { if (optionsBuilder_ == null) { return options_ == null ? io.dapr.v1.DaprProtos.DecryptRequestOptions.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; */ public Builder setOptions(io.dapr.v1.DaprProtos.DecryptRequestOptions value) { if (optionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } options_ = value; onChanged(); } else { optionsBuilder_.setMessage(value); } return this; } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; */ public Builder setOptions( io.dapr.v1.DaprProtos.DecryptRequestOptions.Builder builderForValue) { if (optionsBuilder_ == null) { options_ = builderForValue.build(); onChanged(); } else { optionsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; */ public Builder mergeOptions(io.dapr.v1.DaprProtos.DecryptRequestOptions value) { if (optionsBuilder_ == null) { if (options_ != null) { options_ = io.dapr.v1.DaprProtos.DecryptRequestOptions.newBuilder(options_).mergeFrom(value).buildPartial(); } else { options_ = value; } onChanged(); } else { optionsBuilder_.mergeFrom(value); } return this; } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; */ public Builder clearOptions() { if (optionsBuilder_ == null) { options_ = null; onChanged(); } else { options_ = null; optionsBuilder_ = null; } return this; } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; */ public io.dapr.v1.DaprProtos.DecryptRequestOptions.Builder getOptionsBuilder() { onChanged(); return getOptionsFieldBuilder().getBuilder(); } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; */ public io.dapr.v1.DaprProtos.DecryptRequestOptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { return options_ == null ? io.dapr.v1.DaprProtos.DecryptRequestOptions.getDefaultInstance() : options_; } } /** *
       * Request details. Must be present in the first message only.
       * 
* * .dapr.proto.runtime.v1.DecryptRequestOptions options = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.DecryptRequestOptions, io.dapr.v1.DaprProtos.DecryptRequestOptions.Builder, io.dapr.v1.DaprProtos.DecryptRequestOptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.DecryptRequestOptions, io.dapr.v1.DaprProtos.DecryptRequestOptions.Builder, io.dapr.v1.DaprProtos.DecryptRequestOptionsOrBuilder>( getOptions(), getParentForChildren(), isClean()); options_ = null; } return optionsBuilder_; } private io.dapr.v1.CommonProtos.StreamPayload payload_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StreamPayload, io.dapr.v1.CommonProtos.StreamPayload.Builder, io.dapr.v1.CommonProtos.StreamPayloadOrBuilder> payloadBuilder_; /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; * @return Whether the payload field is set. */ public boolean hasPayload() { return payloadBuilder_ != null || payload_ != null; } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; * @return The payload. */ public io.dapr.v1.CommonProtos.StreamPayload getPayload() { if (payloadBuilder_ == null) { return payload_ == null ? io.dapr.v1.CommonProtos.StreamPayload.getDefaultInstance() : payload_; } else { return payloadBuilder_.getMessage(); } } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ public Builder setPayload(io.dapr.v1.CommonProtos.StreamPayload value) { if (payloadBuilder_ == null) { if (value == null) { throw new NullPointerException(); } payload_ = value; onChanged(); } else { payloadBuilder_.setMessage(value); } return this; } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ public Builder setPayload( io.dapr.v1.CommonProtos.StreamPayload.Builder builderForValue) { if (payloadBuilder_ == null) { payload_ = builderForValue.build(); onChanged(); } else { payloadBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ public Builder mergePayload(io.dapr.v1.CommonProtos.StreamPayload value) { if (payloadBuilder_ == null) { if (payload_ != null) { payload_ = io.dapr.v1.CommonProtos.StreamPayload.newBuilder(payload_).mergeFrom(value).buildPartial(); } else { payload_ = value; } onChanged(); } else { payloadBuilder_.mergeFrom(value); } return this; } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ public Builder clearPayload() { if (payloadBuilder_ == null) { payload_ = null; onChanged(); } else { payload_ = null; payloadBuilder_ = null; } return this; } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ public io.dapr.v1.CommonProtos.StreamPayload.Builder getPayloadBuilder() { onChanged(); return getPayloadFieldBuilder().getBuilder(); } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ public io.dapr.v1.CommonProtos.StreamPayloadOrBuilder getPayloadOrBuilder() { if (payloadBuilder_ != null) { return payloadBuilder_.getMessageOrBuilder(); } else { return payload_ == null ? io.dapr.v1.CommonProtos.StreamPayload.getDefaultInstance() : payload_; } } /** *
       * Chunk of data of arbitrary size.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StreamPayload, io.dapr.v1.CommonProtos.StreamPayload.Builder, io.dapr.v1.CommonProtos.StreamPayloadOrBuilder> getPayloadFieldBuilder() { if (payloadBuilder_ == null) { payloadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StreamPayload, io.dapr.v1.CommonProtos.StreamPayload.Builder, io.dapr.v1.CommonProtos.StreamPayloadOrBuilder>( getPayload(), getParentForChildren(), isClean()); payload_ = null; } return payloadBuilder_; } @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.DecryptRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.DecryptRequest) private static final io.dapr.v1.DaprProtos.DecryptRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.DecryptRequest(); } public static io.dapr.v1.DaprProtos.DecryptRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DecryptRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DecryptRequest(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.DecryptRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DecryptRequestOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.DecryptRequestOptions) com.google.protobuf.MessageOrBuilder { /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ java.lang.String getComponentName(); /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ com.google.protobuf.ByteString getComponentNameBytes(); /** *
     * Name (or name/version) of the key to decrypt the message.
     * Overrides any key reference included in the message if present.
     * This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
     * 
* * string key_name = 12 [json_name = "keyName"]; * @return The keyName. */ java.lang.String getKeyName(); /** *
     * Name (or name/version) of the key to decrypt the message.
     * Overrides any key reference included in the message if present.
     * This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
     * 
* * string key_name = 12 [json_name = "keyName"]; * @return The bytes for keyName. */ com.google.protobuf.ByteString getKeyNameBytes(); } /** *
   * DecryptRequestOptions contains options for the first message in the DecryptAlpha1 request.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.DecryptRequestOptions} */ public static final class DecryptRequestOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.DecryptRequestOptions) DecryptRequestOptionsOrBuilder { private static final long serialVersionUID = 0L; // Use DecryptRequestOptions.newBuilder() to construct. private DecryptRequestOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DecryptRequestOptions() { componentName_ = ""; keyName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DecryptRequestOptions(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DecryptRequestOptions( 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(); componentName_ = s; break; } case 98: { java.lang.String s = input.readStringRequireUtf8(); keyName_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptRequestOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptRequestOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DecryptRequestOptions.class, io.dapr.v1.DaprProtos.DecryptRequestOptions.Builder.class); } public static final int COMPONENT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object componentName_; /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ @java.lang.Override public java.lang.String getComponentName() { java.lang.Object ref = componentName_; 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(); componentName_ = s; return s; } } /** *
     * Name of the component
     * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ @java.lang.Override public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_NAME_FIELD_NUMBER = 12; private volatile java.lang.Object keyName_; /** *
     * Name (or name/version) of the key to decrypt the message.
     * Overrides any key reference included in the message if present.
     * This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
     * 
* * string key_name = 12 [json_name = "keyName"]; * @return The keyName. */ @java.lang.Override public java.lang.String getKeyName() { java.lang.Object ref = keyName_; 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(); keyName_ = s; return s; } } /** *
     * Name (or name/version) of the key to decrypt the message.
     * Overrides any key reference included in the message if present.
     * This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
     * 
* * string key_name = 12 [json_name = "keyName"]; * @return The bytes for keyName. */ @java.lang.Override public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, componentName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, keyName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(componentName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, componentName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, keyName_); } 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.DecryptRequestOptions)) { return super.equals(obj); } io.dapr.v1.DaprProtos.DecryptRequestOptions other = (io.dapr.v1.DaprProtos.DecryptRequestOptions) obj; if (!getComponentName() .equals(other.getComponentName())) return false; if (!getKeyName() .equals(other.getKeyName())) 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) + COMPONENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getComponentName().hashCode(); hash = (37 * hash) + KEY_NAME_FIELD_NUMBER; hash = (53 * hash) + getKeyName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.DecryptRequestOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DecryptRequestOptions 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.DecryptRequestOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DecryptRequestOptions 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.DecryptRequestOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DecryptRequestOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.DecryptRequestOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DecryptRequestOptions 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.DecryptRequestOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DecryptRequestOptions 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.DecryptRequestOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DecryptRequestOptions 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.DecryptRequestOptions 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; } /** *
     * DecryptRequestOptions contains options for the first message in the DecryptAlpha1 request.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.DecryptRequestOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.DecryptRequestOptions) io.dapr.v1.DaprProtos.DecryptRequestOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptRequestOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptRequestOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DecryptRequestOptions.class, io.dapr.v1.DaprProtos.DecryptRequestOptions.Builder.class); } // Construct using io.dapr.v1.DaprProtos.DecryptRequestOptions.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(); componentName_ = ""; keyName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptRequestOptions_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.DecryptRequestOptions getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.DecryptRequestOptions.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.DecryptRequestOptions build() { io.dapr.v1.DaprProtos.DecryptRequestOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.DecryptRequestOptions buildPartial() { io.dapr.v1.DaprProtos.DecryptRequestOptions result = new io.dapr.v1.DaprProtos.DecryptRequestOptions(this); result.componentName_ = componentName_; result.keyName_ = keyName_; 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.DecryptRequestOptions) { return mergeFrom((io.dapr.v1.DaprProtos.DecryptRequestOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.DecryptRequestOptions other) { if (other == io.dapr.v1.DaprProtos.DecryptRequestOptions.getDefaultInstance()) return this; if (!other.getComponentName().isEmpty()) { componentName_ = other.componentName_; onChanged(); } if (!other.getKeyName().isEmpty()) { keyName_ = other.keyName_; 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.DecryptRequestOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.DecryptRequestOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object componentName_ = ""; /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The componentName. */ public java.lang.String getComponentName() { java.lang.Object ref = componentName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); componentName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return The bytes for componentName. */ public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The componentName to set. * @return This builder for chaining. */ public Builder setComponentName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } componentName_ = value; onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @return This builder for chaining. */ public Builder clearComponentName() { componentName_ = getDefaultInstance().getComponentName(); onChanged(); return this; } /** *
       * Name of the component
       * 
* * string component_name = 1 [json_name = "componentName"]; * @param value The bytes for componentName to set. * @return This builder for chaining. */ public Builder setComponentNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); componentName_ = value; onChanged(); return this; } private java.lang.Object keyName_ = ""; /** *
       * Name (or name/version) of the key to decrypt the message.
       * Overrides any key reference included in the message if present.
       * This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
       * 
* * string key_name = 12 [json_name = "keyName"]; * @return The keyName. */ public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name (or name/version) of the key to decrypt the message.
       * Overrides any key reference included in the message if present.
       * This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
       * 
* * string key_name = 12 [json_name = "keyName"]; * @return The bytes for keyName. */ public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name (or name/version) of the key to decrypt the message.
       * Overrides any key reference included in the message if present.
       * This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
       * 
* * string key_name = 12 [json_name = "keyName"]; * @param value The keyName to set. * @return This builder for chaining. */ public Builder setKeyName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyName_ = value; onChanged(); return this; } /** *
       * Name (or name/version) of the key to decrypt the message.
       * Overrides any key reference included in the message if present.
       * This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
       * 
* * string key_name = 12 [json_name = "keyName"]; * @return This builder for chaining. */ public Builder clearKeyName() { keyName_ = getDefaultInstance().getKeyName(); onChanged(); return this; } /** *
       * Name (or name/version) of the key to decrypt the message.
       * Overrides any key reference included in the message if present.
       * This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
       * 
* * string key_name = 12 [json_name = "keyName"]; * @param value The bytes for keyName to set. * @return This builder for chaining. */ public Builder setKeyNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyName_ = 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.DecryptRequestOptions) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.DecryptRequestOptions) private static final io.dapr.v1.DaprProtos.DecryptRequestOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.DecryptRequestOptions(); } public static io.dapr.v1.DaprProtos.DecryptRequestOptions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DecryptRequestOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DecryptRequestOptions(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.DecryptRequestOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DecryptResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.DecryptResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Chunk of data.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; * @return Whether the payload field is set. */ boolean hasPayload(); /** *
     * Chunk of data.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; * @return The payload. */ io.dapr.v1.CommonProtos.StreamPayload getPayload(); /** *
     * Chunk of data.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ io.dapr.v1.CommonProtos.StreamPayloadOrBuilder getPayloadOrBuilder(); } /** *
   * DecryptResponse is the response for DecryptAlpha1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.DecryptResponse} */ public static final class DecryptResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.DecryptResponse) DecryptResponseOrBuilder { private static final long serialVersionUID = 0L; // Use DecryptResponse.newBuilder() to construct. private DecryptResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DecryptResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DecryptResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DecryptResponse( 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: { io.dapr.v1.CommonProtos.StreamPayload.Builder subBuilder = null; if (payload_ != null) { subBuilder = payload_.toBuilder(); } payload_ = input.readMessage(io.dapr.v1.CommonProtos.StreamPayload.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(payload_); payload_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DecryptResponse.class, io.dapr.v1.DaprProtos.DecryptResponse.Builder.class); } public static final int PAYLOAD_FIELD_NUMBER = 1; private io.dapr.v1.CommonProtos.StreamPayload payload_; /** *
     * Chunk of data.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; * @return Whether the payload field is set. */ @java.lang.Override public boolean hasPayload() { return payload_ != null; } /** *
     * Chunk of data.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; * @return The payload. */ @java.lang.Override public io.dapr.v1.CommonProtos.StreamPayload getPayload() { return payload_ == null ? io.dapr.v1.CommonProtos.StreamPayload.getDefaultInstance() : payload_; } /** *
     * Chunk of data.
     * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ @java.lang.Override public io.dapr.v1.CommonProtos.StreamPayloadOrBuilder getPayloadOrBuilder() { return getPayload(); } 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 (payload_ != null) { output.writeMessage(1, getPayload()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (payload_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPayload()); } 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.DecryptResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.DecryptResponse other = (io.dapr.v1.DaprProtos.DecryptResponse) obj; if (hasPayload() != other.hasPayload()) return false; if (hasPayload()) { if (!getPayload() .equals(other.getPayload())) 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 (hasPayload()) { hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getPayload().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.DecryptResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DecryptResponse 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.DecryptResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DecryptResponse 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.DecryptResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DecryptResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.DecryptResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DecryptResponse 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.DecryptResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DecryptResponse 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.DecryptResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DecryptResponse 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.DecryptResponse 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; } /** *
     * DecryptResponse is the response for DecryptAlpha1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.DecryptResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.DecryptResponse) io.dapr.v1.DaprProtos.DecryptResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DecryptResponse.class, io.dapr.v1.DaprProtos.DecryptResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.DecryptResponse.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(); if (payloadBuilder_ == null) { payload_ = null; } else { payload_ = null; payloadBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DecryptResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.DecryptResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.DecryptResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.DecryptResponse build() { io.dapr.v1.DaprProtos.DecryptResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.DecryptResponse buildPartial() { io.dapr.v1.DaprProtos.DecryptResponse result = new io.dapr.v1.DaprProtos.DecryptResponse(this); if (payloadBuilder_ == null) { result.payload_ = payload_; } else { result.payload_ = payloadBuilder_.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.DecryptResponse) { return mergeFrom((io.dapr.v1.DaprProtos.DecryptResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.DecryptResponse other) { if (other == io.dapr.v1.DaprProtos.DecryptResponse.getDefaultInstance()) return this; if (other.hasPayload()) { mergePayload(other.getPayload()); } 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.DecryptResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.DecryptResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.dapr.v1.CommonProtos.StreamPayload payload_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StreamPayload, io.dapr.v1.CommonProtos.StreamPayload.Builder, io.dapr.v1.CommonProtos.StreamPayloadOrBuilder> payloadBuilder_; /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; * @return Whether the payload field is set. */ public boolean hasPayload() { return payloadBuilder_ != null || payload_ != null; } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; * @return The payload. */ public io.dapr.v1.CommonProtos.StreamPayload getPayload() { if (payloadBuilder_ == null) { return payload_ == null ? io.dapr.v1.CommonProtos.StreamPayload.getDefaultInstance() : payload_; } else { return payloadBuilder_.getMessage(); } } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ public Builder setPayload(io.dapr.v1.CommonProtos.StreamPayload value) { if (payloadBuilder_ == null) { if (value == null) { throw new NullPointerException(); } payload_ = value; onChanged(); } else { payloadBuilder_.setMessage(value); } return this; } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ public Builder setPayload( io.dapr.v1.CommonProtos.StreamPayload.Builder builderForValue) { if (payloadBuilder_ == null) { payload_ = builderForValue.build(); onChanged(); } else { payloadBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ public Builder mergePayload(io.dapr.v1.CommonProtos.StreamPayload value) { if (payloadBuilder_ == null) { if (payload_ != null) { payload_ = io.dapr.v1.CommonProtos.StreamPayload.newBuilder(payload_).mergeFrom(value).buildPartial(); } else { payload_ = value; } onChanged(); } else { payloadBuilder_.mergeFrom(value); } return this; } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ public Builder clearPayload() { if (payloadBuilder_ == null) { payload_ = null; onChanged(); } else { payload_ = null; payloadBuilder_ = null; } return this; } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ public io.dapr.v1.CommonProtos.StreamPayload.Builder getPayloadBuilder() { onChanged(); return getPayloadFieldBuilder().getBuilder(); } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ public io.dapr.v1.CommonProtos.StreamPayloadOrBuilder getPayloadOrBuilder() { if (payloadBuilder_ != null) { return payloadBuilder_.getMessageOrBuilder(); } else { return payload_ == null ? io.dapr.v1.CommonProtos.StreamPayload.getDefaultInstance() : payload_; } } /** *
       * Chunk of data.
       * 
* * .dapr.proto.common.v1.StreamPayload payload = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StreamPayload, io.dapr.v1.CommonProtos.StreamPayload.Builder, io.dapr.v1.CommonProtos.StreamPayloadOrBuilder> getPayloadFieldBuilder() { if (payloadBuilder_ == null) { payloadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.CommonProtos.StreamPayload, io.dapr.v1.CommonProtos.StreamPayload.Builder, io.dapr.v1.CommonProtos.StreamPayloadOrBuilder>( getPayload(), getParentForChildren(), isClean()); payload_ = null; } return payloadBuilder_; } @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.DecryptResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.DecryptResponse) private static final io.dapr.v1.DaprProtos.DecryptResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.DecryptResponse(); } public static io.dapr.v1.DaprProtos.DecryptResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DecryptResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DecryptResponse(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.DecryptResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetWorkflowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetWorkflowRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the workflow instance to query.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ java.lang.String getInstanceId(); /** *
     * ID of the workflow instance to query.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ com.google.protobuf.ByteString getInstanceIdBytes(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ java.lang.String getWorkflowComponent(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ com.google.protobuf.ByteString getWorkflowComponentBytes(); } /** *
   * GetWorkflowRequest is the request for GetWorkflowBeta1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetWorkflowRequest} */ public static final class GetWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetWorkflowRequest) GetWorkflowRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetWorkflowRequest.newBuilder() to construct. private GetWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetWorkflowRequest() { instanceId_ = ""; workflowComponent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetWorkflowRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetWorkflowRequest( 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(); instanceId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workflowComponent_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetWorkflowRequest.class, io.dapr.v1.DaprProtos.GetWorkflowRequest.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object instanceId_; /** *
     * ID of the workflow instance to query.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ @java.lang.Override public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; } } /** *
     * ID of the workflow instance to query.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKFLOW_COMPONENT_FIELD_NUMBER = 2; private volatile java.lang.Object workflowComponent_; /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ @java.lang.Override public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; 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(); workflowComponent_ = s; return s; } } /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ @java.lang.Override public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workflowComponent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workflowComponent_); } 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.GetWorkflowRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetWorkflowRequest other = (io.dapr.v1.DaprProtos.GetWorkflowRequest) obj; if (!getInstanceId() .equals(other.getInstanceId())) return false; if (!getWorkflowComponent() .equals(other.getWorkflowComponent())) 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) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getInstanceId().hashCode(); hash = (37 * hash) + WORKFLOW_COMPONENT_FIELD_NUMBER; hash = (53 * hash) + getWorkflowComponent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.GetWorkflowRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetWorkflowRequest 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.GetWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetWorkflowRequest 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.GetWorkflowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetWorkflowRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetWorkflowRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetWorkflowRequest 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.GetWorkflowRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetWorkflowRequest 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.GetWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetWorkflowRequest 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.GetWorkflowRequest 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; } /** *
     * GetWorkflowRequest is the request for GetWorkflowBeta1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetWorkflowRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetWorkflowRequest) io.dapr.v1.DaprProtos.GetWorkflowRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetWorkflowRequest.class, io.dapr.v1.DaprProtos.GetWorkflowRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetWorkflowRequest.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(); instanceId_ = ""; workflowComponent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetWorkflowRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetWorkflowRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetWorkflowRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetWorkflowRequest build() { io.dapr.v1.DaprProtos.GetWorkflowRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetWorkflowRequest buildPartial() { io.dapr.v1.DaprProtos.GetWorkflowRequest result = new io.dapr.v1.DaprProtos.GetWorkflowRequest(this); result.instanceId_ = instanceId_; result.workflowComponent_ = workflowComponent_; 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.GetWorkflowRequest) { return mergeFrom((io.dapr.v1.DaprProtos.GetWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetWorkflowRequest other) { if (other == io.dapr.v1.DaprProtos.GetWorkflowRequest.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; onChanged(); } if (!other.getWorkflowComponent().isEmpty()) { workflowComponent_ = other.workflowComponent_; 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.GetWorkflowRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object instanceId_ = ""; /** *
       * ID of the workflow instance to query.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the workflow instance to query.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the workflow instance to query.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } instanceId_ = value; onChanged(); return this; } /** *
       * ID of the workflow instance to query.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** *
       * ID of the workflow instance to query.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The bytes for instanceId to set. * @return This builder for chaining. */ public Builder setInstanceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; onChanged(); return this; } private java.lang.Object workflowComponent_ = ""; /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowComponent_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workflowComponent_ = value; onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return This builder for chaining. */ public Builder clearWorkflowComponent() { workflowComponent_ = getDefaultInstance().getWorkflowComponent(); onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The bytes for workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workflowComponent_ = 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.GetWorkflowRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetWorkflowRequest) private static final io.dapr.v1.DaprProtos.GetWorkflowRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetWorkflowRequest(); } public static io.dapr.v1.DaprProtos.GetWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetWorkflowRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetWorkflowRequest(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.GetWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetWorkflowResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetWorkflowResponse) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the workflow instance.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ java.lang.String getInstanceId(); /** *
     * ID of the workflow instance.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ com.google.protobuf.ByteString getInstanceIdBytes(); /** *
     * Name of the workflow.
     * 
* * string workflow_name = 2 [json_name = "workflowName"]; * @return The workflowName. */ java.lang.String getWorkflowName(); /** *
     * Name of the workflow.
     * 
* * string workflow_name = 2 [json_name = "workflowName"]; * @return The bytes for workflowName. */ com.google.protobuf.ByteString getWorkflowNameBytes(); /** *
     * The time at which the workflow instance was created.
     * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; * @return Whether the createdAt field is set. */ boolean hasCreatedAt(); /** *
     * The time at which the workflow instance was created.
     * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; * @return The createdAt. */ com.google.protobuf.Timestamp getCreatedAt(); /** *
     * The time at which the workflow instance was created.
     * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; */ com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder(); /** *
     * The last time at which the workflow instance had its state changed.
     * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; * @return Whether the lastUpdatedAt field is set. */ boolean hasLastUpdatedAt(); /** *
     * The last time at which the workflow instance had its state changed.
     * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; * @return The lastUpdatedAt. */ com.google.protobuf.Timestamp getLastUpdatedAt(); /** *
     * The last time at which the workflow instance had its state changed.
     * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; */ com.google.protobuf.TimestampOrBuilder getLastUpdatedAtOrBuilder(); /** *
     * The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
     * 
* * string runtime_status = 5 [json_name = "runtimeStatus"]; * @return The runtimeStatus. */ java.lang.String getRuntimeStatus(); /** *
     * The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
     * 
* * string runtime_status = 5 [json_name = "runtimeStatus"]; * @return The bytes for runtimeStatus. */ com.google.protobuf.ByteString getRuntimeStatusBytes(); /** *
     * Additional component-specific properties of the workflow instance.
     * 
* * map<string, string> properties = 6; */ int getPropertiesCount(); /** *
     * Additional component-specific properties of the workflow instance.
     * 
* * map<string, string> properties = 6; */ boolean containsProperties( java.lang.String key); /** * Use {@link #getPropertiesMap()} instead. */ @java.lang.Deprecated java.util.Map getProperties(); /** *
     * Additional component-specific properties of the workflow instance.
     * 
* * map<string, string> properties = 6; */ java.util.Map getPropertiesMap(); /** *
     * Additional component-specific properties of the workflow instance.
     * 
* * map<string, string> properties = 6; */ /* nullable */ java.lang.String getPropertiesOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * Additional component-specific properties of the workflow instance.
     * 
* * map<string, string> properties = 6; */ java.lang.String getPropertiesOrThrow( java.lang.String key); } /** *
   * GetWorkflowResponse is the response for GetWorkflowBeta1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetWorkflowResponse} */ public static final class GetWorkflowResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetWorkflowResponse) GetWorkflowResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetWorkflowResponse.newBuilder() to construct. private GetWorkflowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetWorkflowResponse() { instanceId_ = ""; workflowName_ = ""; runtimeStatus_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetWorkflowResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetWorkflowResponse( 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(); instanceId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workflowName_ = s; break; } case 26: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (createdAt_ != null) { subBuilder = createdAt_.toBuilder(); } createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(createdAt_); createdAt_ = subBuilder.buildPartial(); } break; } case 34: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (lastUpdatedAt_ != null) { subBuilder = lastUpdatedAt_.toBuilder(); } lastUpdatedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lastUpdatedAt_); lastUpdatedAt_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); runtimeStatus_ = s; break; } case 50: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry properties__ = input.readMessage( PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); properties_.getMutableMap().put( properties__.getKey(), properties__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 6: return internalGetProperties(); 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_GetWorkflowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetWorkflowResponse.class, io.dapr.v1.DaprProtos.GetWorkflowResponse.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object instanceId_; /** *
     * ID of the workflow instance.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ @java.lang.Override public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; } } /** *
     * ID of the workflow instance.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKFLOW_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object workflowName_; /** *
     * Name of the workflow.
     * 
* * string workflow_name = 2 [json_name = "workflowName"]; * @return The workflowName. */ @java.lang.Override public java.lang.String getWorkflowName() { java.lang.Object ref = workflowName_; 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(); workflowName_ = s; return s; } } /** *
     * Name of the workflow.
     * 
* * string workflow_name = 2 [json_name = "workflowName"]; * @return The bytes for workflowName. */ @java.lang.Override public com.google.protobuf.ByteString getWorkflowNameBytes() { java.lang.Object ref = workflowName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATED_AT_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createdAt_; /** *
     * The time at which the workflow instance was created.
     * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; * @return Whether the createdAt field is set. */ @java.lang.Override public boolean hasCreatedAt() { return createdAt_ != null; } /** *
     * The time at which the workflow instance was created.
     * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; * @return The createdAt. */ @java.lang.Override public com.google.protobuf.Timestamp getCreatedAt() { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } /** *
     * The time at which the workflow instance was created.
     * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { return getCreatedAt(); } public static final int LAST_UPDATED_AT_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp lastUpdatedAt_; /** *
     * The last time at which the workflow instance had its state changed.
     * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; * @return Whether the lastUpdatedAt field is set. */ @java.lang.Override public boolean hasLastUpdatedAt() { return lastUpdatedAt_ != null; } /** *
     * The last time at which the workflow instance had its state changed.
     * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; * @return The lastUpdatedAt. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdatedAt() { return lastUpdatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdatedAt_; } /** *
     * The last time at which the workflow instance had its state changed.
     * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastUpdatedAtOrBuilder() { return getLastUpdatedAt(); } public static final int RUNTIME_STATUS_FIELD_NUMBER = 5; private volatile java.lang.Object runtimeStatus_; /** *
     * The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
     * 
* * string runtime_status = 5 [json_name = "runtimeStatus"]; * @return The runtimeStatus. */ @java.lang.Override public java.lang.String getRuntimeStatus() { java.lang.Object ref = runtimeStatus_; 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(); runtimeStatus_ = s; return s; } } /** *
     * The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
     * 
* * string runtime_status = 5 [json_name = "runtimeStatus"]; * @return The bytes for runtimeStatus. */ @java.lang.Override public com.google.protobuf.ByteString getRuntimeStatusBytes() { java.lang.Object ref = runtimeStatus_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); runtimeStatus_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROPERTIES_FIELD_NUMBER = 6; private static final class PropertiesDefaultEntryHolder { 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_GetWorkflowResponse_PropertiesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> properties_; private com.google.protobuf.MapField internalGetProperties() { if (properties_ == null) { return com.google.protobuf.MapField.emptyMapField( PropertiesDefaultEntryHolder.defaultEntry); } return properties_; } public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** *
     * Additional component-specific properties of the workflow instance.
     * 
* * map<string, string> properties = 6; */ @java.lang.Override public boolean containsProperties( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetProperties().getMap().containsKey(key); } /** * Use {@link #getPropertiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** *
     * Additional component-specific properties of the workflow instance.
     * 
* * map<string, string> properties = 6; */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** *
     * Additional component-specific properties of the workflow instance.
     * 
* * map<string, string> properties = 6; */ @java.lang.Override public java.lang.String getPropertiesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Additional component-specific properties of the workflow instance.
     * 
* * map<string, string> properties = 6; */ @java.lang.Override public java.lang.String getPropertiesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workflowName_); } if (createdAt_ != null) { output.writeMessage(3, getCreatedAt()); } if (lastUpdatedAt_ != null) { output.writeMessage(4, getLastUpdatedAt()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runtimeStatus_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, runtimeStatus_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetProperties(), PropertiesDefaultEntryHolder.defaultEntry, 6); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workflowName_); } if (createdAt_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getCreatedAt()); } if (lastUpdatedAt_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getLastUpdatedAt()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runtimeStatus_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, runtimeStatus_); } for (java.util.Map.Entry entry : internalGetProperties().getMap().entrySet()) { com.google.protobuf.MapEntry properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, properties__); } 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.GetWorkflowResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetWorkflowResponse other = (io.dapr.v1.DaprProtos.GetWorkflowResponse) obj; if (!getInstanceId() .equals(other.getInstanceId())) return false; if (!getWorkflowName() .equals(other.getWorkflowName())) return false; if (hasCreatedAt() != other.hasCreatedAt()) return false; if (hasCreatedAt()) { if (!getCreatedAt() .equals(other.getCreatedAt())) return false; } if (hasLastUpdatedAt() != other.hasLastUpdatedAt()) return false; if (hasLastUpdatedAt()) { if (!getLastUpdatedAt() .equals(other.getLastUpdatedAt())) return false; } if (!getRuntimeStatus() .equals(other.getRuntimeStatus())) return false; if (!internalGetProperties().equals( other.internalGetProperties())) 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) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getInstanceId().hashCode(); hash = (37 * hash) + WORKFLOW_NAME_FIELD_NUMBER; hash = (53 * hash) + getWorkflowName().hashCode(); if (hasCreatedAt()) { hash = (37 * hash) + CREATED_AT_FIELD_NUMBER; hash = (53 * hash) + getCreatedAt().hashCode(); } if (hasLastUpdatedAt()) { hash = (37 * hash) + LAST_UPDATED_AT_FIELD_NUMBER; hash = (53 * hash) + getLastUpdatedAt().hashCode(); } hash = (37 * hash) + RUNTIME_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRuntimeStatus().hashCode(); if (!internalGetProperties().getMap().isEmpty()) { hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + internalGetProperties().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.GetWorkflowResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetWorkflowResponse 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.GetWorkflowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetWorkflowResponse 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.GetWorkflowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetWorkflowResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetWorkflowResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetWorkflowResponse 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.GetWorkflowResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetWorkflowResponse 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.GetWorkflowResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetWorkflowResponse 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.GetWorkflowResponse 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; } /** *
     * GetWorkflowResponse is the response for GetWorkflowBeta1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetWorkflowResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetWorkflowResponse) io.dapr.v1.DaprProtos.GetWorkflowResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 6: return internalGetProperties(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 6: return internalGetMutableProperties(); 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_GetWorkflowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetWorkflowResponse.class, io.dapr.v1.DaprProtos.GetWorkflowResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetWorkflowResponse.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(); instanceId_ = ""; workflowName_ = ""; if (createdAtBuilder_ == null) { createdAt_ = null; } else { createdAt_ = null; createdAtBuilder_ = null; } if (lastUpdatedAtBuilder_ == null) { lastUpdatedAt_ = null; } else { lastUpdatedAt_ = null; lastUpdatedAtBuilder_ = null; } runtimeStatus_ = ""; internalGetMutableProperties().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetWorkflowResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetWorkflowResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetWorkflowResponse build() { io.dapr.v1.DaprProtos.GetWorkflowResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetWorkflowResponse buildPartial() { io.dapr.v1.DaprProtos.GetWorkflowResponse result = new io.dapr.v1.DaprProtos.GetWorkflowResponse(this); int from_bitField0_ = bitField0_; result.instanceId_ = instanceId_; result.workflowName_ = workflowName_; if (createdAtBuilder_ == null) { result.createdAt_ = createdAt_; } else { result.createdAt_ = createdAtBuilder_.build(); } if (lastUpdatedAtBuilder_ == null) { result.lastUpdatedAt_ = lastUpdatedAt_; } else { result.lastUpdatedAt_ = lastUpdatedAtBuilder_.build(); } result.runtimeStatus_ = runtimeStatus_; result.properties_ = internalGetProperties(); result.properties_.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.GetWorkflowResponse) { return mergeFrom((io.dapr.v1.DaprProtos.GetWorkflowResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetWorkflowResponse other) { if (other == io.dapr.v1.DaprProtos.GetWorkflowResponse.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; onChanged(); } if (!other.getWorkflowName().isEmpty()) { workflowName_ = other.workflowName_; onChanged(); } if (other.hasCreatedAt()) { mergeCreatedAt(other.getCreatedAt()); } if (other.hasLastUpdatedAt()) { mergeLastUpdatedAt(other.getLastUpdatedAt()); } if (!other.getRuntimeStatus().isEmpty()) { runtimeStatus_ = other.runtimeStatus_; onChanged(); } internalGetMutableProperties().mergeFrom( other.internalGetProperties()); 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.GetWorkflowResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetWorkflowResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instanceId_ = ""; /** *
       * ID of the workflow instance.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the workflow instance.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the workflow instance.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } instanceId_ = value; onChanged(); return this; } /** *
       * ID of the workflow instance.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** *
       * ID of the workflow instance.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The bytes for instanceId to set. * @return This builder for chaining. */ public Builder setInstanceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; onChanged(); return this; } private java.lang.Object workflowName_ = ""; /** *
       * Name of the workflow.
       * 
* * string workflow_name = 2 [json_name = "workflowName"]; * @return The workflowName. */ public java.lang.String getWorkflowName() { java.lang.Object ref = workflowName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the workflow.
       * 
* * string workflow_name = 2 [json_name = "workflowName"]; * @return The bytes for workflowName. */ public com.google.protobuf.ByteString getWorkflowNameBytes() { java.lang.Object ref = workflowName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the workflow.
       * 
* * string workflow_name = 2 [json_name = "workflowName"]; * @param value The workflowName to set. * @return This builder for chaining. */ public Builder setWorkflowName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workflowName_ = value; onChanged(); return this; } /** *
       * Name of the workflow.
       * 
* * string workflow_name = 2 [json_name = "workflowName"]; * @return This builder for chaining. */ public Builder clearWorkflowName() { workflowName_ = getDefaultInstance().getWorkflowName(); onChanged(); return this; } /** *
       * Name of the workflow.
       * 
* * string workflow_name = 2 [json_name = "workflowName"]; * @param value The bytes for workflowName to set. * @return This builder for chaining. */ public Builder setWorkflowNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workflowName_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp createdAt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_; /** *
       * The time at which the workflow instance was created.
       * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; * @return Whether the createdAt field is set. */ public boolean hasCreatedAt() { return createdAtBuilder_ != null || createdAt_ != null; } /** *
       * The time at which the workflow instance was created.
       * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; * @return The createdAt. */ public com.google.protobuf.Timestamp getCreatedAt() { if (createdAtBuilder_ == null) { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } else { return createdAtBuilder_.getMessage(); } } /** *
       * The time at which the workflow instance was created.
       * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; */ public Builder setCreatedAt(com.google.protobuf.Timestamp value) { if (createdAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } createdAt_ = value; onChanged(); } else { createdAtBuilder_.setMessage(value); } return this; } /** *
       * The time at which the workflow instance was created.
       * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; */ public Builder setCreatedAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (createdAtBuilder_ == null) { createdAt_ = builderForValue.build(); onChanged(); } else { createdAtBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The time at which the workflow instance was created.
       * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; */ public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) { if (createdAtBuilder_ == null) { if (createdAt_ != null) { createdAt_ = com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial(); } else { createdAt_ = value; } onChanged(); } else { createdAtBuilder_.mergeFrom(value); } return this; } /** *
       * The time at which the workflow instance was created.
       * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; */ public Builder clearCreatedAt() { if (createdAtBuilder_ == null) { createdAt_ = null; onChanged(); } else { createdAt_ = null; createdAtBuilder_ = null; } return this; } /** *
       * The time at which the workflow instance was created.
       * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; */ public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { onChanged(); return getCreatedAtFieldBuilder().getBuilder(); } /** *
       * The time at which the workflow instance was created.
       * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; */ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { if (createdAtBuilder_ != null) { return createdAtBuilder_.getMessageOrBuilder(); } else { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } } /** *
       * The time at which the workflow instance was created.
       * 
* * .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreatedAtFieldBuilder() { if (createdAtBuilder_ == null) { createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreatedAt(), getParentForChildren(), isClean()); createdAt_ = null; } return createdAtBuilder_; } private com.google.protobuf.Timestamp lastUpdatedAt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdatedAtBuilder_; /** *
       * The last time at which the workflow instance had its state changed.
       * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; * @return Whether the lastUpdatedAt field is set. */ public boolean hasLastUpdatedAt() { return lastUpdatedAtBuilder_ != null || lastUpdatedAt_ != null; } /** *
       * The last time at which the workflow instance had its state changed.
       * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; * @return The lastUpdatedAt. */ public com.google.protobuf.Timestamp getLastUpdatedAt() { if (lastUpdatedAtBuilder_ == null) { return lastUpdatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdatedAt_; } else { return lastUpdatedAtBuilder_.getMessage(); } } /** *
       * The last time at which the workflow instance had its state changed.
       * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; */ public Builder setLastUpdatedAt(com.google.protobuf.Timestamp value) { if (lastUpdatedAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lastUpdatedAt_ = value; onChanged(); } else { lastUpdatedAtBuilder_.setMessage(value); } return this; } /** *
       * The last time at which the workflow instance had its state changed.
       * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; */ public Builder setLastUpdatedAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdatedAtBuilder_ == null) { lastUpdatedAt_ = builderForValue.build(); onChanged(); } else { lastUpdatedAtBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The last time at which the workflow instance had its state changed.
       * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; */ public Builder mergeLastUpdatedAt(com.google.protobuf.Timestamp value) { if (lastUpdatedAtBuilder_ == null) { if (lastUpdatedAt_ != null) { lastUpdatedAt_ = com.google.protobuf.Timestamp.newBuilder(lastUpdatedAt_).mergeFrom(value).buildPartial(); } else { lastUpdatedAt_ = value; } onChanged(); } else { lastUpdatedAtBuilder_.mergeFrom(value); } return this; } /** *
       * The last time at which the workflow instance had its state changed.
       * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; */ public Builder clearLastUpdatedAt() { if (lastUpdatedAtBuilder_ == null) { lastUpdatedAt_ = null; onChanged(); } else { lastUpdatedAt_ = null; lastUpdatedAtBuilder_ = null; } return this; } /** *
       * The last time at which the workflow instance had its state changed.
       * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; */ public com.google.protobuf.Timestamp.Builder getLastUpdatedAtBuilder() { onChanged(); return getLastUpdatedAtFieldBuilder().getBuilder(); } /** *
       * The last time at which the workflow instance had its state changed.
       * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; */ public com.google.protobuf.TimestampOrBuilder getLastUpdatedAtOrBuilder() { if (lastUpdatedAtBuilder_ != null) { return lastUpdatedAtBuilder_.getMessageOrBuilder(); } else { return lastUpdatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdatedAt_; } } /** *
       * The last time at which the workflow instance had its state changed.
       * 
* * .google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastUpdatedAtFieldBuilder() { if (lastUpdatedAtBuilder_ == null) { lastUpdatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLastUpdatedAt(), getParentForChildren(), isClean()); lastUpdatedAt_ = null; } return lastUpdatedAtBuilder_; } private java.lang.Object runtimeStatus_ = ""; /** *
       * The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
       * 
* * string runtime_status = 5 [json_name = "runtimeStatus"]; * @return The runtimeStatus. */ public java.lang.String getRuntimeStatus() { java.lang.Object ref = runtimeStatus_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runtimeStatus_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
       * 
* * string runtime_status = 5 [json_name = "runtimeStatus"]; * @return The bytes for runtimeStatus. */ public com.google.protobuf.ByteString getRuntimeStatusBytes() { java.lang.Object ref = runtimeStatus_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); runtimeStatus_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
       * 
* * string runtime_status = 5 [json_name = "runtimeStatus"]; * @param value The runtimeStatus to set. * @return This builder for chaining. */ public Builder setRuntimeStatus( java.lang.String value) { if (value == null) { throw new NullPointerException(); } runtimeStatus_ = value; onChanged(); return this; } /** *
       * The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
       * 
* * string runtime_status = 5 [json_name = "runtimeStatus"]; * @return This builder for chaining. */ public Builder clearRuntimeStatus() { runtimeStatus_ = getDefaultInstance().getRuntimeStatus(); onChanged(); return this; } /** *
       * The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
       * 
* * string runtime_status = 5 [json_name = "runtimeStatus"]; * @param value The bytes for runtimeStatus to set. * @return This builder for chaining. */ public Builder setRuntimeStatusBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); runtimeStatus_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> properties_; private com.google.protobuf.MapField internalGetProperties() { if (properties_ == null) { return com.google.protobuf.MapField.emptyMapField( PropertiesDefaultEntryHolder.defaultEntry); } return properties_; } private com.google.protobuf.MapField internalGetMutableProperties() { onChanged();; if (properties_ == null) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); } if (!properties_.isMutable()) { properties_ = properties_.copy(); } return properties_; } public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** *
       * Additional component-specific properties of the workflow instance.
       * 
* * map<string, string> properties = 6; */ @java.lang.Override public boolean containsProperties( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetProperties().getMap().containsKey(key); } /** * Use {@link #getPropertiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** *
       * Additional component-specific properties of the workflow instance.
       * 
* * map<string, string> properties = 6; */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** *
       * Additional component-specific properties of the workflow instance.
       * 
* * map<string, string> properties = 6; */ @java.lang.Override public java.lang.String getPropertiesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Additional component-specific properties of the workflow instance.
       * 
* * map<string, string> properties = 6; */ @java.lang.Override public java.lang.String getPropertiesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearProperties() { internalGetMutableProperties().getMutableMap() .clear(); return this; } /** *
       * Additional component-specific properties of the workflow instance.
       * 
* * map<string, string> properties = 6; */ public Builder removeProperties( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableProperties().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableProperties() { return internalGetMutableProperties().getMutableMap(); } /** *
       * Additional component-specific properties of the workflow instance.
       * 
* * map<string, string> properties = 6; */ public Builder putProperties( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableProperties().getMutableMap() .put(key, value); return this; } /** *
       * Additional component-specific properties of the workflow instance.
       * 
* * map<string, string> properties = 6; */ public Builder putAllProperties( java.util.Map values) { internalGetMutableProperties().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.GetWorkflowResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetWorkflowResponse) private static final io.dapr.v1.DaprProtos.GetWorkflowResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetWorkflowResponse(); } public static io.dapr.v1.DaprProtos.GetWorkflowResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetWorkflowResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetWorkflowResponse(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.GetWorkflowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StartWorkflowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.StartWorkflowRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The ID to assign to the started workflow instance. If empty, a random ID is generated.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ java.lang.String getInstanceId(); /** *
     * The ID to assign to the started workflow instance. If empty, a random ID is generated.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ com.google.protobuf.ByteString getInstanceIdBytes(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ java.lang.String getWorkflowComponent(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ com.google.protobuf.ByteString getWorkflowComponentBytes(); /** *
     * Name of the workflow.
     * 
* * string workflow_name = 3 [json_name = "workflowName"]; * @return The workflowName. */ java.lang.String getWorkflowName(); /** *
     * Name of the workflow.
     * 
* * string workflow_name = 3 [json_name = "workflowName"]; * @return The bytes for workflowName. */ com.google.protobuf.ByteString getWorkflowNameBytes(); /** *
     * Additional component-specific options for starting the workflow instance.
     * 
* * map<string, string> options = 4; */ int getOptionsCount(); /** *
     * Additional component-specific options for starting the workflow instance.
     * 
* * map<string, string> options = 4; */ boolean containsOptions( java.lang.String key); /** * Use {@link #getOptionsMap()} instead. */ @java.lang.Deprecated java.util.Map getOptions(); /** *
     * Additional component-specific options for starting the workflow instance.
     * 
* * map<string, string> options = 4; */ java.util.Map getOptionsMap(); /** *
     * Additional component-specific options for starting the workflow instance.
     * 
* * map<string, string> options = 4; */ /* nullable */ java.lang.String getOptionsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
     * Additional component-specific options for starting the workflow instance.
     * 
* * map<string, string> options = 4; */ java.lang.String getOptionsOrThrow( java.lang.String key); /** *
     * Input data for the workflow instance.
     * 
* * bytes input = 5; * @return The input. */ com.google.protobuf.ByteString getInput(); } /** *
   * StartWorkflowRequest is the request for StartWorkflowBeta1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.StartWorkflowRequest} */ public static final class StartWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.StartWorkflowRequest) StartWorkflowRequestOrBuilder { private static final long serialVersionUID = 0L; // Use StartWorkflowRequest.newBuilder() to construct. private StartWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StartWorkflowRequest() { instanceId_ = ""; workflowComponent_ = ""; workflowName_ = ""; input_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StartWorkflowRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StartWorkflowRequest( 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(); instanceId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workflowComponent_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); workflowName_ = s; break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { options_ = com.google.protobuf.MapField.newMapField( OptionsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry options__ = input.readMessage( OptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); options_.getMutableMap().put( options__.getKey(), options__.getValue()); break; } case 42: { input_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetOptions(); 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_StartWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.StartWorkflowRequest.class, io.dapr.v1.DaprProtos.StartWorkflowRequest.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object instanceId_; /** *
     * The ID to assign to the started workflow instance. If empty, a random ID is generated.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ @java.lang.Override public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; } } /** *
     * The ID to assign to the started workflow instance. If empty, a random ID is generated.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKFLOW_COMPONENT_FIELD_NUMBER = 2; private volatile java.lang.Object workflowComponent_; /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ @java.lang.Override public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; 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(); workflowComponent_ = s; return s; } } /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ @java.lang.Override public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKFLOW_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object workflowName_; /** *
     * Name of the workflow.
     * 
* * string workflow_name = 3 [json_name = "workflowName"]; * @return The workflowName. */ @java.lang.Override public java.lang.String getWorkflowName() { java.lang.Object ref = workflowName_; 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(); workflowName_ = s; return s; } } /** *
     * Name of the workflow.
     * 
* * string workflow_name = 3 [json_name = "workflowName"]; * @return The bytes for workflowName. */ @java.lang.Override public com.google.protobuf.ByteString getWorkflowNameBytes() { java.lang.Object ref = workflowName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPTIONS_FIELD_NUMBER = 4; private static final class OptionsDefaultEntryHolder { 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_StartWorkflowRequest_OptionsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> options_; private com.google.protobuf.MapField internalGetOptions() { if (options_ == null) { return com.google.protobuf.MapField.emptyMapField( OptionsDefaultEntryHolder.defaultEntry); } return options_; } public int getOptionsCount() { return internalGetOptions().getMap().size(); } /** *
     * Additional component-specific options for starting the workflow instance.
     * 
* * map<string, string> options = 4; */ @java.lang.Override public boolean containsOptions( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetOptions().getMap().containsKey(key); } /** * Use {@link #getOptionsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getOptions() { return getOptionsMap(); } /** *
     * Additional component-specific options for starting the workflow instance.
     * 
* * map<string, string> options = 4; */ @java.lang.Override public java.util.Map getOptionsMap() { return internalGetOptions().getMap(); } /** *
     * Additional component-specific options for starting the workflow instance.
     * 
* * map<string, string> options = 4; */ @java.lang.Override public java.lang.String getOptionsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetOptions().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Additional component-specific options for starting the workflow instance.
     * 
* * map<string, string> options = 4; */ @java.lang.Override public java.lang.String getOptionsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetOptions().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int INPUT_FIELD_NUMBER = 5; private com.google.protobuf.ByteString input_; /** *
     * Input data for the workflow instance.
     * 
* * bytes input = 5; * @return The input. */ @java.lang.Override public com.google.protobuf.ByteString getInput() { return input_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workflowComponent_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workflowName_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetOptions(), OptionsDefaultEntryHolder.defaultEntry, 4); if (!input_.isEmpty()) { output.writeBytes(5, input_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workflowComponent_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workflowName_); } for (java.util.Map.Entry entry : internalGetOptions().getMap().entrySet()) { com.google.protobuf.MapEntry options__ = OptionsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, options__); } if (!input_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, input_); } 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.StartWorkflowRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.StartWorkflowRequest other = (io.dapr.v1.DaprProtos.StartWorkflowRequest) obj; if (!getInstanceId() .equals(other.getInstanceId())) return false; if (!getWorkflowComponent() .equals(other.getWorkflowComponent())) return false; if (!getWorkflowName() .equals(other.getWorkflowName())) return false; if (!internalGetOptions().equals( other.internalGetOptions())) return false; if (!getInput() .equals(other.getInput())) 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) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getInstanceId().hashCode(); hash = (37 * hash) + WORKFLOW_COMPONENT_FIELD_NUMBER; hash = (53 * hash) + getWorkflowComponent().hashCode(); hash = (37 * hash) + WORKFLOW_NAME_FIELD_NUMBER; hash = (53 * hash) + getWorkflowName().hashCode(); if (!internalGetOptions().getMap().isEmpty()) { hash = (37 * hash) + OPTIONS_FIELD_NUMBER; hash = (53 * hash) + internalGetOptions().hashCode(); } hash = (37 * hash) + INPUT_FIELD_NUMBER; hash = (53 * hash) + getInput().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.StartWorkflowRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.StartWorkflowRequest 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.StartWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.StartWorkflowRequest 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.StartWorkflowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.StartWorkflowRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.StartWorkflowRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.StartWorkflowRequest 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.StartWorkflowRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.StartWorkflowRequest 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.StartWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.StartWorkflowRequest 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.StartWorkflowRequest 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; } /** *
     * StartWorkflowRequest is the request for StartWorkflowBeta1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.StartWorkflowRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.StartWorkflowRequest) io.dapr.v1.DaprProtos.StartWorkflowRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetOptions(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: return internalGetMutableOptions(); 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_StartWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.StartWorkflowRequest.class, io.dapr.v1.DaprProtos.StartWorkflowRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.StartWorkflowRequest.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(); instanceId_ = ""; workflowComponent_ = ""; workflowName_ = ""; internalGetMutableOptions().clear(); input_ = 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_StartWorkflowRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.StartWorkflowRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.StartWorkflowRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.StartWorkflowRequest build() { io.dapr.v1.DaprProtos.StartWorkflowRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.StartWorkflowRequest buildPartial() { io.dapr.v1.DaprProtos.StartWorkflowRequest result = new io.dapr.v1.DaprProtos.StartWorkflowRequest(this); int from_bitField0_ = bitField0_; result.instanceId_ = instanceId_; result.workflowComponent_ = workflowComponent_; result.workflowName_ = workflowName_; result.options_ = internalGetOptions(); result.options_.makeImmutable(); result.input_ = input_; 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.StartWorkflowRequest) { return mergeFrom((io.dapr.v1.DaprProtos.StartWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.StartWorkflowRequest other) { if (other == io.dapr.v1.DaprProtos.StartWorkflowRequest.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; onChanged(); } if (!other.getWorkflowComponent().isEmpty()) { workflowComponent_ = other.workflowComponent_; onChanged(); } if (!other.getWorkflowName().isEmpty()) { workflowName_ = other.workflowName_; onChanged(); } internalGetMutableOptions().mergeFrom( other.internalGetOptions()); if (other.getInput() != com.google.protobuf.ByteString.EMPTY) { setInput(other.getInput()); } 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.StartWorkflowRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.StartWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instanceId_ = ""; /** *
       * The ID to assign to the started workflow instance. If empty, a random ID is generated.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The ID to assign to the started workflow instance. If empty, a random ID is generated.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The ID to assign to the started workflow instance. If empty, a random ID is generated.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } instanceId_ = value; onChanged(); return this; } /** *
       * The ID to assign to the started workflow instance. If empty, a random ID is generated.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** *
       * The ID to assign to the started workflow instance. If empty, a random ID is generated.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The bytes for instanceId to set. * @return This builder for chaining. */ public Builder setInstanceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; onChanged(); return this; } private java.lang.Object workflowComponent_ = ""; /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowComponent_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workflowComponent_ = value; onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return This builder for chaining. */ public Builder clearWorkflowComponent() { workflowComponent_ = getDefaultInstance().getWorkflowComponent(); onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The bytes for workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workflowComponent_ = value; onChanged(); return this; } private java.lang.Object workflowName_ = ""; /** *
       * Name of the workflow.
       * 
* * string workflow_name = 3 [json_name = "workflowName"]; * @return The workflowName. */ public java.lang.String getWorkflowName() { java.lang.Object ref = workflowName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the workflow.
       * 
* * string workflow_name = 3 [json_name = "workflowName"]; * @return The bytes for workflowName. */ public com.google.protobuf.ByteString getWorkflowNameBytes() { java.lang.Object ref = workflowName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the workflow.
       * 
* * string workflow_name = 3 [json_name = "workflowName"]; * @param value The workflowName to set. * @return This builder for chaining. */ public Builder setWorkflowName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workflowName_ = value; onChanged(); return this; } /** *
       * Name of the workflow.
       * 
* * string workflow_name = 3 [json_name = "workflowName"]; * @return This builder for chaining. */ public Builder clearWorkflowName() { workflowName_ = getDefaultInstance().getWorkflowName(); onChanged(); return this; } /** *
       * Name of the workflow.
       * 
* * string workflow_name = 3 [json_name = "workflowName"]; * @param value The bytes for workflowName to set. * @return This builder for chaining. */ public Builder setWorkflowNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workflowName_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> options_; private com.google.protobuf.MapField internalGetOptions() { if (options_ == null) { return com.google.protobuf.MapField.emptyMapField( OptionsDefaultEntryHolder.defaultEntry); } return options_; } private com.google.protobuf.MapField internalGetMutableOptions() { onChanged();; if (options_ == null) { options_ = com.google.protobuf.MapField.newMapField( OptionsDefaultEntryHolder.defaultEntry); } if (!options_.isMutable()) { options_ = options_.copy(); } return options_; } public int getOptionsCount() { return internalGetOptions().getMap().size(); } /** *
       * Additional component-specific options for starting the workflow instance.
       * 
* * map<string, string> options = 4; */ @java.lang.Override public boolean containsOptions( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetOptions().getMap().containsKey(key); } /** * Use {@link #getOptionsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getOptions() { return getOptionsMap(); } /** *
       * Additional component-specific options for starting the workflow instance.
       * 
* * map<string, string> options = 4; */ @java.lang.Override public java.util.Map getOptionsMap() { return internalGetOptions().getMap(); } /** *
       * Additional component-specific options for starting the workflow instance.
       * 
* * map<string, string> options = 4; */ @java.lang.Override public java.lang.String getOptionsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetOptions().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Additional component-specific options for starting the workflow instance.
       * 
* * map<string, string> options = 4; */ @java.lang.Override public java.lang.String getOptionsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetOptions().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearOptions() { internalGetMutableOptions().getMutableMap() .clear(); return this; } /** *
       * Additional component-specific options for starting the workflow instance.
       * 
* * map<string, string> options = 4; */ public Builder removeOptions( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableOptions().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableOptions() { return internalGetMutableOptions().getMutableMap(); } /** *
       * Additional component-specific options for starting the workflow instance.
       * 
* * map<string, string> options = 4; */ public Builder putOptions( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableOptions().getMutableMap() .put(key, value); return this; } /** *
       * Additional component-specific options for starting the workflow instance.
       * 
* * map<string, string> options = 4; */ public Builder putAllOptions( java.util.Map values) { internalGetMutableOptions().getMutableMap() .putAll(values); return this; } private com.google.protobuf.ByteString input_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Input data for the workflow instance.
       * 
* * bytes input = 5; * @return The input. */ @java.lang.Override public com.google.protobuf.ByteString getInput() { return input_; } /** *
       * Input data for the workflow instance.
       * 
* * bytes input = 5; * @param value The input to set. * @return This builder for chaining. */ public Builder setInput(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } input_ = value; onChanged(); return this; } /** *
       * Input data for the workflow instance.
       * 
* * bytes input = 5; * @return This builder for chaining. */ public Builder clearInput() { input_ = getDefaultInstance().getInput(); 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.StartWorkflowRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.StartWorkflowRequest) private static final io.dapr.v1.DaprProtos.StartWorkflowRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.StartWorkflowRequest(); } public static io.dapr.v1.DaprProtos.StartWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StartWorkflowRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StartWorkflowRequest(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.StartWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StartWorkflowResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.StartWorkflowResponse) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the started workflow instance.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ java.lang.String getInstanceId(); /** *
     * ID of the started workflow instance.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ com.google.protobuf.ByteString getInstanceIdBytes(); } /** *
   * StartWorkflowResponse is the response for StartWorkflowBeta1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.StartWorkflowResponse} */ public static final class StartWorkflowResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.StartWorkflowResponse) StartWorkflowResponseOrBuilder { private static final long serialVersionUID = 0L; // Use StartWorkflowResponse.newBuilder() to construct. private StartWorkflowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StartWorkflowResponse() { instanceId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StartWorkflowResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StartWorkflowResponse( 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(); instanceId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_StartWorkflowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_StartWorkflowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.StartWorkflowResponse.class, io.dapr.v1.DaprProtos.StartWorkflowResponse.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object instanceId_; /** *
     * ID of the started workflow instance.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ @java.lang.Override public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; } } /** *
     * ID of the started workflow instance.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_); } 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.StartWorkflowResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.StartWorkflowResponse other = (io.dapr.v1.DaprProtos.StartWorkflowResponse) obj; if (!getInstanceId() .equals(other.getInstanceId())) 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) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getInstanceId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.StartWorkflowResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.StartWorkflowResponse 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.StartWorkflowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.StartWorkflowResponse 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.StartWorkflowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.StartWorkflowResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.StartWorkflowResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.StartWorkflowResponse 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.StartWorkflowResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.StartWorkflowResponse 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.StartWorkflowResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.StartWorkflowResponse 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.StartWorkflowResponse 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; } /** *
     * StartWorkflowResponse is the response for StartWorkflowBeta1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.StartWorkflowResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.StartWorkflowResponse) io.dapr.v1.DaprProtos.StartWorkflowResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_StartWorkflowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_StartWorkflowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.StartWorkflowResponse.class, io.dapr.v1.DaprProtos.StartWorkflowResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.StartWorkflowResponse.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(); instanceId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_StartWorkflowResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.StartWorkflowResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.StartWorkflowResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.StartWorkflowResponse build() { io.dapr.v1.DaprProtos.StartWorkflowResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.StartWorkflowResponse buildPartial() { io.dapr.v1.DaprProtos.StartWorkflowResponse result = new io.dapr.v1.DaprProtos.StartWorkflowResponse(this); result.instanceId_ = instanceId_; 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.StartWorkflowResponse) { return mergeFrom((io.dapr.v1.DaprProtos.StartWorkflowResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.StartWorkflowResponse other) { if (other == io.dapr.v1.DaprProtos.StartWorkflowResponse.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; 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.StartWorkflowResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.StartWorkflowResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object instanceId_ = ""; /** *
       * ID of the started workflow instance.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the started workflow instance.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the started workflow instance.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } instanceId_ = value; onChanged(); return this; } /** *
       * ID of the started workflow instance.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** *
       * ID of the started workflow instance.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The bytes for instanceId to set. * @return This builder for chaining. */ public Builder setInstanceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = 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.StartWorkflowResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.StartWorkflowResponse) private static final io.dapr.v1.DaprProtos.StartWorkflowResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.StartWorkflowResponse(); } public static io.dapr.v1.DaprProtos.StartWorkflowResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StartWorkflowResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StartWorkflowResponse(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.StartWorkflowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TerminateWorkflowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.TerminateWorkflowRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the workflow instance to terminate.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ java.lang.String getInstanceId(); /** *
     * ID of the workflow instance to terminate.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ com.google.protobuf.ByteString getInstanceIdBytes(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ java.lang.String getWorkflowComponent(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ com.google.protobuf.ByteString getWorkflowComponentBytes(); } /** *
   * TerminateWorkflowRequest is the request for TerminateWorkflowBeta1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.TerminateWorkflowRequest} */ public static final class TerminateWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.TerminateWorkflowRequest) TerminateWorkflowRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TerminateWorkflowRequest.newBuilder() to construct. private TerminateWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TerminateWorkflowRequest() { instanceId_ = ""; workflowComponent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TerminateWorkflowRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TerminateWorkflowRequest( 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(); instanceId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workflowComponent_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TerminateWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TerminateWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.TerminateWorkflowRequest.class, io.dapr.v1.DaprProtos.TerminateWorkflowRequest.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object instanceId_; /** *
     * ID of the workflow instance to terminate.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ @java.lang.Override public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; } } /** *
     * ID of the workflow instance to terminate.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKFLOW_COMPONENT_FIELD_NUMBER = 2; private volatile java.lang.Object workflowComponent_; /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ @java.lang.Override public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; 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(); workflowComponent_ = s; return s; } } /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ @java.lang.Override public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workflowComponent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workflowComponent_); } 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.TerminateWorkflowRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.TerminateWorkflowRequest other = (io.dapr.v1.DaprProtos.TerminateWorkflowRequest) obj; if (!getInstanceId() .equals(other.getInstanceId())) return false; if (!getWorkflowComponent() .equals(other.getWorkflowComponent())) 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) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getInstanceId().hashCode(); hash = (37 * hash) + WORKFLOW_COMPONENT_FIELD_NUMBER; hash = (53 * hash) + getWorkflowComponent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.TerminateWorkflowRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TerminateWorkflowRequest 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.TerminateWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TerminateWorkflowRequest 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.TerminateWorkflowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.TerminateWorkflowRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.TerminateWorkflowRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TerminateWorkflowRequest 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.TerminateWorkflowRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TerminateWorkflowRequest 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.TerminateWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.TerminateWorkflowRequest 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.TerminateWorkflowRequest 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; } /** *
     * TerminateWorkflowRequest is the request for TerminateWorkflowBeta1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.TerminateWorkflowRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.TerminateWorkflowRequest) io.dapr.v1.DaprProtos.TerminateWorkflowRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TerminateWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TerminateWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.TerminateWorkflowRequest.class, io.dapr.v1.DaprProtos.TerminateWorkflowRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.TerminateWorkflowRequest.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(); instanceId_ = ""; workflowComponent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_TerminateWorkflowRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.TerminateWorkflowRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.TerminateWorkflowRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.TerminateWorkflowRequest build() { io.dapr.v1.DaprProtos.TerminateWorkflowRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.TerminateWorkflowRequest buildPartial() { io.dapr.v1.DaprProtos.TerminateWorkflowRequest result = new io.dapr.v1.DaprProtos.TerminateWorkflowRequest(this); result.instanceId_ = instanceId_; result.workflowComponent_ = workflowComponent_; 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.TerminateWorkflowRequest) { return mergeFrom((io.dapr.v1.DaprProtos.TerminateWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.TerminateWorkflowRequest other) { if (other == io.dapr.v1.DaprProtos.TerminateWorkflowRequest.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; onChanged(); } if (!other.getWorkflowComponent().isEmpty()) { workflowComponent_ = other.workflowComponent_; 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.TerminateWorkflowRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.TerminateWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object instanceId_ = ""; /** *
       * ID of the workflow instance to terminate.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the workflow instance to terminate.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the workflow instance to terminate.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } instanceId_ = value; onChanged(); return this; } /** *
       * ID of the workflow instance to terminate.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** *
       * ID of the workflow instance to terminate.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The bytes for instanceId to set. * @return This builder for chaining. */ public Builder setInstanceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; onChanged(); return this; } private java.lang.Object workflowComponent_ = ""; /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowComponent_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workflowComponent_ = value; onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return This builder for chaining. */ public Builder clearWorkflowComponent() { workflowComponent_ = getDefaultInstance().getWorkflowComponent(); onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The bytes for workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workflowComponent_ = 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.TerminateWorkflowRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.TerminateWorkflowRequest) private static final io.dapr.v1.DaprProtos.TerminateWorkflowRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.TerminateWorkflowRequest(); } public static io.dapr.v1.DaprProtos.TerminateWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TerminateWorkflowRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TerminateWorkflowRequest(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.TerminateWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PauseWorkflowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.PauseWorkflowRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the workflow instance to pause.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ java.lang.String getInstanceId(); /** *
     * ID of the workflow instance to pause.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ com.google.protobuf.ByteString getInstanceIdBytes(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ java.lang.String getWorkflowComponent(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ com.google.protobuf.ByteString getWorkflowComponentBytes(); } /** *
   * PauseWorkflowRequest is the request for PauseWorkflowBeta1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.PauseWorkflowRequest} */ public static final class PauseWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.PauseWorkflowRequest) PauseWorkflowRequestOrBuilder { private static final long serialVersionUID = 0L; // Use PauseWorkflowRequest.newBuilder() to construct. private PauseWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PauseWorkflowRequest() { instanceId_ = ""; workflowComponent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PauseWorkflowRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PauseWorkflowRequest( 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(); instanceId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workflowComponent_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PauseWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PauseWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.PauseWorkflowRequest.class, io.dapr.v1.DaprProtos.PauseWorkflowRequest.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object instanceId_; /** *
     * ID of the workflow instance to pause.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ @java.lang.Override public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; } } /** *
     * ID of the workflow instance to pause.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKFLOW_COMPONENT_FIELD_NUMBER = 2; private volatile java.lang.Object workflowComponent_; /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ @java.lang.Override public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; 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(); workflowComponent_ = s; return s; } } /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ @java.lang.Override public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workflowComponent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workflowComponent_); } 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.PauseWorkflowRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.PauseWorkflowRequest other = (io.dapr.v1.DaprProtos.PauseWorkflowRequest) obj; if (!getInstanceId() .equals(other.getInstanceId())) return false; if (!getWorkflowComponent() .equals(other.getWorkflowComponent())) 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) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getInstanceId().hashCode(); hash = (37 * hash) + WORKFLOW_COMPONENT_FIELD_NUMBER; hash = (53 * hash) + getWorkflowComponent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.PauseWorkflowRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PauseWorkflowRequest 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.PauseWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PauseWorkflowRequest 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.PauseWorkflowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PauseWorkflowRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.PauseWorkflowRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PauseWorkflowRequest 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.PauseWorkflowRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PauseWorkflowRequest 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.PauseWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PauseWorkflowRequest 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.PauseWorkflowRequest 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; } /** *
     * PauseWorkflowRequest is the request for PauseWorkflowBeta1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.PauseWorkflowRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.PauseWorkflowRequest) io.dapr.v1.DaprProtos.PauseWorkflowRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PauseWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PauseWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.PauseWorkflowRequest.class, io.dapr.v1.DaprProtos.PauseWorkflowRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.PauseWorkflowRequest.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(); instanceId_ = ""; workflowComponent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PauseWorkflowRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.PauseWorkflowRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.PauseWorkflowRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.PauseWorkflowRequest build() { io.dapr.v1.DaprProtos.PauseWorkflowRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.PauseWorkflowRequest buildPartial() { io.dapr.v1.DaprProtos.PauseWorkflowRequest result = new io.dapr.v1.DaprProtos.PauseWorkflowRequest(this); result.instanceId_ = instanceId_; result.workflowComponent_ = workflowComponent_; 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.PauseWorkflowRequest) { return mergeFrom((io.dapr.v1.DaprProtos.PauseWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.PauseWorkflowRequest other) { if (other == io.dapr.v1.DaprProtos.PauseWorkflowRequest.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; onChanged(); } if (!other.getWorkflowComponent().isEmpty()) { workflowComponent_ = other.workflowComponent_; 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.PauseWorkflowRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.PauseWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object instanceId_ = ""; /** *
       * ID of the workflow instance to pause.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the workflow instance to pause.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the workflow instance to pause.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } instanceId_ = value; onChanged(); return this; } /** *
       * ID of the workflow instance to pause.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** *
       * ID of the workflow instance to pause.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The bytes for instanceId to set. * @return This builder for chaining. */ public Builder setInstanceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; onChanged(); return this; } private java.lang.Object workflowComponent_ = ""; /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowComponent_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workflowComponent_ = value; onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return This builder for chaining. */ public Builder clearWorkflowComponent() { workflowComponent_ = getDefaultInstance().getWorkflowComponent(); onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The bytes for workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workflowComponent_ = 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.PauseWorkflowRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.PauseWorkflowRequest) private static final io.dapr.v1.DaprProtos.PauseWorkflowRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.PauseWorkflowRequest(); } public static io.dapr.v1.DaprProtos.PauseWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PauseWorkflowRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PauseWorkflowRequest(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.PauseWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResumeWorkflowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.ResumeWorkflowRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the workflow instance to resume.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ java.lang.String getInstanceId(); /** *
     * ID of the workflow instance to resume.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ com.google.protobuf.ByteString getInstanceIdBytes(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ java.lang.String getWorkflowComponent(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ com.google.protobuf.ByteString getWorkflowComponentBytes(); } /** *
   * ResumeWorkflowRequest is the request for ResumeWorkflowBeta1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.ResumeWorkflowRequest} */ public static final class ResumeWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.ResumeWorkflowRequest) ResumeWorkflowRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ResumeWorkflowRequest.newBuilder() to construct. private ResumeWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResumeWorkflowRequest() { instanceId_ = ""; workflowComponent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ResumeWorkflowRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResumeWorkflowRequest( 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(); instanceId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workflowComponent_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ResumeWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ResumeWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ResumeWorkflowRequest.class, io.dapr.v1.DaprProtos.ResumeWorkflowRequest.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object instanceId_; /** *
     * ID of the workflow instance to resume.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ @java.lang.Override public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; } } /** *
     * ID of the workflow instance to resume.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKFLOW_COMPONENT_FIELD_NUMBER = 2; private volatile java.lang.Object workflowComponent_; /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ @java.lang.Override public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; 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(); workflowComponent_ = s; return s; } } /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ @java.lang.Override public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workflowComponent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workflowComponent_); } 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.ResumeWorkflowRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.ResumeWorkflowRequest other = (io.dapr.v1.DaprProtos.ResumeWorkflowRequest) obj; if (!getInstanceId() .equals(other.getInstanceId())) return false; if (!getWorkflowComponent() .equals(other.getWorkflowComponent())) 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) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getInstanceId().hashCode(); hash = (37 * hash) + WORKFLOW_COMPONENT_FIELD_NUMBER; hash = (53 * hash) + getWorkflowComponent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.ResumeWorkflowRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ResumeWorkflowRequest 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.ResumeWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ResumeWorkflowRequest 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.ResumeWorkflowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ResumeWorkflowRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.ResumeWorkflowRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ResumeWorkflowRequest 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.ResumeWorkflowRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ResumeWorkflowRequest 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.ResumeWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ResumeWorkflowRequest 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.ResumeWorkflowRequest 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; } /** *
     * ResumeWorkflowRequest is the request for ResumeWorkflowBeta1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.ResumeWorkflowRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.ResumeWorkflowRequest) io.dapr.v1.DaprProtos.ResumeWorkflowRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ResumeWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ResumeWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ResumeWorkflowRequest.class, io.dapr.v1.DaprProtos.ResumeWorkflowRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.ResumeWorkflowRequest.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(); instanceId_ = ""; workflowComponent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ResumeWorkflowRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.ResumeWorkflowRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.ResumeWorkflowRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.ResumeWorkflowRequest build() { io.dapr.v1.DaprProtos.ResumeWorkflowRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.ResumeWorkflowRequest buildPartial() { io.dapr.v1.DaprProtos.ResumeWorkflowRequest result = new io.dapr.v1.DaprProtos.ResumeWorkflowRequest(this); result.instanceId_ = instanceId_; result.workflowComponent_ = workflowComponent_; 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.ResumeWorkflowRequest) { return mergeFrom((io.dapr.v1.DaprProtos.ResumeWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.ResumeWorkflowRequest other) { if (other == io.dapr.v1.DaprProtos.ResumeWorkflowRequest.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; onChanged(); } if (!other.getWorkflowComponent().isEmpty()) { workflowComponent_ = other.workflowComponent_; 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.ResumeWorkflowRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.ResumeWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object instanceId_ = ""; /** *
       * ID of the workflow instance to resume.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the workflow instance to resume.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the workflow instance to resume.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } instanceId_ = value; onChanged(); return this; } /** *
       * ID of the workflow instance to resume.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** *
       * ID of the workflow instance to resume.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The bytes for instanceId to set. * @return This builder for chaining. */ public Builder setInstanceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; onChanged(); return this; } private java.lang.Object workflowComponent_ = ""; /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowComponent_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workflowComponent_ = value; onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return This builder for chaining. */ public Builder clearWorkflowComponent() { workflowComponent_ = getDefaultInstance().getWorkflowComponent(); onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The bytes for workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workflowComponent_ = 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.ResumeWorkflowRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.ResumeWorkflowRequest) private static final io.dapr.v1.DaprProtos.ResumeWorkflowRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.ResumeWorkflowRequest(); } public static io.dapr.v1.DaprProtos.ResumeWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResumeWorkflowRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResumeWorkflowRequest(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.ResumeWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RaiseEventWorkflowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.RaiseEventWorkflowRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the workflow instance to raise an event for.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ java.lang.String getInstanceId(); /** *
     * ID of the workflow instance to raise an event for.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ com.google.protobuf.ByteString getInstanceIdBytes(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ java.lang.String getWorkflowComponent(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ com.google.protobuf.ByteString getWorkflowComponentBytes(); /** *
     * Name of the event.
     * 
* * string event_name = 3 [json_name = "eventName"]; * @return The eventName. */ java.lang.String getEventName(); /** *
     * Name of the event.
     * 
* * string event_name = 3 [json_name = "eventName"]; * @return The bytes for eventName. */ com.google.protobuf.ByteString getEventNameBytes(); /** *
     * Data associated with the event.
     * 
* * bytes event_data = 4; * @return The eventData. */ com.google.protobuf.ByteString getEventData(); } /** *
   * RaiseEventWorkflowRequest is the request for RaiseEventWorkflowBeta1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.RaiseEventWorkflowRequest} */ public static final class RaiseEventWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.RaiseEventWorkflowRequest) RaiseEventWorkflowRequestOrBuilder { private static final long serialVersionUID = 0L; // Use RaiseEventWorkflowRequest.newBuilder() to construct. private RaiseEventWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RaiseEventWorkflowRequest() { instanceId_ = ""; workflowComponent_ = ""; eventName_ = ""; eventData_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RaiseEventWorkflowRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RaiseEventWorkflowRequest( 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(); instanceId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workflowComponent_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); eventName_ = s; break; } case 34: { eventData_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RaiseEventWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RaiseEventWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest.class, io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object instanceId_; /** *
     * ID of the workflow instance to raise an event for.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ @java.lang.Override public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; } } /** *
     * ID of the workflow instance to raise an event for.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKFLOW_COMPONENT_FIELD_NUMBER = 2; private volatile java.lang.Object workflowComponent_; /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ @java.lang.Override public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; 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(); workflowComponent_ = s; return s; } } /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ @java.lang.Override public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EVENT_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object eventName_; /** *
     * Name of the event.
     * 
* * string event_name = 3 [json_name = "eventName"]; * @return The eventName. */ @java.lang.Override public java.lang.String getEventName() { java.lang.Object ref = eventName_; 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(); eventName_ = s; return s; } } /** *
     * Name of the event.
     * 
* * string event_name = 3 [json_name = "eventName"]; * @return The bytes for eventName. */ @java.lang.Override public com.google.protobuf.ByteString getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); eventName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EVENT_DATA_FIELD_NUMBER = 4; private com.google.protobuf.ByteString eventData_; /** *
     * Data associated with the event.
     * 
* * bytes event_data = 4; * @return The eventData. */ @java.lang.Override public com.google.protobuf.ByteString getEventData() { return eventData_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workflowComponent_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, eventName_); } if (!eventData_.isEmpty()) { output.writeBytes(4, eventData_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workflowComponent_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, eventName_); } if (!eventData_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, eventData_); } 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.RaiseEventWorkflowRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest other = (io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest) obj; if (!getInstanceId() .equals(other.getInstanceId())) return false; if (!getWorkflowComponent() .equals(other.getWorkflowComponent())) return false; if (!getEventName() .equals(other.getEventName())) return false; if (!getEventData() .equals(other.getEventData())) 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) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getInstanceId().hashCode(); hash = (37 * hash) + WORKFLOW_COMPONENT_FIELD_NUMBER; hash = (53 * hash) + getWorkflowComponent().hashCode(); hash = (37 * hash) + EVENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getEventName().hashCode(); hash = (37 * hash) + EVENT_DATA_FIELD_NUMBER; hash = (53 * hash) + getEventData().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest 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.RaiseEventWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest 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.RaiseEventWorkflowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest 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.RaiseEventWorkflowRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest 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.RaiseEventWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest 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.RaiseEventWorkflowRequest 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; } /** *
     * RaiseEventWorkflowRequest is the request for RaiseEventWorkflowBeta1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.RaiseEventWorkflowRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.RaiseEventWorkflowRequest) io.dapr.v1.DaprProtos.RaiseEventWorkflowRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RaiseEventWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_RaiseEventWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest.class, io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest.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(); instanceId_ = ""; workflowComponent_ = ""; eventName_ = ""; eventData_ = 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_RaiseEventWorkflowRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest build() { io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest buildPartial() { io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest result = new io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest(this); result.instanceId_ = instanceId_; result.workflowComponent_ = workflowComponent_; result.eventName_ = eventName_; result.eventData_ = eventData_; 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.RaiseEventWorkflowRequest) { return mergeFrom((io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest other) { if (other == io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; onChanged(); } if (!other.getWorkflowComponent().isEmpty()) { workflowComponent_ = other.workflowComponent_; onChanged(); } if (!other.getEventName().isEmpty()) { eventName_ = other.eventName_; onChanged(); } if (other.getEventData() != com.google.protobuf.ByteString.EMPTY) { setEventData(other.getEventData()); } 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.RaiseEventWorkflowRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object instanceId_ = ""; /** *
       * ID of the workflow instance to raise an event for.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the workflow instance to raise an event for.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the workflow instance to raise an event for.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } instanceId_ = value; onChanged(); return this; } /** *
       * ID of the workflow instance to raise an event for.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** *
       * ID of the workflow instance to raise an event for.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The bytes for instanceId to set. * @return This builder for chaining. */ public Builder setInstanceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; onChanged(); return this; } private java.lang.Object workflowComponent_ = ""; /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowComponent_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workflowComponent_ = value; onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return This builder for chaining. */ public Builder clearWorkflowComponent() { workflowComponent_ = getDefaultInstance().getWorkflowComponent(); onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The bytes for workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workflowComponent_ = value; onChanged(); return this; } private java.lang.Object eventName_ = ""; /** *
       * Name of the event.
       * 
* * string event_name = 3 [json_name = "eventName"]; * @return The eventName. */ public java.lang.String getEventName() { java.lang.Object ref = eventName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the event.
       * 
* * string event_name = 3 [json_name = "eventName"]; * @return The bytes for eventName. */ public com.google.protobuf.ByteString getEventNameBytes() { java.lang.Object ref = eventName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); eventName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the event.
       * 
* * string event_name = 3 [json_name = "eventName"]; * @param value The eventName to set. * @return This builder for chaining. */ public Builder setEventName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } eventName_ = value; onChanged(); return this; } /** *
       * Name of the event.
       * 
* * string event_name = 3 [json_name = "eventName"]; * @return This builder for chaining. */ public Builder clearEventName() { eventName_ = getDefaultInstance().getEventName(); onChanged(); return this; } /** *
       * Name of the event.
       * 
* * string event_name = 3 [json_name = "eventName"]; * @param value The bytes for eventName to set. * @return This builder for chaining. */ public Builder setEventNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); eventName_ = value; onChanged(); return this; } private com.google.protobuf.ByteString eventData_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Data associated with the event.
       * 
* * bytes event_data = 4; * @return The eventData. */ @java.lang.Override public com.google.protobuf.ByteString getEventData() { return eventData_; } /** *
       * Data associated with the event.
       * 
* * bytes event_data = 4; * @param value The eventData to set. * @return This builder for chaining. */ public Builder setEventData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } eventData_ = value; onChanged(); return this; } /** *
       * Data associated with the event.
       * 
* * bytes event_data = 4; * @return This builder for chaining. */ public Builder clearEventData() { eventData_ = getDefaultInstance().getEventData(); 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.RaiseEventWorkflowRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.RaiseEventWorkflowRequest) private static final io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest(); } public static io.dapr.v1.DaprProtos.RaiseEventWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RaiseEventWorkflowRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RaiseEventWorkflowRequest(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.RaiseEventWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PurgeWorkflowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.PurgeWorkflowRequest) com.google.protobuf.MessageOrBuilder { /** *
     * ID of the workflow instance to purge.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ java.lang.String getInstanceId(); /** *
     * ID of the workflow instance to purge.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ com.google.protobuf.ByteString getInstanceIdBytes(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ java.lang.String getWorkflowComponent(); /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ com.google.protobuf.ByteString getWorkflowComponentBytes(); } /** *
   * PurgeWorkflowRequest is the request for PurgeWorkflowBeta1.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.PurgeWorkflowRequest} */ public static final class PurgeWorkflowRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.PurgeWorkflowRequest) PurgeWorkflowRequestOrBuilder { private static final long serialVersionUID = 0L; // Use PurgeWorkflowRequest.newBuilder() to construct. private PurgeWorkflowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PurgeWorkflowRequest() { instanceId_ = ""; workflowComponent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PurgeWorkflowRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PurgeWorkflowRequest( 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(); instanceId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workflowComponent_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PurgeWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PurgeWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.PurgeWorkflowRequest.class, io.dapr.v1.DaprProtos.PurgeWorkflowRequest.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object instanceId_; /** *
     * ID of the workflow instance to purge.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ @java.lang.Override public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; } } /** *
     * ID of the workflow instance to purge.
     * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKFLOW_COMPONENT_FIELD_NUMBER = 2; private volatile java.lang.Object workflowComponent_; /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ @java.lang.Override public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; 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(); workflowComponent_ = s; return s; } } /** *
     * Name of the workflow component.
     * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ @java.lang.Override public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workflowComponent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowComponent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workflowComponent_); } 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.PurgeWorkflowRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.PurgeWorkflowRequest other = (io.dapr.v1.DaprProtos.PurgeWorkflowRequest) obj; if (!getInstanceId() .equals(other.getInstanceId())) return false; if (!getWorkflowComponent() .equals(other.getWorkflowComponent())) 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) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getInstanceId().hashCode(); hash = (37 * hash) + WORKFLOW_COMPONENT_FIELD_NUMBER; hash = (53 * hash) + getWorkflowComponent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.PurgeWorkflowRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PurgeWorkflowRequest 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.PurgeWorkflowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PurgeWorkflowRequest 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.PurgeWorkflowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.PurgeWorkflowRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.PurgeWorkflowRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PurgeWorkflowRequest 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.PurgeWorkflowRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PurgeWorkflowRequest 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.PurgeWorkflowRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.PurgeWorkflowRequest 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.PurgeWorkflowRequest 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; } /** *
     * PurgeWorkflowRequest is the request for PurgeWorkflowBeta1.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.PurgeWorkflowRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.PurgeWorkflowRequest) io.dapr.v1.DaprProtos.PurgeWorkflowRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PurgeWorkflowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PurgeWorkflowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.PurgeWorkflowRequest.class, io.dapr.v1.DaprProtos.PurgeWorkflowRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.PurgeWorkflowRequest.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(); instanceId_ = ""; workflowComponent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_PurgeWorkflowRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.PurgeWorkflowRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.PurgeWorkflowRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.PurgeWorkflowRequest build() { io.dapr.v1.DaprProtos.PurgeWorkflowRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.PurgeWorkflowRequest buildPartial() { io.dapr.v1.DaprProtos.PurgeWorkflowRequest result = new io.dapr.v1.DaprProtos.PurgeWorkflowRequest(this); result.instanceId_ = instanceId_; result.workflowComponent_ = workflowComponent_; 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.PurgeWorkflowRequest) { return mergeFrom((io.dapr.v1.DaprProtos.PurgeWorkflowRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.PurgeWorkflowRequest other) { if (other == io.dapr.v1.DaprProtos.PurgeWorkflowRequest.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; onChanged(); } if (!other.getWorkflowComponent().isEmpty()) { workflowComponent_ = other.workflowComponent_; 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.PurgeWorkflowRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.PurgeWorkflowRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object instanceId_ = ""; /** *
       * ID of the workflow instance to purge.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID of the workflow instance to purge.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return The bytes for instanceId. */ public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID of the workflow instance to purge.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } instanceId_ = value; onChanged(); return this; } /** *
       * ID of the workflow instance to purge.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** *
       * ID of the workflow instance to purge.
       * 
* * string instance_id = 1 [json_name = "instanceID"]; * @param value The bytes for instanceId to set. * @return This builder for chaining. */ public Builder setInstanceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; onChanged(); return this; } private java.lang.Object workflowComponent_ = ""; /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The workflowComponent. */ public java.lang.String getWorkflowComponent() { java.lang.Object ref = workflowComponent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowComponent_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return The bytes for workflowComponent. */ public com.google.protobuf.ByteString getWorkflowComponentBytes() { java.lang.Object ref = workflowComponent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowComponent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workflowComponent_ = value; onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @return This builder for chaining. */ public Builder clearWorkflowComponent() { workflowComponent_ = getDefaultInstance().getWorkflowComponent(); onChanged(); return this; } /** *
       * Name of the workflow component.
       * 
* * string workflow_component = 2 [json_name = "workflowComponent"]; * @param value The bytes for workflowComponent to set. * @return This builder for chaining. */ public Builder setWorkflowComponentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workflowComponent_ = 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.PurgeWorkflowRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.PurgeWorkflowRequest) private static final io.dapr.v1.DaprProtos.PurgeWorkflowRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.PurgeWorkflowRequest(); } public static io.dapr.v1.DaprProtos.PurgeWorkflowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PurgeWorkflowRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PurgeWorkflowRequest(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.PurgeWorkflowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShutdownRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.ShutdownRequest) com.google.protobuf.MessageOrBuilder { } /** *
   * ShutdownRequest is the request for Shutdown.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.ShutdownRequest} */ public static final class ShutdownRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.ShutdownRequest) ShutdownRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ShutdownRequest.newBuilder() to construct. private ShutdownRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShutdownRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShutdownRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShutdownRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ShutdownRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ShutdownRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ShutdownRequest.class, io.dapr.v1.DaprProtos.ShutdownRequest.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprProtos.ShutdownRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.ShutdownRequest other = (io.dapr.v1.DaprProtos.ShutdownRequest) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.ShutdownRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ShutdownRequest 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.ShutdownRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ShutdownRequest 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.ShutdownRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ShutdownRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.ShutdownRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ShutdownRequest 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.ShutdownRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ShutdownRequest 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.ShutdownRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ShutdownRequest 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.ShutdownRequest 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; } /** *
     * ShutdownRequest is the request for Shutdown.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.ShutdownRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.ShutdownRequest) io.dapr.v1.DaprProtos.ShutdownRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ShutdownRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ShutdownRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ShutdownRequest.class, io.dapr.v1.DaprProtos.ShutdownRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.ShutdownRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ShutdownRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.ShutdownRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.ShutdownRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.ShutdownRequest build() { io.dapr.v1.DaprProtos.ShutdownRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.ShutdownRequest buildPartial() { io.dapr.v1.DaprProtos.ShutdownRequest result = new io.dapr.v1.DaprProtos.ShutdownRequest(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprProtos.ShutdownRequest) { return mergeFrom((io.dapr.v1.DaprProtos.ShutdownRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.ShutdownRequest other) { if (other == io.dapr.v1.DaprProtos.ShutdownRequest.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprProtos.ShutdownRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.ShutdownRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.ShutdownRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.ShutdownRequest) private static final io.dapr.v1.DaprProtos.ShutdownRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.ShutdownRequest(); } public static io.dapr.v1.DaprProtos.ShutdownRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShutdownRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShutdownRequest(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.ShutdownRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JobOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.Job) com.google.protobuf.MessageOrBuilder { /** *
     * The unique name for the job.
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * The unique name for the job.
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * The schedule for the job.
     * 
* * optional string schedule = 2; * @return Whether the schedule field is set. */ boolean hasSchedule(); /** *
     * The schedule for the job.
     * 
* * optional string schedule = 2; * @return The schedule. */ java.lang.String getSchedule(); /** *
     * The schedule for the job.
     * 
* * optional string schedule = 2; * @return The bytes for schedule. */ com.google.protobuf.ByteString getScheduleBytes(); /** *
     * Optional: jobs with fixed repeat counts (accounting for Actor Reminders).
     * 
* * optional uint32 repeats = 3; * @return Whether the repeats field is set. */ boolean hasRepeats(); /** *
     * Optional: jobs with fixed repeat counts (accounting for Actor Reminders).
     * 
* * optional uint32 repeats = 3; * @return The repeats. */ int getRepeats(); /** *
     * Optional: sets time at which or time interval before the callback is invoked for the first time.
     * 
* * optional string due_time = 4; * @return Whether the dueTime field is set. */ boolean hasDueTime(); /** *
     * Optional: sets time at which or time interval before the callback is invoked for the first time.
     * 
* * optional string due_time = 4; * @return The dueTime. */ java.lang.String getDueTime(); /** *
     * Optional: sets time at which or time interval before the callback is invoked for the first time.
     * 
* * optional string due_time = 4; * @return The bytes for dueTime. */ com.google.protobuf.ByteString getDueTimeBytes(); /** *
     * Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
     * 
* * optional string ttl = 5; * @return Whether the ttl field is set. */ boolean hasTtl(); /** *
     * Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
     * 
* * optional string ttl = 5; * @return The ttl. */ java.lang.String getTtl(); /** *
     * Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
     * 
* * optional string ttl = 5; * @return The bytes for ttl. */ com.google.protobuf.ByteString getTtlBytes(); /** *
     * Job data.
     * 
* * .google.protobuf.Any data = 6; * @return Whether the data field is set. */ boolean hasData(); /** *
     * Job data.
     * 
* * .google.protobuf.Any data = 6; * @return The data. */ com.google.protobuf.Any getData(); /** *
     * Job data.
     * 
* * .google.protobuf.Any data = 6; */ com.google.protobuf.AnyOrBuilder getDataOrBuilder(); } /** *
   * Job is the definition of a job.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.Job} */ public static final class Job extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.Job) JobOrBuilder { private static final long serialVersionUID = 0L; // Use Job.newBuilder() to construct. private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Job() { name_ = ""; schedule_ = ""; dueTime_ = ""; ttl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Job(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Job( 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: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; schedule_ = s; break; } case 24: { bitField0_ |= 0x00000002; repeats_ = input.readUInt32(); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; dueTime_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; ttl_ = s; break; } case 50: { com.google.protobuf.Any.Builder subBuilder = null; if (data_ != null) { subBuilder = data_.toBuilder(); } data_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(data_); data_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_Job_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_Job_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.Job.class, io.dapr.v1.DaprProtos.Job.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * The unique name for the job.
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * The unique name for the job.
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCHEDULE_FIELD_NUMBER = 2; private volatile java.lang.Object schedule_; /** *
     * The schedule for the job.
     * 
* * optional string schedule = 2; * @return Whether the schedule field is set. */ @java.lang.Override public boolean hasSchedule() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The schedule for the job.
     * 
* * optional string schedule = 2; * @return The schedule. */ @java.lang.Override public java.lang.String getSchedule() { java.lang.Object ref = schedule_; 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(); schedule_ = s; return s; } } /** *
     * The schedule for the job.
     * 
* * optional string schedule = 2; * @return The bytes for schedule. */ @java.lang.Override public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schedule_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REPEATS_FIELD_NUMBER = 3; private int repeats_; /** *
     * Optional: jobs with fixed repeat counts (accounting for Actor Reminders).
     * 
* * optional uint32 repeats = 3; * @return Whether the repeats field is set. */ @java.lang.Override public boolean hasRepeats() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Optional: jobs with fixed repeat counts (accounting for Actor Reminders).
     * 
* * optional uint32 repeats = 3; * @return The repeats. */ @java.lang.Override public int getRepeats() { return repeats_; } public static final int DUE_TIME_FIELD_NUMBER = 4; private volatile java.lang.Object dueTime_; /** *
     * Optional: sets time at which or time interval before the callback is invoked for the first time.
     * 
* * optional string due_time = 4; * @return Whether the dueTime field is set. */ @java.lang.Override public boolean hasDueTime() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Optional: sets time at which or time interval before the callback is invoked for the first time.
     * 
* * optional string due_time = 4; * @return The dueTime. */ @java.lang.Override public java.lang.String getDueTime() { java.lang.Object ref = dueTime_; 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(); dueTime_ = s; return s; } } /** *
     * Optional: sets time at which or time interval before the callback is invoked for the first time.
     * 
* * optional string due_time = 4; * @return The bytes for dueTime. */ @java.lang.Override public com.google.protobuf.ByteString getDueTimeBytes() { java.lang.Object ref = dueTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dueTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TTL_FIELD_NUMBER = 5; private volatile java.lang.Object ttl_; /** *
     * Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
     * 
* * optional string ttl = 5; * @return Whether the ttl field is set. */ @java.lang.Override public boolean hasTtl() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
     * 
* * optional string ttl = 5; * @return The ttl. */ @java.lang.Override public java.lang.String getTtl() { java.lang.Object ref = ttl_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ttl_ = s; return s; } } /** *
     * Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
     * 
* * optional string ttl = 5; * @return The bytes for ttl. */ @java.lang.Override public com.google.protobuf.ByteString getTtlBytes() { java.lang.Object ref = ttl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ttl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_FIELD_NUMBER = 6; private com.google.protobuf.Any data_; /** *
     * Job data.
     * 
* * .google.protobuf.Any data = 6; * @return Whether the data field is set. */ @java.lang.Override public boolean hasData() { return data_ != null; } /** *
     * Job data.
     * 
* * .google.protobuf.Any data = 6; * @return The data. */ @java.lang.Override public com.google.protobuf.Any getData() { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; } /** *
     * Job data.
     * 
* * .google.protobuf.Any data = 6; */ @java.lang.Override public com.google.protobuf.AnyOrBuilder getDataOrBuilder() { return getData(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schedule_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(3, repeats_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dueTime_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ttl_); } if (data_ != null) { output.writeMessage(6, getData()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schedule_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, repeats_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, dueTime_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ttl_); } if (data_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getData()); } 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.Job)) { return super.equals(obj); } io.dapr.v1.DaprProtos.Job other = (io.dapr.v1.DaprProtos.Job) obj; if (!getName() .equals(other.getName())) return false; if (hasSchedule() != other.hasSchedule()) return false; if (hasSchedule()) { if (!getSchedule() .equals(other.getSchedule())) return false; } if (hasRepeats() != other.hasRepeats()) return false; if (hasRepeats()) { if (getRepeats() != other.getRepeats()) return false; } if (hasDueTime() != other.hasDueTime()) return false; if (hasDueTime()) { if (!getDueTime() .equals(other.getDueTime())) return false; } if (hasTtl() != other.hasTtl()) return false; if (hasTtl()) { if (!getTtl() .equals(other.getTtl())) return false; } if (hasData() != other.hasData()) return false; if (hasData()) { 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) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (hasSchedule()) { hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getSchedule().hashCode(); } if (hasRepeats()) { hash = (37 * hash) + REPEATS_FIELD_NUMBER; hash = (53 * hash) + getRepeats(); } if (hasDueTime()) { hash = (37 * hash) + DUE_TIME_FIELD_NUMBER; hash = (53 * hash) + getDueTime().hashCode(); } if (hasTtl()) { hash = (37 * hash) + TTL_FIELD_NUMBER; hash = (53 * hash) + getTtl().hashCode(); } if (hasData()) { 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.Job parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.Job 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.Job parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.Job 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.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.Job parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.Job parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.Job 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.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.Job 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.Job parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.Job 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.Job 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; } /** *
     * Job is the definition of a job.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.Job} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.Job) io.dapr.v1.DaprProtos.JobOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_Job_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_Job_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.Job.class, io.dapr.v1.DaprProtos.Job.Builder.class); } // Construct using io.dapr.v1.DaprProtos.Job.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_ = ""; schedule_ = ""; bitField0_ = (bitField0_ & ~0x00000001); repeats_ = 0; bitField0_ = (bitField0_ & ~0x00000002); dueTime_ = ""; bitField0_ = (bitField0_ & ~0x00000004); ttl_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (dataBuilder_ == null) { data_ = null; } else { data_ = null; dataBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_Job_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.Job getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.Job.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.Job build() { io.dapr.v1.DaprProtos.Job result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.Job buildPartial() { io.dapr.v1.DaprProtos.Job result = new io.dapr.v1.DaprProtos.Job(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.name_ = name_; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.schedule_ = schedule_; if (((from_bitField0_ & 0x00000002) != 0)) { result.repeats_ = repeats_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.dueTime_ = dueTime_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.ttl_ = ttl_; if (dataBuilder_ == null) { result.data_ = data_; } else { result.data_ = dataBuilder_.build(); } result.bitField0_ = to_bitField0_; 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.Job) { return mergeFrom((io.dapr.v1.DaprProtos.Job)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.Job other) { if (other == io.dapr.v1.DaprProtos.Job.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.hasSchedule()) { bitField0_ |= 0x00000001; schedule_ = other.schedule_; onChanged(); } if (other.hasRepeats()) { setRepeats(other.getRepeats()); } if (other.hasDueTime()) { bitField0_ |= 0x00000004; dueTime_ = other.dueTime_; onChanged(); } if (other.hasTtl()) { bitField0_ |= 0x00000008; ttl_ = other.ttl_; onChanged(); } if (other.hasData()) { mergeData(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.Job parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.Job) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * The unique name for the job.
       * 
* * 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 unique name for the job.
       * 
* * 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 unique name for the job.
       * 
* * 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 unique name for the job.
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * The unique name for the job.
       * 
* * 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 java.lang.Object schedule_ = ""; /** *
       * The schedule for the job.
       * 
* * optional string schedule = 2; * @return Whether the schedule field is set. */ public boolean hasSchedule() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The schedule for the job.
       * 
* * optional string schedule = 2; * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The schedule for the job.
       * 
* * optional string schedule = 2; * @return The bytes for schedule. */ public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schedule_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The schedule for the job.
       * 
* * optional string schedule = 2; * @param value The schedule to set. * @return This builder for chaining. */ public Builder setSchedule( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; schedule_ = value; onChanged(); return this; } /** *
       * The schedule for the job.
       * 
* * optional string schedule = 2; * @return This builder for chaining. */ public Builder clearSchedule() { bitField0_ = (bitField0_ & ~0x00000001); schedule_ = getDefaultInstance().getSchedule(); onChanged(); return this; } /** *
       * The schedule for the job.
       * 
* * optional string schedule = 2; * @param value The bytes for schedule to set. * @return This builder for chaining. */ public Builder setScheduleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000001; schedule_ = value; onChanged(); return this; } private int repeats_ ; /** *
       * Optional: jobs with fixed repeat counts (accounting for Actor Reminders).
       * 
* * optional uint32 repeats = 3; * @return Whether the repeats field is set. */ @java.lang.Override public boolean hasRepeats() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Optional: jobs with fixed repeat counts (accounting for Actor Reminders).
       * 
* * optional uint32 repeats = 3; * @return The repeats. */ @java.lang.Override public int getRepeats() { return repeats_; } /** *
       * Optional: jobs with fixed repeat counts (accounting for Actor Reminders).
       * 
* * optional uint32 repeats = 3; * @param value The repeats to set. * @return This builder for chaining. */ public Builder setRepeats(int value) { bitField0_ |= 0x00000002; repeats_ = value; onChanged(); return this; } /** *
       * Optional: jobs with fixed repeat counts (accounting for Actor Reminders).
       * 
* * optional uint32 repeats = 3; * @return This builder for chaining. */ public Builder clearRepeats() { bitField0_ = (bitField0_ & ~0x00000002); repeats_ = 0; onChanged(); return this; } private java.lang.Object dueTime_ = ""; /** *
       * Optional: sets time at which or time interval before the callback is invoked for the first time.
       * 
* * optional string due_time = 4; * @return Whether the dueTime field is set. */ public boolean hasDueTime() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * Optional: sets time at which or time interval before the callback is invoked for the first time.
       * 
* * optional string due_time = 4; * @return The dueTime. */ public java.lang.String getDueTime() { java.lang.Object ref = dueTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dueTime_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional: sets time at which or time interval before the callback is invoked for the first time.
       * 
* * optional string due_time = 4; * @return The bytes for dueTime. */ public com.google.protobuf.ByteString getDueTimeBytes() { java.lang.Object ref = dueTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dueTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional: sets time at which or time interval before the callback is invoked for the first time.
       * 
* * optional string due_time = 4; * @param value The dueTime to set. * @return This builder for chaining. */ public Builder setDueTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; dueTime_ = value; onChanged(); return this; } /** *
       * Optional: sets time at which or time interval before the callback is invoked for the first time.
       * 
* * optional string due_time = 4; * @return This builder for chaining. */ public Builder clearDueTime() { bitField0_ = (bitField0_ & ~0x00000004); dueTime_ = getDefaultInstance().getDueTime(); onChanged(); return this; } /** *
       * Optional: sets time at which or time interval before the callback is invoked for the first time.
       * 
* * optional string due_time = 4; * @param value The bytes for dueTime to set. * @return This builder for chaining. */ public Builder setDueTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000004; dueTime_ = value; onChanged(); return this; } private java.lang.Object ttl_ = ""; /** *
       * Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
       * 
* * optional string ttl = 5; * @return Whether the ttl field is set. */ public boolean hasTtl() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
       * 
* * optional string ttl = 5; * @return The ttl. */ public java.lang.String getTtl() { java.lang.Object ref = ttl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ttl_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
       * 
* * optional string ttl = 5; * @return The bytes for ttl. */ public com.google.protobuf.ByteString getTtlBytes() { java.lang.Object ref = ttl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ttl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
       * 
* * optional string ttl = 5; * @param value The ttl to set. * @return This builder for chaining. */ public Builder setTtl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; ttl_ = value; onChanged(); return this; } /** *
       * Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
       * 
* * optional string ttl = 5; * @return This builder for chaining. */ public Builder clearTtl() { bitField0_ = (bitField0_ & ~0x00000008); ttl_ = getDefaultInstance().getTtl(); onChanged(); return this; } /** *
       * Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
       * 
* * optional string ttl = 5; * @param value The bytes for ttl to set. * @return This builder for chaining. */ public Builder setTtlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000008; ttl_ = value; onChanged(); return this; } private com.google.protobuf.Any data_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> dataBuilder_; /** *
       * Job data.
       * 
* * .google.protobuf.Any data = 6; * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** *
       * Job data.
       * 
* * .google.protobuf.Any data = 6; * @return The data. */ public com.google.protobuf.Any getData() { if (dataBuilder_ == null) { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; } else { return dataBuilder_.getMessage(); } } /** *
       * Job data.
       * 
* * .google.protobuf.Any data = 6; */ public Builder setData(com.google.protobuf.Any value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { dataBuilder_.setMessage(value); } return this; } /** *
       * Job data.
       * 
* * .google.protobuf.Any data = 6; */ public Builder setData( com.google.protobuf.Any.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { dataBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Job data.
       * 
* * .google.protobuf.Any data = 6; */ public Builder mergeData(com.google.protobuf.Any value) { if (dataBuilder_ == null) { if (data_ != null) { data_ = com.google.protobuf.Any.newBuilder(data_).mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { dataBuilder_.mergeFrom(value); } return this; } /** *
       * Job data.
       * 
* * .google.protobuf.Any data = 6; */ public Builder clearData() { if (dataBuilder_ == null) { data_ = null; onChanged(); } else { data_ = null; dataBuilder_ = null; } return this; } /** *
       * Job data.
       * 
* * .google.protobuf.Any data = 6; */ public com.google.protobuf.Any.Builder getDataBuilder() { onChanged(); return getDataFieldBuilder().getBuilder(); } /** *
       * Job data.
       * 
* * .google.protobuf.Any data = 6; */ public com.google.protobuf.AnyOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; } } /** *
       * Job data.
       * 
* * .google.protobuf.Any data = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getData(), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } @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.Job) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.Job) private static final io.dapr.v1.DaprProtos.Job DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.Job(); } public static io.dapr.v1.DaprProtos.Job getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Job parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Job(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.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ScheduleJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.ScheduleJobRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The job details.
     * 
* * .dapr.proto.runtime.v1.Job job = 1; * @return Whether the job field is set. */ boolean hasJob(); /** *
     * The job details.
     * 
* * .dapr.proto.runtime.v1.Job job = 1; * @return The job. */ io.dapr.v1.DaprProtos.Job getJob(); /** *
     * The job details.
     * 
* * .dapr.proto.runtime.v1.Job job = 1; */ io.dapr.v1.DaprProtos.JobOrBuilder getJobOrBuilder(); } /** *
   * ScheduleJobRequest is the message to create/schedule the job.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.ScheduleJobRequest} */ public static final class ScheduleJobRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.ScheduleJobRequest) ScheduleJobRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ScheduleJobRequest.newBuilder() to construct. private ScheduleJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ScheduleJobRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ScheduleJobRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ScheduleJobRequest( 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: { io.dapr.v1.DaprProtos.Job.Builder subBuilder = null; if (job_ != null) { subBuilder = job_.toBuilder(); } job_ = input.readMessage(io.dapr.v1.DaprProtos.Job.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(job_); job_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ScheduleJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ScheduleJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ScheduleJobRequest.class, io.dapr.v1.DaprProtos.ScheduleJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private io.dapr.v1.DaprProtos.Job job_; /** *
     * The job details.
     * 
* * .dapr.proto.runtime.v1.Job job = 1; * @return Whether the job field is set. */ @java.lang.Override public boolean hasJob() { return job_ != null; } /** *
     * The job details.
     * 
* * .dapr.proto.runtime.v1.Job job = 1; * @return The job. */ @java.lang.Override public io.dapr.v1.DaprProtos.Job getJob() { return job_ == null ? io.dapr.v1.DaprProtos.Job.getDefaultInstance() : job_; } /** *
     * The job details.
     * 
* * .dapr.proto.runtime.v1.Job job = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.JobOrBuilder getJobOrBuilder() { return getJob(); } 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 (job_ != null) { output.writeMessage(1, getJob()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (job_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getJob()); } 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.ScheduleJobRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.ScheduleJobRequest other = (io.dapr.v1.DaprProtos.ScheduleJobRequest) obj; if (hasJob() != other.hasJob()) return false; if (hasJob()) { if (!getJob() .equals(other.getJob())) 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 (hasJob()) { hash = (37 * hash) + JOB_FIELD_NUMBER; hash = (53 * hash) + getJob().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.ScheduleJobRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ScheduleJobRequest 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.ScheduleJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ScheduleJobRequest 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.ScheduleJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ScheduleJobRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.ScheduleJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ScheduleJobRequest 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.ScheduleJobRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ScheduleJobRequest 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.ScheduleJobRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ScheduleJobRequest 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.ScheduleJobRequest 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; } /** *
     * ScheduleJobRequest is the message to create/schedule the job.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.ScheduleJobRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.ScheduleJobRequest) io.dapr.v1.DaprProtos.ScheduleJobRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ScheduleJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ScheduleJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ScheduleJobRequest.class, io.dapr.v1.DaprProtos.ScheduleJobRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.ScheduleJobRequest.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(); if (jobBuilder_ == null) { job_ = null; } else { job_ = null; jobBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ScheduleJobRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.ScheduleJobRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.ScheduleJobRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.ScheduleJobRequest build() { io.dapr.v1.DaprProtos.ScheduleJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.ScheduleJobRequest buildPartial() { io.dapr.v1.DaprProtos.ScheduleJobRequest result = new io.dapr.v1.DaprProtos.ScheduleJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { result.job_ = jobBuilder_.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.ScheduleJobRequest) { return mergeFrom((io.dapr.v1.DaprProtos.ScheduleJobRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.ScheduleJobRequest other) { if (other == io.dapr.v1.DaprProtos.ScheduleJobRequest.getDefaultInstance()) return this; if (other.hasJob()) { mergeJob(other.getJob()); } 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.ScheduleJobRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.ScheduleJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.dapr.v1.DaprProtos.Job job_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.Job, io.dapr.v1.DaprProtos.Job.Builder, io.dapr.v1.DaprProtos.JobOrBuilder> jobBuilder_; /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; * @return The job. */ public io.dapr.v1.DaprProtos.Job getJob() { if (jobBuilder_ == null) { return job_ == null ? io.dapr.v1.DaprProtos.Job.getDefaultInstance() : job_; } else { return jobBuilder_.getMessage(); } } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ public Builder setJob(io.dapr.v1.DaprProtos.Job value) { if (jobBuilder_ == null) { if (value == null) { throw new NullPointerException(); } job_ = value; onChanged(); } else { jobBuilder_.setMessage(value); } return this; } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ public Builder setJob( io.dapr.v1.DaprProtos.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); } else { jobBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ public Builder mergeJob(io.dapr.v1.DaprProtos.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = io.dapr.v1.DaprProtos.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } onChanged(); } else { jobBuilder_.mergeFrom(value); } return this; } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ public Builder clearJob() { if (jobBuilder_ == null) { job_ = null; onChanged(); } else { job_ = null; jobBuilder_ = null; } return this; } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ public io.dapr.v1.DaprProtos.Job.Builder getJobBuilder() { onChanged(); return getJobFieldBuilder().getBuilder(); } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ public io.dapr.v1.DaprProtos.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { return job_ == null ? io.dapr.v1.DaprProtos.Job.getDefaultInstance() : job_; } } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.Job, io.dapr.v1.DaprProtos.Job.Builder, io.dapr.v1.DaprProtos.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.Job, io.dapr.v1.DaprProtos.Job.Builder, io.dapr.v1.DaprProtos.JobOrBuilder>( getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; } @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.ScheduleJobRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.ScheduleJobRequest) private static final io.dapr.v1.DaprProtos.ScheduleJobRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.ScheduleJobRequest(); } public static io.dapr.v1.DaprProtos.ScheduleJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ScheduleJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ScheduleJobRequest(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.ScheduleJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ScheduleJobResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.ScheduleJobResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * ScheduleJobResponse is the message response to create/schedule the job.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.ScheduleJobResponse} */ public static final class ScheduleJobResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.ScheduleJobResponse) ScheduleJobResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ScheduleJobResponse.newBuilder() to construct. private ScheduleJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ScheduleJobResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ScheduleJobResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ScheduleJobResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ScheduleJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ScheduleJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ScheduleJobResponse.class, io.dapr.v1.DaprProtos.ScheduleJobResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprProtos.ScheduleJobResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.ScheduleJobResponse other = (io.dapr.v1.DaprProtos.ScheduleJobResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.ScheduleJobResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ScheduleJobResponse 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.ScheduleJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ScheduleJobResponse 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.ScheduleJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.ScheduleJobResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.ScheduleJobResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ScheduleJobResponse 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.ScheduleJobResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ScheduleJobResponse 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.ScheduleJobResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.ScheduleJobResponse 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.ScheduleJobResponse 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; } /** *
     * ScheduleJobResponse is the message response to create/schedule the job.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.ScheduleJobResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.ScheduleJobResponse) io.dapr.v1.DaprProtos.ScheduleJobResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ScheduleJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ScheduleJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.ScheduleJobResponse.class, io.dapr.v1.DaprProtos.ScheduleJobResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.ScheduleJobResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_ScheduleJobResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.ScheduleJobResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.ScheduleJobResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.ScheduleJobResponse build() { io.dapr.v1.DaprProtos.ScheduleJobResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.ScheduleJobResponse buildPartial() { io.dapr.v1.DaprProtos.ScheduleJobResponse result = new io.dapr.v1.DaprProtos.ScheduleJobResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprProtos.ScheduleJobResponse) { return mergeFrom((io.dapr.v1.DaprProtos.ScheduleJobResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.ScheduleJobResponse other) { if (other == io.dapr.v1.DaprProtos.ScheduleJobResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprProtos.ScheduleJobResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.ScheduleJobResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.ScheduleJobResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.ScheduleJobResponse) private static final io.dapr.v1.DaprProtos.ScheduleJobResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.ScheduleJobResponse(); } public static io.dapr.v1.DaprProtos.ScheduleJobResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ScheduleJobResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ScheduleJobResponse(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.ScheduleJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetJobRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of the job.
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * The name of the job.
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } /** *
   * GetJobRequest is the message to retrieve a job.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetJobRequest} */ public static final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetJobRequest) GetJobRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetJobRequest.class, io.dapr.v1.DaprProtos.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * The name of the job.
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * The name of the job.
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } 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.GetJobRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetJobRequest other = (io.dapr.v1.DaprProtos.GetJobRequest) obj; if (!getName() .equals(other.getName())) 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.GetJobRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetJobRequest 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.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetJobRequest 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.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetJobRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetJobRequest 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.GetJobRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetJobRequest 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.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetJobRequest 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.GetJobRequest 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; } /** *
     * GetJobRequest is the message to retrieve a job.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetJobRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetJobRequest) io.dapr.v1.DaprProtos.GetJobRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetJobRequest.class, io.dapr.v1.DaprProtos.GetJobRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetJobRequest.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_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetJobRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetJobRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetJobRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetJobRequest build() { io.dapr.v1.DaprProtos.GetJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetJobRequest buildPartial() { io.dapr.v1.DaprProtos.GetJobRequest result = new io.dapr.v1.DaprProtos.GetJobRequest(this); result.name_ = name_; 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.GetJobRequest) { return mergeFrom((io.dapr.v1.DaprProtos.GetJobRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetJobRequest other) { if (other == io.dapr.v1.DaprProtos.GetJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; 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.GetJobRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object name_ = ""; /** *
       * The name of the job.
       * 
* * 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 job.
       * 
* * 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 job.
       * 
* * 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 job.
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * The name of the job.
       * 
* * 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; } @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.GetJobRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetJobRequest) private static final io.dapr.v1.DaprProtos.GetJobRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetJobRequest(); } public static io.dapr.v1.DaprProtos.GetJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobRequest(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.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.GetJobResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The job details.
     * 
* * .dapr.proto.runtime.v1.Job job = 1; * @return Whether the job field is set. */ boolean hasJob(); /** *
     * The job details.
     * 
* * .dapr.proto.runtime.v1.Job job = 1; * @return The job. */ io.dapr.v1.DaprProtos.Job getJob(); /** *
     * The job details.
     * 
* * .dapr.proto.runtime.v1.Job job = 1; */ io.dapr.v1.DaprProtos.JobOrBuilder getJobOrBuilder(); } /** *
   * GetJobResponse is the message's response for a job retrieved.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetJobResponse} */ public static final class GetJobResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.GetJobResponse) GetJobResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobResponse.newBuilder() to construct. private GetJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobResponse( 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: { io.dapr.v1.DaprProtos.Job.Builder subBuilder = null; if (job_ != null) { subBuilder = job_.toBuilder(); } job_ = input.readMessage(io.dapr.v1.DaprProtos.Job.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(job_); job_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetJobResponse.class, io.dapr.v1.DaprProtos.GetJobResponse.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private io.dapr.v1.DaprProtos.Job job_; /** *
     * The job details.
     * 
* * .dapr.proto.runtime.v1.Job job = 1; * @return Whether the job field is set. */ @java.lang.Override public boolean hasJob() { return job_ != null; } /** *
     * The job details.
     * 
* * .dapr.proto.runtime.v1.Job job = 1; * @return The job. */ @java.lang.Override public io.dapr.v1.DaprProtos.Job getJob() { return job_ == null ? io.dapr.v1.DaprProtos.Job.getDefaultInstance() : job_; } /** *
     * The job details.
     * 
* * .dapr.proto.runtime.v1.Job job = 1; */ @java.lang.Override public io.dapr.v1.DaprProtos.JobOrBuilder getJobOrBuilder() { return getJob(); } 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 (job_ != null) { output.writeMessage(1, getJob()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (job_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getJob()); } 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.GetJobResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.GetJobResponse other = (io.dapr.v1.DaprProtos.GetJobResponse) obj; if (hasJob() != other.hasJob()) return false; if (hasJob()) { if (!getJob() .equals(other.getJob())) 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 (hasJob()) { hash = (37 * hash) + JOB_FIELD_NUMBER; hash = (53 * hash) + getJob().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.GetJobResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetJobResponse 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.GetJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetJobResponse 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.GetJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.GetJobResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.GetJobResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetJobResponse 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.GetJobResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetJobResponse 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.GetJobResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.GetJobResponse 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.GetJobResponse 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; } /** *
     * GetJobResponse is the message's response for a job retrieved.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.GetJobResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.GetJobResponse) io.dapr.v1.DaprProtos.GetJobResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.GetJobResponse.class, io.dapr.v1.DaprProtos.GetJobResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.GetJobResponse.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(); if (jobBuilder_ == null) { job_ = null; } else { job_ = null; jobBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_GetJobResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.GetJobResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.GetJobResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.GetJobResponse build() { io.dapr.v1.DaprProtos.GetJobResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.GetJobResponse buildPartial() { io.dapr.v1.DaprProtos.GetJobResponse result = new io.dapr.v1.DaprProtos.GetJobResponse(this); if (jobBuilder_ == null) { result.job_ = job_; } else { result.job_ = jobBuilder_.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.GetJobResponse) { return mergeFrom((io.dapr.v1.DaprProtos.GetJobResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.GetJobResponse other) { if (other == io.dapr.v1.DaprProtos.GetJobResponse.getDefaultInstance()) return this; if (other.hasJob()) { mergeJob(other.getJob()); } 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.GetJobResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.GetJobResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.dapr.v1.DaprProtos.Job job_; private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.Job, io.dapr.v1.DaprProtos.Job.Builder, io.dapr.v1.DaprProtos.JobOrBuilder> jobBuilder_; /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; * @return The job. */ public io.dapr.v1.DaprProtos.Job getJob() { if (jobBuilder_ == null) { return job_ == null ? io.dapr.v1.DaprProtos.Job.getDefaultInstance() : job_; } else { return jobBuilder_.getMessage(); } } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ public Builder setJob(io.dapr.v1.DaprProtos.Job value) { if (jobBuilder_ == null) { if (value == null) { throw new NullPointerException(); } job_ = value; onChanged(); } else { jobBuilder_.setMessage(value); } return this; } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ public Builder setJob( io.dapr.v1.DaprProtos.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); } else { jobBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ public Builder mergeJob(io.dapr.v1.DaprProtos.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = io.dapr.v1.DaprProtos.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } onChanged(); } else { jobBuilder_.mergeFrom(value); } return this; } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ public Builder clearJob() { if (jobBuilder_ == null) { job_ = null; onChanged(); } else { job_ = null; jobBuilder_ = null; } return this; } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ public io.dapr.v1.DaprProtos.Job.Builder getJobBuilder() { onChanged(); return getJobFieldBuilder().getBuilder(); } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ public io.dapr.v1.DaprProtos.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { return job_ == null ? io.dapr.v1.DaprProtos.Job.getDefaultInstance() : job_; } } /** *
       * The job details.
       * 
* * .dapr.proto.runtime.v1.Job job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.Job, io.dapr.v1.DaprProtos.Job.Builder, io.dapr.v1.DaprProtos.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.dapr.v1.DaprProtos.Job, io.dapr.v1.DaprProtos.Job.Builder, io.dapr.v1.DaprProtos.JobOrBuilder>( getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; } @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.GetJobResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.GetJobResponse) private static final io.dapr.v1.DaprProtos.GetJobResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.GetJobResponse(); } public static io.dapr.v1.DaprProtos.GetJobResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobResponse(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.GetJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.DeleteJobRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The name of the job.
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * The name of the job.
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } /** *
   * DeleteJobRequest is the message to delete the job by name.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.DeleteJobRequest} */ public static final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.DeleteJobRequest) DeleteJobRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteJobRequest.newBuilder() to construct. private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteJobRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DeleteJobRequest.class, io.dapr.v1.DaprProtos.DeleteJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * The name of the job.
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * The name of the job.
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } 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.DeleteJobRequest)) { return super.equals(obj); } io.dapr.v1.DaprProtos.DeleteJobRequest other = (io.dapr.v1.DaprProtos.DeleteJobRequest) obj; if (!getName() .equals(other.getName())) 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.DeleteJobRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DeleteJobRequest 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.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DeleteJobRequest 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.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DeleteJobRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.DeleteJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DeleteJobRequest 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.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DeleteJobRequest 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.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DeleteJobRequest 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.DeleteJobRequest 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; } /** *
     * DeleteJobRequest is the message to delete the job by name.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.DeleteJobRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.DeleteJobRequest) io.dapr.v1.DaprProtos.DeleteJobRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DeleteJobRequest.class, io.dapr.v1.DaprProtos.DeleteJobRequest.Builder.class); } // Construct using io.dapr.v1.DaprProtos.DeleteJobRequest.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_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteJobRequest_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.DeleteJobRequest getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.DeleteJobRequest.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.DeleteJobRequest build() { io.dapr.v1.DaprProtos.DeleteJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.DeleteJobRequest buildPartial() { io.dapr.v1.DaprProtos.DeleteJobRequest result = new io.dapr.v1.DaprProtos.DeleteJobRequest(this); result.name_ = name_; 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.DeleteJobRequest) { return mergeFrom((io.dapr.v1.DaprProtos.DeleteJobRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.DeleteJobRequest other) { if (other == io.dapr.v1.DaprProtos.DeleteJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; 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.DeleteJobRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.DeleteJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object name_ = ""; /** *
       * The name of the job.
       * 
* * 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 job.
       * 
* * 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 job.
       * 
* * 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 job.
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * The name of the job.
       * 
* * 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; } @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.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.DeleteJobRequest) private static final io.dapr.v1.DaprProtos.DeleteJobRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.DeleteJobRequest(); } public static io.dapr.v1.DaprProtos.DeleteJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteJobRequest(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.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteJobResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:dapr.proto.runtime.v1.DeleteJobResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * DeleteJobResponse is the message response to delete the job by name.
   * 
* * Protobuf type {@code dapr.proto.runtime.v1.DeleteJobResponse} */ public static final class DeleteJobResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:dapr.proto.runtime.v1.DeleteJobResponse) DeleteJobResponseOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteJobResponse.newBuilder() to construct. private DeleteJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteJobResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteJobResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteJobResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DeleteJobResponse.class, io.dapr.v1.DaprProtos.DeleteJobResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.dapr.v1.DaprProtos.DeleteJobResponse)) { return super.equals(obj); } io.dapr.v1.DaprProtos.DeleteJobResponse other = (io.dapr.v1.DaprProtos.DeleteJobResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.dapr.v1.DaprProtos.DeleteJobResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DeleteJobResponse 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.DeleteJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DeleteJobResponse 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.DeleteJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.dapr.v1.DaprProtos.DeleteJobResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.dapr.v1.DaprProtos.DeleteJobResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DeleteJobResponse 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.DeleteJobResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DeleteJobResponse 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.DeleteJobResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.dapr.v1.DaprProtos.DeleteJobResponse 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.DeleteJobResponse 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; } /** *
     * DeleteJobResponse is the message response to delete the job by name.
     * 
* * Protobuf type {@code dapr.proto.runtime.v1.DeleteJobResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:dapr.proto.runtime.v1.DeleteJobResponse) io.dapr.v1.DaprProtos.DeleteJobResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.dapr.v1.DaprProtos.DeleteJobResponse.class, io.dapr.v1.DaprProtos.DeleteJobResponse.Builder.class); } // Construct using io.dapr.v1.DaprProtos.DeleteJobResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.dapr.v1.DaprProtos.internal_static_dapr_proto_runtime_v1_DeleteJobResponse_descriptor; } @java.lang.Override public io.dapr.v1.DaprProtos.DeleteJobResponse getDefaultInstanceForType() { return io.dapr.v1.DaprProtos.DeleteJobResponse.getDefaultInstance(); } @java.lang.Override public io.dapr.v1.DaprProtos.DeleteJobResponse build() { io.dapr.v1.DaprProtos.DeleteJobResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.dapr.v1.DaprProtos.DeleteJobResponse buildPartial() { io.dapr.v1.DaprProtos.DeleteJobResponse result = new io.dapr.v1.DaprProtos.DeleteJobResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.dapr.v1.DaprProtos.DeleteJobResponse) { return mergeFrom((io.dapr.v1.DaprProtos.DeleteJobResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.dapr.v1.DaprProtos.DeleteJobResponse other) { if (other == io.dapr.v1.DaprProtos.DeleteJobResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.dapr.v1.DaprProtos.DeleteJobResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.dapr.v1.DaprProtos.DeleteJobResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:dapr.proto.runtime.v1.DeleteJobResponse) } // @@protoc_insertion_point(class_scope:dapr.proto.runtime.v1.DeleteJobResponse) private static final io.dapr.v1.DaprProtos.DeleteJobResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.dapr.v1.DaprProtos.DeleteJobResponse(); } public static io.dapr.v1.DaprProtos.DeleteJobResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteJobResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteJobResponse(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.DeleteJobResponse 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_GetStateRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetStateRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetBulkStateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetBulkStateRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetBulkStateRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetBulkStateRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetBulkStateResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetBulkStateResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_BulkStateItem_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_BulkStateItem_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_BulkStateItem_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_BulkStateItem_MetadataEntry_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_GetStateResponse_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetStateResponse_MetadataEntry_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_DeleteStateRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_DeleteStateRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_DeleteBulkStateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_DeleteBulkStateRequest_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_QueryStateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_QueryStateRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_QueryStateRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_QueryStateRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_QueryStateItem_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_QueryStateItem_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_QueryStateResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_QueryStateResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_QueryStateResponse_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_QueryStateResponse_MetadataEntry_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_PublishEventRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_PublishEventRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_BulkPublishRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_BulkPublishRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_BulkPublishRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_BulkPublishRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_BulkPublishResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_BulkPublishResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_BulkPublishResponseFailedEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_BulkPublishResponseFailedEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsRequestAlpha1_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsRequestAlpha1_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsResponseAlpha1_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsResponseAlpha1_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; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SecretResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SecretResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SecretResponse_SecretsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SecretResponse_SecretsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_DataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_DataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TransactionalStateOperation_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TransactionalStateOperation_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_RegisterActorTimerRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_RegisterActorTimerRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_UnregisterActorTimerRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_UnregisterActorTimerRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_RegisterActorReminderRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_RegisterActorReminderRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_UnregisterActorReminderRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_UnregisterActorReminderRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetActorStateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetActorStateRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetActorStateResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetActorStateResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetActorStateResponse_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetActorStateResponse_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_ExecuteActorStateTransactionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_ExecuteActorStateTransactionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_InvokeActorRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_InvokeActorRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_InvokeActorRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_InvokeActorRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_InvokeActorResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_InvokeActorResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetMetadataRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetMetadataRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetMetadataResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetMetadataResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetMetadataResponse_ExtendedMetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetMetadataResponse_ExtendedMetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_ActorRuntime_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_ActorRuntime_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_ActiveActorsCount_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_ActiveActorsCount_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_RegisteredComponents_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_RegisteredComponents_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_MetadataHTTPEndpoint_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_MetadataHTTPEndpoint_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_AppConnectionProperties_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_AppConnectionProperties_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_AppConnectionHealthProperties_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_AppConnectionHealthProperties_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_PubsubSubscription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_PubsubSubscription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_PubsubSubscription_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_PubsubSubscription_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRules_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRules_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRule_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SetMetadataRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SetMetadataRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_ItemsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_ItemsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_MetadataEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_MetadataEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_ItemsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_ItemsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TryLockRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TryLockRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TryLockResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TryLockResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_UnlockRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_UnlockRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_UnlockResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_UnlockResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleGetKeyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleGetKeyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleGetKeyResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleGetKeyResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleEncryptRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleEncryptRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleEncryptResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleEncryptResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleDecryptRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleDecryptRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleDecryptResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleDecryptResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleWrapKeyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleWrapKeyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleWrapKeyResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleWrapKeyResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleSignRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleSignRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleSignResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleSignResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleVerifyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleVerifyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_SubtleVerifyResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_SubtleVerifyResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_EncryptRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_EncryptRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_EncryptRequestOptions_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_EncryptRequestOptions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_EncryptResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_EncryptResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_DecryptRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_DecryptRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_DecryptRequestOptions_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_DecryptRequestOptions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_DecryptResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_DecryptResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetWorkflowRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetWorkflowRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_PropertiesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_PropertiesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_OptionsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_OptionsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_StartWorkflowResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_StartWorkflowResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_TerminateWorkflowRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_TerminateWorkflowRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_PauseWorkflowRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_PauseWorkflowRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_ResumeWorkflowRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_ResumeWorkflowRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_RaiseEventWorkflowRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_RaiseEventWorkflowRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_PurgeWorkflowRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_PurgeWorkflowRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_ShutdownRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_ShutdownRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_Job_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_Job_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_ScheduleJobRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_ScheduleJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_ScheduleJobResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_ScheduleJobResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetJobRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_GetJobResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_GetJobResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_DeleteJobRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_DeleteJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_dapr_proto_runtime_v1_DeleteJobResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_dapr_proto_runtime_v1_DeleteJobResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n dapr/proto/runtime/v1/dapr.proto\022\025dapr" + ".proto.runtime.v1\032\031google/protobuf/any.p" + "roto\032\033google/protobuf/empty.proto\032\037googl" + "e/protobuf/timestamp.proto\032!dapr/proto/c" + "ommon/v1/common.proto\032\'dapr/proto/runtim" + "e/v1/appcallback.proto\"X\n\024InvokeServiceR" + "equest\022\n\n\002id\030\001 \001(\t\0224\n\007message\030\003 \001(\0132#.da" + "pr.proto.common.v1.InvokeRequest\"\365\001\n\017Get" + "StateRequest\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." + "common.v1.StateOptions.StateConsistency\022" + "F\n\010metadata\030\004 \003(\01324.dapr.proto.runtime.v" + "1.GetStateRequest.MetadataEntry\032/\n\rMetad" + "ataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + "\"\311\001\n\023GetBulkStateRequest\022\022\n\nstore_name\030\001" + " \001(\t\022\014\n\004keys\030\002 \003(\t\022\023\n\013parallelism\030\003 \001(\005\022" + "J\n\010metadata\030\004 \003(\01328.dapr.proto.runtime.v" + "1.GetBulkStateRequest.MetadataEntry\032/\n\rM" + "etadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + ":\0028\001\"K\n\024GetBulkStateResponse\0223\n\005items\030\001 " + "\003(\0132$.dapr.proto.runtime.v1.BulkStateIte" + "m\"\276\001\n\rBulkStateItem\022\013\n\003key\030\001 \001(\t\022\014\n\004data" + "\030\002 \001(\014\022\014\n\004etag\030\003 \001(\t\022\r\n\005error\030\004 \001(\t\022D\n\010m" + "etadata\030\005 \003(\01322.dapr.proto.runtime.v1.Bu" + "lkStateItem.MetadataEntry\032/\n\rMetadataEnt" + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\250\001\n\020G" + "etStateResponse\022\014\n\004data\030\001 \001(\014\022\014\n\004etag\030\002 " + "\001(\t\022G\n\010metadata\030\003 \003(\01325.dapr.proto.runti" + "me.v1.GetStateResponse.MetadataEntry\032/\n\r" + "MetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + "\t:\0028\001\"\220\002\n\022DeleteStateRequest\022\022\n\nstore_na" + "me\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\022(\n\004etag\030\003 \001(\0132\032.da" + "pr.proto.common.v1.Etag\0223\n\007options\030\004 \001(\013" + "2\".dapr.proto.common.v1.StateOptions\022I\n\010" + "metadata\030\005 \003(\01327.dapr.proto.runtime.v1.D" + "eleteStateRequest.MetadataEntry\032/\n\rMetad" + "ataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + "\"]\n\026DeleteBulkStateRequest\022\022\n\nstore_name" + "\030\001 \001(\t\022/\n\006states\030\002 \003(\0132\037.dapr.proto.comm" + "on.v1.StateItem\"W\n\020SaveStateRequest\022\022\n\ns" + "tore_name\030\001 \001(\t\022/\n\006states\030\002 \003(\0132\037.dapr.p" + "roto.common.v1.StateItem\"\274\001\n\021QueryStateR" + "equest\022\035\n\nstore_name\030\001 \001(\tR\tstoreName\022\r\n" + "\005query\030\002 \001(\t\022H\n\010metadata\030\003 \003(\01326.dapr.pr" + "oto.runtime.v1.QueryStateRequest.Metadat" + "aEntry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + "value\030\002 \001(\t:\0028\001\"H\n\016QueryStateItem\022\013\n\003key" + "\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\022\014\n\004etag\030\003 \001(\t\022\r\n\005er" + "ror\030\004 \001(\t\"\327\001\n\022QueryStateResponse\0226\n\007resu" + "lts\030\001 \003(\0132%.dapr.proto.runtime.v1.QueryS" + "tateItem\022\r\n\005token\030\002 \001(\t\022I\n\010metadata\030\003 \003(" + "\01327.dapr.proto.runtime.v1.QueryStateResp" + "onse.MetadataEntry\032/\n\rMetadataEntry\022\013\n\003k" + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\337\001\n\023PublishE" + "ventRequest\022\023\n\013pubsub_name\030\001 \001(\t\022\r\n\005topi" + "c\030\002 \001(\t\022\014\n\004data\030\003 \001(\014\022\031\n\021data_content_ty" + "pe\030\004 \001(\t\022J\n\010metadata\030\005 \003(\01328.dapr.proto." + "runtime.v1.PublishEventRequest.MetadataE" + "ntry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + "lue\030\002 \001(\t:\0028\001\"\365\001\n\022BulkPublishRequest\022\023\n\013" + "pubsub_name\030\001 \001(\t\022\r\n\005topic\030\002 \001(\t\022?\n\007entr" + "ies\030\003 \003(\0132..dapr.proto.runtime.v1.BulkPu" + "blishRequestEntry\022I\n\010metadata\030\004 \003(\01327.da" + "pr.proto.runtime.v1.BulkPublishRequest.M" + "etadataEntry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001" + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\321\001\n\027BulkPublishReq" + "uestEntry\022\020\n\010entry_id\030\001 \001(\t\022\r\n\005event\030\002 \001" + "(\014\022\024\n\014content_type\030\003 \001(\t\022N\n\010metadata\030\004 \003" + "(\0132<.dapr.proto.runtime.v1.BulkPublishRe" + "questEntry.MetadataEntry\032/\n\rMetadataEntr" + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"c\n\023Bul" + "kPublishResponse\022L\n\rfailedEntries\030\001 \003(\0132" + "5.dapr.proto.runtime.v1.BulkPublishRespo" + "nseFailedEntry\"A\n\036BulkPublishResponseFai" + "ledEntry\022\020\n\010entry_id\030\001 \001(\t\022\r\n\005error\030\002 \001(" + "\t\"\373\001\n!SubscribeTopicEventsRequestAlpha1\022" + "Z\n\017initial_request\030\001 \001(\0132?.dapr.proto.ru" + "ntime.v1.SubscribeTopicEventsInitialRequ" + "estAlpha1H\000\022S\n\016event_response\030\002 \001(\01329.da" + "pr.proto.runtime.v1.SubscribeTopicEvents" + "ResponseAlpha1H\000B%\n#subscribe_topic_even" + "ts_request_type\"\226\002\n(SubscribeTopicEvents" + "InitialRequestAlpha1\022\023\n\013pubsub_name\030\001 \001(" + "\t\022\r\n\005topic\030\002 \001(\t\022_\n\010metadata\030\003 \003(\0132M.dap" + "r.proto.runtime.v1.SubscribeTopicEventsI" + "nitialRequestAlpha1.MetadataEntry\022\036\n\021dea" + "d_letter_topic\030\004 \001(\tH\000\210\001\001\032/\n\rMetadataEnt" + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\024\n\022_d" + "ead_letter_topic\"k\n\"SubscribeTopicEvents" + "ResponseAlpha1\022\n\n\002id\030\001 \001(\t\0229\n\006status\030\002 \001" + "(\0132).dapr.proto.runtime.v1.TopicEventRes" + "ponse\"\303\001\n\024InvokeBindingRequest\022\014\n\004name\030\001" + " \001(\t\022\014\n\004data\030\002 \001(\014\022K\n\010metadata\030\003 \003(\01329.d" + "apr.proto.runtime.v1.InvokeBindingReques" + "t.MetadataEntry\022\021\n\toperation\030\004 \001(\t\032/\n\rMe" + "tadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + "\0028\001\"\244\001\n\025InvokeBindingResponse\022\014\n\004data\030\001 " + "\001(\014\022L\n\010metadata\030\002 \003(\0132:.dapr.proto.runti" + "me.v1.InvokeBindingResponse.MetadataEntr" + "y\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + "\030\002 \001(\t:\0028\001\"\270\001\n\020GetSecretRequest\022\035\n\nstore" + "_name\030\001 \001(\tR\tstoreName\022\013\n\003key\030\002 \001(\t\022G\n\010m" + "etadata\030\003 \003(\01325.dapr.proto.runtime.v1.Ge" + "tSecretRequest.MetadataEntry\032/\n\rMetadata" + "Entry\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.GetSecretResponse.Data" + "Entry\032+\n\tDataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + "\030\002 \001(\t:\0028\001\"\263\001\n\024GetBulkSecretRequest\022\035\n\ns" + "tore_name\030\001 \001(\tR\tstoreName\022K\n\010metadata\030\002" + " \003(\01329.dapr.proto.runtime.v1.GetBulkSecr" + "etRequest.MetadataEntry\032/\n\rMetadataEntry" + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\001\n\016Sec" + "retResponse\022C\n\007secrets\030\001 \003(\01322.dapr.prot" + "o.runtime.v1.SecretResponse.SecretsEntry" + "\032.\n\014SecretsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + " \001(\t:\0028\001\"\261\001\n\025GetBulkSecretResponse\022D\n\004da" + "ta\030\001 \003(\01326.dapr.proto.runtime.v1.GetBulk" + "SecretResponse.DataEntry\032R\n\tDataEntry\022\013\n" + "\003key\030\001 \001(\t\0224\n\005value\030\002 \001(\0132%.dapr.proto.r" + "untime.v1.SecretResponse:\0028\001\"f\n\033Transact" + "ionalStateOperation\022\025\n\roperationType\030\001 \001" + "(\t\0220\n\007request\030\002 \001(\0132\037.dapr.proto.common." + "v1.StateItem\"\203\002\n\036ExecuteStateTransaction" + "Request\022\021\n\tstoreName\030\001 \001(\t\022F\n\noperations" + "\030\002 \003(\01322.dapr.proto.runtime.v1.Transacti" + "onalStateOperation\022U\n\010metadata\030\003 \003(\0132C.d" + "apr.proto.runtime.v1.ExecuteStateTransac" + "tionRequest.MetadataEntry\032/\n\rMetadataEnt" + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\273\001\n\031R" + "egisterActorTimerRequest\022\035\n\nactor_type\030\001" + " \001(\tR\tactorType\022\031\n\010actor_id\030\002 \001(\tR\007actor" + "Id\022\014\n\004name\030\003 \001(\t\022\031\n\010due_time\030\004 \001(\tR\007dueT" + "ime\022\016\n\006period\030\005 \001(\t\022\020\n\010callback\030\006 \001(\t\022\014\n" + "\004data\030\007 \001(\014\022\013\n\003ttl\030\010 \001(\t\"e\n\033UnregisterAc" + "torTimerRequest\022\035\n\nactor_type\030\001 \001(\tR\tact" + "orType\022\031\n\010actor_id\030\002 \001(\tR\007actorId\022\014\n\004nam" + "e\030\003 \001(\t\"\254\001\n\034RegisterActorReminderRequest" + "\022\035\n\nactor_type\030\001 \001(\tR\tactorType\022\031\n\010actor" + "_id\030\002 \001(\tR\007actorId\022\014\n\004name\030\003 \001(\t\022\031\n\010due_" + "time\030\004 \001(\tR\007dueTime\022\016\n\006period\030\005 \001(\t\022\014\n\004d" + "ata\030\006 \001(\014\022\013\n\003ttl\030\007 \001(\t\"h\n\036UnregisterActo" + "rReminderRequest\022\035\n\nactor_type\030\001 \001(\tR\tac" + "torType\022\031\n\010actor_id\030\002 \001(\tR\007actorId\022\014\n\004na" + "me\030\003 \001(\t\"]\n\024GetActorStateRequest\022\035\n\nacto" + "r_type\030\001 \001(\tR\tactorType\022\031\n\010actor_id\030\002 \001(" + "\tR\007actorId\022\013\n\003key\030\003 \001(\t\"\244\001\n\025GetActorStat" + "eResponse\022\014\n\004data\030\001 \001(\014\022L\n\010metadata\030\002 \003(" + "\0132:.dapr.proto.runtime.v1.GetActorStateR" + "esponse.MetadataEntry\032/\n\rMetadataEntry\022\013" + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\254\001\n#Execu" + "teActorStateTransactionRequest\022\035\n\nactor_" + "type\030\001 \001(\tR\tactorType\022\031\n\010actor_id\030\002 \001(\tR" + "\007actorId\022K\n\noperations\030\003 \003(\01327.dapr.prot" + "o.runtime.v1.TransactionalActorStateOper" + "ation\"\365\001\n TransactionalActorStateOperati" + "on\022\025\n\roperationType\030\001 \001(\t\022\013\n\003key\030\002 \001(\t\022#" + "\n\005value\030\003 \001(\0132\024.google.protobuf.Any\022W\n\010m" + "etadata\030\004 \003(\0132E.dapr.proto.runtime.v1.Tr" + "ansactionalActorStateOperation.MetadataE" + "ntry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + "lue\030\002 \001(\t:\0028\001\"\350\001\n\022InvokeActorRequest\022\035\n\n" + "actor_type\030\001 \001(\tR\tactorType\022\031\n\010actor_id\030" + "\002 \001(\tR\007actorId\022\016\n\006method\030\003 \001(\t\022\014\n\004data\030\004" + " \001(\014\022I\n\010metadata\030\005 \003(\01327.dapr.proto.runt" + "ime.v1.InvokeActorRequest.MetadataEntry\032" + "/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + " \001(\t:\0028\001\"#\n\023InvokeActorResponse\022\014\n\004data\030" + "\001 \001(\014\"\024\n\022GetMetadataRequest\"\233\006\n\023GetMetad" + "ataResponse\022\n\n\002id\030\001 \001(\t\022Q\n\023active_actors" + "_count\030\002 \003(\0132(.dapr.proto.runtime.v1.Act" + "iveActorsCountB\002\030\001R\006actors\022V\n\025registered" + "_components\030\003 \003(\0132+.dapr.proto.runtime.v" + "1.RegisteredComponentsR\ncomponents\022e\n\021ex" + "tended_metadata\030\004 \003(\[email protected]" + "me.v1.GetMetadataResponse.ExtendedMetada" + "taEntryR\010extended\022O\n\rsubscriptions\030\005 \003(\013" + "2).dapr.proto.runtime.v1.PubsubSubscript" + "ionR\rsubscriptions\022R\n\016http_endpoints\030\006 \003" + "(\0132+.dapr.proto.runtime.v1.MetadataHTTPE" + "ndpointR\rhttpEndpoints\022j\n\031app_connection" + "_properties\030\007 \001(\0132..dapr.proto.runtime.v" + "1.AppConnectionPropertiesR\027appConnection" + "Properties\022\'\n\017runtime_version\030\010 \001(\tR\016run" + "timeVersion\022)\n\020enabled_features\030\t \003(\tR\017e" + "nabledFeatures\022H\n\ractor_runtime\030\n \001(\0132#." + "dapr.proto.runtime.v1.ActorRuntimeR\014acto" + "rRuntime\0327\n\025ExtendedMetadataEntry\022\013\n\003key" + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\274\002\n\014ActorRunti" + "me\022]\n\016runtime_status\030\001 \001(\01626.dapr.proto." + "runtime.v1.ActorRuntime.ActorRuntimeStat" + "usR\rruntimeStatus\022M\n\ractive_actors\030\002 \003(\013" + "2(.dapr.proto.runtime.v1.ActiveActorsCou" + "ntR\014activeActors\022\035\n\nhost_ready\030\003 \001(\010R\tho" + "stReady\022\034\n\tplacement\030\004 \001(\tR\tplacement\"A\n" + "\022ActorRuntimeStatus\022\020\n\014INITIALIZING\020\000\022\014\n" + "\010DISABLED\020\001\022\013\n\007RUNNING\020\002\"0\n\021ActiveActors" + "Count\022\014\n\004type\030\001 \001(\t\022\r\n\005count\030\002 \001(\005\"Y\n\024Re" + "gisteredComponents\022\014\n\004name\030\001 \001(\t\022\014\n\004type" + "\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\022\024\n\014capabilities\030" + "\004 \003(\t\"*\n\024MetadataHTTPEndpoint\022\022\n\004name\030\001 " + "\001(\tR\004name\"\321\001\n\027AppConnectionProperties\022\014\n" + "\004port\030\001 \001(\005\022\020\n\010protocol\030\002 \001(\t\022\'\n\017channel" + "_address\030\003 \001(\tR\016channelAddress\022\'\n\017max_co" + "ncurrency\030\004 \001(\005R\016maxConcurrency\022D\n\006healt" + "h\030\005 \001(\01324.dapr.proto.runtime.v1.AppConne" + "ctionHealthProperties\"\334\001\n\035AppConnectionH" + "ealthProperties\022*\n\021health_check_path\030\001 \001" + "(\tR\017healthCheckPath\0222\n\025health_probe_inte" + "rval\030\002 \001(\tR\023healthProbeInterval\0220\n\024healt" + "h_probe_timeout\030\003 \001(\tR\022healthProbeTimeou" + "t\022)\n\020health_threshold\030\004 \001(\005R\017healthThres" + "hold\"\206\003\n\022PubsubSubscription\022\037\n\013pubsub_na" + "me\030\001 \001(\tR\npubsubname\022\024\n\005topic\030\002 \001(\tR\005top" + "ic\022S\n\010metadata\030\003 \003(\01327.dapr.proto.runtim" + "e.v1.PubsubSubscription.MetadataEntryR\010m" + "etadata\022D\n\005rules\030\004 \001(\0132..dapr.proto.runt" + "ime.v1.PubsubSubscriptionRulesR\005rules\022*\n" + "\021dead_letter_topic\030\005 \001(\tR\017deadLetterTopi" + "c\022A\n\004type\030\006 \001(\0162-.dapr.proto.runtime.v1." + "PubsubSubscriptionTypeR\004type\032/\n\rMetadata" + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"W\n" + "\027PubsubSubscriptionRules\022<\n\005rules\030\001 \003(\0132" + "-.dapr.proto.runtime.v1.PubsubSubscripti" + "onRule\"5\n\026PubsubSubscriptionRule\022\r\n\005matc" + "h\030\001 \001(\t\022\014\n\004path\030\002 \001(\t\"0\n\022SetMetadataRequ" + "est\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\274\001\n\027GetC" + "onfigurationRequest\022\022\n\nstore_name\030\001 \001(\t\022" + "\014\n\004keys\030\002 \003(\t\022N\n\010metadata\030\003 \003(\0132<.dapr.p" + "roto.runtime.v1.GetConfigurationRequest." + "MetadataEntry\032/\n\rMetadataEntry\022\013\n\003key\030\001 " + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\274\001\n\030GetConfigurat" + "ionResponse\022I\n\005items\030\001 \003(\0132:.dapr.proto." + "runtime.v1.GetConfigurationResponse.Item" + "sEntry\032U\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\0226\n\005val" + "ue\030\002 \001(\0132\'.dapr.proto.common.v1.Configur" + "ationItem:\0028\001\"\310\001\n\035SubscribeConfiguration" + "Request\022\022\n\nstore_name\030\001 \001(\t\022\014\n\004keys\030\002 \003(" + "\t\022T\n\010metadata\030\003 \003(\0132B.dapr.proto.runtime" + ".v1.SubscribeConfigurationRequest.Metada" + "taEntry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"A\n\037UnsubscribeConfigura" + "tionRequest\022\022\n\nstore_name\030\001 \001(\t\022\n\n\002id\030\002 " + "\001(\t\"\324\001\n\036SubscribeConfigurationResponse\022\n" + "\n\002id\030\001 \001(\t\022O\n\005items\030\002 \003(\[email protected]" + "untime.v1.SubscribeConfigurationResponse" + ".ItemsEntry\032U\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\0226" + "\n\005value\030\002 \001(\0132\'.dapr.proto.common.v1.Con" + "figurationItem:\0028\001\"?\n UnsubscribeConfigu" + "rationResponse\022\n\n\002ok\030\001 \001(\010\022\017\n\007message\030\002 " + "\001(\t\"\233\001\n\016TryLockRequest\022\035\n\nstore_name\030\001 \001" + "(\tR\tstoreName\022\037\n\013resource_id\030\002 \001(\tR\nreso" + "urceId\022\035\n\nlock_owner\030\003 \001(\tR\tlockOwner\022*\n" + "\021expiry_in_seconds\030\004 \001(\005R\017expiryInSecond" + "s\"\"\n\017TryLockResponse\022\017\n\007success\030\001 \001(\010\"n\n" + "\rUnlockRequest\022\035\n\nstore_name\030\001 \001(\tR\tstor" + "eName\022\037\n\013resource_id\030\002 \001(\tR\nresourceId\022\035" + "\n\nlock_owner\030\003 \001(\tR\tlockOwner\"\256\001\n\016Unlock" + "Response\022<\n\006status\030\001 \001(\0162,.dapr.proto.ru" + "ntime.v1.UnlockResponse.Status\"^\n\006Status" + "\022\013\n\007SUCCESS\020\000\022\027\n\023LOCK_DOES_NOT_EXIST\020\001\022\032" + "\n\026LOCK_BELONGS_TO_OTHERS\020\002\022\022\n\016INTERNAL_E" + "RROR\020\003\"\260\001\n\023SubtleGetKeyRequest\022%\n\016compon" + "ent_name\030\001 \001(\tR\rcomponentName\022\014\n\004name\030\002 " + "\001(\t\022D\n\006format\030\003 \001(\01624.dapr.proto.runtime" + ".v1.SubtleGetKeyRequest.KeyFormat\"\036\n\tKey" + "Format\022\007\n\003PEM\020\000\022\010\n\004JSON\020\001\"C\n\024SubtleGetKe" + "yResponse\022\014\n\004name\030\001 \001(\t\022\035\n\npublic_key\030\002 " + "\001(\tR\tpublicKey\"\266\001\n\024SubtleEncryptRequest\022" + "%\n\016component_name\030\001 \001(\tR\rcomponentName\022\021" + "\n\tplaintext\030\002 \001(\014\022\021\n\talgorithm\030\003 \001(\t\022\031\n\010" + "key_name\030\004 \001(\tR\007keyName\022\r\n\005nonce\030\005 \001(\014\022\'" + "\n\017associated_data\030\006 \001(\014R\016associatedData\"" + "8\n\025SubtleEncryptResponse\022\022\n\nciphertext\030\001" + " \001(\014\022\013\n\003tag\030\002 \001(\014\"\304\001\n\024SubtleDecryptReque" + "st\022%\n\016component_name\030\001 \001(\tR\rcomponentNam" + "e\022\022\n\nciphertext\030\002 \001(\014\022\021\n\talgorithm\030\003 \001(\t" + "\022\031\n\010key_name\030\004 \001(\tR\007keyName\022\r\n\005nonce\030\005 \001" + "(\014\022\013\n\003tag\030\006 \001(\014\022\'\n\017associated_data\030\007 \001(\014" + "R\016associatedData\"*\n\025SubtleDecryptRespons" + "e\022\021\n\tplaintext\030\001 \001(\014\"\310\001\n\024SubtleWrapKeyRe" + "quest\022%\n\016component_name\030\001 \001(\tR\rcomponent" + "Name\022#\n\rplaintext_key\030\002 \001(\014R\014plaintextKe" + "y\022\021\n\talgorithm\030\003 \001(\t\022\031\n\010key_name\030\004 \001(\tR\007" + "keyName\022\r\n\005nonce\030\005 \001(\014\022\'\n\017associated_dat" + "a\030\006 \001(\014R\016associatedData\"E\n\025SubtleWrapKey" + "Response\022\037\n\013wrapped_key\030\001 \001(\014R\nwrappedKe" + "y\022\013\n\003tag\030\002 \001(\014\"\323\001\n\026SubtleUnwrapKeyReques" + "t\022%\n\016component_name\030\001 \001(\tR\rcomponentName" + "\022\037\n\013wrapped_key\030\002 \001(\014R\nwrappedKey\022\021\n\talg" + "orithm\030\003 \001(\t\022\031\n\010key_name\030\004 \001(\tR\007keyName\022" + "\r\n\005nonce\030\005 \001(\014\022\013\n\003tag\030\006 \001(\014\022\'\n\017associate" + "d_data\030\007 \001(\014R\016associatedData\">\n\027SubtleUn" + "wrapKeyResponse\022#\n\rplaintext_key\030\001 \001(\014R\014" + "plaintextKey\"x\n\021SubtleSignRequest\022%\n\016com" + "ponent_name\030\001 \001(\tR\rcomponentName\022\016\n\006dige" + "st\030\002 \001(\014\022\021\n\talgorithm\030\003 \001(\t\022\031\n\010key_name\030" + "\004 \001(\tR\007keyName\"\'\n\022SubtleSignResponse\022\021\n\t" + "signature\030\001 \001(\014\"\215\001\n\023SubtleVerifyRequest\022" + "%\n\016component_name\030\001 \001(\tR\rcomponentName\022\016" + "\n\006digest\030\002 \001(\014\022\021\n\talgorithm\030\003 \001(\t\022\031\n\010key" + "_name\030\004 \001(\tR\007keyName\022\021\n\tsignature\030\005 \001(\014\"" + "%\n\024SubtleVerifyResponse\022\r\n\005valid\030\001 \001(\010\"\205" + "\001\n\016EncryptRequest\022=\n\007options\030\001 \001(\0132,.dap" + "r.proto.runtime.v1.EncryptRequestOptions" + "\0224\n\007payload\030\002 \001(\0132#.dapr.proto.common.v1" + ".StreamPayload\"\376\001\n\025EncryptRequestOptions" + "\022%\n\016component_name\030\001 \001(\tR\rcomponentName\022" + "\031\n\010key_name\030\002 \001(\tR\007keyName\022\032\n\022key_wrap_a" + "lgorithm\030\003 \001(\t\022\036\n\026data_encryption_cipher" + "\030\n \001(\t\0227\n\030omit_decryption_key_name\030\013 \001(\010" + "R\025omitDecryptionKeyName\022.\n\023decryption_ke" + "y_name\030\014 \001(\tR\021decryptionKeyName\"G\n\017Encry" + "ptResponse\0224\n\007payload\030\001 \001(\0132#.dapr.proto" + ".common.v1.StreamPayload\"\205\001\n\016DecryptRequ" + "est\022=\n\007options\030\001 \001(\0132,.dapr.proto.runtim" + "e.v1.DecryptRequestOptions\0224\n\007payload\030\002 " + "\001(\0132#.dapr.proto.common.v1.StreamPayload" + "\"Y\n\025DecryptRequestOptions\022%\n\016component_n" + "ame\030\001 \001(\tR\rcomponentName\022\031\n\010key_name\030\014 \001" + "(\tR\007keyName\"G\n\017DecryptResponse\0224\n\007payloa" + "d\030\001 \001(\0132#.dapr.proto.common.v1.StreamPay" + "load\"d\n\022GetWorkflowRequest\022\037\n\013instance_i" + "d\030\001 \001(\tR\ninstanceID\022-\n\022workflow_componen" + "t\030\002 \001(\tR\021workflowComponent\"\204\003\n\023GetWorkfl" + "owResponse\022\037\n\013instance_id\030\001 \001(\tR\ninstanc" + "eID\022#\n\rworkflow_name\030\002 \001(\tR\014workflowName" + "\0229\n\ncreated_at\030\003 \001(\0132\032.google.protobuf.T" + "imestampR\tcreatedAt\022B\n\017last_updated_at\030\004" + " \001(\0132\032.google.protobuf.TimestampR\rlastUp" + "datedAt\022%\n\016runtime_status\030\005 \001(\tR\rruntime" + "Status\022N\n\nproperties\030\006 \003(\0132:.dapr.proto." + "runtime.v1.GetWorkflowResponse.Propertie" + "sEntry\0321\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022\r" + "\n\005value\030\002 \001(\t:\0028\001\"\225\002\n\024StartWorkflowReque" + "st\022\037\n\013instance_id\030\001 \001(\tR\ninstanceID\022-\n\022w" + "orkflow_component\030\002 \001(\tR\021workflowCompone" + "nt\022#\n\rworkflow_name\030\003 \001(\tR\014workflowName\022" + "I\n\007options\030\004 \003(\01328.dapr.proto.runtime.v1" + ".StartWorkflowRequest.OptionsEntry\022\r\n\005in" + "put\030\005 \001(\014\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r" + "\n\005value\030\002 \001(\t:\0028\001\"8\n\025StartWorkflowRespon" + "se\022\037\n\013instance_id\030\001 \001(\tR\ninstanceID\"j\n\030T" + "erminateWorkflowRequest\022\037\n\013instance_id\030\001" + " \001(\tR\ninstanceID\022-\n\022workflow_component\030\002" + " \001(\tR\021workflowComponent\"f\n\024PauseWorkflow" + "Request\022\037\n\013instance_id\030\001 \001(\tR\ninstanceID" + "\022-\n\022workflow_component\030\002 \001(\tR\021workflowCo" + "mponent\"g\n\025ResumeWorkflowRequest\022\037\n\013inst" + "ance_id\030\001 \001(\tR\ninstanceID\022-\n\022workflow_co" + "mponent\030\002 \001(\tR\021workflowComponent\"\236\001\n\031Rai" + "seEventWorkflowRequest\022\037\n\013instance_id\030\001 " + "\001(\tR\ninstanceID\022-\n\022workflow_component\030\002 " + "\001(\tR\021workflowComponent\022\035\n\nevent_name\030\003 \001" + "(\tR\teventName\022\022\n\nevent_data\030\004 \001(\014\"f\n\024Pur" + "geWorkflowRequest\022\037\n\013instance_id\030\001 \001(\tR\n" + "instanceID\022-\n\022workflow_component\030\002 \001(\tR\021" + "workflowComponent\"\021\n\017ShutdownRequest\"\273\001\n" + "\003Job\022\014\n\004name\030\001 \001(\t\022\025\n\010schedule\030\002 \001(\tH\000\210\001" + "\001\022\024\n\007repeats\030\003 \001(\rH\001\210\001\001\022\025\n\010due_time\030\004 \001(" + "\tH\002\210\001\001\022\020\n\003ttl\030\005 \001(\tH\003\210\001\001\022\"\n\004data\030\006 \001(\0132\024" + ".google.protobuf.AnyB\013\n\t_scheduleB\n\n\010_re" + "peatsB\013\n\t_due_timeB\006\n\004_ttl\"=\n\022ScheduleJo" + "bRequest\022\'\n\003job\030\001 \001(\0132\032.dapr.proto.runti" + "me.v1.Job\"\025\n\023ScheduleJobResponse\"\035\n\rGetJ" + "obRequest\022\014\n\004name\030\001 \001(\t\"9\n\016GetJobRespons" + "e\022\'\n\003job\030\001 \001(\0132\032.dapr.proto.runtime.v1.J" + "ob\" \n\020DeleteJobRequest\022\014\n\004name\030\001 \001(\t\"\023\n\021" + "DeleteJobResponse*W\n\026PubsubSubscriptionT" + "ype\022\013\n\007UNKNOWN\020\000\022\017\n\013DECLARATIVE\020\001\022\020\n\014PRO" + "GRAMMATIC\020\002\022\r\n\tSTREAMING\020\0032\2530\n\004Dapr\022d\n\rI" + "nvokeService\022+.dapr.proto.runtime.v1.Inv" + "okeServiceRequest\032$.dapr.proto.common.v1" + ".InvokeResponse\"\000\022]\n\010GetState\022&.dapr.pro" + "to.runtime.v1.GetStateRequest\032\'.dapr.pro" + "to.runtime.v1.GetStateResponse\"\000\022i\n\014GetB" + "ulkState\022*.dapr.proto.runtime.v1.GetBulk" + "StateRequest\032+.dapr.proto.runtime.v1.Get" + "BulkStateResponse\"\000\022N\n\tSaveState\022\'.dapr." + "proto.runtime.v1.SaveStateRequest\032\026.goog" + "le.protobuf.Empty\"\000\022i\n\020QueryStateAlpha1\022" + "(.dapr.proto.runtime.v1.QueryStateReques" + "t\032).dapr.proto.runtime.v1.QueryStateResp" + "onse\"\000\022R\n\013DeleteState\022).dapr.proto.runti" + "me.v1.DeleteStateRequest\032\026.google.protob" + "uf.Empty\"\000\022Z\n\017DeleteBulkState\022-.dapr.pro" + "to.runtime.v1.DeleteBulkStateRequest\032\026.g" + "oogle.protobuf.Empty\"\000\022j\n\027ExecuteStateTr" + "ansaction\0225.dapr.proto.runtime.v1.Execut" + "eStateTransactionRequest\032\026.google.protob" + "uf.Empty\"\000\022T\n\014PublishEvent\022*.dapr.proto." + "runtime.v1.PublishEventRequest\032\026.google." + "protobuf.Empty\"\000\022q\n\026BulkPublishEventAlph" + "a1\022).dapr.proto.runtime.v1.BulkPublishRe" + "quest\032*.dapr.proto.runtime.v1.BulkPublis" + "hResponse\"\000\022\206\001\n\032SubscribeTopicEventsAlph" + "a1\0228.dapr.proto.runtime.v1.SubscribeTopi" + "cEventsRequestAlpha1\032(.dapr.proto.runtim" + "e.v1.TopicEventRequest\"\000(\0010\001\022l\n\rInvokeBi" + "nding\022+.dapr.proto.runtime.v1.InvokeBind", "ingRequest\032,.dapr.proto.runtime.v1.Invok" + "eBindingResponse\"\000\022`\n\tGetSecret\022\'.dapr.p" + "roto.runtime.v1.GetSecretRequest\032(.dapr." + "proto.runtime.v1.GetSecretResponse\"\000\022l\n\r" + "GetBulkSecret\022+.dapr.proto.runtime.v1.Ge" + "tBulkSecretRequest\032,.dapr.proto.runtime." + "v1.GetBulkSecretResponse\"\000\022`\n\022RegisterAc" + "torTimer\0220.dapr.proto.runtime.v1.Registe" + "rActorTimerRequest\032\026.google.protobuf.Emp" + "ty\"\000\022d\n\024UnregisterActorTimer\0222.dapr.prot" + "o.runtime.v1.UnregisterActorTimerRequest" + "\032\026.google.protobuf.Empty\"\000\022f\n\025RegisterAc" + "torReminder\0223.dapr.proto.runtime.v1.Regi" + "sterActorReminderRequest\032\026.google.protob" + "uf.Empty\"\000\022j\n\027UnregisterActorReminder\0225." + "dapr.proto.runtime.v1.UnregisterActorRem" + "inderRequest\032\026.google.protobuf.Empty\"\000\022l" + "\n\rGetActorState\022+.dapr.proto.runtime.v1." + "GetActorStateRequest\032,.dapr.proto.runtim" + "e.v1.GetActorStateResponse\"\000\022t\n\034ExecuteA" + "ctorStateTransaction\022:.dapr.proto.runtim" + "e.v1.ExecuteActorStateTransactionRequest" + "\032\026.google.protobuf.Empty\"\000\022f\n\013InvokeActo" + "r\022).dapr.proto.runtime.v1.InvokeActorReq" + "uest\032*.dapr.proto.runtime.v1.InvokeActor" + "Response\"\000\022{\n\026GetConfigurationAlpha1\022..d" + "apr.proto.runtime.v1.GetConfigurationReq" + "uest\032/.dapr.proto.runtime.v1.GetConfigur" + "ationResponse\"\000\022u\n\020GetConfiguration\022..da" + "pr.proto.runtime.v1.GetConfigurationRequ" + "est\032/.dapr.proto.runtime.v1.GetConfigura" + "tionResponse\"\000\022\217\001\n\034SubscribeConfiguratio" + "nAlpha1\0224.dapr.proto.runtime.v1.Subscrib" + "eConfigurationRequest\0325.dapr.proto.runti" + "me.v1.SubscribeConfigurationResponse\"\0000\001" + "\022\211\001\n\026SubscribeConfiguration\0224.dapr.proto" + ".runtime.v1.SubscribeConfigurationReques" + "t\0325.dapr.proto.runtime.v1.SubscribeConfi" + "gurationResponse\"\0000\001\022\223\001\n\036UnsubscribeConf" + "igurationAlpha1\0226.dapr.proto.runtime.v1." + "UnsubscribeConfigurationRequest\0327.dapr.p" + "roto.runtime.v1.UnsubscribeConfiguration" + "Response\"\000\022\215\001\n\030UnsubscribeConfiguration\022" + "6.dapr.proto.runtime.v1.UnsubscribeConfi" + "gurationRequest\0327.dapr.proto.runtime.v1." + "UnsubscribeConfigurationResponse\"\000\022`\n\rTr" + "yLockAlpha1\022%.dapr.proto.runtime.v1.TryL" + "ockRequest\032&.dapr.proto.runtime.v1.TryLo" + "ckResponse\"\000\022]\n\014UnlockAlpha1\022$.dapr.prot" + "o.runtime.v1.UnlockRequest\032%.dapr.proto." + "runtime.v1.UnlockResponse\"\000\022b\n\rEncryptAl" + "pha1\022%.dapr.proto.runtime.v1.EncryptRequ" + "est\032&.dapr.proto.runtime.v1.EncryptRespo" + "nse(\0010\001\022b\n\rDecryptAlpha1\022%.dapr.proto.ru" + "ntime.v1.DecryptRequest\032&.dapr.proto.run" + "time.v1.DecryptResponse(\0010\001\022f\n\013GetMetada" + "ta\022).dapr.proto.runtime.v1.GetMetadataRe" + "quest\032*.dapr.proto.runtime.v1.GetMetadat" + "aResponse\"\000\022R\n\013SetMetadata\022).dapr.proto." + "runtime.v1.SetMetadataRequest\032\026.google.p" + "rotobuf.Empty\"\000\022m\n\022SubtleGetKeyAlpha1\022*." + "dapr.proto.runtime.v1.SubtleGetKeyReques" + "t\032+.dapr.proto.runtime.v1.SubtleGetKeyRe" + "sponse\022p\n\023SubtleEncryptAlpha1\022+.dapr.pro" + "to.runtime.v1.SubtleEncryptRequest\032,.dap" + "r.proto.runtime.v1.SubtleEncryptResponse" + "\022p\n\023SubtleDecryptAlpha1\022+.dapr.proto.run" + "time.v1.SubtleDecryptRequest\032,.dapr.prot" + "o.runtime.v1.SubtleDecryptResponse\022p\n\023Su" + "btleWrapKeyAlpha1\022+.dapr.proto.runtime.v" + "1.SubtleWrapKeyRequest\032,.dapr.proto.runt" + "ime.v1.SubtleWrapKeyResponse\022v\n\025SubtleUn" + "wrapKeyAlpha1\022-.dapr.proto.runtime.v1.Su" + "btleUnwrapKeyRequest\032..dapr.proto.runtim" + "e.v1.SubtleUnwrapKeyResponse\022g\n\020SubtleSi" + "gnAlpha1\022(.dapr.proto.runtime.v1.SubtleS" + "ignRequest\032).dapr.proto.runtime.v1.Subtl" + "eSignResponse\022m\n\022SubtleVerifyAlpha1\022*.da" + "pr.proto.runtime.v1.SubtleVerifyRequest\032" + "+.dapr.proto.runtime.v1.SubtleVerifyResp" + "onse\022r\n\023StartWorkflowAlpha1\022+.dapr.proto" + ".runtime.v1.StartWorkflowRequest\032,.dapr." + "proto.runtime.v1.StartWorkflowResponse\"\000" + "\022l\n\021GetWorkflowAlpha1\022).dapr.proto.runti" + "me.v1.GetWorkflowRequest\032*.dapr.proto.ru" + "ntime.v1.GetWorkflowResponse\"\000\022\\\n\023PurgeW" + "orkflowAlpha1\022+.dapr.proto.runtime.v1.Pu" + "rgeWorkflowRequest\032\026.google.protobuf.Emp" + "ty\"\000\022d\n\027TerminateWorkflowAlpha1\022/.dapr.p" + "roto.runtime.v1.TerminateWorkflowRequest" + "\032\026.google.protobuf.Empty\"\000\022\\\n\023PauseWorkf" + "lowAlpha1\022+.dapr.proto.runtime.v1.PauseW" + "orkflowRequest\032\026.google.protobuf.Empty\"\000" + "\022^\n\024ResumeWorkflowAlpha1\022,.dapr.proto.ru" + "ntime.v1.ResumeWorkflowRequest\032\026.google." + "protobuf.Empty\"\000\022f\n\030RaiseEventWorkflowAl" + "pha1\0220.dapr.proto.runtime.v1.RaiseEventW" + "orkflowRequest\032\026.google.protobuf.Empty\"\000" + "\022q\n\022StartWorkflowBeta1\022+.dapr.proto.runt" + "ime.v1.StartWorkflowRequest\032,.dapr.proto" + ".runtime.v1.StartWorkflowResponse\"\000\022k\n\020G" + "etWorkflowBeta1\022).dapr.proto.runtime.v1." + "GetWorkflowRequest\032*.dapr.proto.runtime." + "v1.GetWorkflowResponse\"\000\022[\n\022PurgeWorkflo" + "wBeta1\022+.dapr.proto.runtime.v1.PurgeWork" + "flowRequest\032\026.google.protobuf.Empty\"\000\022c\n" + "\026TerminateWorkflowBeta1\022/.dapr.proto.run" + "time.v1.TerminateWorkflowRequest\032\026.googl" + "e.protobuf.Empty\"\000\022[\n\022PauseWorkflowBeta1" + "\022+.dapr.proto.runtime.v1.PauseWorkflowRe" + "quest\032\026.google.protobuf.Empty\"\000\022]\n\023Resum" + "eWorkflowBeta1\022,.dapr.proto.runtime.v1.R" + "esumeWorkflowRequest\032\026.google.protobuf.E" + "mpty\"\000\022e\n\027RaiseEventWorkflowBeta1\0220.dapr" + ".proto.runtime.v1.RaiseEventWorkflowRequ" + "est\032\026.google.protobuf.Empty\"\000\022L\n\010Shutdow" + "n\022&.dapr.proto.runtime.v1.ShutdownReques" + "t\032\026.google.protobuf.Empty\"\000\022l\n\021ScheduleJ" + "obAlpha1\022).dapr.proto.runtime.v1.Schedul" + "eJobRequest\032*.dapr.proto.runtime.v1.Sche" + "duleJobResponse\"\000\022]\n\014GetJobAlpha1\022$.dapr" + ".proto.runtime.v1.GetJobRequest\032%.dapr.p" + "roto.runtime.v1.GetJobResponse\"\000\022f\n\017Dele" + "teJobAlpha1\022\'.dapr.proto.runtime.v1.Dele" + "teJobRequest\032(.dapr.proto.runtime.v1.Del" + "eteJobResponse\"\000Bi\n\nio.dapr.v1B\nDaprProt" + "osZ1github.com/dapr/dapr/pkg/proto/runti" + "me/v1;runtime\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.AnyProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), io.dapr.v1.CommonProtos.getDescriptor(), io.dapr.v1.DaprAppCallbackProtos.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", "Metadata", }); internal_static_dapr_proto_runtime_v1_GetStateRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_GetStateRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_GetStateRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetStateRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_GetBulkStateRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_dapr_proto_runtime_v1_GetBulkStateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetBulkStateRequest_descriptor, new java.lang.String[] { "StoreName", "Keys", "Parallelism", "Metadata", }); internal_static_dapr_proto_runtime_v1_GetBulkStateRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_GetBulkStateRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_GetBulkStateRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetBulkStateRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_GetBulkStateResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_dapr_proto_runtime_v1_GetBulkStateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetBulkStateResponse_descriptor, new java.lang.String[] { "Items", }); internal_static_dapr_proto_runtime_v1_BulkStateItem_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_dapr_proto_runtime_v1_BulkStateItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_BulkStateItem_descriptor, new java.lang.String[] { "Key", "Data", "Etag", "Error", "Metadata", }); internal_static_dapr_proto_runtime_v1_BulkStateItem_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_BulkStateItem_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_BulkStateItem_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_BulkStateItem_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_GetStateResponse_descriptor = getDescriptor().getMessageTypes().get(5); 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", "Metadata", }); internal_static_dapr_proto_runtime_v1_GetStateResponse_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_GetStateResponse_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_GetStateResponse_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetStateResponse_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_DeleteStateRequest_descriptor = getDescriptor().getMessageTypes().get(6); 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", "Metadata", }); internal_static_dapr_proto_runtime_v1_DeleteStateRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_DeleteStateRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_DeleteStateRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_DeleteStateRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_DeleteBulkStateRequest_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_dapr_proto_runtime_v1_DeleteBulkStateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_DeleteBulkStateRequest_descriptor, new java.lang.String[] { "StoreName", "States", }); internal_static_dapr_proto_runtime_v1_SaveStateRequest_descriptor = getDescriptor().getMessageTypes().get(8); 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_QueryStateRequest_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_dapr_proto_runtime_v1_QueryStateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_QueryStateRequest_descriptor, new java.lang.String[] { "StoreName", "Query", "Metadata", }); internal_static_dapr_proto_runtime_v1_QueryStateRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_QueryStateRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_QueryStateRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_QueryStateRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_QueryStateItem_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_dapr_proto_runtime_v1_QueryStateItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_QueryStateItem_descriptor, new java.lang.String[] { "Key", "Data", "Etag", "Error", }); internal_static_dapr_proto_runtime_v1_QueryStateResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_dapr_proto_runtime_v1_QueryStateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_QueryStateResponse_descriptor, new java.lang.String[] { "Results", "Token", "Metadata", }); internal_static_dapr_proto_runtime_v1_QueryStateResponse_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_QueryStateResponse_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_QueryStateResponse_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_QueryStateResponse_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_PublishEventRequest_descriptor = getDescriptor().getMessageTypes().get(12); 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[] { "PubsubName", "Topic", "Data", "DataContentType", "Metadata", }); internal_static_dapr_proto_runtime_v1_PublishEventRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_PublishEventRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_PublishEventRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_PublishEventRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_BulkPublishRequest_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_dapr_proto_runtime_v1_BulkPublishRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_BulkPublishRequest_descriptor, new java.lang.String[] { "PubsubName", "Topic", "Entries", "Metadata", }); internal_static_dapr_proto_runtime_v1_BulkPublishRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_BulkPublishRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_BulkPublishRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_BulkPublishRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_descriptor, new java.lang.String[] { "EntryId", "Event", "ContentType", "Metadata", }); internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_BulkPublishRequestEntry_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_BulkPublishResponse_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_dapr_proto_runtime_v1_BulkPublishResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_BulkPublishResponse_descriptor, new java.lang.String[] { "FailedEntries", }); internal_static_dapr_proto_runtime_v1_BulkPublishResponseFailedEntry_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_dapr_proto_runtime_v1_BulkPublishResponseFailedEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_BulkPublishResponseFailedEntry_descriptor, new java.lang.String[] { "EntryId", "Error", }); internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsRequestAlpha1_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsRequestAlpha1_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsRequestAlpha1_descriptor, new java.lang.String[] { "InitialRequest", "EventResponse", "SubscribeTopicEventsRequestType", }); internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_descriptor, new java.lang.String[] { "PubsubName", "Topic", "Metadata", "DeadLetterTopic", "DeadLetterTopic", }); internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsInitialRequestAlpha1_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsResponseAlpha1_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsResponseAlpha1_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubscribeTopicEventsResponseAlpha1_descriptor, new java.lang.String[] { "Id", "Status", }); internal_static_dapr_proto_runtime_v1_InvokeBindingRequest_descriptor = getDescriptor().getMessageTypes().get(20); 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(21); 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(22); 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(23); 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", }); internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_descriptor, new java.lang.String[] { "StoreName", "Metadata", }); internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetBulkSecretRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_SecretResponse_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_dapr_proto_runtime_v1_SecretResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SecretResponse_descriptor, new java.lang.String[] { "Secrets", }); internal_static_dapr_proto_runtime_v1_SecretResponse_SecretsEntry_descriptor = internal_static_dapr_proto_runtime_v1_SecretResponse_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_SecretResponse_SecretsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SecretResponse_SecretsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_descriptor, new java.lang.String[] { "Data", }); internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_DataEntry_descriptor = internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_DataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetBulkSecretResponse_DataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_TransactionalStateOperation_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_dapr_proto_runtime_v1_TransactionalStateOperation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TransactionalStateOperation_descriptor, new java.lang.String[] { "OperationType", "Request", }); internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_descriptor, new java.lang.String[] { "StoreName", "Operations", "Metadata", }); internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_ExecuteStateTransactionRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_RegisterActorTimerRequest_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_dapr_proto_runtime_v1_RegisterActorTimerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_RegisterActorTimerRequest_descriptor, new java.lang.String[] { "ActorType", "ActorId", "Name", "DueTime", "Period", "Callback", "Data", "Ttl", }); internal_static_dapr_proto_runtime_v1_UnregisterActorTimerRequest_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_dapr_proto_runtime_v1_UnregisterActorTimerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_UnregisterActorTimerRequest_descriptor, new java.lang.String[] { "ActorType", "ActorId", "Name", }); internal_static_dapr_proto_runtime_v1_RegisterActorReminderRequest_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_dapr_proto_runtime_v1_RegisterActorReminderRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_RegisterActorReminderRequest_descriptor, new java.lang.String[] { "ActorType", "ActorId", "Name", "DueTime", "Period", "Data", "Ttl", }); internal_static_dapr_proto_runtime_v1_UnregisterActorReminderRequest_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_dapr_proto_runtime_v1_UnregisterActorReminderRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_UnregisterActorReminderRequest_descriptor, new java.lang.String[] { "ActorType", "ActorId", "Name", }); internal_static_dapr_proto_runtime_v1_GetActorStateRequest_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_dapr_proto_runtime_v1_GetActorStateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetActorStateRequest_descriptor, new java.lang.String[] { "ActorType", "ActorId", "Key", }); internal_static_dapr_proto_runtime_v1_GetActorStateResponse_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_dapr_proto_runtime_v1_GetActorStateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetActorStateResponse_descriptor, new java.lang.String[] { "Data", "Metadata", }); internal_static_dapr_proto_runtime_v1_GetActorStateResponse_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_GetActorStateResponse_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_GetActorStateResponse_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetActorStateResponse_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_ExecuteActorStateTransactionRequest_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_dapr_proto_runtime_v1_ExecuteActorStateTransactionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_ExecuteActorStateTransactionRequest_descriptor, new java.lang.String[] { "ActorType", "ActorId", "Operations", }); internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_descriptor, new java.lang.String[] { "OperationType", "Key", "Value", "Metadata", }); internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TransactionalActorStateOperation_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_InvokeActorRequest_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_dapr_proto_runtime_v1_InvokeActorRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_InvokeActorRequest_descriptor, new java.lang.String[] { "ActorType", "ActorId", "Method", "Data", "Metadata", }); internal_static_dapr_proto_runtime_v1_InvokeActorRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_InvokeActorRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_InvokeActorRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_InvokeActorRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_InvokeActorResponse_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_dapr_proto_runtime_v1_InvokeActorResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_InvokeActorResponse_descriptor, new java.lang.String[] { "Data", }); internal_static_dapr_proto_runtime_v1_GetMetadataRequest_descriptor = getDescriptor().getMessageTypes().get(39); internal_static_dapr_proto_runtime_v1_GetMetadataRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetMetadataRequest_descriptor, new java.lang.String[] { }); internal_static_dapr_proto_runtime_v1_GetMetadataResponse_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_dapr_proto_runtime_v1_GetMetadataResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetMetadataResponse_descriptor, new java.lang.String[] { "Id", "ActiveActorsCount", "RegisteredComponents", "ExtendedMetadata", "Subscriptions", "HttpEndpoints", "AppConnectionProperties", "RuntimeVersion", "EnabledFeatures", "ActorRuntime", }); internal_static_dapr_proto_runtime_v1_GetMetadataResponse_ExtendedMetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_GetMetadataResponse_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_GetMetadataResponse_ExtendedMetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetMetadataResponse_ExtendedMetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_ActorRuntime_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_dapr_proto_runtime_v1_ActorRuntime_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_ActorRuntime_descriptor, new java.lang.String[] { "RuntimeStatus", "ActiveActors", "HostReady", "Placement", }); internal_static_dapr_proto_runtime_v1_ActiveActorsCount_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_dapr_proto_runtime_v1_ActiveActorsCount_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_ActiveActorsCount_descriptor, new java.lang.String[] { "Type", "Count", }); internal_static_dapr_proto_runtime_v1_RegisteredComponents_descriptor = getDescriptor().getMessageTypes().get(43); internal_static_dapr_proto_runtime_v1_RegisteredComponents_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_RegisteredComponents_descriptor, new java.lang.String[] { "Name", "Type", "Version", "Capabilities", }); internal_static_dapr_proto_runtime_v1_MetadataHTTPEndpoint_descriptor = getDescriptor().getMessageTypes().get(44); internal_static_dapr_proto_runtime_v1_MetadataHTTPEndpoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_MetadataHTTPEndpoint_descriptor, new java.lang.String[] { "Name", }); internal_static_dapr_proto_runtime_v1_AppConnectionProperties_descriptor = getDescriptor().getMessageTypes().get(45); internal_static_dapr_proto_runtime_v1_AppConnectionProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_AppConnectionProperties_descriptor, new java.lang.String[] { "Port", "Protocol", "ChannelAddress", "MaxConcurrency", "Health", }); internal_static_dapr_proto_runtime_v1_AppConnectionHealthProperties_descriptor = getDescriptor().getMessageTypes().get(46); internal_static_dapr_proto_runtime_v1_AppConnectionHealthProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_AppConnectionHealthProperties_descriptor, new java.lang.String[] { "HealthCheckPath", "HealthProbeInterval", "HealthProbeTimeout", "HealthThreshold", }); internal_static_dapr_proto_runtime_v1_PubsubSubscription_descriptor = getDescriptor().getMessageTypes().get(47); internal_static_dapr_proto_runtime_v1_PubsubSubscription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_PubsubSubscription_descriptor, new java.lang.String[] { "PubsubName", "Topic", "Metadata", "Rules", "DeadLetterTopic", "Type", }); internal_static_dapr_proto_runtime_v1_PubsubSubscription_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_PubsubSubscription_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_PubsubSubscription_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_PubsubSubscription_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRules_descriptor = getDescriptor().getMessageTypes().get(48); internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRules_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRules_descriptor, new java.lang.String[] { "Rules", }); internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRule_descriptor = getDescriptor().getMessageTypes().get(49); internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_PubsubSubscriptionRule_descriptor, new java.lang.String[] { "Match", "Path", }); internal_static_dapr_proto_runtime_v1_SetMetadataRequest_descriptor = getDescriptor().getMessageTypes().get(50); internal_static_dapr_proto_runtime_v1_SetMetadataRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SetMetadataRequest_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_descriptor = getDescriptor().getMessageTypes().get(51); internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_descriptor, new java.lang.String[] { "StoreName", "Keys", "Metadata", }); internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetConfigurationRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_descriptor = getDescriptor().getMessageTypes().get(52); internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_descriptor, new java.lang.String[] { "Items", }); internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_ItemsEntry_descriptor = internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_ItemsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetConfigurationResponse_ItemsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_descriptor = getDescriptor().getMessageTypes().get(53); internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_descriptor, new java.lang.String[] { "StoreName", "Keys", "Metadata", }); internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_MetadataEntry_descriptor = internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_MetadataEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubscribeConfigurationRequest_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationRequest_descriptor = getDescriptor().getMessageTypes().get(54); internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationRequest_descriptor, new java.lang.String[] { "StoreName", "Id", }); internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_descriptor = getDescriptor().getMessageTypes().get(55); internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_descriptor, new java.lang.String[] { "Id", "Items", }); internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_ItemsEntry_descriptor = internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_ItemsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubscribeConfigurationResponse_ItemsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationResponse_descriptor = getDescriptor().getMessageTypes().get(56); internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_UnsubscribeConfigurationResponse_descriptor, new java.lang.String[] { "Ok", "Message", }); internal_static_dapr_proto_runtime_v1_TryLockRequest_descriptor = getDescriptor().getMessageTypes().get(57); internal_static_dapr_proto_runtime_v1_TryLockRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TryLockRequest_descriptor, new java.lang.String[] { "StoreName", "ResourceId", "LockOwner", "ExpiryInSeconds", }); internal_static_dapr_proto_runtime_v1_TryLockResponse_descriptor = getDescriptor().getMessageTypes().get(58); internal_static_dapr_proto_runtime_v1_TryLockResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TryLockResponse_descriptor, new java.lang.String[] { "Success", }); internal_static_dapr_proto_runtime_v1_UnlockRequest_descriptor = getDescriptor().getMessageTypes().get(59); internal_static_dapr_proto_runtime_v1_UnlockRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_UnlockRequest_descriptor, new java.lang.String[] { "StoreName", "ResourceId", "LockOwner", }); internal_static_dapr_proto_runtime_v1_UnlockResponse_descriptor = getDescriptor().getMessageTypes().get(60); internal_static_dapr_proto_runtime_v1_UnlockResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_UnlockResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_dapr_proto_runtime_v1_SubtleGetKeyRequest_descriptor = getDescriptor().getMessageTypes().get(61); internal_static_dapr_proto_runtime_v1_SubtleGetKeyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleGetKeyRequest_descriptor, new java.lang.String[] { "ComponentName", "Name", "Format", }); internal_static_dapr_proto_runtime_v1_SubtleGetKeyResponse_descriptor = getDescriptor().getMessageTypes().get(62); internal_static_dapr_proto_runtime_v1_SubtleGetKeyResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleGetKeyResponse_descriptor, new java.lang.String[] { "Name", "PublicKey", }); internal_static_dapr_proto_runtime_v1_SubtleEncryptRequest_descriptor = getDescriptor().getMessageTypes().get(63); internal_static_dapr_proto_runtime_v1_SubtleEncryptRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleEncryptRequest_descriptor, new java.lang.String[] { "ComponentName", "Plaintext", "Algorithm", "KeyName", "Nonce", "AssociatedData", }); internal_static_dapr_proto_runtime_v1_SubtleEncryptResponse_descriptor = getDescriptor().getMessageTypes().get(64); internal_static_dapr_proto_runtime_v1_SubtleEncryptResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleEncryptResponse_descriptor, new java.lang.String[] { "Ciphertext", "Tag", }); internal_static_dapr_proto_runtime_v1_SubtleDecryptRequest_descriptor = getDescriptor().getMessageTypes().get(65); internal_static_dapr_proto_runtime_v1_SubtleDecryptRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleDecryptRequest_descriptor, new java.lang.String[] { "ComponentName", "Ciphertext", "Algorithm", "KeyName", "Nonce", "Tag", "AssociatedData", }); internal_static_dapr_proto_runtime_v1_SubtleDecryptResponse_descriptor = getDescriptor().getMessageTypes().get(66); internal_static_dapr_proto_runtime_v1_SubtleDecryptResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleDecryptResponse_descriptor, new java.lang.String[] { "Plaintext", }); internal_static_dapr_proto_runtime_v1_SubtleWrapKeyRequest_descriptor = getDescriptor().getMessageTypes().get(67); internal_static_dapr_proto_runtime_v1_SubtleWrapKeyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleWrapKeyRequest_descriptor, new java.lang.String[] { "ComponentName", "PlaintextKey", "Algorithm", "KeyName", "Nonce", "AssociatedData", }); internal_static_dapr_proto_runtime_v1_SubtleWrapKeyResponse_descriptor = getDescriptor().getMessageTypes().get(68); internal_static_dapr_proto_runtime_v1_SubtleWrapKeyResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleWrapKeyResponse_descriptor, new java.lang.String[] { "WrappedKey", "Tag", }); internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyRequest_descriptor = getDescriptor().getMessageTypes().get(69); internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyRequest_descriptor, new java.lang.String[] { "ComponentName", "WrappedKey", "Algorithm", "KeyName", "Nonce", "Tag", "AssociatedData", }); internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyResponse_descriptor = getDescriptor().getMessageTypes().get(70); internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleUnwrapKeyResponse_descriptor, new java.lang.String[] { "PlaintextKey", }); internal_static_dapr_proto_runtime_v1_SubtleSignRequest_descriptor = getDescriptor().getMessageTypes().get(71); internal_static_dapr_proto_runtime_v1_SubtleSignRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleSignRequest_descriptor, new java.lang.String[] { "ComponentName", "Digest", "Algorithm", "KeyName", }); internal_static_dapr_proto_runtime_v1_SubtleSignResponse_descriptor = getDescriptor().getMessageTypes().get(72); internal_static_dapr_proto_runtime_v1_SubtleSignResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleSignResponse_descriptor, new java.lang.String[] { "Signature", }); internal_static_dapr_proto_runtime_v1_SubtleVerifyRequest_descriptor = getDescriptor().getMessageTypes().get(73); internal_static_dapr_proto_runtime_v1_SubtleVerifyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleVerifyRequest_descriptor, new java.lang.String[] { "ComponentName", "Digest", "Algorithm", "KeyName", "Signature", }); internal_static_dapr_proto_runtime_v1_SubtleVerifyResponse_descriptor = getDescriptor().getMessageTypes().get(74); internal_static_dapr_proto_runtime_v1_SubtleVerifyResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_SubtleVerifyResponse_descriptor, new java.lang.String[] { "Valid", }); internal_static_dapr_proto_runtime_v1_EncryptRequest_descriptor = getDescriptor().getMessageTypes().get(75); internal_static_dapr_proto_runtime_v1_EncryptRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_EncryptRequest_descriptor, new java.lang.String[] { "Options", "Payload", }); internal_static_dapr_proto_runtime_v1_EncryptRequestOptions_descriptor = getDescriptor().getMessageTypes().get(76); internal_static_dapr_proto_runtime_v1_EncryptRequestOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_EncryptRequestOptions_descriptor, new java.lang.String[] { "ComponentName", "KeyName", "KeyWrapAlgorithm", "DataEncryptionCipher", "OmitDecryptionKeyName", "DecryptionKeyName", }); internal_static_dapr_proto_runtime_v1_EncryptResponse_descriptor = getDescriptor().getMessageTypes().get(77); internal_static_dapr_proto_runtime_v1_EncryptResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_EncryptResponse_descriptor, new java.lang.String[] { "Payload", }); internal_static_dapr_proto_runtime_v1_DecryptRequest_descriptor = getDescriptor().getMessageTypes().get(78); internal_static_dapr_proto_runtime_v1_DecryptRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_DecryptRequest_descriptor, new java.lang.String[] { "Options", "Payload", }); internal_static_dapr_proto_runtime_v1_DecryptRequestOptions_descriptor = getDescriptor().getMessageTypes().get(79); internal_static_dapr_proto_runtime_v1_DecryptRequestOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_DecryptRequestOptions_descriptor, new java.lang.String[] { "ComponentName", "KeyName", }); internal_static_dapr_proto_runtime_v1_DecryptResponse_descriptor = getDescriptor().getMessageTypes().get(80); internal_static_dapr_proto_runtime_v1_DecryptResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_DecryptResponse_descriptor, new java.lang.String[] { "Payload", }); internal_static_dapr_proto_runtime_v1_GetWorkflowRequest_descriptor = getDescriptor().getMessageTypes().get(81); internal_static_dapr_proto_runtime_v1_GetWorkflowRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetWorkflowRequest_descriptor, new java.lang.String[] { "InstanceId", "WorkflowComponent", }); internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_descriptor = getDescriptor().getMessageTypes().get(82); internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_descriptor, new java.lang.String[] { "InstanceId", "WorkflowName", "CreatedAt", "LastUpdatedAt", "RuntimeStatus", "Properties", }); internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_PropertiesEntry_descriptor = internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_PropertiesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetWorkflowResponse_PropertiesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_descriptor = getDescriptor().getMessageTypes().get(83); internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_descriptor, new java.lang.String[] { "InstanceId", "WorkflowComponent", "WorkflowName", "Options", "Input", }); internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_OptionsEntry_descriptor = internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_descriptor.getNestedTypes().get(0); internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_OptionsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_StartWorkflowRequest_OptionsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_dapr_proto_runtime_v1_StartWorkflowResponse_descriptor = getDescriptor().getMessageTypes().get(84); internal_static_dapr_proto_runtime_v1_StartWorkflowResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_StartWorkflowResponse_descriptor, new java.lang.String[] { "InstanceId", }); internal_static_dapr_proto_runtime_v1_TerminateWorkflowRequest_descriptor = getDescriptor().getMessageTypes().get(85); internal_static_dapr_proto_runtime_v1_TerminateWorkflowRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_TerminateWorkflowRequest_descriptor, new java.lang.String[] { "InstanceId", "WorkflowComponent", }); internal_static_dapr_proto_runtime_v1_PauseWorkflowRequest_descriptor = getDescriptor().getMessageTypes().get(86); internal_static_dapr_proto_runtime_v1_PauseWorkflowRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_PauseWorkflowRequest_descriptor, new java.lang.String[] { "InstanceId", "WorkflowComponent", }); internal_static_dapr_proto_runtime_v1_ResumeWorkflowRequest_descriptor = getDescriptor().getMessageTypes().get(87); internal_static_dapr_proto_runtime_v1_ResumeWorkflowRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_ResumeWorkflowRequest_descriptor, new java.lang.String[] { "InstanceId", "WorkflowComponent", }); internal_static_dapr_proto_runtime_v1_RaiseEventWorkflowRequest_descriptor = getDescriptor().getMessageTypes().get(88); internal_static_dapr_proto_runtime_v1_RaiseEventWorkflowRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_RaiseEventWorkflowRequest_descriptor, new java.lang.String[] { "InstanceId", "WorkflowComponent", "EventName", "EventData", }); internal_static_dapr_proto_runtime_v1_PurgeWorkflowRequest_descriptor = getDescriptor().getMessageTypes().get(89); internal_static_dapr_proto_runtime_v1_PurgeWorkflowRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_PurgeWorkflowRequest_descriptor, new java.lang.String[] { "InstanceId", "WorkflowComponent", }); internal_static_dapr_proto_runtime_v1_ShutdownRequest_descriptor = getDescriptor().getMessageTypes().get(90); internal_static_dapr_proto_runtime_v1_ShutdownRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_ShutdownRequest_descriptor, new java.lang.String[] { }); internal_static_dapr_proto_runtime_v1_Job_descriptor = getDescriptor().getMessageTypes().get(91); internal_static_dapr_proto_runtime_v1_Job_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_Job_descriptor, new java.lang.String[] { "Name", "Schedule", "Repeats", "DueTime", "Ttl", "Data", "Schedule", "Repeats", "DueTime", "Ttl", }); internal_static_dapr_proto_runtime_v1_ScheduleJobRequest_descriptor = getDescriptor().getMessageTypes().get(92); internal_static_dapr_proto_runtime_v1_ScheduleJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_ScheduleJobRequest_descriptor, new java.lang.String[] { "Job", }); internal_static_dapr_proto_runtime_v1_ScheduleJobResponse_descriptor = getDescriptor().getMessageTypes().get(93); internal_static_dapr_proto_runtime_v1_ScheduleJobResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_ScheduleJobResponse_descriptor, new java.lang.String[] { }); internal_static_dapr_proto_runtime_v1_GetJobRequest_descriptor = getDescriptor().getMessageTypes().get(94); internal_static_dapr_proto_runtime_v1_GetJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetJobRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_dapr_proto_runtime_v1_GetJobResponse_descriptor = getDescriptor().getMessageTypes().get(95); internal_static_dapr_proto_runtime_v1_GetJobResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_GetJobResponse_descriptor, new java.lang.String[] { "Job", }); internal_static_dapr_proto_runtime_v1_DeleteJobRequest_descriptor = getDescriptor().getMessageTypes().get(96); internal_static_dapr_proto_runtime_v1_DeleteJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_DeleteJobRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_dapr_proto_runtime_v1_DeleteJobResponse_descriptor = getDescriptor().getMessageTypes().get(97); internal_static_dapr_proto_runtime_v1_DeleteJobResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_dapr_proto_runtime_v1_DeleteJobResponse_descriptor, new java.lang.String[] { }); com.google.protobuf.AnyProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); io.dapr.v1.CommonProtos.getDescriptor(); io.dapr.v1.DaprAppCallbackProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy