Class BytesValue.Builder

All Implemented Interfaces:
BytesValueOrBuilder, MessageLite.Builder, MessageLiteOrBuilder, Cloneable
Enclosing class:
BytesValue

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
  • Constructor Details

    • Builder

      private Builder()
  • Method Details

    • getValue

      public ByteString getValue()
       The bytes value.
       
      bytes value = 1;
      Specified by:
      getValue in interface BytesValueOrBuilder
      Returns:
      The value.
    • setValue

      public BytesValue.Builder setValue(ByteString value)
       The bytes value.
       
      bytes value = 1;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public BytesValue.Builder clearValue()
       The bytes value.
       
      bytes value = 1;
      Returns:
      This builder for chaining.