Class ListImportDataFilesResponse.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<ListImportDataFilesResponse.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<ListImportDataFilesResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public ListImportDataFilesResponse.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<ListImportDataFilesResponse.Builder>
        Throws:
        IOException
      • clearImportDataFiles

        public ListImportDataFilesResponse.Builder clearImportDataFiles()
         The list of import data files.
         
        repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;
      • removeImportDataFiles

        public ListImportDataFilesResponse.Builder removeImportDataFiles​(int index)
         The list of import data files.
         
        repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;
      • getImportDataFilesBuilder

        public ImportDataFile.Builder getImportDataFilesBuilder​(int index)
         The list of import data files.
         
        repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;
      • addImportDataFilesBuilder

        public ImportDataFile.Builder addImportDataFilesBuilder()
         The list of import data files.
         
        repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;
      • addImportDataFilesBuilder

        public ImportDataFile.Builder addImportDataFilesBuilder​(int index)
         The list of import data files.
         
        repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;
      • getImportDataFilesBuilderList

        public List<ImportDataFile.Builder> getImportDataFilesBuilderList()
         The list of import data files.
         
        repeated .google.cloud.migrationcenter.v1.ImportDataFile import_data_files = 1;
      • 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 ListImportDataFilesResponseOrBuilder
        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 ListImportDataFilesResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListImportDataFilesResponse.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 ListImportDataFilesResponse.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 ListImportDataFilesResponse.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.
      • getUnreachableList

        public com.google.protobuf.ProtocolStringList getUnreachableList()
         Locations that could not be reached.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableList in interface ListImportDataFilesResponseOrBuilder
        Returns:
        A list containing the unreachable.
      • getUnreachable

        public String getUnreachable​(int index)
         Locations that could not be reached.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachable in interface ListImportDataFilesResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The unreachable at the given index.
      • getUnreachableBytes

        public com.google.protobuf.ByteString getUnreachableBytes​(int index)
         Locations that could not be reached.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableBytes in interface ListImportDataFilesResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unreachable at the given index.
      • setUnreachable

        public ListImportDataFilesResponse.Builder setUnreachable​(int index,
                                                                  String value)
         Locations that could not be reached.
         
        repeated string unreachable = 3;
        Parameters:
        index - The index to set the value at.
        value - The unreachable to set.
        Returns:
        This builder for chaining.
      • addUnreachable

        public ListImportDataFilesResponse.Builder addUnreachable​(String value)
         Locations that could not be reached.
         
        repeated string unreachable = 3;
        Parameters:
        value - The unreachable to add.
        Returns:
        This builder for chaining.
      • addAllUnreachable

        public ListImportDataFilesResponse.Builder addAllUnreachable​(Iterable<String> values)
         Locations that could not be reached.
         
        repeated string unreachable = 3;
        Parameters:
        values - The unreachable to add.
        Returns:
        This builder for chaining.
      • clearUnreachable

        public ListImportDataFilesResponse.Builder clearUnreachable()
         Locations that could not be reached.
         
        repeated string unreachable = 3;
        Returns:
        This builder for chaining.
      • addUnreachableBytes

        public ListImportDataFilesResponse.Builder addUnreachableBytes​(com.google.protobuf.ByteString value)
         Locations that could not be reached.
         
        repeated string unreachable = 3;
        Parameters:
        value - The bytes of the unreachable to add.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

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