public static final class BytesValue.Builder extends GeneratedMessageLite.Builder<BytesValue,BytesValue.Builder> implements BytesValueOrBuilder
Wrapper message for bytes
.
The JSON representation for BytesValue
is JSON string.
Protobuf type google.protobuf.BytesValue
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > GeneratedMessageLite.Builder > BytesValue.BuilderImplements
BytesValueOrBuilderMethods
clearValue()
public BytesValue.Builder clearValue()
The bytes value.
bytes value = 1;
Returns | |
---|---|
Type | Description |
BytesValue.Builder | This builder for chaining. |
getValue()
public ByteString getValue()
The bytes value.
bytes value = 1;
Returns | |
---|---|
Type | Description |
ByteString | The value. |
setValue(ByteString value)
public BytesValue.Builder setValue(ByteString value)
The bytes value.
bytes value = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The value to set. |
Returns | |
---|---|
Type | Description |
BytesValue.Builder | This builder for chaining. |