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

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

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

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

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

        public ListComponentsResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
      • clearField

        public ListComponentsResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
      • clearOneof

        public ListComponentsResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
      • setRepeatedField

        public ListComponentsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
      • addRepeatedField

        public ListComponentsResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
      • isInitialized

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

        public ListComponentsResponse.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<ListComponentsResponse.Builder>
        Throws:
        IOException
      • getComponentsList

        public com.google.protobuf.ProtocolStringList getComponentsList()
         The components from the specified organization.
         
        repeated string components = 1;
        Specified by:
        getComponentsList in interface ListComponentsResponseOrBuilder
        Returns:
        A list containing the components.
      • getComponentsCount

        public int getComponentsCount()
         The components from the specified organization.
         
        repeated string components = 1;
        Specified by:
        getComponentsCount in interface ListComponentsResponseOrBuilder
        Returns:
        The count of components.
      • getComponents

        public String getComponents​(int index)
         The components from the specified organization.
         
        repeated string components = 1;
        Specified by:
        getComponents in interface ListComponentsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The components at the given index.
      • getComponentsBytes

        public com.google.protobuf.ByteString getComponentsBytes​(int index)
         The components from the specified organization.
         
        repeated string components = 1;
        Specified by:
        getComponentsBytes in interface ListComponentsResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the components at the given index.
      • setComponents

        public ListComponentsResponse.Builder setComponents​(int index,
                                                            String value)
         The components from the specified organization.
         
        repeated string components = 1;
        Parameters:
        index - The index to set the value at.
        value - The components to set.
        Returns:
        This builder for chaining.
      • addComponents

        public ListComponentsResponse.Builder addComponents​(String value)
         The components from the specified organization.
         
        repeated string components = 1;
        Parameters:
        value - The components to add.
        Returns:
        This builder for chaining.
      • addAllComponents

        public ListComponentsResponse.Builder addAllComponents​(Iterable<String> values)
         The components from the specified organization.
         
        repeated string components = 1;
        Parameters:
        values - The components to add.
        Returns:
        This builder for chaining.
      • clearComponents

        public ListComponentsResponse.Builder clearComponents()
         The components from the specified organization.
         
        repeated string components = 1;
        Returns:
        This builder for chaining.
      • addComponentsBytes

        public ListComponentsResponse.Builder addComponentsBytes​(com.google.protobuf.ByteString value)
         The components from the specified organization.
         
        repeated string components = 1;
        Parameters:
        value - The bytes of the components to add.
        Returns:
        This builder for chaining.
      • getNextPageToken

        public String getNextPageToken()
         A token that can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListComponentsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A token that can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListComponentsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListComponentsResponse.Builder setNextPageToken​(String value)
         A token that can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListComponentsResponse.Builder clearNextPageToken()
         A token that can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListComponentsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A token that can be sent as `page_token` to retrieve the next page.
         If this field is omitted, there are no subsequent pages.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

        public final ListComponentsResponse.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<ListComponentsResponse.Builder>