Package proto.rpc.examples.echo.v1
Class Echo.EchoBiDiResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Echo.EchoBiDiResponse,Echo.EchoBiDiResponse.Builder>
proto.rpc.examples.echo.v1.Echo.EchoBiDiResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Echo.EchoBiDiResponseOrBuilder
- Enclosing class:
- Echo.EchoBiDiResponse
public static final class Echo.EchoBiDiResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Echo.EchoBiDiResponse,Echo.EchoBiDiResponse.Builder>
implements Echo.EchoBiDiResponseOrBuilder
Protobuf type
proto.rpc.examples.echo.v1.EchoBiDiResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring message = 1 [json_name = "message"];
string message = 1 [json_name = "message"];
com.google.protobuf.ByteString
string message = 1 [json_name = "message"];
setMessage
(String value) string message = 1 [json_name = "message"];
setMessageBytes
(com.google.protobuf.ByteString value) string message = 1 [json_name = "message"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getMessage
string message = 1 [json_name = "message"];
- Specified by:
getMessage
in interfaceEcho.EchoBiDiResponseOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()string message = 1 [json_name = "message"];
- Specified by:
getMessageBytes
in interfaceEcho.EchoBiDiResponseOrBuilder
- Returns:
- The bytes for message.
-
setMessage
string message = 1 [json_name = "message"];
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
string message = 1 [json_name = "message"];
- Returns:
- This builder for chaining.
-
setMessageBytes
string message = 1 [json_name = "message"];
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-