Package viam.app.packages.v1
Class Packages.ListPackagesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Packages.ListPackagesRequest,Packages.ListPackagesRequest.Builder>
viam.app.packages.v1.Packages.ListPackagesRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Packages.ListPackagesRequestOrBuilder
- Enclosing class:
- Packages.ListPackagesRequest
public static final class Packages.ListPackagesRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Packages.ListPackagesRequest,Packages.ListPackagesRequest.Builder>
implements Packages.ListPackagesRequestOrBuilder
Protobuf type
viam.app.packages.v1.ListPackagesRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionoptional bool include_url = 5 [json_name = "includeUrl"];
optional string name = 2 [json_name = "name"];
string organization_id = 1 [json_name = "organizationId"];
optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
optional string version = 3 [json_name = "version"];
boolean
optional bool include_url = 5 [json_name = "includeUrl"];
getName()
optional string name = 2 [json_name = "name"];
com.google.protobuf.ByteString
optional string name = 2 [json_name = "name"];
string organization_id = 1 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 1 [json_name = "organizationId"];
getType()
optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
int
optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
optional string version = 3 [json_name = "version"];
com.google.protobuf.ByteString
optional string version = 3 [json_name = "version"];
boolean
optional bool include_url = 5 [json_name = "includeUrl"];
boolean
hasName()
optional string name = 2 [json_name = "name"];
boolean
hasType()
optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
boolean
optional string version = 3 [json_name = "version"];
setIncludeUrl
(boolean value) optional bool include_url = 5 [json_name = "includeUrl"];
optional string name = 2 [json_name = "name"];
setNameBytes
(com.google.protobuf.ByteString value) optional string name = 2 [json_name = "name"];
setOrganizationId
(String value) string organization_id = 1 [json_name = "organizationId"];
setOrganizationIdBytes
(com.google.protobuf.ByteString value) string organization_id = 1 [json_name = "organizationId"];
setType
(Packages.PackageType value) optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
setTypeValue
(int value) optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
setVersion
(String value) optional string version = 3 [json_name = "version"];
setVersionBytes
(com.google.protobuf.ByteString value) optional string version = 3 [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
-
getOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfacePackages.ListPackagesRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfacePackages.ListPackagesRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public Packages.ListPackagesRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()optional string name = 2 [json_name = "name"];
- Specified by:
hasName
in interfacePackages.ListPackagesRequestOrBuilder
- Returns:
- Whether the name field is set.
-
getName
optional string name = 2 [json_name = "name"];
- Specified by:
getName
in interfacePackages.ListPackagesRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfacePackages.ListPackagesRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
optional string name = 2 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
optional string name = 2 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
optional string name = 2 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasVersion
public boolean hasVersion()optional string version = 3 [json_name = "version"];
- Specified by:
hasVersion
in interfacePackages.ListPackagesRequestOrBuilder
- Returns:
- Whether the version field is set.
-
getVersion
optional string version = 3 [json_name = "version"];
- Specified by:
getVersion
in interfacePackages.ListPackagesRequestOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()optional string version = 3 [json_name = "version"];
- Specified by:
getVersionBytes
in interfacePackages.ListPackagesRequestOrBuilder
- Returns:
- The bytes for version.
-
setVersion
optional string version = 3 [json_name = "version"];
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
optional string version = 3 [json_name = "version"];
- Returns:
- This builder for chaining.
-
setVersionBytes
optional string version = 3 [json_name = "version"];
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Specified by:
hasType
in interfacePackages.ListPackagesRequestOrBuilder
- 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.ListPackagesRequestOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
getType
optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Specified by:
getType
in interfacePackages.ListPackagesRequestOrBuilder
- Returns:
- The type.
-
setType
optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
clearType
optional .viam.app.packages.v1.PackageType type = 4 [json_name = "type"];
- Returns:
- This builder for chaining.
-
hasIncludeUrl
public boolean hasIncludeUrl()optional bool include_url = 5 [json_name = "includeUrl"];
- Specified by:
hasIncludeUrl
in interfacePackages.ListPackagesRequestOrBuilder
- Returns:
- Whether the includeUrl field is set.
-
getIncludeUrl
public boolean getIncludeUrl()optional bool include_url = 5 [json_name = "includeUrl"];
- Specified by:
getIncludeUrl
in interfacePackages.ListPackagesRequestOrBuilder
- Returns:
- The includeUrl.
-
setIncludeUrl
optional bool include_url = 5 [json_name = "includeUrl"];
- Parameters:
value
- The includeUrl to set.- Returns:
- This builder for chaining.
-
clearIncludeUrl
optional bool include_url = 5 [json_name = "includeUrl"];
- Returns:
- This builder for chaining.
-