Class FileWriteRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable, FileWriteRequestOrBuilder
    Enclosing class:
    FileWriteRequest

    public static final class FileWriteRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FileWriteRequest.Builder>
    implements FileWriteRequestOrBuilder
    
     Request to create or update a FILE and store content to the platform.
     @see TracDataApi.createFile
     @see TracDataApi.updateFile
     
    Protobuf type tracdap.api.FileWriteRequest
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FileWriteRequest.Builder addAllTagUpdates​(java.lang.Iterable<? extends org.finos.tracdap.metadata.TagUpdate> values)
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      FileWriteRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)  
      FileWriteRequest.Builder addTagUpdates​(int index, org.finos.tracdap.metadata.TagUpdate value)
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      FileWriteRequest.Builder addTagUpdates​(int index, org.finos.tracdap.metadata.TagUpdate.Builder builderForValue)
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      FileWriteRequest.Builder addTagUpdates​(org.finos.tracdap.metadata.TagUpdate value)
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      FileWriteRequest.Builder addTagUpdates​(org.finos.tracdap.metadata.TagUpdate.Builder builderForValue)
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      org.finos.tracdap.metadata.TagUpdate.Builder addTagUpdatesBuilder()
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      org.finos.tracdap.metadata.TagUpdate.Builder addTagUpdatesBuilder​(int index)
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      FileWriteRequest build()  
      FileWriteRequest buildPartial()  
      FileWriteRequest.Builder clear()  
      FileWriteRequest.Builder clearContent()
      A chunk of the file content The file content should be sent as a stream of chunks (byte buffers), with one chunk in each message.
      FileWriteRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)  
      FileWriteRequest.Builder clearMimeType()
      Mime type of the file being saved, always required Must be a valid mime type.
      FileWriteRequest.Builder clearName()
      File name of the file being saved, always required Must be a valid file name with no path component (i.e.
      FileWriteRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)  
      FileWriteRequest.Builder clearPriorVersion()
      Prior object/tag version to use for update operations This field should be omitted when creating a new file.
      FileWriteRequest.Builder clearSize()
      Size of the file being saved, if known in advance When a size is supplied, TRAC will check the size against the number of bytes stored.
      FileWriteRequest.Builder clearTagUpdates()
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      FileWriteRequest.Builder clearTenant()
      Tenant code for the requested operation, always required
      FileWriteRequest.Builder clone()  
      com.google.protobuf.ByteString getContent()
      A chunk of the file content The file content should be sent as a stream of chunks (byte buffers), with one chunk in each message.
      FileWriteRequest getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      java.lang.String getMimeType()
      Mime type of the file being saved, always required Must be a valid mime type.
      com.google.protobuf.ByteString getMimeTypeBytes()
      Mime type of the file being saved, always required Must be a valid mime type.
      java.lang.String getName()
      File name of the file being saved, always required Must be a valid file name with no path component (i.e.
      com.google.protobuf.ByteString getNameBytes()
      File name of the file being saved, always required Must be a valid file name with no path component (i.e.
      org.finos.tracdap.metadata.TagSelector getPriorVersion()
      Prior object/tag version to use for update operations This field should be omitted when creating a new file.
      org.finos.tracdap.metadata.TagSelector.Builder getPriorVersionBuilder()
      Prior object/tag version to use for update operations This field should be omitted when creating a new file.
      org.finos.tracdap.metadata.TagSelectorOrBuilder getPriorVersionOrBuilder()
      Prior object/tag version to use for update operations This field should be omitted when creating a new file.
      long getSize()
      Size of the file being saved, if known in advance When a size is supplied, TRAC will check the size against the number of bytes stored.
      org.finos.tracdap.metadata.TagUpdate getTagUpdates​(int index)
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      org.finos.tracdap.metadata.TagUpdate.Builder getTagUpdatesBuilder​(int index)
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      java.util.List<org.finos.tracdap.metadata.TagUpdate.Builder> getTagUpdatesBuilderList()
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      int getTagUpdatesCount()
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      java.util.List<org.finos.tracdap.metadata.TagUpdate> getTagUpdatesList()
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      org.finos.tracdap.metadata.TagUpdateOrBuilder getTagUpdatesOrBuilder​(int index)
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      java.util.List<? extends org.finos.tracdap.metadata.TagUpdateOrBuilder> getTagUpdatesOrBuilderList()
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      java.lang.String getTenant()
      Tenant code for the requested operation, always required
      com.google.protobuf.ByteString getTenantBytes()
      Tenant code for the requested operation, always required
      boolean hasPriorVersion()
      Prior object/tag version to use for update operations This field should be omitted when creating a new file.
      boolean hasSize()
      Size of the file being saved, if known in advance When a size is supplied, TRAC will check the size against the number of bytes stored.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      FileWriteRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      FileWriteRequest.Builder mergeFrom​(com.google.protobuf.Message other)  
      FileWriteRequest.Builder mergeFrom​(FileWriteRequest other)  
      FileWriteRequest.Builder mergePriorVersion​(org.finos.tracdap.metadata.TagSelector value)
      Prior object/tag version to use for update operations This field should be omitted when creating a new file.
      FileWriteRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      FileWriteRequest.Builder removeTagUpdates​(int index)
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      FileWriteRequest.Builder setContent​(com.google.protobuf.ByteString value)
      A chunk of the file content The file content should be sent as a stream of chunks (byte buffers), with one chunk in each message.
      FileWriteRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)  
      FileWriteRequest.Builder setMimeType​(java.lang.String value)
      Mime type of the file being saved, always required Must be a valid mime type.
      FileWriteRequest.Builder setMimeTypeBytes​(com.google.protobuf.ByteString value)
      Mime type of the file being saved, always required Must be a valid mime type.
      FileWriteRequest.Builder setName​(java.lang.String value)
      File name of the file being saved, always required Must be a valid file name with no path component (i.e.
      FileWriteRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
      File name of the file being saved, always required Must be a valid file name with no path component (i.e.
      FileWriteRequest.Builder setPriorVersion​(org.finos.tracdap.metadata.TagSelector value)
      Prior object/tag version to use for update operations This field should be omitted when creating a new file.
      FileWriteRequest.Builder setPriorVersion​(org.finos.tracdap.metadata.TagSelector.Builder builderForValue)
      Prior object/tag version to use for update operations This field should be omitted when creating a new file.
      FileWriteRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)  
      FileWriteRequest.Builder setSize​(long value)
      Size of the file being saved, if known in advance When a size is supplied, TRAC will check the size against the number of bytes stored.
      FileWriteRequest.Builder setTagUpdates​(int index, org.finos.tracdap.metadata.TagUpdate value)
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      FileWriteRequest.Builder setTagUpdates​(int index, org.finos.tracdap.metadata.TagUpdate.Builder builderForValue)
      Tag update operations to be applied Tag updates are applied in exactly the same way as for metadata write requests.
      FileWriteRequest.Builder setTenant​(java.lang.String value)
      Tenant code for the requested operation, always required
      FileWriteRequest.Builder setTenantBytes​(com.google.protobuf.ByteString value)
      Tenant code for the requested operation, always required
      FileWriteRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

        getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 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<FileWriteRequest.Builder>
      • clear

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

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

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

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

        public FileWriteRequest.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<FileWriteRequest.Builder>
      • setField

        public FileWriteRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<FileWriteRequest.Builder>
      • clearField

        public FileWriteRequest.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<FileWriteRequest.Builder>
      • clearOneof

        public FileWriteRequest.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<FileWriteRequest.Builder>
      • setRepeatedField

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

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

        public FileWriteRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FileWriteRequest.Builder>
      • isInitialized

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

        public FileWriteRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws java.io.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<FileWriteRequest.Builder>
        Throws:
        java.io.IOException
      • getTenant

        public java.lang.String getTenant()
        
         Tenant code for the requested operation, always required
         
        string tenant = 1;
        Specified by:
        getTenant in interface FileWriteRequestOrBuilder
        Returns:
        The tenant.
      • getTenantBytes

        public com.google.protobuf.ByteString getTenantBytes()
        
         Tenant code for the requested operation, always required
         
        string tenant = 1;
        Specified by:
        getTenantBytes in interface FileWriteRequestOrBuilder
        Returns:
        The bytes for tenant.
      • setTenant

        public FileWriteRequest.Builder setTenant​(java.lang.String value)
        
         Tenant code for the requested operation, always required
         
        string tenant = 1;
        Parameters:
        value - The tenant to set.
        Returns:
        This builder for chaining.
      • clearTenant

        public FileWriteRequest.Builder clearTenant()
        
         Tenant code for the requested operation, always required
         
        string tenant = 1;
        Returns:
        This builder for chaining.
      • setTenantBytes

        public FileWriteRequest.Builder setTenantBytes​(com.google.protobuf.ByteString value)
        
         Tenant code for the requested operation, always required
         
        string tenant = 1;
        Parameters:
        value - The bytes for tenant to set.
        Returns:
        This builder for chaining.
      • hasPriorVersion

        public boolean hasPriorVersion()
        
         Prior object/tag version to use for update operations
         This field should be omitted when creating a new file.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
        Specified by:
        hasPriorVersion in interface FileWriteRequestOrBuilder
        Returns:
        Whether the priorVersion field is set.
      • getPriorVersion

        public org.finos.tracdap.metadata.TagSelector getPriorVersion()
        
         Prior object/tag version to use for update operations
         This field should be omitted when creating a new file.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
        Specified by:
        getPriorVersion in interface FileWriteRequestOrBuilder
        Returns:
        The priorVersion.
      • setPriorVersion

        public FileWriteRequest.Builder setPriorVersion​(org.finos.tracdap.metadata.TagSelector value)
        
         Prior object/tag version to use for update operations
         This field should be omitted when creating a new file.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
      • setPriorVersion

        public FileWriteRequest.Builder setPriorVersion​(org.finos.tracdap.metadata.TagSelector.Builder builderForValue)
        
         Prior object/tag version to use for update operations
         This field should be omitted when creating a new file.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
      • mergePriorVersion

        public FileWriteRequest.Builder mergePriorVersion​(org.finos.tracdap.metadata.TagSelector value)
        
         Prior object/tag version to use for update operations
         This field should be omitted when creating a new file.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
      • clearPriorVersion

        public FileWriteRequest.Builder clearPriorVersion()
        
         Prior object/tag version to use for update operations
         This field should be omitted when creating a new file.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
      • getPriorVersionBuilder

        public org.finos.tracdap.metadata.TagSelector.Builder getPriorVersionBuilder()
        
         Prior object/tag version to use for update operations
         This field should be omitted when creating a new file.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
      • getPriorVersionOrBuilder

        public org.finos.tracdap.metadata.TagSelectorOrBuilder getPriorVersionOrBuilder()
        
         Prior object/tag version to use for update operations
         This field should be omitted when creating a new file.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
        Specified by:
        getPriorVersionOrBuilder in interface FileWriteRequestOrBuilder
      • getTagUpdatesList

        public java.util.List<org.finos.tracdap.metadata.TagUpdate> getTagUpdatesList()
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
        Specified by:
        getTagUpdatesList in interface FileWriteRequestOrBuilder
      • getTagUpdatesCount

        public int getTagUpdatesCount()
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
        Specified by:
        getTagUpdatesCount in interface FileWriteRequestOrBuilder
      • getTagUpdates

        public org.finos.tracdap.metadata.TagUpdate getTagUpdates​(int index)
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
        Specified by:
        getTagUpdates in interface FileWriteRequestOrBuilder
      • setTagUpdates

        public FileWriteRequest.Builder setTagUpdates​(int index,
                                                      org.finos.tracdap.metadata.TagUpdate value)
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • setTagUpdates

        public FileWriteRequest.Builder setTagUpdates​(int index,
                                                      org.finos.tracdap.metadata.TagUpdate.Builder builderForValue)
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • addTagUpdates

        public FileWriteRequest.Builder addTagUpdates​(org.finos.tracdap.metadata.TagUpdate value)
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • addTagUpdates

        public FileWriteRequest.Builder addTagUpdates​(int index,
                                                      org.finos.tracdap.metadata.TagUpdate value)
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • addTagUpdates

        public FileWriteRequest.Builder addTagUpdates​(org.finos.tracdap.metadata.TagUpdate.Builder builderForValue)
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • addTagUpdates

        public FileWriteRequest.Builder addTagUpdates​(int index,
                                                      org.finos.tracdap.metadata.TagUpdate.Builder builderForValue)
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • addAllTagUpdates

        public FileWriteRequest.Builder addAllTagUpdates​(java.lang.Iterable<? extends org.finos.tracdap.metadata.TagUpdate> values)
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • clearTagUpdates

        public FileWriteRequest.Builder clearTagUpdates()
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • removeTagUpdates

        public FileWriteRequest.Builder removeTagUpdates​(int index)
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • getTagUpdatesBuilder

        public org.finos.tracdap.metadata.TagUpdate.Builder getTagUpdatesBuilder​(int index)
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • getTagUpdatesOrBuilder

        public org.finos.tracdap.metadata.TagUpdateOrBuilder getTagUpdatesOrBuilder​(int index)
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
        Specified by:
        getTagUpdatesOrBuilder in interface FileWriteRequestOrBuilder
      • getTagUpdatesOrBuilderList

        public java.util.List<? extends org.finos.tracdap.metadata.TagUpdateOrBuilder> getTagUpdatesOrBuilderList()
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
        Specified by:
        getTagUpdatesOrBuilderList in interface FileWriteRequestOrBuilder
      • addTagUpdatesBuilder

        public org.finos.tracdap.metadata.TagUpdate.Builder addTagUpdatesBuilder()
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • addTagUpdatesBuilder

        public org.finos.tracdap.metadata.TagUpdate.Builder addTagUpdatesBuilder​(int index)
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • getTagUpdatesBuilderList

        public java.util.List<org.finos.tracdap.metadata.TagUpdate.Builder> getTagUpdatesBuilderList()
        
         Tag update operations to be applied
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • getName

        public java.lang.String getName()
        
         File name of the file being saved, always required
         Must be a valid file name with no path component (i.e. the name may not contain slashes).
         If the name contains a period character, the file extension will be set as the
         portion of the name following the last period. Otherwise the file extension will be blank.
         For update requests the name may change but the extension must stay the same. E.g. a file
         can be created as "my_file_v1.txt" and updated as "my_file_v2.txt", but updating with the
         name as "my_file_v1.doc" would not be allowed. Attempting to change the extension in an
         update will result in an error status of FAILED_PRECONDITION.
         Fle name and extension are stored in the file definition, and in the trac_file_name
         and trac_file_extension attributes.
         
        string name = 4;
        Specified by:
        getName in interface FileWriteRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        
         File name of the file being saved, always required
         Must be a valid file name with no path component (i.e. the name may not contain slashes).
         If the name contains a period character, the file extension will be set as the
         portion of the name following the last period. Otherwise the file extension will be blank.
         For update requests the name may change but the extension must stay the same. E.g. a file
         can be created as "my_file_v1.txt" and updated as "my_file_v2.txt", but updating with the
         name as "my_file_v1.doc" would not be allowed. Attempting to change the extension in an
         update will result in an error status of FAILED_PRECONDITION.
         Fle name and extension are stored in the file definition, and in the trac_file_name
         and trac_file_extension attributes.
         
        string name = 4;
        Specified by:
        getNameBytes in interface FileWriteRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public FileWriteRequest.Builder setName​(java.lang.String value)
        
         File name of the file being saved, always required
         Must be a valid file name with no path component (i.e. the name may not contain slashes).
         If the name contains a period character, the file extension will be set as the
         portion of the name following the last period. Otherwise the file extension will be blank.
         For update requests the name may change but the extension must stay the same. E.g. a file
         can be created as "my_file_v1.txt" and updated as "my_file_v2.txt", but updating with the
         name as "my_file_v1.doc" would not be allowed. Attempting to change the extension in an
         update will result in an error status of FAILED_PRECONDITION.
         Fle name and extension are stored in the file definition, and in the trac_file_name
         and trac_file_extension attributes.
         
        string name = 4;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public FileWriteRequest.Builder clearName()
        
         File name of the file being saved, always required
         Must be a valid file name with no path component (i.e. the name may not contain slashes).
         If the name contains a period character, the file extension will be set as the
         portion of the name following the last period. Otherwise the file extension will be blank.
         For update requests the name may change but the extension must stay the same. E.g. a file
         can be created as "my_file_v1.txt" and updated as "my_file_v2.txt", but updating with the
         name as "my_file_v1.doc" would not be allowed. Attempting to change the extension in an
         update will result in an error status of FAILED_PRECONDITION.
         Fle name and extension are stored in the file definition, and in the trac_file_name
         and trac_file_extension attributes.
         
        string name = 4;
        Returns:
        This builder for chaining.
      • setNameBytes

        public FileWriteRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
        
         File name of the file being saved, always required
         Must be a valid file name with no path component (i.e. the name may not contain slashes).
         If the name contains a period character, the file extension will be set as the
         portion of the name following the last period. Otherwise the file extension will be blank.
         For update requests the name may change but the extension must stay the same. E.g. a file
         can be created as "my_file_v1.txt" and updated as "my_file_v2.txt", but updating with the
         name as "my_file_v1.doc" would not be allowed. Attempting to change the extension in an
         update will result in an error status of FAILED_PRECONDITION.
         Fle name and extension are stored in the file definition, and in the trac_file_name
         and trac_file_extension attributes.
         
        string name = 4;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getMimeType

        public java.lang.String getMimeType()
        
         Mime type of the file being saved, always required
         Must be a valid mime type. For update requests, the mime type must match exactly
         with the mime type supplied when the file was originally created. Attempting to change
         the mime type in an update will result in an error status of FAILED_PRECONDITION.
         Mime type is stored in the file definition and in the trac_file_mime_type attribute.
         
        string mimeType = 5;
        Specified by:
        getMimeType in interface FileWriteRequestOrBuilder
        Returns:
        The mimeType.
      • getMimeTypeBytes

        public com.google.protobuf.ByteString getMimeTypeBytes()
        
         Mime type of the file being saved, always required
         Must be a valid mime type. For update requests, the mime type must match exactly
         with the mime type supplied when the file was originally created. Attempting to change
         the mime type in an update will result in an error status of FAILED_PRECONDITION.
         Mime type is stored in the file definition and in the trac_file_mime_type attribute.
         
        string mimeType = 5;
        Specified by:
        getMimeTypeBytes in interface FileWriteRequestOrBuilder
        Returns:
        The bytes for mimeType.
      • setMimeType

        public FileWriteRequest.Builder setMimeType​(java.lang.String value)
        
         Mime type of the file being saved, always required
         Must be a valid mime type. For update requests, the mime type must match exactly
         with the mime type supplied when the file was originally created. Attempting to change
         the mime type in an update will result in an error status of FAILED_PRECONDITION.
         Mime type is stored in the file definition and in the trac_file_mime_type attribute.
         
        string mimeType = 5;
        Parameters:
        value - The mimeType to set.
        Returns:
        This builder for chaining.
      • clearMimeType

        public FileWriteRequest.Builder clearMimeType()
        
         Mime type of the file being saved, always required
         Must be a valid mime type. For update requests, the mime type must match exactly
         with the mime type supplied when the file was originally created. Attempting to change
         the mime type in an update will result in an error status of FAILED_PRECONDITION.
         Mime type is stored in the file definition and in the trac_file_mime_type attribute.
         
        string mimeType = 5;
        Returns:
        This builder for chaining.
      • setMimeTypeBytes

        public FileWriteRequest.Builder setMimeTypeBytes​(com.google.protobuf.ByteString value)
        
         Mime type of the file being saved, always required
         Must be a valid mime type. For update requests, the mime type must match exactly
         with the mime type supplied when the file was originally created. Attempting to change
         the mime type in an update will result in an error status of FAILED_PRECONDITION.
         Mime type is stored in the file definition and in the trac_file_mime_type attribute.
         
        string mimeType = 5;
        Parameters:
        value - The bytes for mimeType to set.
        Returns:
        This builder for chaining.
      • hasSize

        public boolean hasSize()
        
         Size of the file being saved, if known in advance
         When a size is supplied, TRAC will check the size against the number of bytes stored.
         If the stored file size does not match the supplied value, the error will be reported
         with an error status of DATA_LOSS. When no size is supplied the check cannot be performed.
         File size is stored in the created file definition and in the trac_file_size attribute.
         
        optional uint64 size = 6;
        Specified by:
        hasSize in interface FileWriteRequestOrBuilder
        Returns:
        Whether the size field is set.
      • getSize

        public long getSize()
        
         Size of the file being saved, if known in advance
         When a size is supplied, TRAC will check the size against the number of bytes stored.
         If the stored file size does not match the supplied value, the error will be reported
         with an error status of DATA_LOSS. When no size is supplied the check cannot be performed.
         File size is stored in the created file definition and in the trac_file_size attribute.
         
        optional uint64 size = 6;
        Specified by:
        getSize in interface FileWriteRequestOrBuilder
        Returns:
        The size.
      • setSize

        public FileWriteRequest.Builder setSize​(long value)
        
         Size of the file being saved, if known in advance
         When a size is supplied, TRAC will check the size against the number of bytes stored.
         If the stored file size does not match the supplied value, the error will be reported
         with an error status of DATA_LOSS. When no size is supplied the check cannot be performed.
         File size is stored in the created file definition and in the trac_file_size attribute.
         
        optional uint64 size = 6;
        Parameters:
        value - The size to set.
        Returns:
        This builder for chaining.
      • clearSize

        public FileWriteRequest.Builder clearSize()
        
         Size of the file being saved, if known in advance
         When a size is supplied, TRAC will check the size against the number of bytes stored.
         If the stored file size does not match the supplied value, the error will be reported
         with an error status of DATA_LOSS. When no size is supplied the check cannot be performed.
         File size is stored in the created file definition and in the trac_file_size attribute.
         
        optional uint64 size = 6;
        Returns:
        This builder for chaining.
      • getContent

        public com.google.protobuf.ByteString getContent()
        
         A chunk of the file content
         The file content should be sent as a stream of chunks (byte buffers), with one chunk in each message.
         Empty chunks can be included at any point in the request stream and will be ignored.
         
        bytes content = 1000;
        Specified by:
        getContent in interface FileWriteRequestOrBuilder
        Returns:
        The content.
      • setContent

        public FileWriteRequest.Builder setContent​(com.google.protobuf.ByteString value)
        
         A chunk of the file content
         The file content should be sent as a stream of chunks (byte buffers), with one chunk in each message.
         Empty chunks can be included at any point in the request stream and will be ignored.
         
        bytes content = 1000;
        Parameters:
        value - The content to set.
        Returns:
        This builder for chaining.
      • clearContent

        public FileWriteRequest.Builder clearContent()
        
         A chunk of the file content
         The file content should be sent as a stream of chunks (byte buffers), with one chunk in each message.
         Empty chunks can be included at any point in the request stream and will be ignored.
         
        bytes content = 1000;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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