Class Dataproxy.CreateDownloadLocationRequest.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • nativeUrl_

        private Object nativeUrl_
      • 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_
    • 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.CreateDownloadLocationRequest.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.CreateDownloadLocationRequest.Builder>
      • getDefaultInstanceForType

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

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

        public Dataproxy.CreateDownloadLocationRequest 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.CreateDownloadLocationRequest.Builder>
      • getNativeUrlBytes

        public com.google.protobuf.ByteString getNativeUrlBytes()
         NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
         
        string native_url = 1;
        Specified by:
        getNativeUrlBytes in interface Dataproxy.CreateDownloadLocationRequestOrBuilder
        Returns:
        The bytes for nativeUrl.
      • setNativeUrl

        public Dataproxy.CreateDownloadLocationRequest.Builder setNativeUrl​(String value)
         NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
         
        string native_url = 1;
        Parameters:
        value - The nativeUrl to set.
        Returns:
        This builder for chaining.
      • clearNativeUrl

        public Dataproxy.CreateDownloadLocationRequest.Builder clearNativeUrl()
         NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
         
        string native_url = 1;
        Returns:
        This builder for chaining.
      • setNativeUrlBytes

        public Dataproxy.CreateDownloadLocationRequest.Builder setNativeUrlBytes​(com.google.protobuf.ByteString value)
         NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
         
        string native_url = 1;
        Parameters:
        value - The bytes for nativeUrl 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 = 2;
        Specified by:
        hasExpiresIn in interface Dataproxy.CreateDownloadLocationRequestOrBuilder
        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 = 2;
        Specified by:
        getExpiresIn in interface Dataproxy.CreateDownloadLocationRequestOrBuilder
        Returns:
        The expiresIn.
      • setExpiresIn

        public Dataproxy.CreateDownloadLocationRequest.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 = 2;
      • setExpiresIn

        public Dataproxy.CreateDownloadLocationRequest.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 = 2;
      • mergeExpiresIn

        public Dataproxy.CreateDownloadLocationRequest.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 = 2;
      • clearExpiresIn

        public Dataproxy.CreateDownloadLocationRequest.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 = 2;
      • 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 = 2;
      • 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 = 2;
        Specified by:
        getExpiresInOrBuilder in interface Dataproxy.CreateDownloadLocationRequestOrBuilder
      • 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 = 2;