Package io.dapr.v1
Class CommonProtos.InvokeRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.InvokeRequest.Builder>
io.dapr.v1.CommonProtos.InvokeRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,CommonProtos.InvokeRequestOrBuilder
,java.lang.Cloneable
- Enclosing class:
- CommonProtos.InvokeRequest
public static final class CommonProtos.InvokeRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.InvokeRequest.Builder> implements CommonProtos.InvokeRequestOrBuilder
Protobuf type
dapr.proto.common.v1.InvokeRequest
-
Method Summary
Modifier and Type Method Description CommonProtos.InvokeRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CommonProtos.InvokeRequest
build()
CommonProtos.InvokeRequest
buildPartial()
CommonProtos.InvokeRequest.Builder
clear()
CommonProtos.InvokeRequest.Builder
clearContentType()
content_type is the type of data content.CommonProtos.InvokeRequest.Builder
clearData()
data conveys bytes value or Protobuf message which caller sent.CommonProtos.InvokeRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CommonProtos.InvokeRequest.Builder
clearHttpExtension()
http_extension includes http specific fields if request conveys http-compatible request.CommonProtos.InvokeRequest.Builder
clearMethod()
method is a method name which will be invoked by caller.CommonProtos.InvokeRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CommonProtos.InvokeRequest.Builder
clone()
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 bytes value or Protobuf message which caller sent.com.google.protobuf.Any.Builder
getDataBuilder()
data conveys bytes value or Protobuf message which caller sent.com.google.protobuf.AnyOrBuilder
getDataOrBuilder()
data conveys bytes value or Protobuf message which caller sent.CommonProtos.InvokeRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
CommonProtos.HTTPExtension
getHttpExtension()
http_extension includes http specific fields if request conveys http-compatible request.CommonProtos.HTTPExtension.Builder
getHttpExtensionBuilder()
http_extension includes http specific fields if request conveys http-compatible request.CommonProtos.HTTPExtensionOrBuilder
getHttpExtensionOrBuilder()
http_extension includes http specific fields if request conveys http-compatible request.java.lang.String
getMethod()
method is a method name which will be invoked by caller.com.google.protobuf.ByteString
getMethodBytes()
method is a method name which will be invoked by caller.boolean
hasData()
data conveys bytes value or Protobuf message which caller sent.boolean
hasHttpExtension()
http_extension includes http specific fields if request conveys http-compatible request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CommonProtos.InvokeRequest.Builder
mergeData(com.google.protobuf.Any value)
data conveys bytes value or Protobuf message which caller sent.CommonProtos.InvokeRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CommonProtos.InvokeRequest.Builder
mergeFrom(com.google.protobuf.Message other)
CommonProtos.InvokeRequest.Builder
mergeFrom(CommonProtos.InvokeRequest other)
CommonProtos.InvokeRequest.Builder
mergeHttpExtension(CommonProtos.HTTPExtension value)
http_extension includes http specific fields if request conveys http-compatible request.CommonProtos.InvokeRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CommonProtos.InvokeRequest.Builder
setContentType(java.lang.String value)
content_type is the type of data content.CommonProtos.InvokeRequest.Builder
setContentTypeBytes(com.google.protobuf.ByteString value)
content_type is the type of data content.CommonProtos.InvokeRequest.Builder
setData(com.google.protobuf.Any value)
data conveys bytes value or Protobuf message which caller sent.CommonProtos.InvokeRequest.Builder
setData(com.google.protobuf.Any.Builder builderForValue)
data conveys bytes value or Protobuf message which caller sent.CommonProtos.InvokeRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CommonProtos.InvokeRequest.Builder
setHttpExtension(CommonProtos.HTTPExtension value)
http_extension includes http specific fields if request conveys http-compatible request.CommonProtos.InvokeRequest.Builder
setHttpExtension(CommonProtos.HTTPExtension.Builder builderForValue)
http_extension includes http specific fields if request conveys http-compatible request.CommonProtos.InvokeRequest.Builder
setMethod(java.lang.String value)
method is a method name which will be invoked by caller.CommonProtos.InvokeRequest.Builder
setMethodBytes(com.google.protobuf.ByteString value)
method is a method name which will be invoked by caller.CommonProtos.InvokeRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
CommonProtos.InvokeRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.InvokeRequest.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<CommonProtos.InvokeRequest.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<CommonProtos.InvokeRequest.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<CommonProtos.InvokeRequest.Builder>
-
setField
public CommonProtos.InvokeRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.InvokeRequest.Builder>
-
clearField
public CommonProtos.InvokeRequest.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<CommonProtos.InvokeRequest.Builder>
-
clearOneof
public CommonProtos.InvokeRequest.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<CommonProtos.InvokeRequest.Builder>
-
setRepeatedField
public CommonProtos.InvokeRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.InvokeRequest.Builder>
-
addRepeatedField
public CommonProtos.InvokeRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.InvokeRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommonProtos.InvokeRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.InvokeRequest.Builder>
-
mergeFrom
public CommonProtos.InvokeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<CommonProtos.InvokeRequest.Builder>
- Throws:
java.io.IOException
-
getMethod
public java.lang.String getMethod()method is a method name which will be invoked by caller. This field is required.
string method = 1;
- Specified by:
getMethod
in interfaceCommonProtos.InvokeRequestOrBuilder
- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()method is a method name which will be invoked by caller. This field is required.
string method = 1;
- Specified by:
getMethodBytes
in interfaceCommonProtos.InvokeRequestOrBuilder
- Returns:
- The bytes for method.
-
setMethod
method is a method name which will be invoked by caller. This field is required.
string method = 1;
- Parameters:
value
- The method to set.- Returns:
- This builder for chaining.
-
clearMethod
method is a method name which will be invoked by caller. This field is required.
string method = 1;
- Returns:
- This builder for chaining.
-
setMethodBytes
method is a method name which will be invoked by caller. This field is required.
string method = 1;
- Parameters:
value
- The bytes for method to set.- Returns:
- This builder for chaining.
-
hasData
public boolean hasData()data conveys bytes value or Protobuf message which caller sent. Dapr treats Any.value as bytes type if Any.type_url is unset. This field is required.
.google.protobuf.Any data = 2;
- Specified by:
hasData
in interfaceCommonProtos.InvokeRequestOrBuilder
- Returns:
- Whether the data field is set.
-
getData
public com.google.protobuf.Any getData()data conveys bytes value or Protobuf message which caller sent. Dapr treats Any.value as bytes type if Any.type_url is unset. This field is required.
.google.protobuf.Any data = 2;
- Specified by:
getData
in interfaceCommonProtos.InvokeRequestOrBuilder
- Returns:
- The data.
-
setData
data conveys bytes value or Protobuf message which caller sent. Dapr treats Any.value as bytes type if Any.type_url is unset. This field is required.
.google.protobuf.Any data = 2;
-
setData
data conveys bytes value or Protobuf message which caller sent. Dapr treats Any.value as bytes type if Any.type_url is unset. This field is required.
.google.protobuf.Any data = 2;
-
mergeData
data conveys bytes value or Protobuf message which caller sent. Dapr treats Any.value as bytes type if Any.type_url is unset. This field is required.
.google.protobuf.Any data = 2;
-
clearData
data conveys bytes value or Protobuf message which caller sent. Dapr treats Any.value as bytes type if Any.type_url is unset. This field is required.
.google.protobuf.Any data = 2;
-
getDataBuilder
public com.google.protobuf.Any.Builder getDataBuilder()data conveys bytes value or Protobuf message which caller sent. Dapr treats Any.value as bytes type if Any.type_url is unset. This field is required.
.google.protobuf.Any data = 2;
-
getDataOrBuilder
public com.google.protobuf.AnyOrBuilder getDataOrBuilder()data conveys bytes value or Protobuf message which caller sent. Dapr treats Any.value as bytes type if Any.type_url is unset. This field is required.
.google.protobuf.Any data = 2;
- Specified by:
getDataOrBuilder
in interfaceCommonProtos.InvokeRequestOrBuilder
-
getContentType
public java.lang.String getContentType()content_type is the type of data content. This field is required if data delivers http request body Otherwise, this is optional.
string content_type = 3;
- Specified by:
getContentType
in interfaceCommonProtos.InvokeRequestOrBuilder
- Returns:
- The contentType.
-
getContentTypeBytes
public com.google.protobuf.ByteString getContentTypeBytes()content_type is the type of data content. This field is required if data delivers http request body Otherwise, this is optional.
string content_type = 3;
- Specified by:
getContentTypeBytes
in interfaceCommonProtos.InvokeRequestOrBuilder
- Returns:
- The bytes for contentType.
-
setContentType
content_type is the type of data content. This field is required if data delivers http request body Otherwise, this is optional.
string content_type = 3;
- Parameters:
value
- The contentType to set.- Returns:
- This builder for chaining.
-
clearContentType
content_type is the type of data content. This field is required if data delivers http request body Otherwise, this is optional.
string content_type = 3;
- Returns:
- This builder for chaining.
-
setContentTypeBytes
public CommonProtos.InvokeRequest.Builder setContentTypeBytes(com.google.protobuf.ByteString value)content_type is the type of data content. This field is required if data delivers http request body Otherwise, this is optional.
string content_type = 3;
- Parameters:
value
- The bytes for contentType to set.- Returns:
- This builder for chaining.
-
hasHttpExtension
public boolean hasHttpExtension()http_extension includes http specific fields if request conveys http-compatible request. This field is optional.
.dapr.proto.common.v1.HTTPExtension http_extension = 4;
- Specified by:
hasHttpExtension
in interfaceCommonProtos.InvokeRequestOrBuilder
- Returns:
- Whether the httpExtension field is set.
-
getHttpExtension
http_extension includes http specific fields if request conveys http-compatible request. This field is optional.
.dapr.proto.common.v1.HTTPExtension http_extension = 4;
- Specified by:
getHttpExtension
in interfaceCommonProtos.InvokeRequestOrBuilder
- Returns:
- The httpExtension.
-
setHttpExtension
http_extension includes http specific fields if request conveys http-compatible request. This field is optional.
.dapr.proto.common.v1.HTTPExtension http_extension = 4;
-
setHttpExtension
public CommonProtos.InvokeRequest.Builder setHttpExtension(CommonProtos.HTTPExtension.Builder builderForValue)http_extension includes http specific fields if request conveys http-compatible request. This field is optional.
.dapr.proto.common.v1.HTTPExtension http_extension = 4;
-
mergeHttpExtension
http_extension includes http specific fields if request conveys http-compatible request. This field is optional.
.dapr.proto.common.v1.HTTPExtension http_extension = 4;
-
clearHttpExtension
http_extension includes http specific fields if request conveys http-compatible request. This field is optional.
.dapr.proto.common.v1.HTTPExtension http_extension = 4;
-
getHttpExtensionBuilder
http_extension includes http specific fields if request conveys http-compatible request. This field is optional.
.dapr.proto.common.v1.HTTPExtension http_extension = 4;
-
getHttpExtensionOrBuilder
http_extension includes http specific fields if request conveys http-compatible request. This field is optional.
.dapr.proto.common.v1.HTTPExtension http_extension = 4;
- Specified by:
getHttpExtensionOrBuilder
in interfaceCommonProtos.InvokeRequestOrBuilder
-
setUnknownFields
public final CommonProtos.InvokeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.InvokeRequest.Builder>
-
mergeUnknownFields
public final CommonProtos.InvokeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.InvokeRequest.Builder>
-