Class UploadStatusKey.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class UploadStatusKey.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for UploadStatusKey instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
requestId
public int
sequenceNumber
-
Method Summary
Modifier and Type Method Description String
getRequestId()
Gets the value of the 'requestId' field. UploadStatusKey.Builder
setRequestId(String value)
Sets the value of the 'requestId' field. int
getSequenceNumber()
Gets the value of the 'sequenceNumber' field. UploadStatusKey.Builder
setSequenceNumber(int value)
Sets the value of the 'sequenceNumber' field. boolean
hasRequestId()
Checks whether the 'requestId' field has been set. UploadStatusKey.Builder
clearRequestId()
Clears the value of the 'requestId' field. boolean
hasSequenceNumber()
Checks whether the 'sequenceNumber' field has been set. UploadStatusKey.Builder
clearSequenceNumber()
Clears the value of the 'sequenceNumber' field. UploadStatusKey
build()
-
-
Method Detail
-
getRequestId
String getRequestId()
Gets the value of the 'requestId' field. unique identifier representing this upload
-
setRequestId
UploadStatusKey.Builder setRequestId(String value)
Sets the value of the 'requestId' field. unique identifier representing this upload
- Parameters:
value
- The value of 'requestId'.
-
getSequenceNumber
int getSequenceNumber()
Gets the value of the 'sequenceNumber' field. Disambiguates the UploadStatus message - the highest sequence number is the current UploadStatus
-
setSequenceNumber
UploadStatusKey.Builder setSequenceNumber(int value)
Sets the value of the 'sequenceNumber' field. Disambiguates the UploadStatus message - the highest sequence number is the current UploadStatus
- Parameters:
value
- The value of 'sequenceNumber'.
-
hasRequestId
boolean hasRequestId()
Checks whether the 'requestId' field has been set. unique identifier representing this upload
-
clearRequestId
UploadStatusKey.Builder clearRequestId()
Clears the value of the 'requestId' field. unique identifier representing this upload
-
hasSequenceNumber
boolean hasSequenceNumber()
Checks whether the 'sequenceNumber' field has been set. Disambiguates the UploadStatus message - the highest sequence number is the current UploadStatus
-
clearSequenceNumber
UploadStatusKey.Builder clearSequenceNumber()
Clears the value of the 'sequenceNumber' field. Disambiguates the UploadStatus message - the highest sequence number is the current UploadStatus
-
build
UploadStatusKey build()
-
-
-
-