Top Description Inners Fields Constructors Methods
com.google.protobuf

public final Class BytesValue

extends GeneratedMessageV3
implements BytesValueOrBuilder
Class Inheritance
All Implemented Interfaces
com.google.protobuf.BytesValueOrBuilder, com.google.protobuf.MessageOrBuilder, com.google.protobuf.MessageLiteOrBuilder

Wrapper message for `bytes`.
The JSON representation for `BytesValue` is JSON string.
Protobuf type google.protobuf.BytesValue

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
BytesValue.Builder

Wrapper message for `bytes`.

Field Summary

Modifier and TypeField and Description
private static final BytesValue
private byte
private static final Parser<BytesValue>
private static final long
private ByteString
public static final int
Inherited from com.google.protobuf.GeneratedMessageV3:
alwaysUseFieldBuildersunknownFields

Constructor Summary

AccessConstructor and Description
private
private
private

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(final Object
object to be compared for equality with this message
obj
)

Overrides com.google.protobuf.AbstractMessage.equals.

Implements com.google.protobuf.Message.equals.

Compares the specified object with this message for equality.
public static BytesValue
public BytesValue
public static final Descriptors.Descriptor
public Parser<BytesValue>
public int
getSerializedSize()

Overrides com.google.protobuf.GeneratedMessageV3.getSerializedSize.

Implements com.google.protobuf.MessageLite.getSerializedSize.

Get the number of bytes required to encode this message.
public final UnknownFieldSet
public ByteString
public int
hashCode()

Overrides com.google.protobuf.AbstractMessage.hashCode.

Implements com.google.protobuf.Message.hashCode.

Returns the hash code value for this message.
protected GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()

Implements abstract com.google.protobuf.GeneratedMessageV3.internalGetFieldAccessorTable.

Get the FieldAccessorTable for this type.
public final boolean
isInitialized()

Overrides com.google.protobuf.GeneratedMessageV3.isInitialized.

Implements com.google.protobuf.MessageLiteOrBuilder.isInitialized.

Returns true if all required fields in the message and all embedded messages are set, false otherwise.
public static BytesValue.Builder
public static BytesValue.Builder
public BytesValue.Builder
newBuilderForType()

Implements com.google.protobuf.Message.newBuilderForType, com.google.protobuf.MessageLite.newBuilderForType.

Constructs a new builder for a message of the same type as this message.
protected BytesValue.Builder
newBuilderForType(GeneratedMessageV3.BuilderParent parent)

Implements abstract com.google.protobuf.GeneratedMessageV3.newBuilderForType.

TODO(xiaofeng): remove this together with GeneratedMessageV3.BuilderParent.
public static BytesValue
of(ByteString value)

public static BytesValue
public static BytesValue
public static BytesValue
public static BytesValue
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BytesValue
public static BytesValue
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BytesValue
parseFrom(byte[] data)

public static BytesValue
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BytesValue
public static BytesValue
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BytesValue
public static BytesValue
public static Parser<BytesValue>
public BytesValue.Builder
toBuilder()

Implements com.google.protobuf.Message.toBuilder, com.google.protobuf.MessageLite.toBuilder.

Constructs a builder initialized with the current message.
public void
writeTo(CodedOutputStream output)

Overrides com.google.protobuf.GeneratedMessageV3.writeTo.

Implements com.google.protobuf.MessageLite.writeTo.

Serializes the message and writes it to output.
Inherited from com.google.protobuf.GeneratedMessageV3:
canUseUnsafecomputeStringSizecomputeStringSizeNoTagemptyBooleanListemptyDoubleListemptyFloatListemptyIntListemptyLongListenableAlwaysUseFieldBuildersForTestinggetAllFieldsgetAllFieldsRawgetDescriptorForTypegetFieldgetFieldRawgetOneofFieldDescriptorgetRepeatedFieldgetRepeatedFieldCounthasFieldhasOneofinternalGetMapFieldmakeExtensionsImmutablemutableCopymutableCopymutableCopymutableCopymutableCopynewBooleanListnewBuilderForTypenewDoubleListnewFloatListnewIntListnewLongListparseDelimitedWithIOExceptionparseDelimitedWithIOExceptionparseUnknownFieldparseUnknownFieldProto3parseWithIOExceptionparseWithIOExceptionparseWithIOExceptionparseWithIOExceptionserializeBooleanMapToserializeIntegerMapToserializeLongMapToserializeStringMapTowriteReplacewriteStringwriteStringNoTag

Field Detail

DEFAULT_INSTANCEback to summary
private static final BytesValue DEFAULT_INSTANCE
memoizedIsInitializedback to summary
private byte memoizedIsInitialized
PARSERback to summary
private static final Parser<BytesValue> PARSER
serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.google.protobuf.GeneratedMessageV3.serialVersionUID.

value_back to summary
private ByteString value_
VALUE_FIELD_NUMBERback to summary
public static final int VALUE_FIELD_NUMBER

Constructor Detail

BytesValueback to summary
private BytesValue(GeneratedMessageV3.Builder<?> builder)
BytesValueback to summary
private BytesValue()
BytesValueback to summary
private BytesValue(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException

Method Detail

equalsback to summary
public boolean equals(final Object obj)

Overrides com.google.protobuf.AbstractMessage.equals.

Implements com.google.protobuf.Message.equals.

Doc from com.google.protobuf.Message.equals.

Compares the specified object with this message for equality. Returns true if the given object is a message of the same type (as defined by getDescriptorForType()) and has identical values for all of its fields. Subclasses must implement this; inheriting Object.equals() is incorrect.

Parameters
obj:Object

object to be compared for equality with this message

Returns:boolean

true if the specified object is equal to this message

Annotations
@Override
getDefaultInstanceback to summary
public static BytesValue getDefaultInstance()
getDefaultInstanceForTypeback to summary
public BytesValue getDefaultInstanceForType()

Implements com.google.protobuf.MessageOrBuilder.getDefaultInstanceForType, com.google.protobuf.MessageLiteOrBuilder.getDefaultInstanceForType.

Doc from com.google.protobuf.MessageLiteOrBuilder.getDefaultInstanceForType.

Get an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from the getDefaultInstance() method of generated message classes in that this method is an abstract method of the MessageLite interface whereas getDefaultInstance() is a static method of a specific class. They return the same thing.

Annotations
@Override
getDescriptorback to summary
public static final Descriptors.Descriptor getDescriptor()
getParserForTypeback to summary
public Parser<BytesValue> getParserForType()

Overrides com.google.protobuf.GeneratedMessageV3.getParserForType.

Implements com.google.protobuf.Message.getParserForType, com.google.protobuf.MessageLite.getParserForType.

Doc from com.google.protobuf.MessageLite.getParserForType.

Gets the parser for a message of the same type as this message.

Annotations
@Override
getSerializedSizeback to summary
public int getSerializedSize()

Overrides com.google.protobuf.GeneratedMessageV3.getSerializedSize.

Implements com.google.protobuf.MessageLite.getSerializedSize.

Doc from com.google.protobuf.MessageLite.getSerializedSize.

Get the number of bytes required to encode this message. The result is only computed on the first call and memoized after that.

Annotations
@Override
getUnknownFieldsback to summary
public final UnknownFieldSet getUnknownFields()

Overrides com.google.protobuf.GeneratedMessageV3.getUnknownFields.

Implements com.google.protobuf.MessageOrBuilder.getUnknownFields.

Doc from com.google.protobuf.MessageOrBuilder.getUnknownFields.

Get the UnknownFieldSet for this message.

Annotations
@Override
getValueback to summary
public ByteString getValue()

Implements com.google.protobuf.BytesValueOrBuilder.getValue.

The bytes value.
bytes value = 1;
hashCodeback to summary
public int hashCode()

Overrides com.google.protobuf.AbstractMessage.hashCode.

Implements com.google.protobuf.Message.hashCode.

Doc from com.google.protobuf.Message.hashCode.

Returns the hash code value for this message. The hash code of a message should mix the message's type (object identity of the descriptor) with its contents (known and unknown field values). Subclasses must implement this; inheriting Object.hashCode() is incorrect.

Returns:int

the hash code value for this message

Annotations
@Override
internalGetFieldAccessorTableback to summary
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()

Implements abstract com.google.protobuf.GeneratedMessageV3.internalGetFieldAccessorTable.

Doc from com.google.protobuf.GeneratedMessageV3.internalGetFieldAccessorTable.

Get the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.

Annotations
@Override
isInitializedback to summary
public final boolean isInitialized()

Overrides com.google.protobuf.GeneratedMessageV3.isInitialized.

Implements com.google.protobuf.MessageLiteOrBuilder.isInitialized.

Doc from com.google.protobuf.MessageLiteOrBuilder.isInitialized.

Returns true if all required fields in the message and all embedded messages are set, false otherwise.

See also: MessageOrBuilder#getInitializationErrorString()

Annotations
@Override
newBuilderback to summary
public static BytesValue.Builder newBuilder()
newBuilderback to summary
public static BytesValue.Builder newBuilder(BytesValue prototype)
newBuilderForTypeback to summary
public BytesValue.Builder newBuilderForType()

Implements com.google.protobuf.Message.newBuilderForType, com.google.protobuf.MessageLite.newBuilderForType.

Doc from com.google.protobuf.MessageLite.newBuilderForType.

Constructs a new builder for a message of the same type as this message.

Annotations
@Override
newBuilderForTypeback to summary
protected BytesValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)

Implements abstract com.google.protobuf.GeneratedMessageV3.newBuilderForType.

Doc from com.google.protobuf.GeneratedMessageV3.newBuilderForType.

TODO(xiaofeng): remove this together with GeneratedMessageV3.BuilderParent.

Annotations
@Override
ofback to summary
public static BytesValue of(ByteString value)
parseDelimitedFromback to summary
public static BytesValue parseDelimitedFrom(InputStream input) throws IOException
parseDelimitedFromback to summary
public static BytesValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
parseFromback to summary
public static BytesValue parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
parseFromback to summary
public static BytesValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
parseFromback to summary
public static BytesValue parseFrom(ByteString data) throws InvalidProtocolBufferException
parseFromback to summary
public static BytesValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
parseFromback to summary
public static BytesValue parseFrom(byte[] data) throws InvalidProtocolBufferException
parseFromback to summary
public static BytesValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
parseFromback to summary
public static BytesValue parseFrom(InputStream input) throws IOException
parseFromback to summary
public static BytesValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
parseFromback to summary
public static BytesValue parseFrom(CodedInputStream input) throws IOException
parseFromback to summary
public static BytesValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
parserback to summary
public static Parser<BytesValue> parser()
toBuilderback to summary
public BytesValue.Builder toBuilder()

Implements com.google.protobuf.Message.toBuilder, com.google.protobuf.MessageLite.toBuilder.

Doc from com.google.protobuf.MessageLite.toBuilder.

Constructs a builder initialized with the current message. Use this to derive a new message from the current one.

Annotations
@Override
writeToback to summary
public void writeTo(CodedOutputStream output) throws IOException

Overrides com.google.protobuf.GeneratedMessageV3.writeTo.

Implements com.google.protobuf.MessageLite.writeTo.

Doc from com.google.protobuf.MessageLite.writeTo.

Serializes the message and writes it to output. This does not flush or close the stream.

Annotations
@Override
com.google.protobuf back to summary

public final Class BytesValue.Builder

extends GeneratedMessageV3.Builder<BytesValue.Builder>
implements BytesValueOrBuilder
Class Inheritance
All Implemented Interfaces
com.google.protobuf.BytesValueOrBuilder, com.google.protobuf.MessageOrBuilder, com.google.protobuf.MessageLiteOrBuilder

Wrapper message for `bytes`.
The JSON representation for `BytesValue` is JSON string.
Protobuf type google.protobuf.BytesValue

Field Summary

Modifier and TypeField and Description
private ByteString

Constructor Summary

AccessConstructor and Description
private
private

Method Summary

Modifier and TypeMethod and Description
public BytesValue.Builder
public BytesValue
build()

Implements com.google.protobuf.Message.Builder.build, com.google.protobuf.MessageLite.Builder.build.

Constructs the message based on the state of the Builder.
public BytesValue
buildPartial()

Implements com.google.protobuf.Message.Builder.buildPartial, com.google.protobuf.MessageLite.Builder.buildPartial.

Like build(), but does not throw an exception if the message is missing required fields.
public BytesValue.Builder
clear()

Overrides com.google.protobuf.GeneratedMessageV3.Builder.clear.

Implements com.google.protobuf.Message.Builder.clear, com.google.protobuf.MessageLite.Builder.clear.

Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.
public BytesValue.Builder
public BytesValue.Builder
clearOneof(Descriptors.OneofDescriptor oneof)

Overrides com.google.protobuf.GeneratedMessageV3.Builder.clearOneof.

Implements com.google.protobuf.Message.Builder.clearOneof.

TODO(jieluo): Clear it when all subclasses have implemented this method.
public BytesValue.Builder
clearValue()

The bytes value.
public BytesValue.Builder
public BytesValue
public static final Descriptors.Descriptor
public Descriptors.Descriptor
public ByteString
protected GeneratedMessageV3.FieldAccessorTable
public final boolean
isInitialized()

Overrides com.google.protobuf.GeneratedMessageV3.Builder.isInitialized.

Implements com.google.protobuf.MessageLiteOrBuilder.isInitialized.

Returns true if all required fields in the message and all embedded messages are set, false otherwise.
private void
public BytesValue.Builder
public BytesValue.Builder
public BytesValue.Builder
public final BytesValue.Builder
public BytesValue.Builder
public BytesValue.Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

Overrides com.google.protobuf.GeneratedMessageV3.Builder.setRepeatedField.

Implements com.google.protobuf.Message.Builder.setRepeatedField.

Sets an element of a repeated field to the given value.
public final BytesValue.Builder
public BytesValue.Builder
setValue(ByteString value)

The bytes value.
Inherited from com.google.protobuf.GeneratedMessageV3.Builder:
disposegetAllFieldsgetFieldgetFieldBuildergetOneofFieldDescriptorgetParentForChildrengetRepeatedFieldgetRepeatedFieldBuildergetRepeatedFieldCountgetUnknownFieldshasFieldhasOneofinternalGetMapFieldinternalGetMutableMapFieldisCleanmarkCleannewBuilderForFieldonBuiltonChangedsetUnknownFieldsProto3

Field Detail

value_back to summary
private ByteString value_

Constructor Detail

Builderback to summary
private Builder()
Builderback to summary
private Builder(GeneratedMessageV3.BuilderParent parent)

Method Detail

addRepeatedFieldback to summary
public BytesValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)

Overrides com.google.protobuf.GeneratedMessageV3.Builder.addRepeatedField.

Implements com.google.protobuf.Message.Builder.addRepeatedField.

Doc from com.google.protobuf.Message.Builder.addRepeatedField.

Like setRepeatedField, but appends the value as a new element.

Annotations
@Override
buildback to summary
public BytesValue build()

Implements com.google.protobuf.Message.Builder.build, com.google.protobuf.MessageLite.Builder.build.

Doc from com.google.protobuf.MessageLite.Builder.build.

Constructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.

Annotations
@Override
buildPartialback to summary
public BytesValue buildPartial()

Implements com.google.protobuf.Message.Builder.buildPartial, com.google.protobuf.MessageLite.Builder.buildPartial.

Doc from com.google.protobuf.MessageLite.Builder.buildPartial.

Like build(), but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.

Annotations
@Override
clearback to summary
public BytesValue.Builder clear()

Overrides com.google.protobuf.GeneratedMessageV3.Builder.clear.

Implements com.google.protobuf.Message.Builder.clear, com.google.protobuf.MessageLite.Builder.clear.

Doc from com.google.protobuf.GeneratedMessageV3.Builder.clear.

Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.

Annotations
@Override
clearFieldback to summary
public BytesValue.Builder clearField(Descriptors.FieldDescriptor field)

Overrides com.google.protobuf.GeneratedMessageV3.Builder.clearField.

Implements com.google.protobuf.Message.Builder.clearField.

Doc from com.google.protobuf.Message.Builder.clearField.

Clears the field. This is exactly equivalent to calling the generated "clear" accessor method corresponding to the field.

Annotations
@Override
clearOneofback to summary
public BytesValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)

Overrides com.google.protobuf.GeneratedMessageV3.Builder.clearOneof.

Implements com.google.protobuf.Message.Builder.clearOneof.

Doc from com.google.protobuf.AbstractMessage.Builder.clearOneof.

TODO(jieluo): Clear it when all subclasses have implemented this method.

Annotations
@Override
clearValueback to summary
public BytesValue.Builder clearValue()
The bytes value.
bytes value = 1;
cloneback to summary
public BytesValue.Builder clone()

Overrides com.google.protobuf.GeneratedMessageV3.Builder.clone.

Implements com.google.protobuf.Message.Builder.clone, com.google.protobuf.MessageLite.Builder.clone.

Doc from com.google.protobuf.MessageLite.Builder.clone.

Clones the Builder.

Returns:BytesValue.Builder

Doc from java.lang.Object.clone.

a clone of this instance.

Annotations
@Override
getDefaultInstanceForTypeback to summary
public BytesValue getDefaultInstanceForType()

Implements com.google.protobuf.MessageOrBuilder.getDefaultInstanceForType, com.google.protobuf.MessageLiteOrBuilder.getDefaultInstanceForType.

Doc from com.google.protobuf.MessageLiteOrBuilder.getDefaultInstanceForType.

Get an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from the getDefaultInstance() method of generated message classes in that this method is an abstract method of the MessageLite interface whereas getDefaultInstance() is a static method of a specific class. They return the same thing.

Annotations
@Override
getDescriptorback to summary
public static final Descriptors.Descriptor getDescriptor()
getDescriptorForTypeback to summary
public Descriptors.Descriptor getDescriptorForType()

Overrides com.google.protobuf.GeneratedMessageV3.Builder.getDescriptorForType.

Implements com.google.protobuf.MessageOrBuilder.getDescriptorForType, com.google.protobuf.Message.Builder.getDescriptorForType.

Doc from com.google.protobuf.MessageOrBuilder.getDescriptorForType.

Get the message's type's descriptor. This differs from the getDescriptor() method of generated message classes in that this method is an abstract method of the Message interface whereas getDescriptor() is a static method of a specific class. They return the same thing.

Annotations
@Override
getValueback to summary
public ByteString getValue()

Implements com.google.protobuf.BytesValueOrBuilder.getValue.

The bytes value.
bytes value = 1;
internalGetFieldAccessorTableback to summary
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()

Implements abstract com.google.protobuf.GeneratedMessageV3.Builder.internalGetFieldAccessorTable.

Doc from com.google.protobuf.GeneratedMessageV3.Builder.internalGetFieldAccessorTable.

Get the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.

Annotations
@Override
isInitializedback to summary
public final boolean isInitialized()

Overrides com.google.protobuf.GeneratedMessageV3.Builder.isInitialized.

Implements com.google.protobuf.MessageLiteOrBuilder.isInitialized.

Doc from com.google.protobuf.MessageLiteOrBuilder.isInitialized.

Returns true if all required fields in the message and all embedded messages are set, false otherwise.

See also: MessageOrBuilder#getInitializationErrorString()

Annotations
@Override
maybeForceBuilderInitializationback to summary
private void maybeForceBuilderInitialization()
mergeFromback to summary
public BytesValue.Builder mergeFrom(Message other)

Overrides com.google.protobuf.AbstractMessage.Builder.mergeFrom.

Implements com.google.protobuf.Message.Builder.mergeFrom.

Doc from com.google.protobuf.Message.Builder.mergeFrom.

Merge other into the message being built. other must have the exact same type as this (i.e. getDescriptorForType() == other.getDescriptorForType()).

Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set in other, then other's value overwrites the value in this message.
* For singular message fields, if the field is set in other, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements in other are concatenated with the elements in this message.
* For oneof groups, if the other message has one of the fields set, the group of this message is cleared and replaced by the field of the other message, so that the oneof constraint is preserved.

This is equivalent to the Message::MergeFrom method in C++.

Annotations
@Override
mergeFromback to summary
public BytesValue.Builder mergeFrom(BytesValue other)
mergeFromback to summary
public BytesValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException

Overrides com.google.protobuf.AbstractMessage.Builder.mergeFrom.

Implements com.google.protobuf.Message.Builder.mergeFrom, com.google.protobuf.MessageLite.Builder.mergeFrom.

Doc from com.google.protobuf.MessageLite.Builder.mergeFrom.

Like Builder#mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered in extensionRegistry. Extensions not in the registry will be treated as unknown fields.

Annotations
@Override
mergeUnknownFieldsback to summary
public final BytesValue.Builder mergeUnknownFields(final UnknownFieldSet unknownFields)

Overrides com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownFields.

Implements com.google.protobuf.Message.Builder.mergeUnknownFields.

Doc from com.google.protobuf.Message.Builder.mergeUnknownFields.

Merge some unknown fields into the UnknownFieldSet for this message.

Annotations
@Override
setFieldback to summary
public BytesValue.Builder setField(Descriptors.FieldDescriptor field, Object value)

Overrides com.google.protobuf.GeneratedMessageV3.Builder.setField.

Implements com.google.protobuf.Message.Builder.setField.

Doc from com.google.protobuf.Message.Builder.setField.

Sets a field to the given value. The value must be of the correct type for this field, i.e. the same type that Message#getField(Descriptors.FieldDescriptor) would return.

Annotations
@Override
setRepeatedFieldback to summary
public BytesValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

Overrides com.google.protobuf.GeneratedMessageV3.Builder.setRepeatedField.

Implements com.google.protobuf.Message.Builder.setRepeatedField.

Doc from com.google.protobuf.Message.Builder.setRepeatedField.

Sets an element of a repeated field to the given value. The value must be of the correct type for this field, i.e. the same type that Message#getRepeatedField(Descriptors.FieldDescriptor, int) would return.

Annotations
@Override
setUnknownFieldsback to summary
public final BytesValue.Builder setUnknownFields(final UnknownFieldSet unknownFields)

Overrides com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFields.

Implements com.google.protobuf.Message.Builder.setUnknownFields.

Doc from com.google.protobuf.Message.Builder.setUnknownFields.

Set the UnknownFieldSet for this message.

Annotations
@Override
setValueback to summary
public BytesValue.Builder setValue(ByteString value)
The bytes value.
bytes value = 1;