Class ResourceReply.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ResourceReply.Builder>
com.google.protobuf.GeneratedMessage.Builder<ResourceReply.Builder>
ai.wanaku.core.exchange.v1.ResourceReply.Builder
All Implemented Interfaces:
ResourceReplyOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ResourceReply

public static final class ResourceReply.Builder extends com.google.protobuf.GeneratedMessage.Builder<ResourceReply.Builder> implements ResourceReplyOrBuilder
 The resource response message
 
Protobuf type ai.wanaku.resource.v1.ResourceReply
  • Method Summary

    Modifier and Type
    Method
    Description
    repeated string content = 2;
    repeated string content = 2;
    addContentBytes(com.google.protobuf.ByteString value)
    repeated string content = 2;
     
     
     
    repeated string content = 2;
    getContent(int index)
    repeated string content = 2;
    com.google.protobuf.ByteString
    getContentBytes(int index)
    repeated string content = 2;
    int
    repeated string content = 2;
    com.google.protobuf.ProtocolStringList
    repeated string content = 2;
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    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)
     
    setContent(int index, String value)
    repeated string content = 2;

    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<ResourceReply.Builder>
    • clear

      public ResourceReply.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<ResourceReply.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<ResourceReply.Builder>
    • getDefaultInstanceForType

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

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

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

      public ResourceReply.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<ResourceReply.Builder>
    • mergeFrom

      public ResourceReply.Builder mergeFrom(ResourceReply other)
    • isInitialized

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

      public ResourceReply.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<ResourceReply.Builder>
      Throws:
      IOException
    • getContentList

      public com.google.protobuf.ProtocolStringList getContentList()
      repeated string content = 2;
      Specified by:
      getContentList in interface ResourceReplyOrBuilder
      Returns:
      A list containing the content.
    • getContentCount

      public int getContentCount()
      repeated string content = 2;
      Specified by:
      getContentCount in interface ResourceReplyOrBuilder
      Returns:
      The count of content.
    • getContent

      public String getContent(int index)
      repeated string content = 2;
      Specified by:
      getContent in interface ResourceReplyOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The content at the given index.
    • getContentBytes

      public com.google.protobuf.ByteString getContentBytes(int index)
      repeated string content = 2;
      Specified by:
      getContentBytes in interface ResourceReplyOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the content at the given index.
    • setContent

      public ResourceReply.Builder setContent(int index, String value)
      repeated string content = 2;
      Parameters:
      index - The index to set the value at.
      value - The content to set.
      Returns:
      This builder for chaining.
    • addContent

      public ResourceReply.Builder addContent(String value)
      repeated string content = 2;
      Parameters:
      value - The content to add.
      Returns:
      This builder for chaining.
    • addAllContent

      public ResourceReply.Builder addAllContent(Iterable<String> values)
      repeated string content = 2;
      Parameters:
      values - The content to add.
      Returns:
      This builder for chaining.
    • clearContent

      public ResourceReply.Builder clearContent()
      repeated string content = 2;
      Returns:
      This builder for chaining.
    • addContentBytes

      public ResourceReply.Builder addContentBytes(com.google.protobuf.ByteString value)
      repeated string content = 2;
      Parameters:
      value - The bytes of the content to add.
      Returns:
      This builder for chaining.