Package viam.app.packages.v1
Class Packages.CreatePackageRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Packages.CreatePackageRequest,Packages.CreatePackageRequest.Builder>
viam.app.packages.v1.Packages.CreatePackageRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Packages.CreatePackageRequestOrBuilder
- Enclosing class:
- Packages.CreatePackageRequest
public static final class Packages.CreatePackageRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Packages.CreatePackageRequest,Packages.CreatePackageRequest.Builder>
implements Packages.CreatePackageRequestOrBuilder
Protobuf type
viam.app.packages.v1.CreatePackageRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.tar.gz file.viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
com.google.protobuf.ByteString
.tar.gz filegetInfo()
.viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
boolean
.tar.gz fileboolean
hasInfo()
.viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
mergeInfo
(Packages.PackageInfo value) .viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
setContents
(com.google.protobuf.ByteString value) .tar.gz filesetInfo
(Packages.PackageInfo value) .viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
setInfo
(Packages.PackageInfo.Builder builderForValue) .viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
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
-
getPackageCase
- Specified by:
getPackageCase
in interfacePackages.CreatePackageRequestOrBuilder
-
clearPackage
-
hasInfo
public boolean hasInfo().viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
- Specified by:
hasInfo
in interfacePackages.CreatePackageRequestOrBuilder
- Returns:
- Whether the info field is set.
-
getInfo
.viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
- Specified by:
getInfo
in interfacePackages.CreatePackageRequestOrBuilder
- Returns:
- The info.
-
setInfo
.viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
-
setInfo
.viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
-
mergeInfo
.viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
-
clearInfo
.viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
-
hasContents
public boolean hasContents().tar.gz file
bytes contents = 2 [json_name = "contents"];
- Specified by:
hasContents
in interfacePackages.CreatePackageRequestOrBuilder
- Returns:
- Whether the contents field is set.
-
getContents
public com.google.protobuf.ByteString getContents().tar.gz file
bytes contents = 2 [json_name = "contents"];
- Specified by:
getContents
in interfacePackages.CreatePackageRequestOrBuilder
- Returns:
- The contents.
-
setContents
.tar.gz file
bytes contents = 2 [json_name = "contents"];
- Parameters:
value
- The contents to set.- Returns:
- This builder for chaining.
-
clearContents
.tar.gz file
bytes contents = 2 [json_name = "contents"];
- Returns:
- This builder for chaining.
-