Package viam.app.v1
Class App.LocationAuth.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.LocationAuth,App.LocationAuth.Builder>
viam.app.v1.App.LocationAuth.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.LocationAuthOrBuilder
- Enclosing class:
- App.LocationAuth
public static final class App.LocationAuth.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.LocationAuth,App.LocationAuth.Builder>
implements App.LocationAuthOrBuilder
Protobuf type
viam.app.v1.LocationAuth
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllSecrets
(Iterable<? extends App.SharedSecret> values) List of secrets used to authenticate to the Location.addSecrets
(int index, App.SharedSecret value) List of secrets used to authenticate to the Location.addSecrets
(int index, App.SharedSecret.Builder builderForValue) List of secrets used to authenticate to the Location.addSecrets
(App.SharedSecret value) List of secrets used to authenticate to the Location.addSecrets
(App.SharedSecret.Builder builderForValue) List of secrets used to authenticate to the Location.Location ID containing this LocationAuth.Deprecated.viam.app.v1.LocationAuth.secret is deprecated.List of secrets used to authenticate to the Location.Location ID containing this LocationAuth.com.google.protobuf.ByteString
Location ID containing this LocationAuth.Deprecated.viam.app.v1.LocationAuth.secret is deprecated.com.google.protobuf.ByteString
Deprecated.viam.app.v1.LocationAuth.secret is deprecated.getSecrets
(int index) List of secrets used to authenticate to the Location.int
List of secrets used to authenticate to the Location.List of secrets used to authenticate to the Location.removeSecrets
(int index) List of secrets used to authenticate to the Location.setLocationId
(String value) Location ID containing this LocationAuth.setLocationIdBytes
(com.google.protobuf.ByteString value) Location ID containing this LocationAuth.Deprecated.viam.app.v1.LocationAuth.secret is deprecated.setSecretBytes
(com.google.protobuf.ByteString value) Deprecated.viam.app.v1.LocationAuth.secret is deprecated.setSecrets
(int index, App.SharedSecret value) List of secrets used to authenticate to the Location.setSecrets
(int index, App.SharedSecret.Builder builderForValue) List of secrets used to authenticate to the Location.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
-
getSecret
Deprecated.viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=518Deprecated: use secrets field.
string secret = 1 [json_name = "secret", deprecated = true];
- Specified by:
getSecret
in interfaceApp.LocationAuthOrBuilder
- Returns:
- The secret.
-
getSecretBytes
Deprecated.viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=518Deprecated: use secrets field.
string secret = 1 [json_name = "secret", deprecated = true];
- Specified by:
getSecretBytes
in interfaceApp.LocationAuthOrBuilder
- Returns:
- The bytes for secret.
-
setSecret
Deprecated.viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=518Deprecated: use secrets field.
string secret = 1 [json_name = "secret", deprecated = true];
- Parameters:
value
- The secret to set.- Returns:
- This builder for chaining.
-
clearSecret
Deprecated.viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=518Deprecated: use secrets field.
string secret = 1 [json_name = "secret", deprecated = true];
- Returns:
- This builder for chaining.
-
setSecretBytes
Deprecated.viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=518Deprecated: use secrets field.
string secret = 1 [json_name = "secret", deprecated = true];
- Parameters:
value
- The bytes for secret to set.- Returns:
- This builder for chaining.
-
getLocationId
Location ID containing this LocationAuth.
string location_id = 2 [json_name = "locationId"];
- Specified by:
getLocationId
in interfaceApp.LocationAuthOrBuilder
- Returns:
- The locationId.
-
getLocationIdBytes
public com.google.protobuf.ByteString getLocationIdBytes()Location ID containing this LocationAuth.
string location_id = 2 [json_name = "locationId"];
- Specified by:
getLocationIdBytes
in interfaceApp.LocationAuthOrBuilder
- Returns:
- The bytes for locationId.
-
setLocationId
Location ID containing this LocationAuth.
string location_id = 2 [json_name = "locationId"];
- Parameters:
value
- The locationId to set.- Returns:
- This builder for chaining.
-
clearLocationId
Location ID containing this LocationAuth.
string location_id = 2 [json_name = "locationId"];
- Returns:
- This builder for chaining.
-
setLocationIdBytes
Location ID containing this LocationAuth.
string location_id = 2 [json_name = "locationId"];
- Parameters:
value
- The bytes for locationId to set.- Returns:
- This builder for chaining.
-
getSecretsList
List of secrets used to authenticate to the Location.
repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
- Specified by:
getSecretsList
in interfaceApp.LocationAuthOrBuilder
-
getSecretsCount
public int getSecretsCount()List of secrets used to authenticate to the Location.
repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
- Specified by:
getSecretsCount
in interfaceApp.LocationAuthOrBuilder
-
getSecrets
List of secrets used to authenticate to the Location.
repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
- Specified by:
getSecrets
in interfaceApp.LocationAuthOrBuilder
-
addAllSecrets
List of secrets used to authenticate to the Location.
repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
-
clearSecrets
List of secrets used to authenticate to the Location.
repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
-
removeSecrets
List of secrets used to authenticate to the Location.
repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];
-