Package io.dapr.v1
Class DaprProtos.QueryStateResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
io.dapr.v1.DaprProtos.QueryStateResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.QueryStateResponseOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.QueryStateResponse
public static final class DaprProtos.QueryStateResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
implements DaprProtos.QueryStateResponseOrBuilder
QueryStateResponse is the response conveying the query results.Protobuf type
dapr.proto.runtime.v1.QueryStateResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddAllResults
(Iterable<? extends DaprProtos.QueryStateItem> values) An array of query results.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addResults
(int index, DaprProtos.QueryStateItem value) An array of query results.addResults
(int index, DaprProtos.QueryStateItem.Builder builderForValue) An array of query results.An array of query results.addResults
(DaprProtos.QueryStateItem.Builder builderForValue) An array of query results.An array of query results.addResultsBuilder
(int index) An array of query results.build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) An array of query results.Pagination token.clone()
boolean
containsMetadata
(String key) The metadata which will be sent to app.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.int
The metadata which will be sent to app.The metadata which will be sent to app.getMetadataOrDefault
(String key, String defaultValue) The metadata which will be sent to app.getMetadataOrThrow
(String key) The metadata which will be sent to app.Deprecated.getResults
(int index) An array of query results.getResultsBuilder
(int index) An array of query results.An array of query results.int
An array of query results.An array of query results.getResultsOrBuilder
(int index) An array of query results.List<? extends DaprProtos.QueryStateItemOrBuilder>
An array of query results.getToken()
Pagination token.com.google.protobuf.ByteString
Pagination token.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllMetadata
(Map<String, String> values) The metadata which will be sent to app.putMetadata
(String key, String value) The metadata which will be sent to app.removeMetadata
(String key) The metadata which will be sent to app.removeResults
(int index) An array of query results.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResults
(int index, DaprProtos.QueryStateItem value) An array of query results.setResults
(int index, DaprProtos.QueryStateItem.Builder builderForValue) An array of query results.Pagination token.setTokenBytes
(com.google.protobuf.ByteString value) Pagination token.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
setField
public DaprProtos.QueryStateResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
clearField
public DaprProtos.QueryStateResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
clearOneof
public DaprProtos.QueryStateResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
setRepeatedField
public DaprProtos.QueryStateResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
addRepeatedField
public DaprProtos.QueryStateResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.QueryStateResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
mergeFrom
public DaprProtos.QueryStateResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.QueryStateResponse.Builder>
- Throws:
IOException
-
getResultsList
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
- Specified by:
getResultsList
in interfaceDaprProtos.QueryStateResponseOrBuilder
-
getResultsCount
public int getResultsCount()An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
- Specified by:
getResultsCount
in interfaceDaprProtos.QueryStateResponseOrBuilder
-
getResults
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
- Specified by:
getResults
in interfaceDaprProtos.QueryStateResponseOrBuilder
-
setResults
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
setResults
public DaprProtos.QueryStateResponse.Builder setResults(int index, DaprProtos.QueryStateItem.Builder builderForValue) An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
addResults
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
addResults
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
addResults
public DaprProtos.QueryStateResponse.Builder addResults(DaprProtos.QueryStateItem.Builder builderForValue) An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
addResults
public DaprProtos.QueryStateResponse.Builder addResults(int index, DaprProtos.QueryStateItem.Builder builderForValue) An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
addAllResults
public DaprProtos.QueryStateResponse.Builder addAllResults(Iterable<? extends DaprProtos.QueryStateItem> values) An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
clearResults
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
removeResults
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
getResultsBuilder
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
getResultsOrBuilder
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
- Specified by:
getResultsOrBuilder
in interfaceDaprProtos.QueryStateResponseOrBuilder
-
getResultsOrBuilderList
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
- Specified by:
getResultsOrBuilderList
in interfaceDaprProtos.QueryStateResponseOrBuilder
-
addResultsBuilder
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
addResultsBuilder
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
getResultsBuilderList
An array of query results.
repeated .dapr.proto.runtime.v1.QueryStateItem results = 1;
-
getToken
Pagination token.
string token = 2;
- Specified by:
getToken
in interfaceDaprProtos.QueryStateResponseOrBuilder
- Returns:
- The token.
-
getTokenBytes
public com.google.protobuf.ByteString getTokenBytes()Pagination token.
string token = 2;
- Specified by:
getTokenBytes
in interfaceDaprProtos.QueryStateResponseOrBuilder
- Returns:
- The bytes for token.
-
setToken
Pagination token.
string token = 2;
- Parameters:
value
- The token to set.- Returns:
- This builder for chaining.
-
clearToken
Pagination token.
string token = 2;
- Returns:
- This builder for chaining.
-
setTokenBytes
Pagination token.
string token = 2;
- Parameters:
value
- The bytes for token to set.- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:DaprProtos.QueryStateResponseOrBuilder
The metadata which will be sent to app.
map<string, string> metadata = 3;
- Specified by:
getMetadataCount
in interfaceDaprProtos.QueryStateResponseOrBuilder
-
containsMetadata
The metadata which will be sent to app.
map<string, string> metadata = 3;
- Specified by:
containsMetadata
in interfaceDaprProtos.QueryStateResponseOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceDaprProtos.QueryStateResponseOrBuilder
-
getMetadataMap
The metadata which will be sent to app.
map<string, string> metadata = 3;
- Specified by:
getMetadataMap
in interfaceDaprProtos.QueryStateResponseOrBuilder
-
getMetadataOrDefault
The metadata which will be sent to app.
map<string, string> metadata = 3;
- Specified by:
getMetadataOrDefault
in interfaceDaprProtos.QueryStateResponseOrBuilder
-
getMetadataOrThrow
The metadata which will be sent to app.
map<string, string> metadata = 3;
- Specified by:
getMetadataOrThrow
in interfaceDaprProtos.QueryStateResponseOrBuilder
-
clearMetadata
-
removeMetadata
The metadata which will be sent to app.
map<string, string> metadata = 3;
-
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
The metadata which will be sent to app.
map<string, string> metadata = 3;
-
putAllMetadata
The metadata which will be sent to app.
map<string, string> metadata = 3;
-
setUnknownFields
public final DaprProtos.QueryStateResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-
mergeUnknownFields
public final DaprProtos.QueryStateResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.QueryStateResponse.Builder>
-