Package viam.app.packages.v1
Class Packages.PackageInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Packages.PackageInfo,Packages.PackageInfo.Builder>
viam.app.packages.v1.Packages.PackageInfo
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Packages.PackageInfoOrBuilder
- Enclosing class:
- Packages
public static final class Packages.PackageInfo
extends com.google.protobuf.GeneratedMessageLite<Packages.PackageInfo,Packages.PackageInfo.Builder>
implements Packages.PackageInfoOrBuilder
Protobuf type
viam.app.packages.v1.PackageInfo
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.packages.v1.PackageInfo
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
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Packages.PackageInfo
getFiles
(int index) repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"];
int
repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"];
repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"];
getFilesOrBuilder
(int index) repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"];
List<? extends Packages.FileInfoOrBuilder>
repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"];
com.google.protobuf.Struct
.google.protobuf.Struct metadata = 6 [json_name = "metadata"];
getName()
string name = 2 [json_name = "name"];
com.google.protobuf.ByteString
string name = 2 [json_name = "name"];
string organization_id = 1 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 1 [json_name = "organizationId"];
optional string platform = 7 [json_name = "platform"];
com.google.protobuf.ByteString
optional string platform = 7 [json_name = "platform"];
getType()
.viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
int
.viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
string version = 3 [json_name = "version"];
com.google.protobuf.ByteString
string version = 3 [json_name = "version"];
boolean
.google.protobuf.Struct metadata = 6 [json_name = "metadata"];
boolean
optional string platform = 7 [json_name = "platform"];
static Packages.PackageInfo.Builder
static Packages.PackageInfo.Builder
newBuilder
(Packages.PackageInfo prototype) static Packages.PackageInfo
parseDelimitedFrom
(InputStream input) static Packages.PackageInfo
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Packages.PackageInfo
parseFrom
(byte[] data) static Packages.PackageInfo
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Packages.PackageInfo
parseFrom
(com.google.protobuf.ByteString data) static Packages.PackageInfo
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Packages.PackageInfo
parseFrom
(com.google.protobuf.CodedInputStream input) static Packages.PackageInfo
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Packages.PackageInfo
parseFrom
(InputStream input) static Packages.PackageInfo
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Packages.PackageInfo
parseFrom
(ByteBuffer data) static Packages.PackageInfo
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Packages.PackageInfo>
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
-
ORGANIZATION_ID_FIELD_NUMBER
public static final int ORGANIZATION_ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
PLATFORM_FIELD_NUMBER
public static final int PLATFORM_FIELD_NUMBER- See Also:
-
FILES_FIELD_NUMBER
public static final int FILES_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
-
Method Details
-
getOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfacePackages.PackageInfoOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfacePackages.PackageInfoOrBuilder
- Returns:
- The bytes for organizationId.
-
getName
string name = 2 [json_name = "name"];
- Specified by:
getName
in interfacePackages.PackageInfoOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfacePackages.PackageInfoOrBuilder
- Returns:
- The bytes for name.
-
getVersion
string version = 3 [json_name = "version"];
- Specified by:
getVersion
in interfacePackages.PackageInfoOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()string version = 3 [json_name = "version"];
- Specified by:
getVersionBytes
in interfacePackages.PackageInfoOrBuilder
- Returns:
- The bytes for version.
-
getTypeValue
public int getTypeValue().viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Specified by:
getTypeValue
in interfacePackages.PackageInfoOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
getType
.viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Specified by:
getType
in interfacePackages.PackageInfoOrBuilder
- Returns:
- The type.
-
hasPlatform
public boolean hasPlatform()optional string platform = 7 [json_name = "platform"];
- Specified by:
hasPlatform
in interfacePackages.PackageInfoOrBuilder
- Returns:
- Whether the platform field is set.
-
getPlatform
optional string platform = 7 [json_name = "platform"];
- Specified by:
getPlatform
in interfacePackages.PackageInfoOrBuilder
- Returns:
- The platform.
-
getPlatformBytes
public com.google.protobuf.ByteString getPlatformBytes()optional string platform = 7 [json_name = "platform"];
- Specified by:
getPlatformBytes
in interfacePackages.PackageInfoOrBuilder
- Returns:
- The bytes for platform.
-
getFilesList
repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"];
- Specified by:
getFilesList
in interfacePackages.PackageInfoOrBuilder
-
getFilesOrBuilderList
repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"];
-
getFilesCount
public int getFilesCount()repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"];
- Specified by:
getFilesCount
in interfacePackages.PackageInfoOrBuilder
-
getFiles
repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"];
- Specified by:
getFiles
in interfacePackages.PackageInfoOrBuilder
-
getFilesOrBuilder
repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"];
-
hasMetadata
public boolean hasMetadata().google.protobuf.Struct metadata = 6 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfacePackages.PackageInfoOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public com.google.protobuf.Struct getMetadata().google.protobuf.Struct metadata = 6 [json_name = "metadata"];
- Specified by:
getMetadata
in interfacePackages.PackageInfoOrBuilder
- Returns:
- The metadata.
-
parseFrom
public static Packages.PackageInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Packages.PackageInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Packages.PackageInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Packages.PackageInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Packages.PackageInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Packages.PackageInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Packages.PackageInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Packages.PackageInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Packages.PackageInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Packages.PackageInfo 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<Packages.PackageInfo,
Packages.PackageInfo.Builder>
-
getDefaultInstance
-
parser
-