diff --git a/README.md b/README.md index d7fa64022..0b66de67c 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ dapr run --protocol grpc --grpc-port 50001 -- mvn exec:java -Dexec.mainClass=io. ### Creating and publishing the artifacts to Nexus Repository From the root directory: -``` +```sh mvn package mvn deploy:deploy-file -DgeneratePom=false -DrepositoryId=nexus -Durl=http://localhost:8081/repository/maven-releases -DpomFile=pom.xml -Dfile=target/client-0.1.0-preview.jar ``` @@ -29,3 +29,11 @@ For more documentation reference : https://maven.apache.org/plugins/maven-deploy-plugin https://help.sonatype.com/repomanager3/user-interface/uploading-components + +### Releasing with Maven +To increase the version of all modules and pom files, run the following commands: + +```sh +mvn versions:set -DnewVersion="0.1.0-preview02" +mvn versions:commit +``` diff --git a/client/pom.xml b/client/pom.xml new file mode 100644 index 000000000..63472ee28 --- /dev/null +++ b/client/pom.xml @@ -0,0 +1,121 @@ + + 4.0.0 + + + io.dapr + client-parent + 0.1.0-preview02 + + + client + jar + 0.1.0-preview02 + dapr-client + gRPC client for Dapr. + + + generated-proto + ${project.parent.basedir}/dapr/pkg/proto + + + + + io.grpc + grpc-netty-shaded + runtime + + + io.grpc + grpc-protobuf + + + io.grpc + grpc-stub + + + javax.annotation + javax.annotation-api + provided + + + io.grpc + grpc-testing + test + + + com.google.protobuf + protobuf-java-util + ${protobuf.version} + + + junit + junit + test + + + org.mockito + mockito-core + test + + + + + + + com.github.os72 + protoc-jar-maven-plugin + 3.9.2 + + + generate-sources + + run + + + inputs + direct + true + + ${protobuf.input.directory}/dapr + ${protobuf.input.directory}/daprclient + + ${project.build.sourceDirectory} + io.grpc:protoc-gen-grpc-java:${grpc.version} + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.0 + + + attach-sources + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.1.1 + + + attach-javadocs + + jar + + + + + + + diff --git a/src/main/java/io/dapr/DaprClientGrpc.java b/client/src/main/java/io/dapr/DaprClientGrpc.java similarity index 99% rename from src/main/java/io/dapr/DaprClientGrpc.java rename to client/src/main/java/io/dapr/DaprClientGrpc.java index 3d2adf465..5cea623c5 100644 --- a/src/main/java/io/dapr/DaprClientGrpc.java +++ b/client/src/main/java/io/dapr/DaprClientGrpc.java @@ -17,7 +17,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** *
- * User Code definitions
+ * User Code definitions by BRUNO
  * 
*/ @javax.annotation.Generated( diff --git a/src/main/java/io/dapr/DaprClientProtos.java b/client/src/main/java/io/dapr/DaprClientProtos.java similarity index 95% rename from src/main/java/io/dapr/DaprClientProtos.java rename to client/src/main/java/io/dapr/DaprClientProtos.java index 8c3712e92..c541e0ffc 100644 --- a/src/main/java/io/dapr/DaprClientProtos.java +++ b/client/src/main/java/io/dapr/DaprClientProtos.java @@ -1,5 +1,5 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: daprclient/daprclient.proto +// source: daprclient.proto package io.dapr; @@ -20,84 +20,70 @@ public final class DaprClientProtos { /** * string id = 1; - * @return The id. */ java.lang.String getId(); /** * string id = 1; - * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** * string source = 2; - * @return The source. */ java.lang.String getSource(); /** * string source = 2; - * @return The bytes for source. */ com.google.protobuf.ByteString getSourceBytes(); /** * string type = 3; - * @return The type. */ java.lang.String getType(); /** * string type = 3; - * @return The bytes for type. */ com.google.protobuf.ByteString getTypeBytes(); /** * string specVersion = 4; - * @return The specVersion. */ java.lang.String getSpecVersion(); /** * string specVersion = 4; - * @return The bytes for specVersion. */ com.google.protobuf.ByteString getSpecVersionBytes(); /** * string dataContentType = 5; - * @return The dataContentType. */ java.lang.String getDataContentType(); /** * string dataContentType = 5; - * @return The bytes for dataContentType. */ com.google.protobuf.ByteString getDataContentTypeBytes(); /** * string topic = 6; - * @return The topic. */ java.lang.String getTopic(); /** * string topic = 6; - * @return The bytes for topic. */ com.google.protobuf.ByteString getTopicBytes(); /** * .google.protobuf.Any data = 7; - * @return Whether the data field is set. */ boolean hasData(); /** * .google.protobuf.Any data = 7; - * @return The data. */ com.google.protobuf.Any getData(); /** @@ -241,7 +227,6 @@ public final class DaprClientProtos { private volatile java.lang.Object id_; /** * string id = 1; - * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; @@ -257,7 +242,6 @@ public final class DaprClientProtos { } /** * string id = 1; - * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { @@ -277,7 +261,6 @@ public final class DaprClientProtos { private volatile java.lang.Object source_; /** * string source = 2; - * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; @@ -293,7 +276,6 @@ public final class DaprClientProtos { } /** * string source = 2; - * @return The bytes for source. */ public com.google.protobuf.ByteString getSourceBytes() { @@ -313,7 +295,6 @@ public final class DaprClientProtos { private volatile java.lang.Object type_; /** * string type = 3; - * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; @@ -329,7 +310,6 @@ public final class DaprClientProtos { } /** * string type = 3; - * @return The bytes for type. */ public com.google.protobuf.ByteString getTypeBytes() { @@ -349,7 +329,6 @@ public final class DaprClientProtos { private volatile java.lang.Object specVersion_; /** * string specVersion = 4; - * @return The specVersion. */ public java.lang.String getSpecVersion() { java.lang.Object ref = specVersion_; @@ -365,7 +344,6 @@ public final class DaprClientProtos { } /** * string specVersion = 4; - * @return The bytes for specVersion. */ public com.google.protobuf.ByteString getSpecVersionBytes() { @@ -385,7 +363,6 @@ public final class DaprClientProtos { private volatile java.lang.Object dataContentType_; /** * string dataContentType = 5; - * @return The dataContentType. */ public java.lang.String getDataContentType() { java.lang.Object ref = dataContentType_; @@ -401,7 +378,6 @@ public final class DaprClientProtos { } /** * string dataContentType = 5; - * @return The bytes for dataContentType. */ public com.google.protobuf.ByteString getDataContentTypeBytes() { @@ -421,7 +397,6 @@ public final class DaprClientProtos { private volatile java.lang.Object topic_; /** * string topic = 6; - * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; @@ -437,7 +412,6 @@ public final class DaprClientProtos { } /** * string topic = 6; - * @return The bytes for topic. */ public com.google.protobuf.ByteString getTopicBytes() { @@ -457,14 +431,12 @@ public final class DaprClientProtos { private com.google.protobuf.Any data_; /** * .google.protobuf.Any data = 7; - * @return Whether the data field is set. */ public boolean hasData() { return data_ != null; } /** * .google.protobuf.Any data = 7; - * @return The data. */ public com.google.protobuf.Any getData() { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; @@ -896,7 +868,6 @@ public final class DaprClientProtos { private java.lang.Object id_ = ""; /** * string id = 1; - * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; @@ -912,7 +883,6 @@ public final class DaprClientProtos { } /** * string id = 1; - * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { @@ -929,8 +899,6 @@ public final class DaprClientProtos { } /** * string id = 1; - * @param value The id to set. - * @return This builder for chaining. */ public Builder setId( java.lang.String value) { @@ -944,7 +912,6 @@ public final class DaprClientProtos { } /** * string id = 1; - * @return This builder for chaining. */ public Builder clearId() { @@ -954,8 +921,6 @@ public final class DaprClientProtos { } /** * string id = 1; - * @param value The bytes for id to set. - * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { @@ -972,7 +937,6 @@ public final class DaprClientProtos { private java.lang.Object source_ = ""; /** * string source = 2; - * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; @@ -988,7 +952,6 @@ public final class DaprClientProtos { } /** * string source = 2; - * @return The bytes for source. */ public com.google.protobuf.ByteString getSourceBytes() { @@ -1005,8 +968,6 @@ public final class DaprClientProtos { } /** * string source = 2; - * @param value The source to set. - * @return This builder for chaining. */ public Builder setSource( java.lang.String value) { @@ -1020,7 +981,6 @@ public final class DaprClientProtos { } /** * string source = 2; - * @return This builder for chaining. */ public Builder clearSource() { @@ -1030,8 +990,6 @@ public final class DaprClientProtos { } /** * string source = 2; - * @param value The bytes for source to set. - * @return This builder for chaining. */ public Builder setSourceBytes( com.google.protobuf.ByteString value) { @@ -1048,7 +1006,6 @@ public final class DaprClientProtos { private java.lang.Object type_ = ""; /** * string type = 3; - * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; @@ -1064,7 +1021,6 @@ public final class DaprClientProtos { } /** * string type = 3; - * @return The bytes for type. */ public com.google.protobuf.ByteString getTypeBytes() { @@ -1081,8 +1037,6 @@ public final class DaprClientProtos { } /** * string type = 3; - * @param value The type to set. - * @return This builder for chaining. */ public Builder setType( java.lang.String value) { @@ -1096,7 +1050,6 @@ public final class DaprClientProtos { } /** * string type = 3; - * @return This builder for chaining. */ public Builder clearType() { @@ -1106,8 +1059,6 @@ public final class DaprClientProtos { } /** * string type = 3; - * @param value The bytes for type to set. - * @return This builder for chaining. */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { @@ -1124,7 +1075,6 @@ public final class DaprClientProtos { private java.lang.Object specVersion_ = ""; /** * string specVersion = 4; - * @return The specVersion. */ public java.lang.String getSpecVersion() { java.lang.Object ref = specVersion_; @@ -1140,7 +1090,6 @@ public final class DaprClientProtos { } /** * string specVersion = 4; - * @return The bytes for specVersion. */ public com.google.protobuf.ByteString getSpecVersionBytes() { @@ -1157,8 +1106,6 @@ public final class DaprClientProtos { } /** * string specVersion = 4; - * @param value The specVersion to set. - * @return This builder for chaining. */ public Builder setSpecVersion( java.lang.String value) { @@ -1172,7 +1119,6 @@ public final class DaprClientProtos { } /** * string specVersion = 4; - * @return This builder for chaining. */ public Builder clearSpecVersion() { @@ -1182,8 +1128,6 @@ public final class DaprClientProtos { } /** * string specVersion = 4; - * @param value The bytes for specVersion to set. - * @return This builder for chaining. */ public Builder setSpecVersionBytes( com.google.protobuf.ByteString value) { @@ -1200,7 +1144,6 @@ public final class DaprClientProtos { private java.lang.Object dataContentType_ = ""; /** * string dataContentType = 5; - * @return The dataContentType. */ public java.lang.String getDataContentType() { java.lang.Object ref = dataContentType_; @@ -1216,7 +1159,6 @@ public final class DaprClientProtos { } /** * string dataContentType = 5; - * @return The bytes for dataContentType. */ public com.google.protobuf.ByteString getDataContentTypeBytes() { @@ -1233,8 +1175,6 @@ public final class DaprClientProtos { } /** * string dataContentType = 5; - * @param value The dataContentType to set. - * @return This builder for chaining. */ public Builder setDataContentType( java.lang.String value) { @@ -1248,7 +1188,6 @@ public final class DaprClientProtos { } /** * string dataContentType = 5; - * @return This builder for chaining. */ public Builder clearDataContentType() { @@ -1258,8 +1197,6 @@ public final class DaprClientProtos { } /** * string dataContentType = 5; - * @param value The bytes for dataContentType to set. - * @return This builder for chaining. */ public Builder setDataContentTypeBytes( com.google.protobuf.ByteString value) { @@ -1276,7 +1213,6 @@ public final class DaprClientProtos { private java.lang.Object topic_ = ""; /** * string topic = 6; - * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; @@ -1292,7 +1228,6 @@ public final class DaprClientProtos { } /** * string topic = 6; - * @return The bytes for topic. */ public com.google.protobuf.ByteString getTopicBytes() { @@ -1309,8 +1244,6 @@ public final class DaprClientProtos { } /** * string topic = 6; - * @param value The topic to set. - * @return This builder for chaining. */ public Builder setTopic( java.lang.String value) { @@ -1324,7 +1257,6 @@ public final class DaprClientProtos { } /** * string topic = 6; - * @return This builder for chaining. */ public Builder clearTopic() { @@ -1334,8 +1266,6 @@ public final class DaprClientProtos { } /** * string topic = 6; - * @param value The bytes for topic to set. - * @return This builder for chaining. */ public Builder setTopicBytes( com.google.protobuf.ByteString value) { @@ -1354,14 +1284,12 @@ public final class DaprClientProtos { com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> dataBuilder_; /** * .google.protobuf.Any data = 7; - * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** * .google.protobuf.Any data = 7; - * @return The data. */ public com.google.protobuf.Any getData() { if (dataBuilder_ == null) { @@ -1526,24 +1454,20 @@ public final class DaprClientProtos { /** * string name = 1; - * @return The name. */ java.lang.String getName(); /** * string name = 1; - * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * .google.protobuf.Any data = 2; - * @return Whether the data field is set. */ boolean hasData(); /** * .google.protobuf.Any data = 2; - * @return The data. */ com.google.protobuf.Any getData(); /** @@ -1712,7 +1636,6 @@ public final class DaprClientProtos { private volatile java.lang.Object name_; /** * string name = 1; - * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -1728,7 +1651,6 @@ public final class DaprClientProtos { } /** * string name = 1; - * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -1748,14 +1670,12 @@ public final class DaprClientProtos { private com.google.protobuf.Any data_; /** * .google.protobuf.Any data = 2; - * @return Whether the data field is set. */ public boolean hasData() { return data_ != null; } /** * .google.protobuf.Any data = 2; - * @return The data. */ public com.google.protobuf.Any getData() { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; @@ -2229,7 +2149,6 @@ public final class DaprClientProtos { private java.lang.Object name_ = ""; /** * string name = 1; - * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -2245,7 +2164,6 @@ public final class DaprClientProtos { } /** * string name = 1; - * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -2262,8 +2180,6 @@ public final class DaprClientProtos { } /** * string name = 1; - * @param value The name to set. - * @return This builder for chaining. */ public Builder setName( java.lang.String value) { @@ -2277,7 +2193,6 @@ public final class DaprClientProtos { } /** * string name = 1; - * @return This builder for chaining. */ public Builder clearName() { @@ -2287,8 +2202,6 @@ public final class DaprClientProtos { } /** * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { @@ -2307,14 +2220,12 @@ public final class DaprClientProtos { com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> dataBuilder_; /** * .google.protobuf.Any data = 2; - * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** * .google.protobuf.Any data = 2; - * @return The data. */ public com.google.protobuf.Any getData() { if (dataBuilder_ == null) { @@ -2602,12 +2513,10 @@ public final class DaprClientProtos { /** * .google.protobuf.Any data = 1; - * @return Whether the data field is set. */ boolean hasData(); /** * .google.protobuf.Any data = 1; - * @return The data. */ com.google.protobuf.Any getData(); /** @@ -2617,25 +2526,19 @@ public final class DaprClientProtos { /** * repeated string to = 2; - * @return A list containing the to. */ java.util.List getToList(); /** * repeated string to = 2; - * @return The count of to. */ int getToCount(); /** * repeated string to = 2; - * @param index The index of the element to return. - * @return The to at the given index. */ java.lang.String getTo(int index); /** * repeated string to = 2; - * @param index The index of the value to return. - * @return The bytes of the to at the given index. */ com.google.protobuf.ByteString getToBytes(int index); @@ -2666,12 +2569,10 @@ public final class DaprClientProtos { /** * string concurrency = 4; - * @return The concurrency. */ java.lang.String getConcurrency(); /** * string concurrency = 4; - * @return The bytes for concurrency. */ com.google.protobuf.ByteString getConcurrencyBytes(); @@ -2804,14 +2705,12 @@ public final class DaprClientProtos { private com.google.protobuf.Any data_; /** * .google.protobuf.Any data = 1; - * @return Whether the data field is set. */ public boolean hasData() { return data_ != null; } /** * .google.protobuf.Any data = 1; - * @return The data. */ public com.google.protobuf.Any getData() { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; @@ -2827,7 +2726,6 @@ public final class DaprClientProtos { private com.google.protobuf.LazyStringList to_; /** * repeated string to = 2; - * @return A list containing the to. */ public com.google.protobuf.ProtocolStringList getToList() { @@ -2835,23 +2733,18 @@ public final class DaprClientProtos { } /** * repeated string to = 2; - * @return The count of to. */ public int getToCount() { return to_.size(); } /** * repeated string to = 2; - * @param index The index of the element to return. - * @return The to at the given index. */ public java.lang.String getTo(int index) { return to_.get(index); } /** * repeated string to = 2; - * @param index The index of the value to return. - * @return The bytes of the to at the given index. */ public com.google.protobuf.ByteString getToBytes(int index) { @@ -2897,7 +2790,6 @@ public final class DaprClientProtos { private volatile java.lang.Object concurrency_; /** * string concurrency = 4; - * @return The concurrency. */ public java.lang.String getConcurrency() { java.lang.Object ref = concurrency_; @@ -2913,7 +2805,6 @@ public final class DaprClientProtos { } /** * string concurrency = 4; - * @return The bytes for concurrency. */ public com.google.protobuf.ByteString getConcurrencyBytes() { @@ -3357,14 +3248,12 @@ public final class DaprClientProtos { com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> dataBuilder_; /** * .google.protobuf.Any data = 1; - * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** * .google.protobuf.Any data = 1; - * @return The data. */ public com.google.protobuf.Any getData() { if (dataBuilder_ == null) { @@ -3480,7 +3369,6 @@ public final class DaprClientProtos { } /** * repeated string to = 2; - * @return A list containing the to. */ public com.google.protobuf.ProtocolStringList getToList() { @@ -3488,23 +3376,18 @@ public final class DaprClientProtos { } /** * repeated string to = 2; - * @return The count of to. */ public int getToCount() { return to_.size(); } /** * repeated string to = 2; - * @param index The index of the element to return. - * @return The to at the given index. */ public java.lang.String getTo(int index) { return to_.get(index); } /** * repeated string to = 2; - * @param index The index of the value to return. - * @return The bytes of the to at the given index. */ public com.google.protobuf.ByteString getToBytes(int index) { @@ -3512,9 +3395,6 @@ public final class DaprClientProtos { } /** * repeated string to = 2; - * @param index The index to set the value at. - * @param value The to to set. - * @return This builder for chaining. */ public Builder setTo( int index, java.lang.String value) { @@ -3528,8 +3408,6 @@ public final class DaprClientProtos { } /** * repeated string to = 2; - * @param value The to to add. - * @return This builder for chaining. */ public Builder addTo( java.lang.String value) { @@ -3543,8 +3421,6 @@ public final class DaprClientProtos { } /** * repeated string to = 2; - * @param values The to to add. - * @return This builder for chaining. */ public Builder addAllTo( java.lang.Iterable values) { @@ -3556,7 +3432,6 @@ public final class DaprClientProtos { } /** * repeated string to = 2; - * @return This builder for chaining. */ public Builder clearTo() { to_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -3566,8 +3441,6 @@ public final class DaprClientProtos { } /** * repeated string to = 2; - * @param value The bytes of the to to add. - * @return This builder for chaining. */ public Builder addToBytes( com.google.protobuf.ByteString value) { @@ -3824,7 +3697,6 @@ public final class DaprClientProtos { private java.lang.Object concurrency_ = ""; /** * string concurrency = 4; - * @return The concurrency. */ public java.lang.String getConcurrency() { java.lang.Object ref = concurrency_; @@ -3840,7 +3712,6 @@ public final class DaprClientProtos { } /** * string concurrency = 4; - * @return The bytes for concurrency. */ public com.google.protobuf.ByteString getConcurrencyBytes() { @@ -3857,8 +3728,6 @@ public final class DaprClientProtos { } /** * string concurrency = 4; - * @param value The concurrency to set. - * @return This builder for chaining. */ public Builder setConcurrency( java.lang.String value) { @@ -3872,7 +3741,6 @@ public final class DaprClientProtos { } /** * string concurrency = 4; - * @return This builder for chaining. */ public Builder clearConcurrency() { @@ -3882,8 +3750,6 @@ public final class DaprClientProtos { } /** * string concurrency = 4; - * @param value The bytes for concurrency to set. - * @return This builder for chaining. */ public Builder setConcurrencyBytes( com.google.protobuf.ByteString value) { @@ -3955,24 +3821,20 @@ public final class DaprClientProtos { /** * string method = 1; - * @return The method. */ java.lang.String getMethod(); /** * string method = 1; - * @return The bytes for method. */ com.google.protobuf.ByteString getMethodBytes(); /** * .google.protobuf.Any data = 2; - * @return Whether the data field is set. */ boolean hasData(); /** * .google.protobuf.Any data = 2; - * @return The data. */ com.google.protobuf.Any getData(); /** @@ -4141,7 +4003,6 @@ public final class DaprClientProtos { private volatile java.lang.Object method_; /** * string method = 1; - * @return The method. */ public java.lang.String getMethod() { java.lang.Object ref = method_; @@ -4157,7 +4018,6 @@ public final class DaprClientProtos { } /** * string method = 1; - * @return The bytes for method. */ public com.google.protobuf.ByteString getMethodBytes() { @@ -4177,14 +4037,12 @@ public final class DaprClientProtos { private com.google.protobuf.Any data_; /** * .google.protobuf.Any data = 2; - * @return Whether the data field is set. */ public boolean hasData() { return data_ != null; } /** * .google.protobuf.Any data = 2; - * @return The data. */ public com.google.protobuf.Any getData() { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; @@ -4658,7 +4516,6 @@ public final class DaprClientProtos { private java.lang.Object method_ = ""; /** * string method = 1; - * @return The method. */ public java.lang.String getMethod() { java.lang.Object ref = method_; @@ -4674,7 +4531,6 @@ public final class DaprClientProtos { } /** * string method = 1; - * @return The bytes for method. */ public com.google.protobuf.ByteString getMethodBytes() { @@ -4691,8 +4547,6 @@ public final class DaprClientProtos { } /** * string method = 1; - * @param value The method to set. - * @return This builder for chaining. */ public Builder setMethod( java.lang.String value) { @@ -4706,7 +4560,6 @@ public final class DaprClientProtos { } /** * string method = 1; - * @return This builder for chaining. */ public Builder clearMethod() { @@ -4716,8 +4569,6 @@ public final class DaprClientProtos { } /** * string method = 1; - * @param value The bytes for method to set. - * @return This builder for chaining. */ public Builder setMethodBytes( com.google.protobuf.ByteString value) { @@ -4736,14 +4587,12 @@ public final class DaprClientProtos { com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> dataBuilder_; /** * .google.protobuf.Any data = 2; - * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** * .google.protobuf.Any data = 2; - * @return The data. */ public com.google.protobuf.Any getData() { if (dataBuilder_ == null) { @@ -5031,25 +4880,19 @@ public final class DaprClientProtos { /** * repeated string topics = 1; - * @return A list containing the topics. */ java.util.List getTopicsList(); /** * repeated string topics = 1; - * @return The count of topics. */ int getTopicsCount(); /** * repeated string topics = 1; - * @param index The index of the element to return. - * @return The topics at the given index. */ java.lang.String getTopics(int index); /** * repeated string topics = 1; - * @param index The index of the value to return. - * @return The bytes of the topics at the given index. */ com.google.protobuf.ByteString getTopicsBytes(int index); @@ -5149,7 +4992,6 @@ public final class DaprClientProtos { private com.google.protobuf.LazyStringList topics_; /** * repeated string topics = 1; - * @return A list containing the topics. */ public com.google.protobuf.ProtocolStringList getTopicsList() { @@ -5157,23 +4999,18 @@ public final class DaprClientProtos { } /** * repeated string topics = 1; - * @return The count of topics. */ public int getTopicsCount() { return topics_.size(); } /** * repeated string topics = 1; - * @param index The index of the element to return. - * @return The topics at the given index. */ public java.lang.String getTopics(int index) { return topics_.get(index); } /** * repeated string topics = 1; - * @param index The index of the value to return. - * @return The bytes of the topics at the given index. */ public com.google.protobuf.ByteString getTopicsBytes(int index) { @@ -5510,7 +5347,6 @@ public final class DaprClientProtos { } /** * repeated string topics = 1; - * @return A list containing the topics. */ public com.google.protobuf.ProtocolStringList getTopicsList() { @@ -5518,23 +5354,18 @@ public final class DaprClientProtos { } /** * repeated string topics = 1; - * @return The count of topics. */ public int getTopicsCount() { return topics_.size(); } /** * repeated string topics = 1; - * @param index The index of the element to return. - * @return The topics at the given index. */ public java.lang.String getTopics(int index) { return topics_.get(index); } /** * repeated string topics = 1; - * @param index The index of the value to return. - * @return The bytes of the topics at the given index. */ public com.google.protobuf.ByteString getTopicsBytes(int index) { @@ -5542,9 +5373,6 @@ public final class DaprClientProtos { } /** * repeated string topics = 1; - * @param index The index to set the value at. - * @param value The topics to set. - * @return This builder for chaining. */ public Builder setTopics( int index, java.lang.String value) { @@ -5558,8 +5386,6 @@ public final class DaprClientProtos { } /** * repeated string topics = 1; - * @param value The topics to add. - * @return This builder for chaining. */ public Builder addTopics( java.lang.String value) { @@ -5573,8 +5399,6 @@ public final class DaprClientProtos { } /** * repeated string topics = 1; - * @param values The topics to add. - * @return This builder for chaining. */ public Builder addAllTopics( java.lang.Iterable values) { @@ -5586,7 +5410,6 @@ public final class DaprClientProtos { } /** * repeated string topics = 1; - * @return This builder for chaining. */ public Builder clearTopics() { topics_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -5596,8 +5419,6 @@ public final class DaprClientProtos { } /** * repeated string topics = 1; - * @param value The bytes of the topics to add. - * @return This builder for chaining. */ public Builder addTopicsBytes( com.google.protobuf.ByteString value) { @@ -5669,25 +5490,19 @@ public final class DaprClientProtos { /** * repeated string bindings = 1; - * @return A list containing the bindings. */ java.util.List getBindingsList(); /** * repeated string bindings = 1; - * @return The count of bindings. */ int getBindingsCount(); /** * repeated string bindings = 1; - * @param index The index of the element to return. - * @return The bindings at the given index. */ java.lang.String getBindings(int index); /** * repeated string bindings = 1; - * @param index The index of the value to return. - * @return The bytes of the bindings at the given index. */ com.google.protobuf.ByteString getBindingsBytes(int index); @@ -5787,7 +5602,6 @@ public final class DaprClientProtos { private com.google.protobuf.LazyStringList bindings_; /** * repeated string bindings = 1; - * @return A list containing the bindings. */ public com.google.protobuf.ProtocolStringList getBindingsList() { @@ -5795,23 +5609,18 @@ public final class DaprClientProtos { } /** * repeated string bindings = 1; - * @return The count of bindings. */ public int getBindingsCount() { return bindings_.size(); } /** * repeated string bindings = 1; - * @param index The index of the element to return. - * @return The bindings at the given index. */ public java.lang.String getBindings(int index) { return bindings_.get(index); } /** * repeated string bindings = 1; - * @param index The index of the value to return. - * @return The bytes of the bindings at the given index. */ public com.google.protobuf.ByteString getBindingsBytes(int index) { @@ -6148,7 +5957,6 @@ public final class DaprClientProtos { } /** * repeated string bindings = 1; - * @return A list containing the bindings. */ public com.google.protobuf.ProtocolStringList getBindingsList() { @@ -6156,23 +5964,18 @@ public final class DaprClientProtos { } /** * repeated string bindings = 1; - * @return The count of bindings. */ public int getBindingsCount() { return bindings_.size(); } /** * repeated string bindings = 1; - * @param index The index of the element to return. - * @return The bindings at the given index. */ public java.lang.String getBindings(int index) { return bindings_.get(index); } /** * repeated string bindings = 1; - * @param index The index of the value to return. - * @return The bytes of the bindings at the given index. */ public com.google.protobuf.ByteString getBindingsBytes(int index) { @@ -6180,9 +5983,6 @@ public final class DaprClientProtos { } /** * repeated string bindings = 1; - * @param index The index to set the value at. - * @param value The bindings to set. - * @return This builder for chaining. */ public Builder setBindings( int index, java.lang.String value) { @@ -6196,8 +5996,6 @@ public final class DaprClientProtos { } /** * repeated string bindings = 1; - * @param value The bindings to add. - * @return This builder for chaining. */ public Builder addBindings( java.lang.String value) { @@ -6211,8 +6009,6 @@ public final class DaprClientProtos { } /** * repeated string bindings = 1; - * @param values The bindings to add. - * @return This builder for chaining. */ public Builder addAllBindings( java.lang.Iterable values) { @@ -6224,7 +6020,6 @@ public final class DaprClientProtos { } /** * repeated string bindings = 1; - * @return This builder for chaining. */ public Builder clearBindings() { bindings_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -6234,8 +6029,6 @@ public final class DaprClientProtos { } /** * repeated string bindings = 1; - * @param value The bytes of the bindings to add. - * @return This builder for chaining. */ public Builder addBindingsBytes( com.google.protobuf.ByteString value) { @@ -6307,24 +6100,20 @@ public final class DaprClientProtos { /** * string key = 1; - * @return The key. */ java.lang.String getKey(); /** * string key = 1; - * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** * .google.protobuf.Any value = 2; - * @return Whether the value field is set. */ boolean hasValue(); /** * .google.protobuf.Any value = 2; - * @return The value. */ com.google.protobuf.Any getValue(); /** @@ -6334,12 +6123,10 @@ public final class DaprClientProtos { /** * string etag = 3; - * @return The etag. */ java.lang.String getEtag(); /** * string etag = 3; - * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); @@ -6380,12 +6167,10 @@ public final class DaprClientProtos { /** * .daprclient.StateOptions options = 5; - * @return Whether the options field is set. */ boolean hasOptions(); /** * .daprclient.StateOptions options = 5; - * @return The options. */ io.dapr.DaprClientProtos.StateOptions getOptions(); /** @@ -6540,7 +6325,6 @@ public final class DaprClientProtos { private volatile java.lang.Object key_; /** * string key = 1; - * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -6556,7 +6340,6 @@ public final class DaprClientProtos { } /** * string key = 1; - * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { @@ -6576,14 +6359,12 @@ public final class DaprClientProtos { private com.google.protobuf.Any value_; /** * .google.protobuf.Any value = 2; - * @return Whether the value field is set. */ public boolean hasValue() { return value_ != null; } /** * .google.protobuf.Any value = 2; - * @return The value. */ public com.google.protobuf.Any getValue() { return value_ == null ? com.google.protobuf.Any.getDefaultInstance() : value_; @@ -6599,7 +6380,6 @@ public final class DaprClientProtos { private volatile java.lang.Object etag_; /** * string etag = 3; - * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; @@ -6615,7 +6395,6 @@ public final class DaprClientProtos { } /** * string etag = 3; - * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { @@ -6711,14 +6490,12 @@ public final class DaprClientProtos { private io.dapr.DaprClientProtos.StateOptions options_; /** * .daprclient.StateOptions options = 5; - * @return Whether the options field is set. */ public boolean hasOptions() { return options_ != null; } /** * .daprclient.StateOptions options = 5; - * @return The options. */ public io.dapr.DaprClientProtos.StateOptions getOptions() { return options_ == null ? io.dapr.DaprClientProtos.StateOptions.getDefaultInstance() : options_; @@ -7163,7 +6940,6 @@ public final class DaprClientProtos { private java.lang.Object key_ = ""; /** * string key = 1; - * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -7179,7 +6955,6 @@ public final class DaprClientProtos { } /** * string key = 1; - * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { @@ -7196,8 +6971,6 @@ public final class DaprClientProtos { } /** * string key = 1; - * @param value The key to set. - * @return This builder for chaining. */ public Builder setKey( java.lang.String value) { @@ -7211,7 +6984,6 @@ public final class DaprClientProtos { } /** * string key = 1; - * @return This builder for chaining. */ public Builder clearKey() { @@ -7221,8 +6993,6 @@ public final class DaprClientProtos { } /** * string key = 1; - * @param value The bytes for key to set. - * @return This builder for chaining. */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { @@ -7241,14 +7011,12 @@ public final class DaprClientProtos { com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> valueBuilder_; /** * .google.protobuf.Any value = 2; - * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** * .google.protobuf.Any value = 2; - * @return The value. */ public com.google.protobuf.Any getValue() { if (valueBuilder_ == null) { @@ -7358,7 +7126,6 @@ public final class DaprClientProtos { private java.lang.Object etag_ = ""; /** * string etag = 3; - * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; @@ -7374,7 +7141,6 @@ public final class DaprClientProtos { } /** * string etag = 3; - * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { @@ -7391,8 +7157,6 @@ public final class DaprClientProtos { } /** * string etag = 3; - * @param value The etag to set. - * @return This builder for chaining. */ public Builder setEtag( java.lang.String value) { @@ -7406,7 +7170,6 @@ public final class DaprClientProtos { } /** * string etag = 3; - * @return This builder for chaining. */ public Builder clearEtag() { @@ -7416,8 +7179,6 @@ public final class DaprClientProtos { } /** * string etag = 3; - * @param value The bytes for etag to set. - * @return This builder for chaining. */ public Builder setEtagBytes( com.google.protobuf.ByteString value) { @@ -7559,14 +7320,12 @@ public final class DaprClientProtos { io.dapr.DaprClientProtos.StateOptions, io.dapr.DaprClientProtos.StateOptions.Builder, io.dapr.DaprClientProtos.StateOptionsOrBuilder> optionsBuilder_; /** * .daprclient.StateOptions options = 5; - * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** * .daprclient.StateOptions options = 5; - * @return The options. */ public io.dapr.DaprClientProtos.StateOptions getOptions() { if (optionsBuilder_ == null) { @@ -7731,36 +7490,30 @@ public final class DaprClientProtos { /** * string concurrency = 1; - * @return The concurrency. */ java.lang.String getConcurrency(); /** * string concurrency = 1; - * @return The bytes for concurrency. */ com.google.protobuf.ByteString getConcurrencyBytes(); /** * string consistency = 2; - * @return The consistency. */ java.lang.String getConsistency(); /** * string consistency = 2; - * @return The bytes for consistency. */ com.google.protobuf.ByteString getConsistencyBytes(); /** * .daprclient.RetryPolicy retryPolicy = 3; - * @return Whether the retryPolicy field is set. */ boolean hasRetryPolicy(); /** * .daprclient.RetryPolicy retryPolicy = 3; - * @return The retryPolicy. */ io.dapr.DaprClientProtos.RetryPolicy getRetryPolicy(); /** @@ -7876,7 +7629,6 @@ public final class DaprClientProtos { private volatile java.lang.Object concurrency_; /** * string concurrency = 1; - * @return The concurrency. */ public java.lang.String getConcurrency() { java.lang.Object ref = concurrency_; @@ -7892,7 +7644,6 @@ public final class DaprClientProtos { } /** * string concurrency = 1; - * @return The bytes for concurrency. */ public com.google.protobuf.ByteString getConcurrencyBytes() { @@ -7912,7 +7663,6 @@ public final class DaprClientProtos { private volatile java.lang.Object consistency_; /** * string consistency = 2; - * @return The consistency. */ public java.lang.String getConsistency() { java.lang.Object ref = consistency_; @@ -7928,7 +7678,6 @@ public final class DaprClientProtos { } /** * string consistency = 2; - * @return The bytes for consistency. */ public com.google.protobuf.ByteString getConsistencyBytes() { @@ -7948,14 +7697,12 @@ public final class DaprClientProtos { private io.dapr.DaprClientProtos.RetryPolicy retryPolicy_; /** * .daprclient.RetryPolicy retryPolicy = 3; - * @return Whether the retryPolicy field is set. */ public boolean hasRetryPolicy() { return retryPolicy_ != null; } /** * .daprclient.RetryPolicy retryPolicy = 3; - * @return The retryPolicy. */ public io.dapr.DaprClientProtos.RetryPolicy getRetryPolicy() { return retryPolicy_ == null ? io.dapr.DaprClientProtos.RetryPolicy.getDefaultInstance() : retryPolicy_; @@ -8319,7 +8066,6 @@ public final class DaprClientProtos { private java.lang.Object concurrency_ = ""; /** * string concurrency = 1; - * @return The concurrency. */ public java.lang.String getConcurrency() { java.lang.Object ref = concurrency_; @@ -8335,7 +8081,6 @@ public final class DaprClientProtos { } /** * string concurrency = 1; - * @return The bytes for concurrency. */ public com.google.protobuf.ByteString getConcurrencyBytes() { @@ -8352,8 +8097,6 @@ public final class DaprClientProtos { } /** * string concurrency = 1; - * @param value The concurrency to set. - * @return This builder for chaining. */ public Builder setConcurrency( java.lang.String value) { @@ -8367,7 +8110,6 @@ public final class DaprClientProtos { } /** * string concurrency = 1; - * @return This builder for chaining. */ public Builder clearConcurrency() { @@ -8377,8 +8119,6 @@ public final class DaprClientProtos { } /** * string concurrency = 1; - * @param value The bytes for concurrency to set. - * @return This builder for chaining. */ public Builder setConcurrencyBytes( com.google.protobuf.ByteString value) { @@ -8395,7 +8135,6 @@ public final class DaprClientProtos { private java.lang.Object consistency_ = ""; /** * string consistency = 2; - * @return The consistency. */ public java.lang.String getConsistency() { java.lang.Object ref = consistency_; @@ -8411,7 +8150,6 @@ public final class DaprClientProtos { } /** * string consistency = 2; - * @return The bytes for consistency. */ public com.google.protobuf.ByteString getConsistencyBytes() { @@ -8428,8 +8166,6 @@ public final class DaprClientProtos { } /** * string consistency = 2; - * @param value The consistency to set. - * @return This builder for chaining. */ public Builder setConsistency( java.lang.String value) { @@ -8443,7 +8179,6 @@ public final class DaprClientProtos { } /** * string consistency = 2; - * @return This builder for chaining. */ public Builder clearConsistency() { @@ -8453,8 +8188,6 @@ public final class DaprClientProtos { } /** * string consistency = 2; - * @param value The bytes for consistency to set. - * @return This builder for chaining. */ public Builder setConsistencyBytes( com.google.protobuf.ByteString value) { @@ -8473,14 +8206,12 @@ public final class DaprClientProtos { io.dapr.DaprClientProtos.RetryPolicy, io.dapr.DaprClientProtos.RetryPolicy.Builder, io.dapr.DaprClientProtos.RetryPolicyOrBuilder> retryPolicyBuilder_; /** * .daprclient.RetryPolicy retryPolicy = 3; - * @return Whether the retryPolicy field is set. */ public boolean hasRetryPolicy() { return retryPolicyBuilder_ != null || retryPolicy_ != null; } /** * .daprclient.RetryPolicy retryPolicy = 3; - * @return The retryPolicy. */ public io.dapr.DaprClientProtos.RetryPolicy getRetryPolicy() { if (retryPolicyBuilder_ == null) { @@ -8645,30 +8376,25 @@ public final class DaprClientProtos { /** * int32 threshold = 1; - * @return The threshold. */ int getThreshold(); /** * string pattern = 2; - * @return The pattern. */ java.lang.String getPattern(); /** * string pattern = 2; - * @return The bytes for pattern. */ com.google.protobuf.ByteString getPatternBytes(); /** * .google.protobuf.Duration interval = 3; - * @return Whether the interval field is set. */ boolean hasInterval(); /** * .google.protobuf.Duration interval = 3; - * @return The interval. */ com.google.protobuf.Duration getInterval(); /** @@ -8782,7 +8508,6 @@ public final class DaprClientProtos { private int threshold_; /** * int32 threshold = 1; - * @return The threshold. */ public int getThreshold() { return threshold_; @@ -8792,7 +8517,6 @@ public final class DaprClientProtos { private volatile java.lang.Object pattern_; /** * string pattern = 2; - * @return The pattern. */ public java.lang.String getPattern() { java.lang.Object ref = pattern_; @@ -8808,7 +8532,6 @@ public final class DaprClientProtos { } /** * string pattern = 2; - * @return The bytes for pattern. */ public com.google.protobuf.ByteString getPatternBytes() { @@ -8828,14 +8551,12 @@ public final class DaprClientProtos { private com.google.protobuf.Duration interval_; /** * .google.protobuf.Duration interval = 3; - * @return Whether the interval field is set. */ public boolean hasInterval() { return interval_ != null; } /** * .google.protobuf.Duration interval = 3; - * @return The interval. */ public com.google.protobuf.Duration getInterval() { return interval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : interval_; @@ -9199,15 +8920,12 @@ public final class DaprClientProtos { private int threshold_ ; /** * int32 threshold = 1; - * @return The threshold. */ public int getThreshold() { return threshold_; } /** * int32 threshold = 1; - * @param value The threshold to set. - * @return This builder for chaining. */ public Builder setThreshold(int value) { @@ -9217,7 +8935,6 @@ public final class DaprClientProtos { } /** * int32 threshold = 1; - * @return This builder for chaining. */ public Builder clearThreshold() { @@ -9229,7 +8946,6 @@ public final class DaprClientProtos { private java.lang.Object pattern_ = ""; /** * string pattern = 2; - * @return The pattern. */ public java.lang.String getPattern() { java.lang.Object ref = pattern_; @@ -9245,7 +8961,6 @@ public final class DaprClientProtos { } /** * string pattern = 2; - * @return The bytes for pattern. */ public com.google.protobuf.ByteString getPatternBytes() { @@ -9262,8 +8977,6 @@ public final class DaprClientProtos { } /** * string pattern = 2; - * @param value The pattern to set. - * @return This builder for chaining. */ public Builder setPattern( java.lang.String value) { @@ -9277,7 +8990,6 @@ public final class DaprClientProtos { } /** * string pattern = 2; - * @return This builder for chaining. */ public Builder clearPattern() { @@ -9287,8 +8999,6 @@ public final class DaprClientProtos { } /** * string pattern = 2; - * @param value The bytes for pattern to set. - * @return This builder for chaining. */ public Builder setPatternBytes( com.google.protobuf.ByteString value) { @@ -9307,14 +9017,12 @@ public final class DaprClientProtos { com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> intervalBuilder_; /** * .google.protobuf.Duration interval = 3; - * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** * .google.protobuf.Duration interval = 3; - * @return The interval. */ public com.google.protobuf.Duration getInterval() { if (intervalBuilder_ == null) { @@ -9542,51 +9250,51 @@ public final class DaprClientProtos { descriptor; static { java.lang.String[] descriptorData = { - "\n\033daprclient/daprclient.proto\022\ndaprclien" + - "t\032\031google/protobuf/any.proto\032\033google/pro" + - "tobuf/empty.proto\032\036google/protobuf/durat" + - "ion.proto\"\237\001\n\022CloudEventEnvelope\022\n\n\002id\030\001" + - " \001(\t\022\016\n\006source\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\022\023\n\013sp" + - "ecVersion\030\004 \001(\t\022\027\n\017dataContentType\030\005 \001(\t" + - "\022\r\n\005topic\030\006 \001(\t\022\"\n\004data\030\007 \001(\0132\024.google.p" + - "rotobuf.Any\"\273\001\n\024BindingEventEnvelope\022\014\n\004" + - "name\030\001 \001(\t\022\"\n\004data\030\002 \001(\0132\024.google.protob" + - "uf.Any\022@\n\010metadata\030\003 \003(\0132..daprclient.Bi" + - "ndingEventEnvelope.MetadataEntry\032/\n\rMeta" + - "dataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + - "\001\"\200\001\n\027BindingResponseEnvelope\022\"\n\004data\030\001 " + - "\001(\0132\024.google.protobuf.Any\022\n\n\002to\030\002 \003(\t\022 \n" + - "\005state\030\003 \003(\0132\021.daprclient.State\022\023\n\013concu" + - "rrency\030\004 \001(\t\"\261\001\n\016InvokeEnvelope\022\016\n\006metho" + - "d\030\001 \001(\t\022\"\n\004data\030\002 \001(\0132\024.google.protobuf." + - "Any\022:\n\010metadata\030\003 \003(\0132(.daprclient.Invok" + - "eEnvelope.MetadataEntry\032/\n\rMetadataEntry" + - "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"/\n\035GetT" + - "opicSubscriptionsEnvelope\022\016\n\006topics\030\001 \003(" + - "\t\"4\n GetBindingsSubscriptionsEnvelope\022\020\n" + - "\010bindings\030\001 \003(\t\"\326\001\n\005State\022\013\n\003key\030\001 \001(\t\022#" + - "\n\005value\030\002 \001(\0132\024.google.protobuf.Any\022\014\n\004e" + - "tag\030\003 \001(\t\0221\n\010metadata\030\004 \003(\0132\037.daprclient" + - ".State.MetadataEntry\022)\n\007options\030\005 \001(\0132\030." + - "daprclient.StateOptions\032/\n\rMetadataEntry" + - "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"f\n\014Stat" + - "eOptions\022\023\n\013concurrency\030\001 \001(\t\022\023\n\013consist" + - "ency\030\002 \001(\t\022,\n\013retryPolicy\030\003 \001(\0132\027.daprcl" + - "ient.RetryPolicy\"^\n\013RetryPolicy\022\021\n\tthres" + - "hold\030\001 \001(\005\022\017\n\007pattern\030\002 \001(\t\022+\n\010interval\030" + - "\003 \001(\0132\031.google.protobuf.Duration2\263\003\n\nDap" + - "rClient\022>\n\010OnInvoke\022\032.daprclient.InvokeE" + - "nvelope\032\024.google.protobuf.Any\"\000\022\\\n\025GetTo" + - "picSubscriptions\022\026.google.protobuf.Empty" + - "\032).daprclient.GetTopicSubscriptionsEnvel" + - "ope\"\000\022b\n\030GetBindingsSubscriptions\022\026.goog" + - "le.protobuf.Empty\032,.daprclient.GetBindin" + - "gsSubscriptionsEnvelope\"\000\022Y\n\016OnBindingEv" + - "ent\022 .daprclient.BindingEventEnvelope\032#." + - "daprclient.BindingResponseEnvelope\"\000\022H\n\014" + - "OnTopicEvent\022\036.daprclient.CloudEventEnve" + - "lope\032\026.google.protobuf.Empty\"\000B\033\n\007io.dap" + - "rB\020DaprClientProtosb\006proto3" + "\n\020daprclient.proto\022\ndaprclient\032\031google/p" + + "rotobuf/any.proto\032\033google/protobuf/empty" + + ".proto\032\036google/protobuf/duration.proto\"\237" + + "\001\n\022CloudEventEnvelope\022\n\n\002id\030\001 \001(\t\022\016\n\006sou" + + "rce\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\022\023\n\013specVersion\030\004" + + " \001(\t\022\027\n\017dataContentType\030\005 \001(\t\022\r\n\005topic\030\006" + + " \001(\t\022\"\n\004data\030\007 \001(\0132\024.google.protobuf.Any" + + "\"\273\001\n\024BindingEventEnvelope\022\014\n\004name\030\001 \001(\t\022" + + "\"\n\004data\030\002 \001(\0132\024.google.protobuf.Any\022@\n\010m" + + "etadata\030\003 \003(\0132..daprclient.BindingEventE" + + "nvelope.MetadataEntry\032/\n\rMetadataEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\200\001\n\027Bindi" + + "ngResponseEnvelope\022\"\n\004data\030\001 \001(\0132\024.googl" + + "e.protobuf.Any\022\n\n\002to\030\002 \003(\t\022 \n\005state\030\003 \003(" + + "\0132\021.daprclient.State\022\023\n\013concurrency\030\004 \001(" + + "\t\"\261\001\n\016InvokeEnvelope\022\016\n\006method\030\001 \001(\t\022\"\n\004" + + "data\030\002 \001(\0132\024.google.protobuf.Any\022:\n\010meta" + + "data\030\003 \003(\0132(.daprclient.InvokeEnvelope.M" + + "etadataEntry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"/\n\035GetTopicSubscri" + + "ptionsEnvelope\022\016\n\006topics\030\001 \003(\t\"4\n GetBin" + + "dingsSubscriptionsEnvelope\022\020\n\010bindings\030\001" + + " \003(\t\"\326\001\n\005State\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001" + + "(\0132\024.google.protobuf.Any\022\014\n\004etag\030\003 \001(\t\0221" + + "\n\010metadata\030\004 \003(\0132\037.daprclient.State.Meta" + + "dataEntry\022)\n\007options\030\005 \001(\0132\030.daprclient." + + "StateOptions\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"f\n\014StateOptions\022\023\n" + + "\013concurrency\030\001 \001(\t\022\023\n\013consistency\030\002 \001(\t\022" + + ",\n\013retryPolicy\030\003 \001(\0132\027.daprclient.RetryP" + + "olicy\"^\n\013RetryPolicy\022\021\n\tthreshold\030\001 \001(\005\022" + + "\017\n\007pattern\030\002 \001(\t\022+\n\010interval\030\003 \001(\0132\031.goo" + + "gle.protobuf.Duration2\263\003\n\nDaprClient\022>\n\010" + + "OnInvoke\022\032.daprclient.InvokeEnvelope\032\024.g" + + "oogle.protobuf.Any\"\000\022\\\n\025GetTopicSubscrip" + + "tions\022\026.google.protobuf.Empty\032).daprclie" + + "nt.GetTopicSubscriptionsEnvelope\"\000\022b\n\030Ge" + + "tBindingsSubscriptions\022\026.google.protobuf" + + ".Empty\032,.daprclient.GetBindingsSubscript" + + "ionsEnvelope\"\000\022Y\n\016OnBindingEvent\022 .daprc" + + "lient.BindingEventEnvelope\032#.daprclient." + + "BindingResponseEnvelope\"\000\022H\n\014OnTopicEven" + + "t\022\036.daprclient.CloudEventEnvelope\032\026.goog" + + "le.protobuf.Empty\"\000B\033\n\007io.daprB\020DaprClie" + + "ntProtosb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/src/main/java/io/dapr/DaprGrpc.java b/client/src/main/java/io/dapr/DaprGrpc.java similarity index 100% rename from src/main/java/io/dapr/DaprGrpc.java rename to client/src/main/java/io/dapr/DaprGrpc.java diff --git a/src/main/java/io/dapr/DaprProtos.java b/client/src/main/java/io/dapr/DaprProtos.java similarity index 96% rename from src/main/java/io/dapr/DaprProtos.java rename to client/src/main/java/io/dapr/DaprProtos.java index 640ee1afb..802d89314 100644 --- a/src/main/java/io/dapr/DaprProtos.java +++ b/client/src/main/java/io/dapr/DaprProtos.java @@ -1,5 +1,5 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: dapr/dapr.proto +// source: dapr.proto package io.dapr; @@ -20,12 +20,10 @@ public final class DaprProtos { /** * .google.protobuf.Any data = 1; - * @return Whether the data field is set. */ boolean hasData(); /** * .google.protobuf.Any data = 1; - * @return The data. */ com.google.protobuf.Any getData(); /** @@ -187,14 +185,12 @@ public final class DaprProtos { private com.google.protobuf.Any data_; /** * .google.protobuf.Any data = 1; - * @return Whether the data field is set. */ public boolean hasData() { return data_ != null; } /** * .google.protobuf.Any data = 1; - * @return The data. */ public com.google.protobuf.Any getData() { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; @@ -653,14 +649,12 @@ public final class DaprProtos { com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> dataBuilder_; /** * .google.protobuf.Any data = 1; - * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** * .google.protobuf.Any data = 1; - * @return The data. */ public com.google.protobuf.Any getData() { if (dataBuilder_ == null) { @@ -948,36 +942,30 @@ public final class DaprProtos { /** * string key = 1; - * @return The key. */ java.lang.String getKey(); /** * string key = 1; - * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** * string etag = 2; - * @return The etag. */ java.lang.String getEtag(); /** * string etag = 2; - * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); /** * .dapr.StateOptions options = 3; - * @return Whether the options field is set. */ boolean hasOptions(); /** * .dapr.StateOptions options = 3; - * @return The options. */ io.dapr.DaprProtos.StateOptions getOptions(); /** @@ -1093,7 +1081,6 @@ public final class DaprProtos { private volatile java.lang.Object key_; /** * string key = 1; - * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -1109,7 +1096,6 @@ public final class DaprProtos { } /** * string key = 1; - * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { @@ -1129,7 +1115,6 @@ public final class DaprProtos { private volatile java.lang.Object etag_; /** * string etag = 2; - * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; @@ -1145,7 +1130,6 @@ public final class DaprProtos { } /** * string etag = 2; - * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { @@ -1165,14 +1149,12 @@ public final class DaprProtos { private io.dapr.DaprProtos.StateOptions options_; /** * .dapr.StateOptions options = 3; - * @return Whether the options field is set. */ public boolean hasOptions() { return options_ != null; } /** * .dapr.StateOptions options = 3; - * @return The options. */ public io.dapr.DaprProtos.StateOptions getOptions() { return options_ == null ? io.dapr.DaprProtos.StateOptions.getDefaultInstance() : options_; @@ -1536,7 +1518,6 @@ public final class DaprProtos { private java.lang.Object key_ = ""; /** * string key = 1; - * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -1552,7 +1533,6 @@ public final class DaprProtos { } /** * string key = 1; - * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { @@ -1569,8 +1549,6 @@ public final class DaprProtos { } /** * string key = 1; - * @param value The key to set. - * @return This builder for chaining. */ public Builder setKey( java.lang.String value) { @@ -1584,7 +1562,6 @@ public final class DaprProtos { } /** * string key = 1; - * @return This builder for chaining. */ public Builder clearKey() { @@ -1594,8 +1571,6 @@ public final class DaprProtos { } /** * string key = 1; - * @param value The bytes for key to set. - * @return This builder for chaining. */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { @@ -1612,7 +1587,6 @@ public final class DaprProtos { private java.lang.Object etag_ = ""; /** * string etag = 2; - * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; @@ -1628,7 +1602,6 @@ public final class DaprProtos { } /** * string etag = 2; - * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { @@ -1645,8 +1618,6 @@ public final class DaprProtos { } /** * string etag = 2; - * @param value The etag to set. - * @return This builder for chaining. */ public Builder setEtag( java.lang.String value) { @@ -1660,7 +1631,6 @@ public final class DaprProtos { } /** * string etag = 2; - * @return This builder for chaining. */ public Builder clearEtag() { @@ -1670,8 +1640,6 @@ public final class DaprProtos { } /** * string etag = 2; - * @param value The bytes for etag to set. - * @return This builder for chaining. */ public Builder setEtagBytes( com.google.protobuf.ByteString value) { @@ -1690,14 +1658,12 @@ public final class DaprProtos { io.dapr.DaprProtos.StateOptions, io.dapr.DaprProtos.StateOptions.Builder, io.dapr.DaprProtos.StateOptionsOrBuilder> optionsBuilder_; /** * .dapr.StateOptions options = 3; - * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** * .dapr.StateOptions options = 3; - * @return The options. */ public io.dapr.DaprProtos.StateOptions getOptions() { if (optionsBuilder_ == null) { @@ -2650,24 +2616,20 @@ public final class DaprProtos { /** * string key = 1; - * @return The key. */ java.lang.String getKey(); /** * string key = 1; - * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** * string consistency = 2; - * @return The consistency. */ java.lang.String getConsistency(); /** * string consistency = 2; - * @return The bytes for consistency. */ com.google.protobuf.ByteString getConsistencyBytes(); @@ -2767,7 +2729,6 @@ public final class DaprProtos { private volatile java.lang.Object key_; /** * string key = 1; - * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -2783,7 +2744,6 @@ public final class DaprProtos { } /** * string key = 1; - * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { @@ -2803,7 +2763,6 @@ public final class DaprProtos { private volatile java.lang.Object consistency_; /** * string consistency = 2; - * @return The consistency. */ public java.lang.String getConsistency() { java.lang.Object ref = consistency_; @@ -2819,7 +2778,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @return The bytes for consistency. */ public com.google.protobuf.ByteString getConsistencyBytes() { @@ -3157,7 +3115,6 @@ public final class DaprProtos { private java.lang.Object key_ = ""; /** * string key = 1; - * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -3173,7 +3130,6 @@ public final class DaprProtos { } /** * string key = 1; - * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { @@ -3190,8 +3146,6 @@ public final class DaprProtos { } /** * string key = 1; - * @param value The key to set. - * @return This builder for chaining. */ public Builder setKey( java.lang.String value) { @@ -3205,7 +3159,6 @@ public final class DaprProtos { } /** * string key = 1; - * @return This builder for chaining. */ public Builder clearKey() { @@ -3215,8 +3168,6 @@ public final class DaprProtos { } /** * string key = 1; - * @param value The bytes for key to set. - * @return This builder for chaining. */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { @@ -3233,7 +3184,6 @@ public final class DaprProtos { private java.lang.Object consistency_ = ""; /** * string consistency = 2; - * @return The consistency. */ public java.lang.String getConsistency() { java.lang.Object ref = consistency_; @@ -3249,7 +3199,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @return The bytes for consistency. */ public com.google.protobuf.ByteString getConsistencyBytes() { @@ -3266,8 +3215,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @param value The consistency to set. - * @return This builder for chaining. */ public Builder setConsistency( java.lang.String value) { @@ -3281,7 +3228,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @return This builder for chaining. */ public Builder clearConsistency() { @@ -3291,8 +3237,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @param value The bytes for consistency to set. - * @return This builder for chaining. */ public Builder setConsistencyBytes( com.google.protobuf.ByteString value) { @@ -3364,12 +3308,10 @@ public final class DaprProtos { /** * .google.protobuf.Any data = 1; - * @return Whether the data field is set. */ boolean hasData(); /** * .google.protobuf.Any data = 1; - * @return The data. */ com.google.protobuf.Any getData(); /** @@ -3379,12 +3321,10 @@ public final class DaprProtos { /** * string etag = 2; - * @return The etag. */ java.lang.String getEtag(); /** * string etag = 2; - * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); @@ -3490,14 +3430,12 @@ public final class DaprProtos { private com.google.protobuf.Any data_; /** * .google.protobuf.Any data = 1; - * @return Whether the data field is set. */ public boolean hasData() { return data_ != null; } /** * .google.protobuf.Any data = 1; - * @return The data. */ public com.google.protobuf.Any getData() { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; @@ -3513,7 +3451,6 @@ public final class DaprProtos { private volatile java.lang.Object etag_; /** * string etag = 2; - * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; @@ -3529,7 +3466,6 @@ public final class DaprProtos { } /** * string etag = 2; - * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { @@ -3882,14 +3818,12 @@ public final class DaprProtos { com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> dataBuilder_; /** * .google.protobuf.Any data = 1; - * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** * .google.protobuf.Any data = 1; - * @return The data. */ public com.google.protobuf.Any getData() { if (dataBuilder_ == null) { @@ -3999,7 +3933,6 @@ public final class DaprProtos { private java.lang.Object etag_ = ""; /** * string etag = 2; - * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; @@ -4015,7 +3948,6 @@ public final class DaprProtos { } /** * string etag = 2; - * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { @@ -4032,8 +3964,6 @@ public final class DaprProtos { } /** * string etag = 2; - * @param value The etag to set. - * @return This builder for chaining. */ public Builder setEtag( java.lang.String value) { @@ -4047,7 +3977,6 @@ public final class DaprProtos { } /** * string etag = 2; - * @return This builder for chaining. */ public Builder clearEtag() { @@ -4057,8 +3986,6 @@ public final class DaprProtos { } /** * string etag = 2; - * @param value The bytes for etag to set. - * @return This builder for chaining. */ public Builder setEtagBytes( com.google.protobuf.ByteString value) { @@ -4130,24 +4057,20 @@ public final class DaprProtos { /** * string name = 1; - * @return The name. */ java.lang.String getName(); /** * string name = 1; - * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * .google.protobuf.Any data = 2; - * @return Whether the data field is set. */ boolean hasData(); /** * .google.protobuf.Any data = 2; - * @return The data. */ com.google.protobuf.Any getData(); /** @@ -4316,7 +4239,6 @@ public final class DaprProtos { private volatile java.lang.Object name_; /** * string name = 1; - * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -4332,7 +4254,6 @@ public final class DaprProtos { } /** * string name = 1; - * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -4352,14 +4273,12 @@ public final class DaprProtos { private com.google.protobuf.Any data_; /** * .google.protobuf.Any data = 2; - * @return Whether the data field is set. */ public boolean hasData() { return data_ != null; } /** * .google.protobuf.Any data = 2; - * @return The data. */ public com.google.protobuf.Any getData() { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; @@ -4833,7 +4752,6 @@ public final class DaprProtos { private java.lang.Object name_ = ""; /** * string name = 1; - * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -4849,7 +4767,6 @@ public final class DaprProtos { } /** * string name = 1; - * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { @@ -4866,8 +4783,6 @@ public final class DaprProtos { } /** * string name = 1; - * @param value The name to set. - * @return This builder for chaining. */ public Builder setName( java.lang.String value) { @@ -4881,7 +4796,6 @@ public final class DaprProtos { } /** * string name = 1; - * @return This builder for chaining. */ public Builder clearName() { @@ -4891,8 +4805,6 @@ public final class DaprProtos { } /** * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { @@ -4911,14 +4823,12 @@ public final class DaprProtos { com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> dataBuilder_; /** * .google.protobuf.Any data = 2; - * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** * .google.protobuf.Any data = 2; - * @return The data. */ public com.google.protobuf.Any getData() { if (dataBuilder_ == null) { @@ -5206,36 +5116,30 @@ public final class DaprProtos { /** * string id = 1; - * @return The id. */ java.lang.String getId(); /** * string id = 1; - * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** * string method = 2; - * @return The method. */ java.lang.String getMethod(); /** * string method = 2; - * @return The bytes for method. */ com.google.protobuf.ByteString getMethodBytes(); /** * .google.protobuf.Any data = 3; - * @return Whether the data field is set. */ boolean hasData(); /** * .google.protobuf.Any data = 3; - * @return The data. */ com.google.protobuf.Any getData(); /** @@ -5411,7 +5315,6 @@ public final class DaprProtos { private volatile java.lang.Object id_; /** * string id = 1; - * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; @@ -5427,7 +5330,6 @@ public final class DaprProtos { } /** * string id = 1; - * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { @@ -5447,7 +5349,6 @@ public final class DaprProtos { private volatile java.lang.Object method_; /** * string method = 2; - * @return The method. */ public java.lang.String getMethod() { java.lang.Object ref = method_; @@ -5463,7 +5364,6 @@ public final class DaprProtos { } /** * string method = 2; - * @return The bytes for method. */ public com.google.protobuf.ByteString getMethodBytes() { @@ -5483,14 +5383,12 @@ public final class DaprProtos { private com.google.protobuf.Any data_; /** * .google.protobuf.Any data = 3; - * @return Whether the data field is set. */ public boolean hasData() { return data_ != null; } /** * .google.protobuf.Any data = 3; - * @return The data. */ public com.google.protobuf.Any getData() { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; @@ -5981,7 +5879,6 @@ public final class DaprProtos { private java.lang.Object id_ = ""; /** * string id = 1; - * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; @@ -5997,7 +5894,6 @@ public final class DaprProtos { } /** * string id = 1; - * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { @@ -6014,8 +5910,6 @@ public final class DaprProtos { } /** * string id = 1; - * @param value The id to set. - * @return This builder for chaining. */ public Builder setId( java.lang.String value) { @@ -6029,7 +5923,6 @@ public final class DaprProtos { } /** * string id = 1; - * @return This builder for chaining. */ public Builder clearId() { @@ -6039,8 +5932,6 @@ public final class DaprProtos { } /** * string id = 1; - * @param value The bytes for id to set. - * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { @@ -6057,7 +5948,6 @@ public final class DaprProtos { private java.lang.Object method_ = ""; /** * string method = 2; - * @return The method. */ public java.lang.String getMethod() { java.lang.Object ref = method_; @@ -6073,7 +5963,6 @@ public final class DaprProtos { } /** * string method = 2; - * @return The bytes for method. */ public com.google.protobuf.ByteString getMethodBytes() { @@ -6090,8 +5979,6 @@ public final class DaprProtos { } /** * string method = 2; - * @param value The method to set. - * @return This builder for chaining. */ public Builder setMethod( java.lang.String value) { @@ -6105,7 +5992,6 @@ public final class DaprProtos { } /** * string method = 2; - * @return This builder for chaining. */ public Builder clearMethod() { @@ -6115,8 +6001,6 @@ public final class DaprProtos { } /** * string method = 2; - * @param value The bytes for method to set. - * @return This builder for chaining. */ public Builder setMethodBytes( com.google.protobuf.ByteString value) { @@ -6135,14 +6019,12 @@ public final class DaprProtos { com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> dataBuilder_; /** * .google.protobuf.Any data = 3; - * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** * .google.protobuf.Any data = 3; - * @return The data. */ public com.google.protobuf.Any getData() { if (dataBuilder_ == null) { @@ -6430,24 +6312,20 @@ public final class DaprProtos { /** * string topic = 1; - * @return The topic. */ java.lang.String getTopic(); /** * string topic = 1; - * @return The bytes for topic. */ com.google.protobuf.ByteString getTopicBytes(); /** * .google.protobuf.Any data = 2; - * @return Whether the data field is set. */ boolean hasData(); /** * .google.protobuf.Any data = 2; - * @return The data. */ com.google.protobuf.Any getData(); /** @@ -6556,7 +6434,6 @@ public final class DaprProtos { private volatile java.lang.Object topic_; /** * string topic = 1; - * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; @@ -6572,7 +6449,6 @@ public final class DaprProtos { } /** * string topic = 1; - * @return The bytes for topic. */ public com.google.protobuf.ByteString getTopicBytes() { @@ -6592,14 +6468,12 @@ public final class DaprProtos { private com.google.protobuf.Any data_; /** * .google.protobuf.Any data = 2; - * @return Whether the data field is set. */ public boolean hasData() { return data_ != null; } /** * .google.protobuf.Any data = 2; - * @return The data. */ public com.google.protobuf.Any getData() { return data_ == null ? com.google.protobuf.Any.getDefaultInstance() : data_; @@ -6946,7 +6820,6 @@ public final class DaprProtos { private java.lang.Object topic_ = ""; /** * string topic = 1; - * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; @@ -6962,7 +6835,6 @@ public final class DaprProtos { } /** * string topic = 1; - * @return The bytes for topic. */ public com.google.protobuf.ByteString getTopicBytes() { @@ -6979,8 +6851,6 @@ public final class DaprProtos { } /** * string topic = 1; - * @param value The topic to set. - * @return This builder for chaining. */ public Builder setTopic( java.lang.String value) { @@ -6994,7 +6864,6 @@ public final class DaprProtos { } /** * string topic = 1; - * @return This builder for chaining. */ public Builder clearTopic() { @@ -7004,8 +6873,6 @@ public final class DaprProtos { } /** * string topic = 1; - * @param value The bytes for topic to set. - * @return This builder for chaining. */ public Builder setTopicBytes( com.google.protobuf.ByteString value) { @@ -7024,14 +6891,12 @@ public final class DaprProtos { com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> dataBuilder_; /** * .google.protobuf.Any data = 2; - * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** * .google.protobuf.Any data = 2; - * @return The data. */ public com.google.protobuf.Any getData() { if (dataBuilder_ == null) { @@ -7196,24 +7061,20 @@ public final class DaprProtos { /** * string key = 1; - * @return The key. */ java.lang.String getKey(); /** * string key = 1; - * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** * .google.protobuf.Any value = 2; - * @return Whether the value field is set. */ boolean hasValue(); /** * .google.protobuf.Any value = 2; - * @return The value. */ com.google.protobuf.Any getValue(); /** @@ -7223,12 +7084,10 @@ public final class DaprProtos { /** * string etag = 3; - * @return The etag. */ java.lang.String getEtag(); /** * string etag = 3; - * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); @@ -7269,12 +7128,10 @@ public final class DaprProtos { /** * .dapr.StateOptions options = 5; - * @return Whether the options field is set. */ boolean hasOptions(); /** * .dapr.StateOptions options = 5; - * @return The options. */ io.dapr.DaprProtos.StateOptions getOptions(); /** @@ -7429,7 +7286,6 @@ public final class DaprProtos { private volatile java.lang.Object key_; /** * string key = 1; - * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -7445,7 +7301,6 @@ public final class DaprProtos { } /** * string key = 1; - * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { @@ -7465,14 +7320,12 @@ public final class DaprProtos { private com.google.protobuf.Any value_; /** * .google.protobuf.Any value = 2; - * @return Whether the value field is set. */ public boolean hasValue() { return value_ != null; } /** * .google.protobuf.Any value = 2; - * @return The value. */ public com.google.protobuf.Any getValue() { return value_ == null ? com.google.protobuf.Any.getDefaultInstance() : value_; @@ -7488,7 +7341,6 @@ public final class DaprProtos { private volatile java.lang.Object etag_; /** * string etag = 3; - * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; @@ -7504,7 +7356,6 @@ public final class DaprProtos { } /** * string etag = 3; - * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { @@ -7600,14 +7451,12 @@ public final class DaprProtos { private io.dapr.DaprProtos.StateOptions options_; /** * .dapr.StateOptions options = 5; - * @return Whether the options field is set. */ public boolean hasOptions() { return options_ != null; } /** * .dapr.StateOptions options = 5; - * @return The options. */ public io.dapr.DaprProtos.StateOptions getOptions() { return options_ == null ? io.dapr.DaprProtos.StateOptions.getDefaultInstance() : options_; @@ -8052,7 +7901,6 @@ public final class DaprProtos { private java.lang.Object key_ = ""; /** * string key = 1; - * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -8068,7 +7916,6 @@ public final class DaprProtos { } /** * string key = 1; - * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { @@ -8085,8 +7932,6 @@ public final class DaprProtos { } /** * string key = 1; - * @param value The key to set. - * @return This builder for chaining. */ public Builder setKey( java.lang.String value) { @@ -8100,7 +7945,6 @@ public final class DaprProtos { } /** * string key = 1; - * @return This builder for chaining. */ public Builder clearKey() { @@ -8110,8 +7954,6 @@ public final class DaprProtos { } /** * string key = 1; - * @param value The bytes for key to set. - * @return This builder for chaining. */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { @@ -8130,14 +7972,12 @@ public final class DaprProtos { com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> valueBuilder_; /** * .google.protobuf.Any value = 2; - * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** * .google.protobuf.Any value = 2; - * @return The value. */ public com.google.protobuf.Any getValue() { if (valueBuilder_ == null) { @@ -8247,7 +8087,6 @@ public final class DaprProtos { private java.lang.Object etag_ = ""; /** * string etag = 3; - * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; @@ -8263,7 +8102,6 @@ public final class DaprProtos { } /** * string etag = 3; - * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { @@ -8280,8 +8118,6 @@ public final class DaprProtos { } /** * string etag = 3; - * @param value The etag to set. - * @return This builder for chaining. */ public Builder setEtag( java.lang.String value) { @@ -8295,7 +8131,6 @@ public final class DaprProtos { } /** * string etag = 3; - * @return This builder for chaining. */ public Builder clearEtag() { @@ -8305,8 +8140,6 @@ public final class DaprProtos { } /** * string etag = 3; - * @param value The bytes for etag to set. - * @return This builder for chaining. */ public Builder setEtagBytes( com.google.protobuf.ByteString value) { @@ -8448,14 +8281,12 @@ public final class DaprProtos { io.dapr.DaprProtos.StateOptions, io.dapr.DaprProtos.StateOptions.Builder, io.dapr.DaprProtos.StateOptionsOrBuilder> optionsBuilder_; /** * .dapr.StateOptions options = 5; - * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** * .dapr.StateOptions options = 5; - * @return The options. */ public io.dapr.DaprProtos.StateOptions getOptions() { if (optionsBuilder_ == null) { @@ -8620,36 +8451,30 @@ public final class DaprProtos { /** * string concurrency = 1; - * @return The concurrency. */ java.lang.String getConcurrency(); /** * string concurrency = 1; - * @return The bytes for concurrency. */ com.google.protobuf.ByteString getConcurrencyBytes(); /** * string consistency = 2; - * @return The consistency. */ java.lang.String getConsistency(); /** * string consistency = 2; - * @return The bytes for consistency. */ com.google.protobuf.ByteString getConsistencyBytes(); /** * .dapr.RetryPolicy retryPolicy = 3; - * @return Whether the retryPolicy field is set. */ boolean hasRetryPolicy(); /** * .dapr.RetryPolicy retryPolicy = 3; - * @return The retryPolicy. */ io.dapr.DaprProtos.RetryPolicy getRetryPolicy(); /** @@ -8765,7 +8590,6 @@ public final class DaprProtos { private volatile java.lang.Object concurrency_; /** * string concurrency = 1; - * @return The concurrency. */ public java.lang.String getConcurrency() { java.lang.Object ref = concurrency_; @@ -8781,7 +8605,6 @@ public final class DaprProtos { } /** * string concurrency = 1; - * @return The bytes for concurrency. */ public com.google.protobuf.ByteString getConcurrencyBytes() { @@ -8801,7 +8624,6 @@ public final class DaprProtos { private volatile java.lang.Object consistency_; /** * string consistency = 2; - * @return The consistency. */ public java.lang.String getConsistency() { java.lang.Object ref = consistency_; @@ -8817,7 +8639,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @return The bytes for consistency. */ public com.google.protobuf.ByteString getConsistencyBytes() { @@ -8837,14 +8658,12 @@ public final class DaprProtos { private io.dapr.DaprProtos.RetryPolicy retryPolicy_; /** * .dapr.RetryPolicy retryPolicy = 3; - * @return Whether the retryPolicy field is set. */ public boolean hasRetryPolicy() { return retryPolicy_ != null; } /** * .dapr.RetryPolicy retryPolicy = 3; - * @return The retryPolicy. */ public io.dapr.DaprProtos.RetryPolicy getRetryPolicy() { return retryPolicy_ == null ? io.dapr.DaprProtos.RetryPolicy.getDefaultInstance() : retryPolicy_; @@ -9208,7 +9027,6 @@ public final class DaprProtos { private java.lang.Object concurrency_ = ""; /** * string concurrency = 1; - * @return The concurrency. */ public java.lang.String getConcurrency() { java.lang.Object ref = concurrency_; @@ -9224,7 +9042,6 @@ public final class DaprProtos { } /** * string concurrency = 1; - * @return The bytes for concurrency. */ public com.google.protobuf.ByteString getConcurrencyBytes() { @@ -9241,8 +9058,6 @@ public final class DaprProtos { } /** * string concurrency = 1; - * @param value The concurrency to set. - * @return This builder for chaining. */ public Builder setConcurrency( java.lang.String value) { @@ -9256,7 +9071,6 @@ public final class DaprProtos { } /** * string concurrency = 1; - * @return This builder for chaining. */ public Builder clearConcurrency() { @@ -9266,8 +9080,6 @@ public final class DaprProtos { } /** * string concurrency = 1; - * @param value The bytes for concurrency to set. - * @return This builder for chaining. */ public Builder setConcurrencyBytes( com.google.protobuf.ByteString value) { @@ -9284,7 +9096,6 @@ public final class DaprProtos { private java.lang.Object consistency_ = ""; /** * string consistency = 2; - * @return The consistency. */ public java.lang.String getConsistency() { java.lang.Object ref = consistency_; @@ -9300,7 +9111,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @return The bytes for consistency. */ public com.google.protobuf.ByteString getConsistencyBytes() { @@ -9317,8 +9127,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @param value The consistency to set. - * @return This builder for chaining. */ public Builder setConsistency( java.lang.String value) { @@ -9332,7 +9140,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @return This builder for chaining. */ public Builder clearConsistency() { @@ -9342,8 +9149,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @param value The bytes for consistency to set. - * @return This builder for chaining. */ public Builder setConsistencyBytes( com.google.protobuf.ByteString value) { @@ -9362,14 +9167,12 @@ public final class DaprProtos { io.dapr.DaprProtos.RetryPolicy, io.dapr.DaprProtos.RetryPolicy.Builder, io.dapr.DaprProtos.RetryPolicyOrBuilder> retryPolicyBuilder_; /** * .dapr.RetryPolicy retryPolicy = 3; - * @return Whether the retryPolicy field is set. */ public boolean hasRetryPolicy() { return retryPolicyBuilder_ != null || retryPolicy_ != null; } /** * .dapr.RetryPolicy retryPolicy = 3; - * @return The retryPolicy. */ public io.dapr.DaprProtos.RetryPolicy getRetryPolicy() { if (retryPolicyBuilder_ == null) { @@ -9534,30 +9337,25 @@ public final class DaprProtos { /** * int32 threshold = 1; - * @return The threshold. */ int getThreshold(); /** * string pattern = 2; - * @return The pattern. */ java.lang.String getPattern(); /** * string pattern = 2; - * @return The bytes for pattern. */ com.google.protobuf.ByteString getPatternBytes(); /** * .google.protobuf.Duration interval = 3; - * @return Whether the interval field is set. */ boolean hasInterval(); /** * .google.protobuf.Duration interval = 3; - * @return The interval. */ com.google.protobuf.Duration getInterval(); /** @@ -9671,7 +9469,6 @@ public final class DaprProtos { private int threshold_; /** * int32 threshold = 1; - * @return The threshold. */ public int getThreshold() { return threshold_; @@ -9681,7 +9478,6 @@ public final class DaprProtos { private volatile java.lang.Object pattern_; /** * string pattern = 2; - * @return The pattern. */ public java.lang.String getPattern() { java.lang.Object ref = pattern_; @@ -9697,7 +9493,6 @@ public final class DaprProtos { } /** * string pattern = 2; - * @return The bytes for pattern. */ public com.google.protobuf.ByteString getPatternBytes() { @@ -9717,14 +9512,12 @@ public final class DaprProtos { private com.google.protobuf.Duration interval_; /** * .google.protobuf.Duration interval = 3; - * @return Whether the interval field is set. */ public boolean hasInterval() { return interval_ != null; } /** * .google.protobuf.Duration interval = 3; - * @return The interval. */ public com.google.protobuf.Duration getInterval() { return interval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : interval_; @@ -10088,15 +9881,12 @@ public final class DaprProtos { private int threshold_ ; /** * int32 threshold = 1; - * @return The threshold. */ public int getThreshold() { return threshold_; } /** * int32 threshold = 1; - * @param value The threshold to set. - * @return This builder for chaining. */ public Builder setThreshold(int value) { @@ -10106,7 +9896,6 @@ public final class DaprProtos { } /** * int32 threshold = 1; - * @return This builder for chaining. */ public Builder clearThreshold() { @@ -10118,7 +9907,6 @@ public final class DaprProtos { private java.lang.Object pattern_ = ""; /** * string pattern = 2; - * @return The pattern. */ public java.lang.String getPattern() { java.lang.Object ref = pattern_; @@ -10134,7 +9922,6 @@ public final class DaprProtos { } /** * string pattern = 2; - * @return The bytes for pattern. */ public com.google.protobuf.ByteString getPatternBytes() { @@ -10151,8 +9938,6 @@ public final class DaprProtos { } /** * string pattern = 2; - * @param value The pattern to set. - * @return This builder for chaining. */ public Builder setPattern( java.lang.String value) { @@ -10166,7 +9951,6 @@ public final class DaprProtos { } /** * string pattern = 2; - * @return This builder for chaining. */ public Builder clearPattern() { @@ -10176,8 +9960,6 @@ public final class DaprProtos { } /** * string pattern = 2; - * @param value The bytes for pattern to set. - * @return This builder for chaining. */ public Builder setPatternBytes( com.google.protobuf.ByteString value) { @@ -10196,14 +9978,12 @@ public final class DaprProtos { com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> intervalBuilder_; /** * .google.protobuf.Duration interval = 3; - * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** * .google.protobuf.Duration interval = 3; - * @return The interval. */ public com.google.protobuf.Duration getInterval() { if (intervalBuilder_ == null) { @@ -10368,24 +10148,20 @@ public final class DaprProtos { /** * string key = 1; - * @return The key. */ java.lang.String getKey(); /** * string key = 1; - * @return The bytes for key. */ com.google.protobuf.ByteString getKeyBytes(); /** * .google.protobuf.Any value = 2; - * @return Whether the value field is set. */ boolean hasValue(); /** * .google.protobuf.Any value = 2; - * @return The value. */ com.google.protobuf.Any getValue(); /** @@ -10395,12 +10171,10 @@ public final class DaprProtos { /** * string etag = 3; - * @return The etag. */ java.lang.String getEtag(); /** * string etag = 3; - * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); @@ -10441,12 +10215,10 @@ public final class DaprProtos { /** * .dapr.StateRequestOptions options = 5; - * @return Whether the options field is set. */ boolean hasOptions(); /** * .dapr.StateRequestOptions options = 5; - * @return The options. */ io.dapr.DaprProtos.StateRequestOptions getOptions(); /** @@ -10601,7 +10373,6 @@ public final class DaprProtos { private volatile java.lang.Object key_; /** * string key = 1; - * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -10617,7 +10388,6 @@ public final class DaprProtos { } /** * string key = 1; - * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { @@ -10637,14 +10407,12 @@ public final class DaprProtos { private com.google.protobuf.Any value_; /** * .google.protobuf.Any value = 2; - * @return Whether the value field is set. */ public boolean hasValue() { return value_ != null; } /** * .google.protobuf.Any value = 2; - * @return The value. */ public com.google.protobuf.Any getValue() { return value_ == null ? com.google.protobuf.Any.getDefaultInstance() : value_; @@ -10660,7 +10428,6 @@ public final class DaprProtos { private volatile java.lang.Object etag_; /** * string etag = 3; - * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; @@ -10676,7 +10443,6 @@ public final class DaprProtos { } /** * string etag = 3; - * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { @@ -10772,14 +10538,12 @@ public final class DaprProtos { private io.dapr.DaprProtos.StateRequestOptions options_; /** * .dapr.StateRequestOptions options = 5; - * @return Whether the options field is set. */ public boolean hasOptions() { return options_ != null; } /** * .dapr.StateRequestOptions options = 5; - * @return The options. */ public io.dapr.DaprProtos.StateRequestOptions getOptions() { return options_ == null ? io.dapr.DaprProtos.StateRequestOptions.getDefaultInstance() : options_; @@ -11224,7 +10988,6 @@ public final class DaprProtos { private java.lang.Object key_ = ""; /** * string key = 1; - * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; @@ -11240,7 +11003,6 @@ public final class DaprProtos { } /** * string key = 1; - * @return The bytes for key. */ public com.google.protobuf.ByteString getKeyBytes() { @@ -11257,8 +11019,6 @@ public final class DaprProtos { } /** * string key = 1; - * @param value The key to set. - * @return This builder for chaining. */ public Builder setKey( java.lang.String value) { @@ -11272,7 +11032,6 @@ public final class DaprProtos { } /** * string key = 1; - * @return This builder for chaining. */ public Builder clearKey() { @@ -11282,8 +11041,6 @@ public final class DaprProtos { } /** * string key = 1; - * @param value The bytes for key to set. - * @return This builder for chaining. */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { @@ -11302,14 +11059,12 @@ public final class DaprProtos { com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> valueBuilder_; /** * .google.protobuf.Any value = 2; - * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** * .google.protobuf.Any value = 2; - * @return The value. */ public com.google.protobuf.Any getValue() { if (valueBuilder_ == null) { @@ -11419,7 +11174,6 @@ public final class DaprProtos { private java.lang.Object etag_ = ""; /** * string etag = 3; - * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; @@ -11435,7 +11189,6 @@ public final class DaprProtos { } /** * string etag = 3; - * @return The bytes for etag. */ public com.google.protobuf.ByteString getEtagBytes() { @@ -11452,8 +11205,6 @@ public final class DaprProtos { } /** * string etag = 3; - * @param value The etag to set. - * @return This builder for chaining. */ public Builder setEtag( java.lang.String value) { @@ -11467,7 +11218,6 @@ public final class DaprProtos { } /** * string etag = 3; - * @return This builder for chaining. */ public Builder clearEtag() { @@ -11477,8 +11227,6 @@ public final class DaprProtos { } /** * string etag = 3; - * @param value The bytes for etag to set. - * @return This builder for chaining. */ public Builder setEtagBytes( com.google.protobuf.ByteString value) { @@ -11620,14 +11368,12 @@ public final class DaprProtos { io.dapr.DaprProtos.StateRequestOptions, io.dapr.DaprProtos.StateRequestOptions.Builder, io.dapr.DaprProtos.StateRequestOptionsOrBuilder> optionsBuilder_; /** * .dapr.StateRequestOptions options = 5; - * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** * .dapr.StateRequestOptions options = 5; - * @return The options. */ public io.dapr.DaprProtos.StateRequestOptions getOptions() { if (optionsBuilder_ == null) { @@ -11792,36 +11538,30 @@ public final class DaprProtos { /** * string concurrency = 1; - * @return The concurrency. */ java.lang.String getConcurrency(); /** * string concurrency = 1; - * @return The bytes for concurrency. */ com.google.protobuf.ByteString getConcurrencyBytes(); /** * string consistency = 2; - * @return The consistency. */ java.lang.String getConsistency(); /** * string consistency = 2; - * @return The bytes for consistency. */ com.google.protobuf.ByteString getConsistencyBytes(); /** * .dapr.StateRetryPolicy retryPolicy = 3; - * @return Whether the retryPolicy field is set. */ boolean hasRetryPolicy(); /** * .dapr.StateRetryPolicy retryPolicy = 3; - * @return The retryPolicy. */ io.dapr.DaprProtos.StateRetryPolicy getRetryPolicy(); /** @@ -11937,7 +11677,6 @@ public final class DaprProtos { private volatile java.lang.Object concurrency_; /** * string concurrency = 1; - * @return The concurrency. */ public java.lang.String getConcurrency() { java.lang.Object ref = concurrency_; @@ -11953,7 +11692,6 @@ public final class DaprProtos { } /** * string concurrency = 1; - * @return The bytes for concurrency. */ public com.google.protobuf.ByteString getConcurrencyBytes() { @@ -11973,7 +11711,6 @@ public final class DaprProtos { private volatile java.lang.Object consistency_; /** * string consistency = 2; - * @return The consistency. */ public java.lang.String getConsistency() { java.lang.Object ref = consistency_; @@ -11989,7 +11726,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @return The bytes for consistency. */ public com.google.protobuf.ByteString getConsistencyBytes() { @@ -12009,14 +11745,12 @@ public final class DaprProtos { private io.dapr.DaprProtos.StateRetryPolicy retryPolicy_; /** * .dapr.StateRetryPolicy retryPolicy = 3; - * @return Whether the retryPolicy field is set. */ public boolean hasRetryPolicy() { return retryPolicy_ != null; } /** * .dapr.StateRetryPolicy retryPolicy = 3; - * @return The retryPolicy. */ public io.dapr.DaprProtos.StateRetryPolicy getRetryPolicy() { return retryPolicy_ == null ? io.dapr.DaprProtos.StateRetryPolicy.getDefaultInstance() : retryPolicy_; @@ -12380,7 +12114,6 @@ public final class DaprProtos { private java.lang.Object concurrency_ = ""; /** * string concurrency = 1; - * @return The concurrency. */ public java.lang.String getConcurrency() { java.lang.Object ref = concurrency_; @@ -12396,7 +12129,6 @@ public final class DaprProtos { } /** * string concurrency = 1; - * @return The bytes for concurrency. */ public com.google.protobuf.ByteString getConcurrencyBytes() { @@ -12413,8 +12145,6 @@ public final class DaprProtos { } /** * string concurrency = 1; - * @param value The concurrency to set. - * @return This builder for chaining. */ public Builder setConcurrency( java.lang.String value) { @@ -12428,7 +12158,6 @@ public final class DaprProtos { } /** * string concurrency = 1; - * @return This builder for chaining. */ public Builder clearConcurrency() { @@ -12438,8 +12167,6 @@ public final class DaprProtos { } /** * string concurrency = 1; - * @param value The bytes for concurrency to set. - * @return This builder for chaining. */ public Builder setConcurrencyBytes( com.google.protobuf.ByteString value) { @@ -12456,7 +12183,6 @@ public final class DaprProtos { private java.lang.Object consistency_ = ""; /** * string consistency = 2; - * @return The consistency. */ public java.lang.String getConsistency() { java.lang.Object ref = consistency_; @@ -12472,7 +12198,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @return The bytes for consistency. */ public com.google.protobuf.ByteString getConsistencyBytes() { @@ -12489,8 +12214,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @param value The consistency to set. - * @return This builder for chaining. */ public Builder setConsistency( java.lang.String value) { @@ -12504,7 +12227,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @return This builder for chaining. */ public Builder clearConsistency() { @@ -12514,8 +12236,6 @@ public final class DaprProtos { } /** * string consistency = 2; - * @param value The bytes for consistency to set. - * @return This builder for chaining. */ public Builder setConsistencyBytes( com.google.protobuf.ByteString value) { @@ -12534,14 +12254,12 @@ public final class DaprProtos { io.dapr.DaprProtos.StateRetryPolicy, io.dapr.DaprProtos.StateRetryPolicy.Builder, io.dapr.DaprProtos.StateRetryPolicyOrBuilder> retryPolicyBuilder_; /** * .dapr.StateRetryPolicy retryPolicy = 3; - * @return Whether the retryPolicy field is set. */ public boolean hasRetryPolicy() { return retryPolicyBuilder_ != null || retryPolicy_ != null; } /** * .dapr.StateRetryPolicy retryPolicy = 3; - * @return The retryPolicy. */ public io.dapr.DaprProtos.StateRetryPolicy getRetryPolicy() { if (retryPolicyBuilder_ == null) { @@ -12706,30 +12424,25 @@ public final class DaprProtos { /** * int32 threshold = 1; - * @return The threshold. */ int getThreshold(); /** * string pattern = 2; - * @return The pattern. */ java.lang.String getPattern(); /** * string pattern = 2; - * @return The bytes for pattern. */ com.google.protobuf.ByteString getPatternBytes(); /** * .google.protobuf.Duration interval = 3; - * @return Whether the interval field is set. */ boolean hasInterval(); /** * .google.protobuf.Duration interval = 3; - * @return The interval. */ com.google.protobuf.Duration getInterval(); /** @@ -12843,7 +12556,6 @@ public final class DaprProtos { private int threshold_; /** * int32 threshold = 1; - * @return The threshold. */ public int getThreshold() { return threshold_; @@ -12853,7 +12565,6 @@ public final class DaprProtos { private volatile java.lang.Object pattern_; /** * string pattern = 2; - * @return The pattern. */ public java.lang.String getPattern() { java.lang.Object ref = pattern_; @@ -12869,7 +12580,6 @@ public final class DaprProtos { } /** * string pattern = 2; - * @return The bytes for pattern. */ public com.google.protobuf.ByteString getPatternBytes() { @@ -12889,14 +12599,12 @@ public final class DaprProtos { private com.google.protobuf.Duration interval_; /** * .google.protobuf.Duration interval = 3; - * @return Whether the interval field is set. */ public boolean hasInterval() { return interval_ != null; } /** * .google.protobuf.Duration interval = 3; - * @return The interval. */ public com.google.protobuf.Duration getInterval() { return interval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : interval_; @@ -13260,15 +12968,12 @@ public final class DaprProtos { private int threshold_ ; /** * int32 threshold = 1; - * @return The threshold. */ public int getThreshold() { return threshold_; } /** * int32 threshold = 1; - * @param value The threshold to set. - * @return This builder for chaining. */ public Builder setThreshold(int value) { @@ -13278,7 +12983,6 @@ public final class DaprProtos { } /** * int32 threshold = 1; - * @return This builder for chaining. */ public Builder clearThreshold() { @@ -13290,7 +12994,6 @@ public final class DaprProtos { private java.lang.Object pattern_ = ""; /** * string pattern = 2; - * @return The pattern. */ public java.lang.String getPattern() { java.lang.Object ref = pattern_; @@ -13306,7 +13009,6 @@ public final class DaprProtos { } /** * string pattern = 2; - * @return The bytes for pattern. */ public com.google.protobuf.ByteString getPatternBytes() { @@ -13323,8 +13025,6 @@ public final class DaprProtos { } /** * string pattern = 2; - * @param value The pattern to set. - * @return This builder for chaining. */ public Builder setPattern( java.lang.String value) { @@ -13338,7 +13038,6 @@ public final class DaprProtos { } /** * string pattern = 2; - * @return This builder for chaining. */ public Builder clearPattern() { @@ -13348,8 +13047,6 @@ public final class DaprProtos { } /** * string pattern = 2; - * @param value The bytes for pattern to set. - * @return This builder for chaining. */ public Builder setPatternBytes( com.google.protobuf.ByteString value) { @@ -13368,14 +13065,12 @@ public final class DaprProtos { com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> intervalBuilder_; /** * .google.protobuf.Duration interval = 3; - * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** * .google.protobuf.Duration interval = 3; - * @return The interval. */ public com.google.protobuf.Duration getInterval() { if (intervalBuilder_ == null) { @@ -13638,65 +13333,65 @@ public final class DaprProtos { descriptor; static { java.lang.String[] descriptorData = { - "\n\017dapr/dapr.proto\022\004dapr\032\031google/protobuf" + - "/any.proto\032\033google/protobuf/empty.proto\032" + - "\036google/protobuf/duration.proto\"\271\001\n\035Invo" + - "keServiceResponseEnvelope\022\"\n\004data\030\001 \001(\0132" + - "\024.google.protobuf.Any\022C\n\010metadata\030\002 \003(\0132" + - "1.dapr.InvokeServiceResponseEnvelope.Met" + - "adataEntry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\023DeleteStateEnvelo" + - "pe\022\013\n\003key\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022#\n\007options" + - "\030\003 \001(\0132\022.dapr.StateOptions\"9\n\021SaveStateE" + - "nvelope\022$\n\010requests\030\001 \003(\0132\022.dapr.StateRe" + - "quest\"4\n\020GetStateEnvelope\022\013\n\003key\030\001 \001(\t\022\023" + - "\n\013consistency\030\002 \001(\t\"L\n\030GetStateResponseE" + - "nvelope\022\"\n\004data\030\001 \001(\0132\024.google.protobuf." + - "Any\022\014\n\004etag\030\002 \001(\t\"\267\001\n\025InvokeBindingEnvel" + - "ope\022\014\n\004name\030\001 \001(\t\022\"\n\004data\030\002 \001(\0132\024.google" + - ".protobuf.Any\022;\n\010metadata\030\003 \003(\0132).dapr.I" + - "nvokeBindingEnvelope.MetadataEntry\032/\n\rMe" + - "tadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + - "\0028\001\"\305\001\n\025InvokeServiceEnvelope\022\n\n\002id\030\001 \001(" + - "\t\022\016\n\006method\030\002 \001(\t\022\"\n\004data\030\003 \001(\0132\024.google" + - ".protobuf.Any\022;\n\010metadata\030\004 \003(\0132).dapr.I" + - "nvokeServiceEnvelope.MetadataEntry\032/\n\rMe" + - "tadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + - "\0028\001\"I\n\024PublishEventEnvelope\022\r\n\005topic\030\001 \001" + - "(\t\022\"\n\004data\030\002 \001(\0132\024.google.protobuf.Any\"\312" + - "\001\n\005State\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.g" + - "oogle.protobuf.Any\022\014\n\004etag\030\003 \001(\t\022+\n\010meta" + - "data\030\004 \003(\0132\031.dapr.State.MetadataEntry\022#\n" + - "\007options\030\005 \001(\0132\022.dapr.StateOptions\032/\n\rMe" + - "tadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + - "\0028\001\"`\n\014StateOptions\022\023\n\013concurrency\030\001 \001(\t" + - "\022\023\n\013consistency\030\002 \001(\t\022&\n\013retryPolicy\030\003 \001" + - "(\0132\021.dapr.RetryPolicy\"^\n\013RetryPolicy\022\021\n\t" + - "threshold\030\001 \001(\005\022\017\n\007pattern\030\002 \001(\t\022+\n\010inte" + - "rval\030\003 \001(\0132\031.google.protobuf.Duration\"\337\001" + - "\n\014StateRequest\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001" + - "(\0132\024.google.protobuf.Any\022\014\n\004etag\030\003 \001(\t\0222" + - "\n\010metadata\030\004 \003(\0132 .dapr.StateRequest.Met" + - "adataEntry\022*\n\007options\030\005 \001(\0132\031.dapr.State" + - "RequestOptions\032/\n\rMetadataEntry\022\013\n\003key\030\001" + - " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"l\n\023StateRequestO" + - "ptions\022\023\n\013concurrency\030\001 \001(\t\022\023\n\013consisten" + - "cy\030\002 \001(\t\022+\n\013retryPolicy\030\003 \001(\0132\026.dapr.Sta" + - "teRetryPolicy\"c\n\020StateRetryPolicy\022\021\n\tthr" + - "eshold\030\001 \001(\005\022\017\n\007pattern\030\002 \001(\t\022+\n\010interva" + - "l\030\003 \001(\0132\031.google.protobuf.Duration2\263\003\n\004D" + - "apr\022D\n\014PublishEvent\022\032.dapr.PublishEventE" + - "nvelope\032\026.google.protobuf.Empty\"\000\022S\n\rInv" + - "okeService\022\033.dapr.InvokeServiceEnvelope\032" + - "#.dapr.InvokeServiceResponseEnvelope\"\000\022F" + - "\n\rInvokeBinding\022\033.dapr.InvokeBindingEnve" + - "lope\032\026.google.protobuf.Empty\"\000\022D\n\010GetSta" + - "te\022\026.dapr.GetStateEnvelope\032\036.dapr.GetSta" + - "teResponseEnvelope\"\000\022>\n\tSaveState\022\027.dapr" + - ".SaveStateEnvelope\032\026.google.protobuf.Emp" + - "ty\"\000\022B\n\013DeleteState\022\031.dapr.DeleteStateEn" + - "velope\032\026.google.protobuf.Empty\"\000B\025\n\007io.d" + - "aprB\nDaprProtosb\006proto3" + "\n\ndapr.proto\022\004dapr\032\031google/protobuf/any." + + "proto\032\033google/protobuf/empty.proto\032\036goog" + + "le/protobuf/duration.proto\"\271\001\n\035InvokeSer" + + "viceResponseEnvelope\022\"\n\004data\030\001 \001(\0132\024.goo" + + "gle.protobuf.Any\022C\n\010metadata\030\002 \003(\01321.dap" + + "r.InvokeServiceResponseEnvelope.Metadata" + + "Entry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001\"U\n\023DeleteStateEnvelope\022\013\n" + + "\003key\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022#\n\007options\030\003 \001(" + + "\0132\022.dapr.StateOptions\"9\n\021SaveStateEnvelo" + + "pe\022$\n\010requests\030\001 \003(\0132\022.dapr.StateRequest" + + "\"4\n\020GetStateEnvelope\022\013\n\003key\030\001 \001(\t\022\023\n\013con" + + "sistency\030\002 \001(\t\"L\n\030GetStateResponseEnvelo" + + "pe\022\"\n\004data\030\001 \001(\0132\024.google.protobuf.Any\022\014" + + "\n\004etag\030\002 \001(\t\"\267\001\n\025InvokeBindingEnvelope\022\014" + + "\n\004name\030\001 \001(\t\022\"\n\004data\030\002 \001(\0132\024.google.prot" + + "obuf.Any\022;\n\010metadata\030\003 \003(\0132).dapr.Invoke" + + "BindingEnvelope.MetadataEntry\032/\n\rMetadat" + + "aEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\305" + + "\001\n\025InvokeServiceEnvelope\022\n\n\002id\030\001 \001(\t\022\016\n\006" + + "method\030\002 \001(\t\022\"\n\004data\030\003 \001(\0132\024.google.prot" + + "obuf.Any\022;\n\010metadata\030\004 \003(\0132).dapr.Invoke" + + "ServiceEnvelope.MetadataEntry\032/\n\rMetadat" + + "aEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"I" + + "\n\024PublishEventEnvelope\022\r\n\005topic\030\001 \001(\t\022\"\n" + + "\004data\030\002 \001(\0132\024.google.protobuf.Any\"\312\001\n\005St" + + "ate\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024.google" + + ".protobuf.Any\022\014\n\004etag\030\003 \001(\t\022+\n\010metadata\030" + + "\004 \003(\0132\031.dapr.State.MetadataEntry\022#\n\007opti" + + "ons\030\005 \001(\0132\022.dapr.StateOptions\032/\n\rMetadat" + + "aEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"`" + + "\n\014StateOptions\022\023\n\013concurrency\030\001 \001(\t\022\023\n\013c" + + "onsistency\030\002 \001(\t\022&\n\013retryPolicy\030\003 \001(\0132\021." + + "dapr.RetryPolicy\"^\n\013RetryPolicy\022\021\n\tthres" + + "hold\030\001 \001(\005\022\017\n\007pattern\030\002 \001(\t\022+\n\010interval\030" + + "\003 \001(\0132\031.google.protobuf.Duration\"\337\001\n\014Sta" + + "teRequest\022\013\n\003key\030\001 \001(\t\022#\n\005value\030\002 \001(\0132\024." + + "google.protobuf.Any\022\014\n\004etag\030\003 \001(\t\0222\n\010met" + + "adata\030\004 \003(\0132 .dapr.StateRequest.Metadata" + + "Entry\022*\n\007options\030\005 \001(\0132\031.dapr.StateReque" + + "stOptions\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\"l\n\023StateRequestOption" + + "s\022\023\n\013concurrency\030\001 \001(\t\022\023\n\013consistency\030\002 " + + "\001(\t\022+\n\013retryPolicy\030\003 \001(\0132\026.dapr.StateRet" + + "ryPolicy\"c\n\020StateRetryPolicy\022\021\n\tthreshol" + + "d\030\001 \001(\005\022\017\n\007pattern\030\002 \001(\t\022+\n\010interval\030\003 \001" + + "(\0132\031.google.protobuf.Duration2\263\003\n\004Dapr\022D" + + "\n\014PublishEvent\022\032.dapr.PublishEventEnvelo" + + "pe\032\026.google.protobuf.Empty\"\000\022S\n\rInvokeSe" + + "rvice\022\033.dapr.InvokeServiceEnvelope\032#.dap" + + "r.InvokeServiceResponseEnvelope\"\000\022F\n\rInv" + + "okeBinding\022\033.dapr.InvokeBindingEnvelope\032" + + "\026.google.protobuf.Empty\"\000\022D\n\010GetState\022\026." + + "dapr.GetStateEnvelope\032\036.dapr.GetStateRes" + + "ponseEnvelope\"\000\022>\n\tSaveState\022\027.dapr.Save" + + "StateEnvelope\032\026.google.protobuf.Empty\"\000\022" + + "B\n\013DeleteState\022\031.dapr.DeleteStateEnvelop" + + "e\032\026.google.protobuf.Empty\"\000B(\n\007io.daprB\n" + + "DaprProtos\252\002\020Dapr.Client.Grpcb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/examples/pom.xml b/examples/pom.xml index ee20bd05e..7e12ba45b 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -1,65 +1,26 @@ - + 4.0.0 - io.dapr + + + io.dapr + client-parent + 0.1.0-preview02 + + examples jar - 0.1.0-preview01 - dapr-client - https://dapr.io - - - UTF-8 - 1.24.0 - 3.10.0 - 3.10.0 - 1.7 - 1.7 - - - - - - io.grpc - grpc-bom - ${grpc.version} - pom - import - - - + 0.1.0-preview02 + dapr-client-examples io.dapr client - 0.1.0-preview01 - - - io.grpc - grpc-protobuf - - - io.grpc - grpc-stub - - - javax.annotation - javax.annotation-api - 1.2 - provided - - - com.google.protobuf - protobuf-java-util - ${protobuf.version} + 0.1.0-preview02 - - - - - - diff --git a/pom.xml b/pom.xml index bc942826b..bc69cc270 100644 --- a/pom.xml +++ b/pom.xml @@ -1,14 +1,59 @@ - + 4.0.0 + io.dapr - client - jar - 0.1.0-preview01 - dapr-client + client-parent + pom + 0.1.0-preview02 + dapr-client-parent gRPC client for Dapr. https://dapr.io + + UTF-8 + 1.25.0 + 3.11.0 + 3.10.0 + 1.6.2 + 3.1.1 + 1.8 + 11 + 11 + + + + + + io.grpc + grpc-bom + ${grpc.version} + pom + import + + + javax.annotation + javax.annotation-api + 1.3.2 + provided + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 3.2.0 + test + + + + MIT License @@ -31,101 +76,9 @@ http://github.com/dapr/java-sdk - - UTF-8 - 1.24.0 - 3.10.0 - 3.10.0 - 1.7 - 1.7 - + + client + examples + - - - - io.grpc - grpc-bom - ${grpc.version} - pom - import - - - - - - - io.grpc - grpc-netty-shaded - runtime - - - io.grpc - grpc-protobuf - - - io.grpc - grpc-stub - - - javax.annotation - javax.annotation-api - 1.2 - provided - - - io.grpc - grpc-testing - test - - - com.google.protobuf - protobuf-java-util - ${protobuf.version} - - - junit - junit - 4.12 - test - - - org.mockito - mockito-core - 2.25.1 - test - - - - - - - - - org.apache.maven.plugins - maven-source-plugin - 2.2.1 - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.1.0 - - - attach-javadocs - - jar - - - - - -