Package viam.app.datasync.v1
Class DataSync.UploadMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<DataSync.UploadMetadata,DataSync.UploadMetadata.Builder>
viam.app.datasync.v1.DataSync.UploadMetadata
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,DataSync.UploadMetadataOrBuilder
- Enclosing class:
- DataSync
public static final class DataSync.UploadMetadata
extends com.google.protobuf.GeneratedMessageLite<DataSync.UploadMetadata,DataSync.UploadMetadata.Builder>
implements DataSync.UploadMetadataOrBuilder
UploadMetadata contains the metadata for binary (image + file) data.Protobuf type
viam.app.datasync.v1.UploadMetadata
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
UploadMetadata contains the metadata for binary (image + file) data.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
map<string, .google.protobuf.Any> method_parameters = 8 [json_name = "methodParameters"];
protected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) string component_name = 3 [json_name = "componentName"];
com.google.protobuf.ByteString
string component_name = 3 [json_name = "componentName"];
string component_type = 2 [json_name = "componentType"];
com.google.protobuf.ByteString
string component_type = 2 [json_name = "componentType"];
static DataSync.UploadMetadata
string file_extension = 9 [json_name = "fileExtension"];
com.google.protobuf.ByteString
string file_extension = 9 [json_name = "fileExtension"];
string file_name = 7 [json_name = "fileName"];
com.google.protobuf.ByteString
string file_name = 7 [json_name = "fileName"];
string method_name = 5 [json_name = "methodName"];
com.google.protobuf.ByteString
string method_name = 5 [json_name = "methodName"];
Deprecated.int
map<string, .google.protobuf.Any> method_parameters = 8 [json_name = "methodParameters"];
map<string, .google.protobuf.Any> method_parameters = 8 [json_name = "methodParameters"];
com.google.protobuf.Any
getMethodParametersOrDefault
(String key, com.google.protobuf.Any defaultValue) map<string, .google.protobuf.Any> method_parameters = 8 [json_name = "methodParameters"];
com.google.protobuf.Any
map<string, .google.protobuf.Any> method_parameters = 8 [json_name = "methodParameters"];
string part_id = 1 [json_name = "partId"];
com.google.protobuf.ByteString
string part_id = 1 [json_name = "partId"];
getTags
(int index) repeated string tags = 10 [json_name = "tags"];
com.google.protobuf.ByteString
getTagsBytes
(int index) repeated string tags = 10 [json_name = "tags"];
int
repeated string tags = 10 [json_name = "tags"];
repeated string tags = 10 [json_name = "tags"];
getType()
.viam.app.datasync.v1.DataType type = 6 [json_name = "type"];
int
.viam.app.datasync.v1.DataType type = 6 [json_name = "type"];
newBuilder
(DataSync.UploadMetadata prototype) static DataSync.UploadMetadata
parseDelimitedFrom
(InputStream input) static DataSync.UploadMetadata
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSync.UploadMetadata
parseFrom
(byte[] data) static DataSync.UploadMetadata
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSync.UploadMetadata
parseFrom
(com.google.protobuf.ByteString data) static DataSync.UploadMetadata
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSync.UploadMetadata
parseFrom
(com.google.protobuf.CodedInputStream input) static DataSync.UploadMetadata
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSync.UploadMetadata
parseFrom
(InputStream input) static DataSync.UploadMetadata
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataSync.UploadMetadata
parseFrom
(ByteBuffer data) static DataSync.UploadMetadata
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataSync.UploadMetadata>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
PART_ID_FIELD_NUMBER
public static final int PART_ID_FIELD_NUMBER- See Also:
-
COMPONENT_TYPE_FIELD_NUMBER
public static final int COMPONENT_TYPE_FIELD_NUMBER- See Also:
-
COMPONENT_NAME_FIELD_NUMBER
public static final int COMPONENT_NAME_FIELD_NUMBER- See Also:
-
METHOD_NAME_FIELD_NUMBER
public static final int METHOD_NAME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
FILE_NAME_FIELD_NUMBER
public static final int FILE_NAME_FIELD_NUMBER- See Also:
-
METHOD_PARAMETERS_FIELD_NUMBER
public static final int METHOD_PARAMETERS_FIELD_NUMBER- See Also:
-
FILE_EXTENSION_FIELD_NUMBER
public static final int FILE_EXTENSION_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getPartId
string part_id = 1 [json_name = "partId"];
- Specified by:
getPartId
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The partId.
-
getPartIdBytes
public com.google.protobuf.ByteString getPartIdBytes()string part_id = 1 [json_name = "partId"];
- Specified by:
getPartIdBytes
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The bytes for partId.
-
getComponentType
string component_type = 2 [json_name = "componentType"];
- Specified by:
getComponentType
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The componentType.
-
getComponentTypeBytes
public com.google.protobuf.ByteString getComponentTypeBytes()string component_type = 2 [json_name = "componentType"];
- Specified by:
getComponentTypeBytes
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The bytes for componentType.
-
getComponentName
string component_name = 3 [json_name = "componentName"];
- Specified by:
getComponentName
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()string component_name = 3 [json_name = "componentName"];
- Specified by:
getComponentNameBytes
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The bytes for componentName.
-
getMethodName
string method_name = 5 [json_name = "methodName"];
- Specified by:
getMethodName
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The methodName.
-
getMethodNameBytes
public com.google.protobuf.ByteString getMethodNameBytes()string method_name = 5 [json_name = "methodName"];
- Specified by:
getMethodNameBytes
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The bytes for methodName.
-
getTypeValue
public int getTypeValue().viam.app.datasync.v1.DataType type = 6 [json_name = "type"];
- Specified by:
getTypeValue
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
getType
.viam.app.datasync.v1.DataType type = 6 [json_name = "type"];
- Specified by:
getType
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The type.
-
getFileName
string file_name = 7 [json_name = "fileName"];
- Specified by:
getFileName
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The fileName.
-
getFileNameBytes
public com.google.protobuf.ByteString getFileNameBytes()string file_name = 7 [json_name = "fileName"];
- Specified by:
getFileNameBytes
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The bytes for fileName.
-
getMethodParametersCount
public int getMethodParametersCount()Description copied from interface:DataSync.UploadMetadataOrBuilder
map<string, .google.protobuf.Any> method_parameters = 8 [json_name = "methodParameters"];
- Specified by:
getMethodParametersCount
in interfaceDataSync.UploadMetadataOrBuilder
-
containsMethodParameters
map<string, .google.protobuf.Any> method_parameters = 8 [json_name = "methodParameters"];
- Specified by:
containsMethodParameters
in interfaceDataSync.UploadMetadataOrBuilder
-
getMethodParameters
Deprecated.UsegetMethodParametersMap()
instead.- Specified by:
getMethodParameters
in interfaceDataSync.UploadMetadataOrBuilder
-
getMethodParametersMap
map<string, .google.protobuf.Any> method_parameters = 8 [json_name = "methodParameters"];
- Specified by:
getMethodParametersMap
in interfaceDataSync.UploadMetadataOrBuilder
-
getMethodParametersOrDefault
public com.google.protobuf.Any getMethodParametersOrDefault(String key, com.google.protobuf.Any defaultValue) map<string, .google.protobuf.Any> method_parameters = 8 [json_name = "methodParameters"];
- Specified by:
getMethodParametersOrDefault
in interfaceDataSync.UploadMetadataOrBuilder
-
getMethodParametersOrThrow
map<string, .google.protobuf.Any> method_parameters = 8 [json_name = "methodParameters"];
- Specified by:
getMethodParametersOrThrow
in interfaceDataSync.UploadMetadataOrBuilder
-
getFileExtension
string file_extension = 9 [json_name = "fileExtension"];
- Specified by:
getFileExtension
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The fileExtension.
-
getFileExtensionBytes
public com.google.protobuf.ByteString getFileExtensionBytes()string file_extension = 9 [json_name = "fileExtension"];
- Specified by:
getFileExtensionBytes
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The bytes for fileExtension.
-
getTagsList
repeated string tags = 10 [json_name = "tags"];
- Specified by:
getTagsList
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()repeated string tags = 10 [json_name = "tags"];
- Specified by:
getTagsCount
in interfaceDataSync.UploadMetadataOrBuilder
- Returns:
- The count of tags.
-
getTags
repeated string tags = 10 [json_name = "tags"];
- Specified by:
getTags
in interfaceDataSync.UploadMetadataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) repeated string tags = 10 [json_name = "tags"];
- Specified by:
getTagsBytes
in interfaceDataSync.UploadMetadataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
parseFrom
public static DataSync.UploadMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSync.UploadMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSync.UploadMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSync.UploadMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSync.UploadMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataSync.UploadMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataSync.UploadMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DataSync.UploadMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DataSync.UploadMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DataSync.UploadMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<DataSync.UploadMetadata,
DataSync.UploadMetadata.Builder>
-
getDefaultInstance
-
parser
-