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

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

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

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

        public ListMetadataImportsResponse.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<ListMetadataImportsResponse.Builder>
        Throws:
        IOException
      • clearMetadataImports

        public ListMetadataImportsResponse.Builder clearMetadataImports()
         The imports in the specified service.
         
        repeated .google.cloud.metastore.v1alpha.MetadataImport metadata_imports = 1;
      • removeMetadataImports

        public ListMetadataImportsResponse.Builder removeMetadataImports​(int index)
         The imports in the specified service.
         
        repeated .google.cloud.metastore.v1alpha.MetadataImport metadata_imports = 1;
      • getMetadataImportsBuilder

        public MetadataImport.Builder getMetadataImportsBuilder​(int index)
         The imports in the specified service.
         
        repeated .google.cloud.metastore.v1alpha.MetadataImport metadata_imports = 1;
      • addMetadataImportsBuilder

        public MetadataImport.Builder addMetadataImportsBuilder()
         The imports in the specified service.
         
        repeated .google.cloud.metastore.v1alpha.MetadataImport metadata_imports = 1;
      • addMetadataImportsBuilder

        public MetadataImport.Builder addMetadataImportsBuilder​(int index)
         The imports in the specified service.
         
        repeated .google.cloud.metastore.v1alpha.MetadataImport metadata_imports = 1;
      • getMetadataImportsBuilderList

        public List<MetadataImport.Builder> getMetadataImportsBuilderList()
         The imports in the specified service.
         
        repeated .google.cloud.metastore.v1alpha.MetadataImport metadata_imports = 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 ListMetadataImportsResponseOrBuilder
        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 ListMetadataImportsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListMetadataImportsResponse.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 ListMetadataImportsResponse.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 ListMetadataImportsResponse.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 ListMetadataImportsResponseOrBuilder
        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 ListMetadataImportsResponseOrBuilder
        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 ListMetadataImportsResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unreachable at the given index.
      • setUnreachable

        public ListMetadataImportsResponse.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 ListMetadataImportsResponse.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 ListMetadataImportsResponse.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 ListMetadataImportsResponse.Builder clearUnreachable()
         Locations that could not be reached.
         
        repeated string unreachable = 3;
        Returns:
        This builder for chaining.
      • addUnreachableBytes

        public ListMetadataImportsResponse.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 ListMetadataImportsResponse.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<ListMetadataImportsResponse.Builder>