Package flyteidl.service
Class Dataproxy.CreateUploadLocationRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.service.Dataproxy.CreateUploadLocationRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Dataproxy.CreateUploadLocationRequestOrBuilder,Serializable
- Enclosing class:
- Dataproxy
public static final class Dataproxy.CreateUploadLocationRequest extends com.google.protobuf.GeneratedMessageV3 implements Dataproxy.CreateUploadLocationRequestOrBuilder
CreateUploadLocationRequest specified request for the CreateUploadLocation API.
Protobuf typeflyteidl.service.CreateUploadLocationRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataproxy.CreateUploadLocationRequest.BuilderCreateUploadLocationRequest specified request for the CreateUploadLocation API.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONTENT_MD5_FIELD_NUMBERprivate com.google.protobuf.ByteStringcontentMd5_private static Dataproxy.CreateUploadLocationRequestDEFAULT_INSTANCEprivate Objectdomain_static intDOMAIN_FIELD_NUMBERstatic intEXPIRES_IN_FIELD_NUMBERprivate com.google.protobuf.DurationexpiresIn_private Objectfilename_static intFILENAME_FIELD_NUMBERprivate bytememoizedIsInitializedprivate static com.google.protobuf.Parser<Dataproxy.CreateUploadLocationRequest>PARSERprivate Objectproject_static intPROJECT_FIELD_NUMBERprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateCreateUploadLocationRequest()privateCreateUploadLocationRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.ByteStringgetContentMd5()ContentMD5 restricts the upload location to the specific MD5 provided.static Dataproxy.CreateUploadLocationRequestgetDefaultInstance()Dataproxy.CreateUploadLocationRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDomain()Domain to create the upload location for.com.google.protobuf.ByteStringgetDomainBytes()Domain to create the upload location for.com.google.protobuf.DurationgetExpiresIn()ExpiresIn defines a requested expiration duration for the generated url.com.google.protobuf.DurationOrBuildergetExpiresInOrBuilder()ExpiresIn defines a requested expiration duration for the generated url.StringgetFilename()Filename specifies a desired suffix for the generated location.com.google.protobuf.ByteStringgetFilenameBytes()Filename specifies a desired suffix for the generated location.com.google.protobuf.Parser<Dataproxy.CreateUploadLocationRequest>getParserForType()StringgetProject()Project to create the upload location for +requiredcom.google.protobuf.ByteStringgetProjectBytes()Project to create the upload location for +requiredintgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasExpiresIn()ExpiresIn defines a requested expiration duration for the generated url.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Dataproxy.CreateUploadLocationRequest.BuildernewBuilder()static Dataproxy.CreateUploadLocationRequest.BuildernewBuilder(Dataproxy.CreateUploadLocationRequest prototype)Dataproxy.CreateUploadLocationRequest.BuildernewBuilderForType()protected Dataproxy.CreateUploadLocationRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Dataproxy.CreateUploadLocationRequestparseDelimitedFrom(InputStream input)static Dataproxy.CreateUploadLocationRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Dataproxy.CreateUploadLocationRequestparseFrom(byte[] data)static Dataproxy.CreateUploadLocationRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Dataproxy.CreateUploadLocationRequestparseFrom(com.google.protobuf.ByteString data)static Dataproxy.CreateUploadLocationRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Dataproxy.CreateUploadLocationRequestparseFrom(com.google.protobuf.CodedInputStream input)static Dataproxy.CreateUploadLocationRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Dataproxy.CreateUploadLocationRequestparseFrom(InputStream input)static Dataproxy.CreateUploadLocationRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Dataproxy.CreateUploadLocationRequestparseFrom(ByteBuffer data)static Dataproxy.CreateUploadLocationRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Dataproxy.CreateUploadLocationRequest>parser()Dataproxy.CreateUploadLocationRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
project_
private volatile Object project_
-
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
domain_
private volatile Object domain_
-
FILENAME_FIELD_NUMBER
public static final int FILENAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
filename_
private volatile Object filename_
-
EXPIRES_IN_FIELD_NUMBER
public static final int EXPIRES_IN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
expiresIn_
private com.google.protobuf.Duration expiresIn_
-
CONTENT_MD5_FIELD_NUMBER
public static final int CONTENT_MD5_FIELD_NUMBER
- See Also:
- Constant Field Values
-
contentMd5_
private com.google.protobuf.ByteString contentMd5_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Dataproxy.CreateUploadLocationRequest DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Dataproxy.CreateUploadLocationRequest> PARSER
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getProject
public String getProject()
Project to create the upload location for +required
string project = 1;- Specified by:
getProjectin interfaceDataproxy.CreateUploadLocationRequestOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
Project to create the upload location for +required
string project = 1;- Specified by:
getProjectBytesin interfaceDataproxy.CreateUploadLocationRequestOrBuilder- Returns:
- The bytes for project.
-
getDomain
public String getDomain()
Domain to create the upload location for. +required
string domain = 2;- Specified by:
getDomainin interfaceDataproxy.CreateUploadLocationRequestOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()
Domain to create the upload location for. +required
string domain = 2;- Specified by:
getDomainBytesin interfaceDataproxy.CreateUploadLocationRequestOrBuilder- Returns:
- The bytes for domain.
-
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:
getFilenamein interfaceDataproxy.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:
getFilenameBytesin interfaceDataproxy.CreateUploadLocationRequestOrBuilder- Returns:
- The bytes for filename.
-
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:
hasExpiresInin interfaceDataproxy.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:
getExpiresInin interfaceDataproxy.CreateUploadLocationRequestOrBuilder- Returns:
- The expiresIn.
-
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:
getExpiresInOrBuilderin interfaceDataproxy.CreateUploadLocationRequestOrBuilder
-
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:
getContentMd5in interfaceDataproxy.CreateUploadLocationRequestOrBuilder- Returns:
- The contentMd5.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Dataproxy.CreateUploadLocationRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dataproxy.CreateUploadLocationRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dataproxy.CreateUploadLocationRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dataproxy.CreateUploadLocationRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dataproxy.CreateUploadLocationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dataproxy.CreateUploadLocationRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dataproxy.CreateUploadLocationRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Dataproxy.CreateUploadLocationRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Dataproxy.CreateUploadLocationRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Dataproxy.CreateUploadLocationRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Dataproxy.CreateUploadLocationRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Dataproxy.CreateUploadLocationRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Dataproxy.CreateUploadLocationRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Dataproxy.CreateUploadLocationRequest.Builder newBuilder()
-
newBuilder
public static Dataproxy.CreateUploadLocationRequest.Builder newBuilder(Dataproxy.CreateUploadLocationRequest prototype)
-
toBuilder
public Dataproxy.CreateUploadLocationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Dataproxy.CreateUploadLocationRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Dataproxy.CreateUploadLocationRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Dataproxy.CreateUploadLocationRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<Dataproxy.CreateUploadLocationRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Dataproxy.CreateUploadLocationRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-