Package viam.app.packages.v1
Class Packages.CreatePackageResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Packages.CreatePackageResponse,Packages.CreatePackageResponse.Builder>
viam.app.packages.v1.Packages.CreatePackageResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Packages.CreatePackageResponseOrBuilder
- Enclosing class:
- Packages.CreatePackageResponse
public static final class Packages.CreatePackageResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Packages.CreatePackageResponse,Packages.CreatePackageResponse.Builder>
implements Packages.CreatePackageResponseOrBuilder
Returns the package ID and version which are populated in GetPackageRequest and DeletePackageRequest to retrieve or delete this package.Protobuf type
viam.app.packages.v1.CreatePackageResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionclearId()
string id = 1 [json_name = "id"];
string version = 2 [json_name = "version"];
getId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
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"];
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.CreatePackageResponseOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfacePackages.CreatePackageResponseOrBuilder
- 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.CreatePackageResponseOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()string version = 2 [json_name = "version"];
- Specified by:
getVersionBytes
in interfacePackages.CreatePackageResponseOrBuilder
- 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.
-