Package proto.rpc.examples.echo.v1
Class Echo.EchoResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Echo.EchoResponse,Echo.EchoResponse.Builder>
proto.rpc.examples.echo.v1.Echo.EchoResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Echo.EchoResponseOrBuilder
- Enclosing class:
- Echo.EchoResponse
public static final class Echo.EchoResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Echo.EchoResponse,Echo.EchoResponse.Builder>
implements Echo.EchoResponseOrBuilder
Protobuf type
proto.rpc.examples.echo.v1.EchoResponse
-
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.EchoResponseOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()string message = 1 [json_name = "message"];
- Specified by:
getMessageBytes
in interfaceEcho.EchoResponseOrBuilder
- 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.
-