Package viam.app.packages.v1
Class Packages.DeletePackageRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Packages.DeletePackageRequest,Packages.DeletePackageRequest.Builder>
viam.app.packages.v1.Packages.DeletePackageRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Packages.DeletePackageRequestOrBuilder
- Enclosing class:
- Packages.DeletePackageRequest
public static final class Packages.DeletePackageRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Packages.DeletePackageRequest,Packages.DeletePackageRequest.Builder>
implements Packages.DeletePackageRequestOrBuilder
Protobuf type
viam.app.packages.v1.DeletePackageRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionclearId()
string id = 1 [json_name = "id"];
.viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
string version = 2 [json_name = "version"];
getId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
getType()
.viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
int
.viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
string version = 2 [json_name = "version"];
com.google.protobuf.ByteString
string version = 2 [json_name = "version"];
string id = 1 [json_name = "id"];
setIdBytes
(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];
setType
(Packages.PackageType value) .viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
setTypeValue
(int value) .viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
setVersion
(String value) string version = 2 [json_name = "version"];
setVersionBytes
(com.google.protobuf.ByteString value) string version = 2 [json_name = "version"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfacePackages.DeletePackageRequestOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfacePackages.DeletePackageRequestOrBuilder
- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getVersion
string version = 2 [json_name = "version"];
- Specified by:
getVersion
in interfacePackages.DeletePackageRequestOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()string version = 2 [json_name = "version"];
- Specified by:
getVersionBytes
in interfacePackages.DeletePackageRequestOrBuilder
- Returns:
- The bytes for version.
-
setVersion
string version = 2 [json_name = "version"];
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
string version = 2 [json_name = "version"];
- Returns:
- This builder for chaining.
-
setVersionBytes
string version = 2 [json_name = "version"];
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue().viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
- Specified by:
getTypeValue
in interfacePackages.DeletePackageRequestOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
.viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
getType
.viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
- Specified by:
getType
in interfacePackages.DeletePackageRequestOrBuilder
- Returns:
- The type.
-
setType
.viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
clearType
.viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
- Returns:
- This builder for chaining.
-