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

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

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

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

        public DeleteDocumentLinkRequest.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<DeleteDocumentLinkRequest.Builder>
      • isInitialized

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

        public DeleteDocumentLinkRequest.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<DeleteDocumentLinkRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. The name of the document-link to be deleted.
         Format:
         projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface DeleteDocumentLinkRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The name of the document-link to be deleted.
         Format:
         projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface DeleteDocumentLinkRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public DeleteDocumentLinkRequest.Builder setName​(String value)
         Required. The name of the document-link to be deleted.
         Format:
         projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public DeleteDocumentLinkRequest.Builder clearName()
         Required. The name of the document-link to be deleted.
         Format:
         projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public DeleteDocumentLinkRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The name of the document-link to be deleted.
         Format:
         projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasRequestMetadata

        public boolean hasRequestMetadata()
         The meta information collected about the document creator, used to enforce
         access control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
        Specified by:
        hasRequestMetadata in interface DeleteDocumentLinkRequestOrBuilder
        Returns:
        Whether the requestMetadata field is set.
      • getRequestMetadata

        public RequestMetadata getRequestMetadata()
         The meta information collected about the document creator, used to enforce
         access control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
        Specified by:
        getRequestMetadata in interface DeleteDocumentLinkRequestOrBuilder
        Returns:
        The requestMetadata.
      • setRequestMetadata

        public DeleteDocumentLinkRequest.Builder setRequestMetadata​(RequestMetadata value)
         The meta information collected about the document creator, used to enforce
         access control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
      • setRequestMetadata

        public DeleteDocumentLinkRequest.Builder setRequestMetadata​(RequestMetadata.Builder builderForValue)
         The meta information collected about the document creator, used to enforce
         access control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
      • mergeRequestMetadata

        public DeleteDocumentLinkRequest.Builder mergeRequestMetadata​(RequestMetadata value)
         The meta information collected about the document creator, used to enforce
         access control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
      • clearRequestMetadata

        public DeleteDocumentLinkRequest.Builder clearRequestMetadata()
         The meta information collected about the document creator, used to enforce
         access control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
      • getRequestMetadataBuilder

        public RequestMetadata.Builder getRequestMetadataBuilder()
         The meta information collected about the document creator, used to enforce
         access control for the service.
         
        .google.cloud.contentwarehouse.v1.RequestMetadata request_metadata = 2;
      • setUnknownFields

        public final DeleteDocumentLinkRequest.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<DeleteDocumentLinkRequest.Builder>
      • mergeUnknownFields

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