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
instance, isBuilt
Modifier and Type | Method and Description |
---|---|
BytesValue.Builder |
clearValue()
The bytes value.
|
ByteString |
getValue()
The bytes value.
|
BytesValue.Builder |
setValue(ByteString value)
The bytes value.
|
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultInstanceForType, isInitialized
public ByteString getValue()
The bytes value.
bytes value = 1;
getValue
in interface BytesValueOrBuilder
public BytesValue.Builder setValue(ByteString value)
The bytes value.
bytes value = 1;
value
- The value to set.public BytesValue.Builder clearValue()
The bytes value.
bytes value = 1;
Copyright © 2008–2022. All rights reserved.