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.ByteString
General metadataCatchalls and future expansioncom.google.protobuf.ByteString
Catchalls and future expansionFile metadatacom.google.protobuf.ByteString
File metadataFile type (i.e.com.google.protobuf.ByteString
File type (i.e.boolean
Bytes specific metadatagetMd5()
md5 of datacom.google.protobuf.ByteString
md5 of datalong
getSeq()
Sequence number for multi-part messageslong
getSize()
File size, String size, Multi-part size, etcboolean
General metadataboolean
Catchalls and future expansionboolean
File metadataboolean
File type (i.e.boolean
Bytes specific metadataboolean
hasMd5()
md5 of databoolean
hasSeq()
Sequence number for multi-part messagesboolean
hasSize()
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, hasExtension
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods 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.
-