Class Echoresource.EchoResourceRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Echoresource.EchoResourceRequest,Echoresource.EchoResourceRequest.Builder>
proto.rpc.examples.echoresource.v1.Echoresource.EchoResourceRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Echoresource.EchoResourceRequestOrBuilder
- Enclosing class:
- Echoresource.EchoResourceRequest
public static final class Echoresource.EchoResourceRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Echoresource.EchoResourceRequest,Echoresource.EchoResourceRequest.Builder>
implements Echoresource.EchoResourceRequestOrBuilder
Protobuf type
proto.rpc.examples.echoresource.v1.EchoResourceRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring message = 2 [json_name = "message"];
string name = 1 [json_name = "name"];
string message = 2 [json_name = "message"];
com.google.protobuf.ByteString
string message = 2 [json_name = "message"];
getName()
string name = 1 [json_name = "name"];
com.google.protobuf.ByteString
string name = 1 [json_name = "name"];
setMessage
(String value) string message = 2 [json_name = "message"];
setMessageBytes
(com.google.protobuf.ByteString value) string message = 2 [json_name = "message"];
string name = 1 [json_name = "name"];
setNameBytes
(com.google.protobuf.ByteString value) string name = 1 [json_name = "name"];
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
-
getName
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceEchoresource.EchoResourceRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceEchoresource.EchoResourceRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
string name = 1 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getMessage
string message = 2 [json_name = "message"];
- Specified by:
getMessage
in interfaceEchoresource.EchoResourceRequestOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()string message = 2 [json_name = "message"];
- Specified by:
getMessageBytes
in interfaceEchoresource.EchoResourceRequestOrBuilder
- Returns:
- The bytes for message.
-
setMessage
string message = 2 [json_name = "message"];
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
string message = 2 [json_name = "message"];
- Returns:
- This builder for chaining.
-
setMessageBytes
public Echoresource.EchoResourceRequest.Builder setMessageBytes(com.google.protobuf.ByteString value) string message = 2 [json_name = "message"];
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-