Package io.dapr.v1
Interface CommonProtos.InvokeRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommonProtos.InvokeRequest
,CommonProtos.InvokeRequest.Builder
- Enclosing class:
- CommonProtos
public static interface CommonProtos.InvokeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe type of data content.com.google.protobuf.ByteString
The type of data content.com.google.protobuf.Any
getData()
Required in unary RPCs.com.google.protobuf.AnyOrBuilder
Required in unary RPCs.HTTP specific fields if request conveys http-compatible request.HTTP specific fields if request conveys http-compatible request.Required.com.google.protobuf.ByteString
Required.boolean
hasData()
Required in unary RPCs.boolean
HTTP specific fields if request conveys http-compatible request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMethod
String getMethod()Required. method is a method name which will be invoked by caller.
string method = 1;
- Returns:
- The method.
-
getMethodBytes
com.google.protobuf.ByteString getMethodBytes()Required. method is a method name which will be invoked by caller.
string method = 1;
- Returns:
- The bytes for method.
-
hasData
boolean hasData()Required in unary RPCs. Bytes value or Protobuf message which caller sent. Dapr treats Any.value as bytes type if Any.type_url is unset.
.google.protobuf.Any data = 2;
- Returns:
- Whether the data field is set.
-
getData
com.google.protobuf.Any getData()Required in unary RPCs. Bytes value or Protobuf message which caller sent. Dapr treats Any.value as bytes type if Any.type_url is unset.
.google.protobuf.Any data = 2;
- Returns:
- The data.
-
getDataOrBuilder
com.google.protobuf.AnyOrBuilder getDataOrBuilder()Required in unary RPCs. Bytes value or Protobuf message which caller sent. Dapr treats Any.value as bytes type if Any.type_url is unset.
.google.protobuf.Any data = 2;
-
getContentType
String getContentType()The type of data content. This field is required if data delivers http request body Otherwise, this is optional.
string content_type = 3;
- Returns:
- The contentType.
-
getContentTypeBytes
com.google.protobuf.ByteString getContentTypeBytes()The type of data content. This field is required if data delivers http request body Otherwise, this is optional.
string content_type = 3;
- Returns:
- The bytes for contentType.
-
hasHttpExtension
boolean hasHttpExtension()HTTP specific fields if request conveys http-compatible request. This field is required for http-compatible request. Otherwise, this field is optional.
.dapr.proto.common.v1.HTTPExtension http_extension = 4;
- Returns:
- Whether the httpExtension field is set.
-
getHttpExtension
CommonProtos.HTTPExtension getHttpExtension()HTTP specific fields if request conveys http-compatible request. This field is required for http-compatible request. Otherwise, this field is optional.
.dapr.proto.common.v1.HTTPExtension http_extension = 4;
- Returns:
- The httpExtension.
-
getHttpExtensionOrBuilder
CommonProtos.HTTPExtensionOrBuilder getHttpExtensionOrBuilder()HTTP specific fields if request conveys http-compatible request. This field is required for http-compatible request. Otherwise, this field is optional.
.dapr.proto.common.v1.HTTPExtension http_extension = 4;
-