Interface SparkplugBProto.Payload.MetaDataOrBuilder
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<SparkplugBProto.Payload.MetaData>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SparkplugBProto.Payload.MetaData,SparkplugBProto.Payload.MetaData.Builder
- Enclosing class:
- SparkplugBProto.Payload
public static interface SparkplugBProto.Payload.MetaDataOrBuilder
extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<SparkplugBProto.Payload.MetaData>
-
Method Summary
Modifier and TypeMethodDescriptionGeneral metadatacom.google.protobuf.ByteStringGeneral metadataCatchalls and future expansioncom.google.protobuf.ByteStringCatchalls and future expansionFile metadatacom.google.protobuf.ByteStringFile metadataFile type (i.e.com.google.protobuf.ByteStringFile type (i.e.booleanBytes specific metadatagetMd5()md5 of datacom.google.protobuf.ByteStringmd5 of datalonggetSeq()Sequence number for multi-part messageslonggetSize()File size, String size, Multi-part size, etcbooleanGeneral metadatabooleanCatchalls and future expansionbooleanFile metadatabooleanFile type (i.e.booleanBytes specific metadatabooleanhasMd5()md5 of databooleanhasSeq()Sequence number for multi-part messagesbooleanhasSize()File size, String size, Multi-part size, etcMethods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasIsMultiPart
boolean hasIsMultiPart()Bytes specific metadata
optional bool is_multi_part = 1;- Returns:
- Whether the isMultiPart field is set.
-
getIsMultiPart
boolean getIsMultiPart()Bytes specific metadata
optional bool is_multi_part = 1;- Returns:
- The isMultiPart.
-
hasContentType
boolean hasContentType()General metadata
optional string content_type = 2;- Returns:
- Whether the contentType field is set.
-
getContentType
String getContentType()General metadata
optional string content_type = 2;- Returns:
- The contentType.
-
getContentTypeBytes
com.google.protobuf.ByteString getContentTypeBytes()General metadata
optional string content_type = 2;- Returns:
- The bytes for contentType.
-
hasSize
boolean hasSize()File size, String size, Multi-part size, etc
optional uint64 size = 3;- Returns:
- Whether the size field is set.
-
getSize
long getSize()File size, String size, Multi-part size, etc
optional uint64 size = 3;- Returns:
- The size.
-
hasSeq
boolean hasSeq()Sequence number for multi-part messages
optional uint64 seq = 4;- Returns:
- Whether the seq field is set.
-
getSeq
long getSeq()Sequence number for multi-part messages
optional uint64 seq = 4;- Returns:
- The seq.
-
hasFileName
boolean hasFileName()File metadata
optional string file_name = 5;- Returns:
- Whether the fileName field is set.
-
getFileName
String getFileName()File metadata
optional string file_name = 5;- Returns:
- The fileName.
-
getFileNameBytes
com.google.protobuf.ByteString getFileNameBytes()File metadata
optional string file_name = 5;- Returns:
- The bytes for fileName.
-
hasFileType
boolean hasFileType()File type (i.e. xml, json, txt, cpp, etc)
optional string file_type = 6;- Returns:
- Whether the fileType field is set.
-
getFileType
String getFileType()File type (i.e. xml, json, txt, cpp, etc)
optional string file_type = 6;- Returns:
- The fileType.
-
getFileTypeBytes
com.google.protobuf.ByteString getFileTypeBytes()File type (i.e. xml, json, txt, cpp, etc)
optional string file_type = 6;- Returns:
- The bytes for fileType.
-
hasMd5
boolean hasMd5()md5 of data
optional string md5 = 7;- Returns:
- Whether the md5 field is set.
-
getMd5
String getMd5()md5 of data
optional string md5 = 7;- Returns:
- The md5.
-
getMd5Bytes
com.google.protobuf.ByteString getMd5Bytes()md5 of data
optional string md5 = 7;- Returns:
- The bytes for md5.
-
hasDescription
boolean hasDescription()Catchalls and future expansion
optional string description = 8;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()Catchalls and future expansion
optional string description = 8;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Catchalls and future expansion
optional string description = 8;- Returns:
- The bytes for description.
-