Package viam.app.packages.v1
Interface Packages.PackageInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Packages.PackageInfo,Packages.PackageInfo.Builder
- Enclosing class:
- Packages
public static interface Packages.PackageInfoOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetFiles(int index) repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"];intrepeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"];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.ByteStringstring name = 2 [json_name = "name"];string organization_id = 1 [json_name = "organizationId"];com.google.protobuf.ByteStringstring organization_id = 1 [json_name = "organizationId"];optional string platform = 7 [json_name = "platform"];com.google.protobuf.ByteStringoptional 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.ByteStringstring version = 3 [json_name = "version"];boolean.google.protobuf.Struct metadata = 6 [json_name = "metadata"];booleanoptional string platform = 7 [json_name = "platform"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getOrganizationId
String getOrganizationId()string organization_id = 1 [json_name = "organizationId"];- Returns:
- The organizationId.
-
getOrganizationIdBytes
com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];- Returns:
- The bytes for organizationId.
-
getName
String getName()string name = 2 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name"];- Returns:
- The bytes for name.
-
getVersion
String getVersion()string version = 3 [json_name = "version"];- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()string version = 3 [json_name = "version"];- Returns:
- The bytes for version.
-
getTypeValue
int getTypeValue().viam.app.packages.v1.PackageType type = 4 [json_name = "type"];- Returns:
- The enum numeric value on the wire for type.
-
getType
Packages.PackageType getType().viam.app.packages.v1.PackageType type = 4 [json_name = "type"];- Returns:
- The type.
-
hasPlatform
boolean hasPlatform()optional string platform = 7 [json_name = "platform"];- Returns:
- Whether the platform field is set.
-
getPlatform
String getPlatform()optional string platform = 7 [json_name = "platform"];- Returns:
- The platform.
-
getPlatformBytes
com.google.protobuf.ByteString getPlatformBytes()optional string platform = 7 [json_name = "platform"];- Returns:
- The bytes for platform.
-
getFilesList
List<Packages.FileInfo> getFilesList()repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"]; -
getFiles
repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"]; -
getFilesCount
int getFilesCount()repeated .viam.app.packages.v1.FileInfo files = 5 [json_name = "files"]; -
hasMetadata
boolean hasMetadata().google.protobuf.Struct metadata = 6 [json_name = "metadata"];- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata().google.protobuf.Struct metadata = 6 [json_name = "metadata"];- Returns:
- The metadata.
-