Package com.streamlayer.files
Class FileUpload.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<FileUpload,FileUpload.Builder>
-
- com.streamlayer.files.FileUpload.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,FileUploadOrBuilder,java.lang.Cloneable
- Enclosing class:
- FileUpload
public static final class FileUpload.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<FileUpload,FileUpload.Builder> implements FileUploadOrBuilder
Protobuf typestreamlayer.files.FileUpload
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileUpload.BuilderclearContentLength()sint32 content_length = 6 [json_name = "contentLength"];FileUpload.BuilderclearContentType()string content_type = 5 [json_name = "contentType"];FileUpload.BuilderclearFilename()string filename = 2 [json_name = "filename"];FileUpload.BuilderclearLocation()string location = 1 [json_name = "location"];FileUpload.BuilderclearMd5Hash()string md5_hash = 4 [json_name = "md5Hash"];FileUpload.BuilderclearUploadId()string upload_id = 3 [json_name = "uploadId"];intgetContentLength()sint32 content_length = 6 [json_name = "contentLength"];java.lang.StringgetContentType()string content_type = 5 [json_name = "contentType"];com.google.protobuf.ByteStringgetContentTypeBytes()string content_type = 5 [json_name = "contentType"];java.lang.StringgetFilename()string filename = 2 [json_name = "filename"];com.google.protobuf.ByteStringgetFilenameBytes()string filename = 2 [json_name = "filename"];java.lang.StringgetLocation()string location = 1 [json_name = "location"];com.google.protobuf.ByteStringgetLocationBytes()string location = 1 [json_name = "location"];java.lang.StringgetMd5Hash()string md5_hash = 4 [json_name = "md5Hash"];com.google.protobuf.ByteStringgetMd5HashBytes()string md5_hash = 4 [json_name = "md5Hash"];java.lang.StringgetUploadId()string upload_id = 3 [json_name = "uploadId"];com.google.protobuf.ByteStringgetUploadIdBytes()string upload_id = 3 [json_name = "uploadId"];FileUpload.BuildersetContentLength(int value)sint32 content_length = 6 [json_name = "contentLength"];FileUpload.BuildersetContentType(java.lang.String value)string content_type = 5 [json_name = "contentType"];FileUpload.BuildersetContentTypeBytes(com.google.protobuf.ByteString value)string content_type = 5 [json_name = "contentType"];FileUpload.BuildersetFilename(java.lang.String value)string filename = 2 [json_name = "filename"];FileUpload.BuildersetFilenameBytes(com.google.protobuf.ByteString value)string filename = 2 [json_name = "filename"];FileUpload.BuildersetLocation(java.lang.String value)string location = 1 [json_name = "location"];FileUpload.BuildersetLocationBytes(com.google.protobuf.ByteString value)string location = 1 [json_name = "location"];FileUpload.BuildersetMd5Hash(java.lang.String value)string md5_hash = 4 [json_name = "md5Hash"];FileUpload.BuildersetMd5HashBytes(com.google.protobuf.ByteString value)string md5_hash = 4 [json_name = "md5Hash"];FileUpload.BuildersetUploadId(java.lang.String value)string upload_id = 3 [json_name = "uploadId"];FileUpload.BuildersetUploadIdBytes(com.google.protobuf.ByteString value)string upload_id = 3 [json_name = "uploadId"];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getLocation
public java.lang.String getLocation()
string location = 1 [json_name = "location"];- Specified by:
getLocationin interfaceFileUploadOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
string location = 1 [json_name = "location"];- Specified by:
getLocationBytesin interfaceFileUploadOrBuilder- Returns:
- The bytes for location.
-
setLocation
public FileUpload.Builder setLocation(java.lang.String value)
string location = 1 [json_name = "location"];- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
public FileUpload.Builder clearLocation()
string location = 1 [json_name = "location"];- Returns:
- This builder for chaining.
-
setLocationBytes
public FileUpload.Builder setLocationBytes(com.google.protobuf.ByteString value)
string location = 1 [json_name = "location"];- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
getFilename
public java.lang.String getFilename()
string filename = 2 [json_name = "filename"];- Specified by:
getFilenamein interfaceFileUploadOrBuilder- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()
string filename = 2 [json_name = "filename"];- Specified by:
getFilenameBytesin interfaceFileUploadOrBuilder- Returns:
- The bytes for filename.
-
setFilename
public FileUpload.Builder setFilename(java.lang.String value)
string filename = 2 [json_name = "filename"];- Parameters:
value- The filename to set.- Returns:
- This builder for chaining.
-
clearFilename
public FileUpload.Builder clearFilename()
string filename = 2 [json_name = "filename"];- Returns:
- This builder for chaining.
-
setFilenameBytes
public FileUpload.Builder setFilenameBytes(com.google.protobuf.ByteString value)
string filename = 2 [json_name = "filename"];- Parameters:
value- The bytes for filename to set.- Returns:
- This builder for chaining.
-
getUploadId
public java.lang.String getUploadId()
string upload_id = 3 [json_name = "uploadId"];- Specified by:
getUploadIdin interfaceFileUploadOrBuilder- Returns:
- The uploadId.
-
getUploadIdBytes
public com.google.protobuf.ByteString getUploadIdBytes()
string upload_id = 3 [json_name = "uploadId"];- Specified by:
getUploadIdBytesin interfaceFileUploadOrBuilder- Returns:
- The bytes for uploadId.
-
setUploadId
public FileUpload.Builder setUploadId(java.lang.String value)
string upload_id = 3 [json_name = "uploadId"];- Parameters:
value- The uploadId to set.- Returns:
- This builder for chaining.
-
clearUploadId
public FileUpload.Builder clearUploadId()
string upload_id = 3 [json_name = "uploadId"];- Returns:
- This builder for chaining.
-
setUploadIdBytes
public FileUpload.Builder setUploadIdBytes(com.google.protobuf.ByteString value)
string upload_id = 3 [json_name = "uploadId"];- Parameters:
value- The bytes for uploadId to set.- Returns:
- This builder for chaining.
-
getMd5Hash
public java.lang.String getMd5Hash()
string md5_hash = 4 [json_name = "md5Hash"];- Specified by:
getMd5Hashin interfaceFileUploadOrBuilder- Returns:
- The md5Hash.
-
getMd5HashBytes
public com.google.protobuf.ByteString getMd5HashBytes()
string md5_hash = 4 [json_name = "md5Hash"];- Specified by:
getMd5HashBytesin interfaceFileUploadOrBuilder- Returns:
- The bytes for md5Hash.
-
setMd5Hash
public FileUpload.Builder setMd5Hash(java.lang.String value)
string md5_hash = 4 [json_name = "md5Hash"];- Parameters:
value- The md5Hash to set.- Returns:
- This builder for chaining.
-
clearMd5Hash
public FileUpload.Builder clearMd5Hash()
string md5_hash = 4 [json_name = "md5Hash"];- Returns:
- This builder for chaining.
-
setMd5HashBytes
public FileUpload.Builder setMd5HashBytes(com.google.protobuf.ByteString value)
string md5_hash = 4 [json_name = "md5Hash"];- Parameters:
value- The bytes for md5Hash to set.- Returns:
- This builder for chaining.
-
getContentType
public java.lang.String getContentType()
string content_type = 5 [json_name = "contentType"];- Specified by:
getContentTypein interfaceFileUploadOrBuilder- Returns:
- The contentType.
-
getContentTypeBytes
public com.google.protobuf.ByteString getContentTypeBytes()
string content_type = 5 [json_name = "contentType"];- Specified by:
getContentTypeBytesin interfaceFileUploadOrBuilder- Returns:
- The bytes for contentType.
-
setContentType
public FileUpload.Builder setContentType(java.lang.String value)
string content_type = 5 [json_name = "contentType"];- Parameters:
value- The contentType to set.- Returns:
- This builder for chaining.
-
clearContentType
public FileUpload.Builder clearContentType()
string content_type = 5 [json_name = "contentType"];- Returns:
- This builder for chaining.
-
setContentTypeBytes
public FileUpload.Builder setContentTypeBytes(com.google.protobuf.ByteString value)
string content_type = 5 [json_name = "contentType"];- Parameters:
value- The bytes for contentType to set.- Returns:
- This builder for chaining.
-
getContentLength
public int getContentLength()
sint32 content_length = 6 [json_name = "contentLength"];- Specified by:
getContentLengthin interfaceFileUploadOrBuilder- Returns:
- The contentLength.
-
setContentLength
public FileUpload.Builder setContentLength(int value)
sint32 content_length = 6 [json_name = "contentLength"];- Parameters:
value- The contentLength to set.- Returns:
- This builder for chaining.
-
clearContentLength
public FileUpload.Builder clearContentLength()
sint32 content_length = 6 [json_name = "contentLength"];- Returns:
- This builder for chaining.
-
-