Class FetchRemoteBranchesResponse.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FetchRemoteBranchesResponse.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.GeneratedMessageV3.Builder<FetchRemoteBranchesResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public FetchRemoteBranchesResponse.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<FetchRemoteBranchesResponse.Builder>
        Throws:
        IOException
      • getBranchesList

        public com.google.protobuf.ProtocolStringList getBranchesList()
         The remote repository's branch names.
         
        repeated string branches = 1;
        Specified by:
        getBranchesList in interface FetchRemoteBranchesResponseOrBuilder
        Returns:
        A list containing the branches.
      • getBranches

        public String getBranches​(int index)
         The remote repository's branch names.
         
        repeated string branches = 1;
        Specified by:
        getBranches in interface FetchRemoteBranchesResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The branches at the given index.
      • getBranchesBytes

        public com.google.protobuf.ByteString getBranchesBytes​(int index)
         The remote repository's branch names.
         
        repeated string branches = 1;
        Specified by:
        getBranchesBytes in interface FetchRemoteBranchesResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the branches at the given index.
      • setBranches

        public FetchRemoteBranchesResponse.Builder setBranches​(int index,
                                                               String value)
         The remote repository's branch names.
         
        repeated string branches = 1;
        Parameters:
        index - The index to set the value at.
        value - The branches to set.
        Returns:
        This builder for chaining.
      • addBranches

        public FetchRemoteBranchesResponse.Builder addBranches​(String value)
         The remote repository's branch names.
         
        repeated string branches = 1;
        Parameters:
        value - The branches to add.
        Returns:
        This builder for chaining.
      • addAllBranches

        public FetchRemoteBranchesResponse.Builder addAllBranches​(Iterable<String> values)
         The remote repository's branch names.
         
        repeated string branches = 1;
        Parameters:
        values - The branches to add.
        Returns:
        This builder for chaining.
      • clearBranches

        public FetchRemoteBranchesResponse.Builder clearBranches()
         The remote repository's branch names.
         
        repeated string branches = 1;
        Returns:
        This builder for chaining.
      • addBranchesBytes

        public FetchRemoteBranchesResponse.Builder addBranchesBytes​(com.google.protobuf.ByteString value)
         The remote repository's branch names.
         
        repeated string branches = 1;
        Parameters:
        value - The bytes of the branches to add.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final FetchRemoteBranchesResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FetchRemoteBranchesResponse.Builder>