Class Dataproxy.CreateUploadLocationRequest.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • project_

        private Object project_
      • domain_

        private Object domain_
      • filename_

        private Object filename_
      • expiresIn_

        private com.google.protobuf.Duration expiresIn_
      • expiresInBuilder_

        private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> expiresInBuilder_
      • contentMd5_

        private com.google.protobuf.ByteString contentMd5_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    • 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<Dataproxy.CreateUploadLocationRequest.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<Dataproxy.CreateUploadLocationRequest.Builder>
      • getDefaultInstanceForType

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

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

        public Dataproxy.CreateUploadLocationRequest 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<Dataproxy.CreateUploadLocationRequest.Builder>
      • setProjectBytes

        public Dataproxy.CreateUploadLocationRequest.Builder setProjectBytes​(com.google.protobuf.ByteString value)
         Project to create the upload location for
         +required
         
        string project = 1;
        Parameters:
        value - The bytes for project to set.
        Returns:
        This builder for chaining.
      • setDomainBytes

        public Dataproxy.CreateUploadLocationRequest.Builder setDomainBytes​(com.google.protobuf.ByteString value)
         Domain to create the upload location for.
         +required
         
        string domain = 2;
        Parameters:
        value - The bytes for domain to set.
        Returns:
        This builder for chaining.
      • getFilename

        public String getFilename()
         Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
         +optional. By default, the service will generate a consistent name based on the provided parameters.
         
        string filename = 3;
        Specified by:
        getFilename in interface Dataproxy.CreateUploadLocationRequestOrBuilder
        Returns:
        The filename.
      • getFilenameBytes

        public com.google.protobuf.ByteString getFilenameBytes()
         Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
         +optional. By default, the service will generate a consistent name based on the provided parameters.
         
        string filename = 3;
        Specified by:
        getFilenameBytes in interface Dataproxy.CreateUploadLocationRequestOrBuilder
        Returns:
        The bytes for filename.
      • setFilename

        public Dataproxy.CreateUploadLocationRequest.Builder setFilename​(String value)
         Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
         +optional. By default, the service will generate a consistent name based on the provided parameters.
         
        string filename = 3;
        Parameters:
        value - The filename to set.
        Returns:
        This builder for chaining.
      • clearFilename

        public Dataproxy.CreateUploadLocationRequest.Builder clearFilename()
         Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
         +optional. By default, the service will generate a consistent name based on the provided parameters.
         
        string filename = 3;
        Returns:
        This builder for chaining.
      • setFilenameBytes

        public Dataproxy.CreateUploadLocationRequest.Builder setFilenameBytes​(com.google.protobuf.ByteString value)
         Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
         +optional. By default, the service will generate a consistent name based on the provided parameters.
         
        string filename = 3;
        Parameters:
        value - The bytes for filename to set.
        Returns:
        This builder for chaining.
      • hasExpiresIn

        public boolean hasExpiresIn()
         ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
         exceeds the platform allowed max.
         +optional. The default value comes from a global config.
         
        .google.protobuf.Duration expires_in = 4;
        Specified by:
        hasExpiresIn in interface Dataproxy.CreateUploadLocationRequestOrBuilder
        Returns:
        Whether the expiresIn field is set.
      • getExpiresIn

        public com.google.protobuf.Duration getExpiresIn()
         ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
         exceeds the platform allowed max.
         +optional. The default value comes from a global config.
         
        .google.protobuf.Duration expires_in = 4;
        Specified by:
        getExpiresIn in interface Dataproxy.CreateUploadLocationRequestOrBuilder
        Returns:
        The expiresIn.
      • setExpiresIn

        public Dataproxy.CreateUploadLocationRequest.Builder setExpiresIn​(com.google.protobuf.Duration value)
         ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
         exceeds the platform allowed max.
         +optional. The default value comes from a global config.
         
        .google.protobuf.Duration expires_in = 4;
      • setExpiresIn

        public Dataproxy.CreateUploadLocationRequest.Builder setExpiresIn​(com.google.protobuf.Duration.Builder builderForValue)
         ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
         exceeds the platform allowed max.
         +optional. The default value comes from a global config.
         
        .google.protobuf.Duration expires_in = 4;
      • mergeExpiresIn

        public Dataproxy.CreateUploadLocationRequest.Builder mergeExpiresIn​(com.google.protobuf.Duration value)
         ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
         exceeds the platform allowed max.
         +optional. The default value comes from a global config.
         
        .google.protobuf.Duration expires_in = 4;
      • clearExpiresIn

        public Dataproxy.CreateUploadLocationRequest.Builder clearExpiresIn()
         ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
         exceeds the platform allowed max.
         +optional. The default value comes from a global config.
         
        .google.protobuf.Duration expires_in = 4;
      • getExpiresInBuilder

        public com.google.protobuf.Duration.Builder getExpiresInBuilder()
         ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
         exceeds the platform allowed max.
         +optional. The default value comes from a global config.
         
        .google.protobuf.Duration expires_in = 4;
      • getExpiresInOrBuilder

        public com.google.protobuf.DurationOrBuilder getExpiresInOrBuilder()
         ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
         exceeds the platform allowed max.
         +optional. The default value comes from a global config.
         
        .google.protobuf.Duration expires_in = 4;
        Specified by:
        getExpiresInOrBuilder in interface Dataproxy.CreateUploadLocationRequestOrBuilder
      • getExpiresInFieldBuilder

        private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getExpiresInFieldBuilder()
         ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
         exceeds the platform allowed max.
         +optional. The default value comes from a global config.
         
        .google.protobuf.Duration expires_in = 4;
      • getContentMd5

        public com.google.protobuf.ByteString getContentMd5()
         ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the
         generated path.
         +required
         
        bytes content_md5 = 5;
        Specified by:
        getContentMd5 in interface Dataproxy.CreateUploadLocationRequestOrBuilder
        Returns:
        The contentMd5.
      • setContentMd5

        public Dataproxy.CreateUploadLocationRequest.Builder setContentMd5​(com.google.protobuf.ByteString value)
         ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the
         generated path.
         +required
         
        bytes content_md5 = 5;
        Parameters:
        value - The contentMd5 to set.
        Returns:
        This builder for chaining.
      • clearContentMd5

        public Dataproxy.CreateUploadLocationRequest.Builder clearContentMd5()
         ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the
         generated path.
         +required
         
        bytes content_md5 = 5;
        Returns:
        This builder for chaining.