Package io.dapr.v1
Interface CommonProtos.InvokeResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommonProtos.InvokeResponse
,CommonProtos.InvokeResponse.Builder
- Enclosing class:
- CommonProtos
public static interface CommonProtos.InvokeResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description java.lang.String
getContentType()
content_type is the type of data content.com.google.protobuf.ByteString
getContentTypeBytes()
content_type is the type of data content.com.google.protobuf.Any
getData()
data conveys the content body of InvokeService response.com.google.protobuf.AnyOrBuilder
getDataOrBuilder()
data conveys the content body of InvokeService response.boolean
hasData()
data conveys the content body of InvokeService response.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasData
boolean hasData()data conveys the content body of InvokeService response. This field is required.
.google.protobuf.Any data = 1;
- Returns:
- Whether the data field is set.
-
getData
com.google.protobuf.Any getData()data conveys the content body of InvokeService response. This field is required.
.google.protobuf.Any data = 1;
- Returns:
- The data.
-
getDataOrBuilder
com.google.protobuf.AnyOrBuilder getDataOrBuilder()data conveys the content body of InvokeService response. This field is required.
.google.protobuf.Any data = 1;
-
getContentType
java.lang.String getContentType()content_type is the type of data content. This field is required.
string content_type = 2;
- Returns:
- The contentType.
-
getContentTypeBytes
com.google.protobuf.ByteString getContentTypeBytes()content_type is the type of data content. This field is required.
string content_type = 2;
- Returns:
- The bytes for contentType.
-