Package viam.app.packages.v1
Interface Packages.GetPackageRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Packages.GetPackageRequest
,Packages.GetPackageRequest.Builder
- Enclosing class:
- Packages
public static interface Packages.GetPackageRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
boolean
optional bool include_url = 3 [json_name = "includeUrl"];
optional string platform = 5 [json_name = "platform"];
com.google.protobuf.ByteString
optional string platform = 5 [json_name = "platform"];
getType()
optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
int
optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
string version = 2 [json_name = "version"];
com.google.protobuf.ByteString
string version = 2 [json_name = "version"];
boolean
optional bool include_url = 3 [json_name = "includeUrl"];
boolean
optional string platform = 5 [json_name = "platform"];
boolean
hasType()
optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
String getId()string id = 1 [json_name = "id"];
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Returns:
- The bytes for id.
-
getVersion
String getVersion()string version = 2 [json_name = "version"];
- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()string version = 2 [json_name = "version"];
- Returns:
- The bytes for version.
-
hasIncludeUrl
boolean hasIncludeUrl()optional bool include_url = 3 [json_name = "includeUrl"];
- Returns:
- Whether the includeUrl field is set.
-
getIncludeUrl
boolean getIncludeUrl()optional bool include_url = 3 [json_name = "includeUrl"];
- Returns:
- The includeUrl.
-
hasType
boolean hasType()optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Returns:
- Whether the type field is set.
-
getTypeValue
int getTypeValue()optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Returns:
- The enum numeric value on the wire for type.
-
getType
Packages.PackageType getType()optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Returns:
- The type.
-
hasPlatform
boolean hasPlatform()optional string platform = 5 [json_name = "platform"];
- Returns:
- Whether the platform field is set.
-
getPlatform
String getPlatform()optional string platform = 5 [json_name = "platform"];
- Returns:
- The platform.
-
getPlatformBytes
com.google.protobuf.ByteString getPlatformBytes()optional string platform = 5 [json_name = "platform"];
- Returns:
- The bytes for platform.
-