Class Echoresource.EchoResourceResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Echoresource.EchoResourceResponse,Echoresource.EchoResourceResponse.Builder>
proto.rpc.examples.echoresource.v1.Echoresource.EchoResourceResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Echoresource.EchoResourceResponseOrBuilder
- Enclosing class:
- Echoresource.EchoResourceResponse
public static final class Echoresource.EchoResourceResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Echoresource.EchoResourceResponse,Echoresource.EchoResourceResponse.Builder>
implements Echoresource.EchoResourceResponseOrBuilder
Protobuf type
proto.rpc.examples.echoresource.v1.EchoResourceResponse
-
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 interfaceEchoresource.EchoResourceResponseOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()string message = 1 [json_name = "message"];
- Specified by:
getMessageBytes
in interfaceEchoresource.EchoResourceResponseOrBuilder
- 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
public Echoresource.EchoResourceResponse.Builder setMessageBytes(com.google.protobuf.ByteString value) string message = 1 [json_name = "message"];
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-