Class Message.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Message.Builder>
org.a2aproject.sdk.compat03.grpc.Message.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, MessageOrBuilder
Enclosing class:
Message

public static final class Message.Builder extends com.google.protobuf.GeneratedMessage.Builder<Message.Builder> implements MessageOrBuilder
 Message is one unit of communication between client and server. It is
 associated with a context and optionally a task. Since the server is
 responsible for the context definition, it must always provide a context_id
 in its messages. The client can optionally provide the context_id if it
 knows the context to associate the message to. Similarly for task_id,
 except the server decides if a task is created and whether to include the
 task_id.
 
Protobuf type a2a.v1.Message
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllContent(Iterable<? extends Part> values)
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    The URIs of extensions that are present or contributed to this Message.
    addContent(int index, Part value)
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    addContent(int index, Part.Builder builderForValue)
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    addContent(Part.Builder builderForValue)
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    addContentBuilder(int index)
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    The URIs of extensions that are present or contributed to this Message.
    addExtensionsBytes(com.google.protobuf.ByteString value)
    The URIs of extensions that are present or contributed to this Message.
     
     
     
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    The context id of the message.
    The URIs of extensions that are present or contributed to this Message.
    The message id of the message.
    protolint:enable REPEATED_FIELD_NAMES_PLURALIZED Any optional metadata to provide along with the message.
    A role for the message.
    The task id of the message.
    getContent(int index)
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    getContentBuilder(int index)
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    int
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    List<? extends PartOrBuilder>
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    The context id of the message.
    com.google.protobuf.ByteString
    The context id of the message.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    getExtensions(int index)
    The URIs of extensions that are present or contributed to this Message.
    com.google.protobuf.ByteString
    getExtensionsBytes(int index)
    The URIs of extensions that are present or contributed to this Message.
    int
    The URIs of extensions that are present or contributed to this Message.
    com.google.protobuf.ProtocolStringList
    The URIs of extensions that are present or contributed to this Message.
    The message id of the message.
    com.google.protobuf.ByteString
    The message id of the message.
    com.google.protobuf.Struct
    protolint:enable REPEATED_FIELD_NAMES_PLURALIZED Any optional metadata to provide along with the message.
    com.google.protobuf.Struct.Builder
    protolint:enable REPEATED_FIELD_NAMES_PLURALIZED Any optional metadata to provide along with the message.
    com.google.protobuf.StructOrBuilder
    protolint:enable REPEATED_FIELD_NAMES_PLURALIZED Any optional metadata to provide along with the message.
    A role for the message.
    int
    A role for the message.
    The task id of the message.
    com.google.protobuf.ByteString
    The task id of the message.
    boolean
    protolint:enable REPEATED_FIELD_NAMES_PLURALIZED Any optional metadata to provide along with the message.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeMetadata(com.google.protobuf.Struct value)
    protolint:enable REPEATED_FIELD_NAMES_PLURALIZED Any optional metadata to provide along with the message.
    removeContent(int index)
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    setContent(int index, Part value)
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    setContent(int index, Part.Builder builderForValue)
    protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Content is the container of the message content.
    The context id of the message.
    setContextIdBytes(com.google.protobuf.ByteString value)
    The context id of the message.
    setExtensions(int index, String value)
    The URIs of extensions that are present or contributed to this Message.
    The message id of the message.
    setMessageIdBytes(com.google.protobuf.ByteString value)
    The message id of the message.
    setMetadata(com.google.protobuf.Struct value)
    protolint:enable REPEATED_FIELD_NAMES_PLURALIZED Any optional metadata to provide along with the message.
    setMetadata(com.google.protobuf.Struct.Builder builderForValue)
    protolint:enable REPEATED_FIELD_NAMES_PLURALIZED Any optional metadata to provide along with the message.
    setRole(Role value)
    A role for the message.
    setRoleValue(int value)
    A role for the message.
    The task id of the message.
    setTaskIdBytes(com.google.protobuf.ByteString value)
    The task id of the message.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Message.Builder>
    • clear

      public Message.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Message.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Message.Builder>
    • getDefaultInstanceForType

      public Message getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Message build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Message buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Message.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Message.Builder>
    • mergeFrom

      public Message.Builder mergeFrom(Message other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Message.Builder>
    • mergeFrom

      public Message.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Message.Builder>
      Throws:
      IOException
    • getMessageId

      public String getMessageId()
       The message id of the message. This is required and created by the
       message creator.
       
      string message_id = 1;
      Specified by:
      getMessageId in interface MessageOrBuilder
      Returns:
      The messageId.
    • getMessageIdBytes

      public com.google.protobuf.ByteString getMessageIdBytes()
       The message id of the message. This is required and created by the
       message creator.
       
      string message_id = 1;
      Specified by:
      getMessageIdBytes in interface MessageOrBuilder
      Returns:
      The bytes for messageId.
    • setMessageId

      public Message.Builder setMessageId(String value)
       The message id of the message. This is required and created by the
       message creator.
       
      string message_id = 1;
      Parameters:
      value - The messageId to set.
      Returns:
      This builder for chaining.
    • clearMessageId

      public Message.Builder clearMessageId()
       The message id of the message. This is required and created by the
       message creator.
       
      string message_id = 1;
      Returns:
      This builder for chaining.
    • setMessageIdBytes

      public Message.Builder setMessageIdBytes(com.google.protobuf.ByteString value)
       The message id of the message. This is required and created by the
       message creator.
       
      string message_id = 1;
      Parameters:
      value - The bytes for messageId to set.
      Returns:
      This builder for chaining.
    • getContextId

      public String getContextId()
       The context id of the message. This is optional and if set, the message
       will be associated with the given context.
       
      string context_id = 2;
      Specified by:
      getContextId in interface MessageOrBuilder
      Returns:
      The contextId.
    • getContextIdBytes

      public com.google.protobuf.ByteString getContextIdBytes()
       The context id of the message. This is optional and if set, the message
       will be associated with the given context.
       
      string context_id = 2;
      Specified by:
      getContextIdBytes in interface MessageOrBuilder
      Returns:
      The bytes for contextId.
    • setContextId

      public Message.Builder setContextId(String value)
       The context id of the message. This is optional and if set, the message
       will be associated with the given context.
       
      string context_id = 2;
      Parameters:
      value - The contextId to set.
      Returns:
      This builder for chaining.
    • clearContextId

      public Message.Builder clearContextId()
       The context id of the message. This is optional and if set, the message
       will be associated with the given context.
       
      string context_id = 2;
      Returns:
      This builder for chaining.
    • setContextIdBytes

      public Message.Builder setContextIdBytes(com.google.protobuf.ByteString value)
       The context id of the message. This is optional and if set, the message
       will be associated with the given context.
       
      string context_id = 2;
      Parameters:
      value - The bytes for contextId to set.
      Returns:
      This builder for chaining.
    • getTaskId

      public String getTaskId()
       The task id of the message. This is optional and if set, the message
       will be associated with the given task.
       
      string task_id = 3;
      Specified by:
      getTaskId in interface MessageOrBuilder
      Returns:
      The taskId.
    • getTaskIdBytes

      public com.google.protobuf.ByteString getTaskIdBytes()
       The task id of the message. This is optional and if set, the message
       will be associated with the given task.
       
      string task_id = 3;
      Specified by:
      getTaskIdBytes in interface MessageOrBuilder
      Returns:
      The bytes for taskId.
    • setTaskId

      public Message.Builder setTaskId(String value)
       The task id of the message. This is optional and if set, the message
       will be associated with the given task.
       
      string task_id = 3;
      Parameters:
      value - The taskId to set.
      Returns:
      This builder for chaining.
    • clearTaskId

      public Message.Builder clearTaskId()
       The task id of the message. This is optional and if set, the message
       will be associated with the given task.
       
      string task_id = 3;
      Returns:
      This builder for chaining.
    • setTaskIdBytes

      public Message.Builder setTaskIdBytes(com.google.protobuf.ByteString value)
       The task id of the message. This is optional and if set, the message
       will be associated with the given task.
       
      string task_id = 3;
      Parameters:
      value - The bytes for taskId to set.
      Returns:
      This builder for chaining.
    • getRoleValue

      public int getRoleValue()
       A role for the message.
       
      .a2a.v1.Role role = 4;
      Specified by:
      getRoleValue in interface MessageOrBuilder
      Returns:
      The enum numeric value on the wire for role.
    • setRoleValue

      public Message.Builder setRoleValue(int value)
       A role for the message.
       
      .a2a.v1.Role role = 4;
      Parameters:
      value - The enum numeric value on the wire for role to set.
      Returns:
      This builder for chaining.
    • getRole

      public Role getRole()
       A role for the message.
       
      .a2a.v1.Role role = 4;
      Specified by:
      getRole in interface MessageOrBuilder
      Returns:
      The role.
    • setRole

      public Message.Builder setRole(Role value)
       A role for the message.
       
      .a2a.v1.Role role = 4;
      Parameters:
      value - The role to set.
      Returns:
      This builder for chaining.
    • clearRole

      public Message.Builder clearRole()
       A role for the message.
       
      .a2a.v1.Role role = 4;
      Returns:
      This builder for chaining.
    • getContentList

      public List<Part> getContentList()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
      Specified by:
      getContentList in interface MessageOrBuilder
    • getContentCount

      public int getContentCount()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
      Specified by:
      getContentCount in interface MessageOrBuilder
    • getContent

      public Part getContent(int index)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
      Specified by:
      getContent in interface MessageOrBuilder
    • setContent

      public Message.Builder setContent(int index, Part value)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • setContent

      public Message.Builder setContent(int index, Part.Builder builderForValue)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • addContent

      public Message.Builder addContent(Part value)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • addContent

      public Message.Builder addContent(int index, Part value)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • addContent

      public Message.Builder addContent(Part.Builder builderForValue)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • addContent

      public Message.Builder addContent(int index, Part.Builder builderForValue)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • addAllContent

      public Message.Builder addAllContent(Iterable<? extends Part> values)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • clearContent

      public Message.Builder clearContent()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • removeContent

      public Message.Builder removeContent(int index)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • getContentBuilder

      public Part.Builder getContentBuilder(int index)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • getContentOrBuilder

      public PartOrBuilder getContentOrBuilder(int index)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
      Specified by:
      getContentOrBuilder in interface MessageOrBuilder
    • getContentOrBuilderList

      public List<? extends PartOrBuilder> getContentOrBuilderList()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
      Specified by:
      getContentOrBuilderList in interface MessageOrBuilder
    • addContentBuilder

      public Part.Builder addContentBuilder()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • addContentBuilder

      public Part.Builder addContentBuilder(int index)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • getContentBuilderList

      public List<Part.Builder> getContentBuilderList()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       Content is the container of the message content.
       
      repeated .a2a.v1.Part content = 5;
    • hasMetadata

      public boolean hasMetadata()
       protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
       Any optional metadata to provide along with the message.
       
      .google.protobuf.Struct metadata = 6;
      Specified by:
      hasMetadata in interface MessageOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public com.google.protobuf.Struct getMetadata()
       protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
       Any optional metadata to provide along with the message.
       
      .google.protobuf.Struct metadata = 6;
      Specified by:
      getMetadata in interface MessageOrBuilder
      Returns:
      The metadata.
    • setMetadata

      public Message.Builder setMetadata(com.google.protobuf.Struct value)
       protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
       Any optional metadata to provide along with the message.
       
      .google.protobuf.Struct metadata = 6;
    • setMetadata

      public Message.Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue)
       protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
       Any optional metadata to provide along with the message.
       
      .google.protobuf.Struct metadata = 6;
    • mergeMetadata

      public Message.Builder mergeMetadata(com.google.protobuf.Struct value)
       protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
       Any optional metadata to provide along with the message.
       
      .google.protobuf.Struct metadata = 6;
    • clearMetadata

      public Message.Builder clearMetadata()
       protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
       Any optional metadata to provide along with the message.
       
      .google.protobuf.Struct metadata = 6;
    • getMetadataBuilder

      public com.google.protobuf.Struct.Builder getMetadataBuilder()
       protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
       Any optional metadata to provide along with the message.
       
      .google.protobuf.Struct metadata = 6;
    • getMetadataOrBuilder

      public com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
       protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
       Any optional metadata to provide along with the message.
       
      .google.protobuf.Struct metadata = 6;
      Specified by:
      getMetadataOrBuilder in interface MessageOrBuilder
    • getExtensionsList

      public com.google.protobuf.ProtocolStringList getExtensionsList()
       The URIs of extensions that are present or contributed to this Message.
       
      repeated string extensions = 7;
      Specified by:
      getExtensionsList in interface MessageOrBuilder
      Returns:
      A list containing the extensions.
    • getExtensionsCount

      public int getExtensionsCount()
       The URIs of extensions that are present or contributed to this Message.
       
      repeated string extensions = 7;
      Specified by:
      getExtensionsCount in interface MessageOrBuilder
      Returns:
      The count of extensions.
    • getExtensions

      public String getExtensions(int index)
       The URIs of extensions that are present or contributed to this Message.
       
      repeated string extensions = 7;
      Specified by:
      getExtensions in interface MessageOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The extensions at the given index.
    • getExtensionsBytes

      public com.google.protobuf.ByteString getExtensionsBytes(int index)
       The URIs of extensions that are present or contributed to this Message.
       
      repeated string extensions = 7;
      Specified by:
      getExtensionsBytes in interface MessageOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the extensions at the given index.
    • setExtensions

      public Message.Builder setExtensions(int index, String value)
       The URIs of extensions that are present or contributed to this Message.
       
      repeated string extensions = 7;
      Parameters:
      index - The index to set the value at.
      value - The extensions to set.
      Returns:
      This builder for chaining.
    • addExtensions

      public Message.Builder addExtensions(String value)
       The URIs of extensions that are present or contributed to this Message.
       
      repeated string extensions = 7;
      Parameters:
      value - The extensions to add.
      Returns:
      This builder for chaining.
    • addAllExtensions

      public Message.Builder addAllExtensions(Iterable<String> values)
       The URIs of extensions that are present or contributed to this Message.
       
      repeated string extensions = 7;
      Parameters:
      values - The extensions to add.
      Returns:
      This builder for chaining.
    • clearExtensions

      public Message.Builder clearExtensions()
       The URIs of extensions that are present or contributed to this Message.
       
      repeated string extensions = 7;
      Returns:
      This builder for chaining.
    • addExtensionsBytes

      public Message.Builder addExtensionsBytes(com.google.protobuf.ByteString value)
       The URIs of extensions that are present or contributed to this Message.
       
      repeated string extensions = 7;
      Parameters:
      value - The bytes of the extensions to add.
      Returns:
      This builder for chaining.