Package viam.app.v1
Class AppOuterClass.LocationAuth.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.LocationAuth,AppOuterClass.LocationAuth.Builder>
viam.app.v1.AppOuterClass.LocationAuth.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,AppOuterClass.LocationAuthOrBuilder
- Enclosing class:
- AppOuterClass.LocationAuth
public static final class AppOuterClass.LocationAuth.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.LocationAuth,AppOuterClass.LocationAuth.Builder>
implements AppOuterClass.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 AppOuterClass.SharedSecret> values) List of secrets used to authenticate to the Location.addSecrets(int index, AppOuterClass.SharedSecret value) List of secrets used to authenticate to the Location.addSecrets(int index, AppOuterClass.SharedSecret.Builder builderForValue) List of secrets used to authenticate to the Location.List of secrets used to authenticate to the Location.addSecrets(AppOuterClass.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.ByteStringLocation ID containing this LocationAuth.Deprecated.viam.app.v1.LocationAuth.secret is deprecated.com.google.protobuf.ByteStringDeprecated.viam.app.v1.LocationAuth.secret is deprecated.getSecrets(int index) List of secrets used to authenticate to the Location.intList 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, AppOuterClass.SharedSecret value) List of secrets used to authenticate to the Location.setSecrets(int index, AppOuterClass.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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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=605Deprecated: use secrets field.
string secret = 1 [json_name = "secret", deprecated = true];- Specified by:
getSecretin interfaceAppOuterClass.LocationAuthOrBuilder- Returns:
- The secret.
-
getSecretBytes
Deprecated.viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=605Deprecated: use secrets field.
string secret = 1 [json_name = "secret", deprecated = true];- Specified by:
getSecretBytesin interfaceAppOuterClass.LocationAuthOrBuilder- Returns:
- The bytes for secret.
-
setSecret
Deprecated.viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=605Deprecated: 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=605Deprecated: use secrets field.
string secret = 1 [json_name = "secret", deprecated = true];- Returns:
- This builder for chaining.
-
setSecretBytes
@Deprecated public AppOuterClass.LocationAuth.Builder setSecretBytes(com.google.protobuf.ByteString value) Deprecated.viam.app.v1.LocationAuth.secret is deprecated. See app/v1/app.proto;l=605Deprecated: 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:
getLocationIdin interfaceAppOuterClass.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:
getLocationIdBytesin interfaceAppOuterClass.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:
getSecretsListin interfaceAppOuterClass.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:
getSecretsCountin interfaceAppOuterClass.LocationAuthOrBuilder
-
getSecrets
List of secrets used to authenticate to the Location.
repeated .viam.app.v1.SharedSecret secrets = 3 [json_name = "secrets"];- Specified by:
getSecretsin interfaceAppOuterClass.LocationAuthOrBuilder
-
addAllSecrets
public AppOuterClass.LocationAuth.Builder addAllSecrets(Iterable<? extends AppOuterClass.SharedSecret> values) 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"];
-