Package com.streamlayer.files.common
Class FileUpload.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<FileUpload,FileUpload.Builder>
-
- com.streamlayer.files.common.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;FileUpload.BuilderclearContentType()string content_type = 5;FileUpload.BuilderclearFilename()string filename = 2;FileUpload.BuilderclearLocation()string location = 1;FileUpload.BuilderclearMd5Hash()string md5_hash = 4;FileUpload.BuilderclearUploadId()string upload_id = 3;intgetContentLength()sint32 content_length = 6;java.lang.StringgetContentType()string content_type = 5;com.google.protobuf.ByteStringgetContentTypeBytes()string content_type = 5;java.lang.StringgetFilename()string filename = 2;com.google.protobuf.ByteStringgetFilenameBytes()string filename = 2;java.lang.StringgetLocation()string location = 1;com.google.protobuf.ByteStringgetLocationBytes()string location = 1;java.lang.StringgetMd5Hash()string md5_hash = 4;com.google.protobuf.ByteStringgetMd5HashBytes()string md5_hash = 4;java.lang.StringgetUploadId()string upload_id = 3;com.google.protobuf.ByteStringgetUploadIdBytes()string upload_id = 3;FileUpload.BuildersetContentLength(int value)sint32 content_length = 6;FileUpload.BuildersetContentType(java.lang.String value)string content_type = 5;FileUpload.BuildersetContentTypeBytes(com.google.protobuf.ByteString value)string content_type = 5;FileUpload.BuildersetFilename(java.lang.String value)string filename = 2;FileUpload.BuildersetFilenameBytes(com.google.protobuf.ByteString value)string filename = 2;FileUpload.BuildersetLocation(java.lang.String value)string location = 1;FileUpload.BuildersetLocationBytes(com.google.protobuf.ByteString value)string location = 1;FileUpload.BuildersetMd5Hash(java.lang.String value)string md5_hash = 4;FileUpload.BuildersetMd5HashBytes(com.google.protobuf.ByteString value)string md5_hash = 4;FileUpload.BuildersetUploadId(java.lang.String value)string upload_id = 3;FileUpload.BuildersetUploadIdBytes(com.google.protobuf.ByteString value)string upload_id = 3;-
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;- Specified by:
getLocationin interfaceFileUploadOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
string location = 1;- Specified by:
getLocationBytesin interfaceFileUploadOrBuilder- Returns:
- The bytes for location.
-
setLocation
public FileUpload.Builder setLocation(java.lang.String value)
string location = 1;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
public FileUpload.Builder clearLocation()
string location = 1;- Returns:
- This builder for chaining.
-
setLocationBytes
public FileUpload.Builder setLocationBytes(com.google.protobuf.ByteString value)
string location = 1;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
getFilename
public java.lang.String getFilename()
string filename = 2;- Specified by:
getFilenamein interfaceFileUploadOrBuilder- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()
string filename = 2;- Specified by:
getFilenameBytesin interfaceFileUploadOrBuilder- Returns:
- The bytes for filename.
-
setFilename
public FileUpload.Builder setFilename(java.lang.String value)
string filename = 2;- Parameters:
value- The filename to set.- Returns:
- This builder for chaining.
-
clearFilename
public FileUpload.Builder clearFilename()
string filename = 2;- Returns:
- This builder for chaining.
-
setFilenameBytes
public FileUpload.Builder setFilenameBytes(com.google.protobuf.ByteString value)
string filename = 2;- Parameters:
value- The bytes for filename to set.- Returns:
- This builder for chaining.
-
getUploadId
public java.lang.String getUploadId()
string upload_id = 3;- Specified by:
getUploadIdin interfaceFileUploadOrBuilder- Returns:
- The uploadId.
-
getUploadIdBytes
public com.google.protobuf.ByteString getUploadIdBytes()
string upload_id = 3;- Specified by:
getUploadIdBytesin interfaceFileUploadOrBuilder- Returns:
- The bytes for uploadId.
-
setUploadId
public FileUpload.Builder setUploadId(java.lang.String value)
string upload_id = 3;- Parameters:
value- The uploadId to set.- Returns:
- This builder for chaining.
-
clearUploadId
public FileUpload.Builder clearUploadId()
string upload_id = 3;- Returns:
- This builder for chaining.
-
setUploadIdBytes
public FileUpload.Builder setUploadIdBytes(com.google.protobuf.ByteString value)
string upload_id = 3;- Parameters:
value- The bytes for uploadId to set.- Returns:
- This builder for chaining.
-
getMd5Hash
public java.lang.String getMd5Hash()
string md5_hash = 4;- Specified by:
getMd5Hashin interfaceFileUploadOrBuilder- Returns:
- The md5Hash.
-
getMd5HashBytes
public com.google.protobuf.ByteString getMd5HashBytes()
string md5_hash = 4;- Specified by:
getMd5HashBytesin interfaceFileUploadOrBuilder- Returns:
- The bytes for md5Hash.
-
setMd5Hash
public FileUpload.Builder setMd5Hash(java.lang.String value)
string md5_hash = 4;- Parameters:
value- The md5Hash to set.- Returns:
- This builder for chaining.
-
clearMd5Hash
public FileUpload.Builder clearMd5Hash()
string md5_hash = 4;- Returns:
- This builder for chaining.
-
setMd5HashBytes
public FileUpload.Builder setMd5HashBytes(com.google.protobuf.ByteString value)
string md5_hash = 4;- Parameters:
value- The bytes for md5Hash to set.- Returns:
- This builder for chaining.
-
getContentType
public java.lang.String getContentType()
string content_type = 5;- Specified by:
getContentTypein interfaceFileUploadOrBuilder- Returns:
- The contentType.
-
getContentTypeBytes
public com.google.protobuf.ByteString getContentTypeBytes()
string content_type = 5;- Specified by:
getContentTypeBytesin interfaceFileUploadOrBuilder- Returns:
- The bytes for contentType.
-
setContentType
public FileUpload.Builder setContentType(java.lang.String value)
string content_type = 5;- Parameters:
value- The contentType to set.- Returns:
- This builder for chaining.
-
clearContentType
public FileUpload.Builder clearContentType()
string content_type = 5;- Returns:
- This builder for chaining.
-
setContentTypeBytes
public FileUpload.Builder setContentTypeBytes(com.google.protobuf.ByteString value)
string content_type = 5;- Parameters:
value- The bytes for contentType to set.- Returns:
- This builder for chaining.
-
getContentLength
public int getContentLength()
sint32 content_length = 6;- Specified by:
getContentLengthin interfaceFileUploadOrBuilder- Returns:
- The contentLength.
-
setContentLength
public FileUpload.Builder setContentLength(int value)
sint32 content_length = 6;- Parameters:
value- The contentLength to set.- Returns:
- This builder for chaining.
-
clearContentLength
public FileUpload.Builder clearContentLength()
sint32 content_length = 6;- Returns:
- This builder for chaining.
-
-