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, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom
addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, 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.
optional bytes value = 1;
getValue
in interface BytesValueOrBuilder
public BytesValue.Builder setValue(ByteString value)
The bytes value.
optional bytes value = 1;
public BytesValue.Builder clearValue()
The bytes value.
optional bytes value = 1;
Copyright © 2008–2016 Google. All rights reserved.