Package com.viam.component.testecho.v1
Class Testecho.EchoRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Testecho.EchoRequest,Testecho.EchoRequest.Builder>
com.viam.component.testecho.v1.Testecho.EchoRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Testecho.EchoRequestOrBuilder
,Cloneable
- Enclosing class:
- Testecho.EchoRequest
public static final class Testecho.EchoRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Testecho.EchoRequest,Testecho.EchoRequest.Builder>
implements Testecho.EchoRequestOrBuilder
Protobuf type
viam.component.testecho.v1.EchoRequest
-
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 interfaceTestecho.EchoRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceTestecho.EchoRequestOrBuilder
- 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 interfaceTestecho.EchoRequestOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()string message = 2 [json_name = "message"];
- Specified by:
getMessageBytes
in interfaceTestecho.EchoRequestOrBuilder
- 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
string message = 2 [json_name = "message"];
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-