Package viam.app.packages.v1
Class Packages.GetPackageRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Packages.GetPackageRequest,Packages.GetPackageRequest.Builder>
viam.app.packages.v1.Packages.GetPackageRequest
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Packages.GetPackageRequestOrBuilder
- Enclosing class:
- Packages
public static final class Packages.GetPackageRequest
extends com.google.protobuf.GeneratedMessageLite<Packages.GetPackageRequest,Packages.GetPackageRequest.Builder>
implements Packages.GetPackageRequestOrBuilder
Protobuf type
viam.app.packages.v1.GetPackageRequest
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.packages.v1.GetPackageRequest
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
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.GetPackageRequest
getId()
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"];
newBuilder
(Packages.GetPackageRequest prototype) static Packages.GetPackageRequest
parseDelimitedFrom
(InputStream input) static Packages.GetPackageRequest
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Packages.GetPackageRequest
parseFrom
(byte[] data) static Packages.GetPackageRequest
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Packages.GetPackageRequest
parseFrom
(com.google.protobuf.ByteString data) static Packages.GetPackageRequest
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Packages.GetPackageRequest
parseFrom
(com.google.protobuf.CodedInputStream input) static Packages.GetPackageRequest
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Packages.GetPackageRequest
parseFrom
(InputStream input) static Packages.GetPackageRequest
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Packages.GetPackageRequest
parseFrom
(ByteBuffer data) static Packages.GetPackageRequest
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Packages.GetPackageRequest>
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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
INCLUDE_URL_FIELD_NUMBER
public static final int INCLUDE_URL_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:
-
-
Method Details
-
getId
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfacePackages.GetPackageRequestOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfacePackages.GetPackageRequestOrBuilder
- Returns:
- The bytes for id.
-
getVersion
string version = 2 [json_name = "version"];
- Specified by:
getVersion
in interfacePackages.GetPackageRequestOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()string version = 2 [json_name = "version"];
- Specified by:
getVersionBytes
in interfacePackages.GetPackageRequestOrBuilder
- Returns:
- The bytes for version.
-
hasIncludeUrl
public boolean hasIncludeUrl()optional bool include_url = 3 [json_name = "includeUrl"];
- Specified by:
hasIncludeUrl
in interfacePackages.GetPackageRequestOrBuilder
- Returns:
- Whether the includeUrl field is set.
-
getIncludeUrl
public boolean getIncludeUrl()optional bool include_url = 3 [json_name = "includeUrl"];
- Specified by:
getIncludeUrl
in interfacePackages.GetPackageRequestOrBuilder
- Returns:
- The includeUrl.
-
hasType
public boolean hasType()optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Specified by:
hasType
in interfacePackages.GetPackageRequestOrBuilder
- Returns:
- Whether the type field is set.
-
getTypeValue
public int getTypeValue()optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Specified by:
getTypeValue
in interfacePackages.GetPackageRequestOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
getType
optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Specified by:
getType
in interfacePackages.GetPackageRequestOrBuilder
- Returns:
- The type.
-
hasPlatform
public boolean hasPlatform()optional string platform = 5 [json_name = "platform"];
- Specified by:
hasPlatform
in interfacePackages.GetPackageRequestOrBuilder
- Returns:
- Whether the platform field is set.
-
getPlatform
optional string platform = 5 [json_name = "platform"];
- Specified by:
getPlatform
in interfacePackages.GetPackageRequestOrBuilder
- Returns:
- The platform.
-
getPlatformBytes
public com.google.protobuf.ByteString getPlatformBytes()optional string platform = 5 [json_name = "platform"];
- Specified by:
getPlatformBytes
in interfacePackages.GetPackageRequestOrBuilder
- Returns:
- The bytes for platform.
-
parseFrom
public static Packages.GetPackageRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Packages.GetPackageRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Packages.GetPackageRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Packages.GetPackageRequest 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.GetPackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Packages.GetPackageRequest 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.GetPackageRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Packages.GetPackageRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Packages.GetPackageRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Packages.GetPackageRequest 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.GetPackageRequest,
Packages.GetPackageRequest.Builder>
-
getDefaultInstance
-
parser
-