Package viam.app.packages.v1
Class Packages.Package.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Packages.Package,Packages.Package.Builder>
viam.app.packages.v1.Packages.Package.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Packages.PackageOrBuilder
- Enclosing class:
- Packages.Package
public static final class Packages.Package.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Packages.Package,Packages.Package.Builder>
implements Packages.PackageOrBuilder
Protobuf type
viam.app.packages.v1.Package
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring checksum = 4 [json_name = "checksum"];
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
clearId()
string id = 5 [json_name = "id"];
.viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
clearUrl()
string url = 2 [json_name = "url"];
string checksum = 4 [json_name = "checksum"];
com.google.protobuf.ByteString
string checksum = 4 [json_name = "checksum"];
com.google.protobuf.Timestamp
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
getId()
string id = 5 [json_name = "id"];
com.google.protobuf.ByteString
string id = 5 [json_name = "id"];
getInfo()
.viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
getUrl()
string url = 2 [json_name = "url"];
com.google.protobuf.ByteString
string url = 2 [json_name = "url"];
boolean
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
boolean
hasInfo()
.viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
mergeCreatedOn
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
mergeInfo
(Packages.PackageInfo value) .viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
setChecksum
(String value) string checksum = 4 [json_name = "checksum"];
setChecksumBytes
(com.google.protobuf.ByteString value) string checksum = 4 [json_name = "checksum"];
setCreatedOn
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
setCreatedOn
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
string id = 5 [json_name = "id"];
setIdBytes
(com.google.protobuf.ByteString value) string id = 5 [json_name = "id"];
setInfo
(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"];
string url = 2 [json_name = "url"];
setUrlBytes
(com.google.protobuf.ByteString value) string url = 2 [json_name = "url"];
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
-
hasInfo
public boolean hasInfo().viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
- Specified by:
hasInfo
in interfacePackages.PackageOrBuilder
- Returns:
- Whether the info field is set.
-
getInfo
.viam.app.packages.v1.PackageInfo info = 1 [json_name = "info"];
- Specified by:
getInfo
in interfacePackages.PackageOrBuilder
- 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"];
-
getUrl
string url = 2 [json_name = "url"];
- Specified by:
getUrl
in interfacePackages.PackageOrBuilder
- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()string url = 2 [json_name = "url"];
- Specified by:
getUrlBytes
in interfacePackages.PackageOrBuilder
- Returns:
- The bytes for url.
-
setUrl
string url = 2 [json_name = "url"];
- Parameters:
value
- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
string url = 2 [json_name = "url"];
- Returns:
- This builder for chaining.
-
setUrlBytes
string url = 2 [json_name = "url"];
- Parameters:
value
- The bytes for url to set.- Returns:
- This builder for chaining.
-
hasCreatedOn
public boolean hasCreatedOn().google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
- Specified by:
hasCreatedOn
in interfacePackages.PackageOrBuilder
- Returns:
- Whether the createdOn field is set.
-
getCreatedOn
public com.google.protobuf.Timestamp getCreatedOn().google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
- Specified by:
getCreatedOn
in interfacePackages.PackageOrBuilder
- Returns:
- The createdOn.
-
setCreatedOn
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
-
setCreatedOn
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
-
mergeCreatedOn
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
-
clearCreatedOn
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
-
getChecksum
string checksum = 4 [json_name = "checksum"];
- Specified by:
getChecksum
in interfacePackages.PackageOrBuilder
- Returns:
- The checksum.
-
getChecksumBytes
public com.google.protobuf.ByteString getChecksumBytes()string checksum = 4 [json_name = "checksum"];
- Specified by:
getChecksumBytes
in interfacePackages.PackageOrBuilder
- Returns:
- The bytes for checksum.
-
setChecksum
string checksum = 4 [json_name = "checksum"];
- Parameters:
value
- The checksum to set.- Returns:
- This builder for chaining.
-
clearChecksum
string checksum = 4 [json_name = "checksum"];
- Returns:
- This builder for chaining.
-
setChecksumBytes
string checksum = 4 [json_name = "checksum"];
- Parameters:
value
- The bytes for checksum to set.- Returns:
- This builder for chaining.
-
getId
string id = 5 [json_name = "id"];
- Specified by:
getId
in interfacePackages.PackageOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 5 [json_name = "id"];
- Specified by:
getIdBytes
in interfacePackages.PackageOrBuilder
- Returns:
- The bytes for id.
-
setId
string id = 5 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 5 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
string id = 5 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-