Package viam.app.v1
Class App.APIKeyWithAuthorizations.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.APIKeyWithAuthorizations,App.APIKeyWithAuthorizations.Builder>
viam.app.v1.App.APIKeyWithAuthorizations.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.APIKeyWithAuthorizationsOrBuilder
- Enclosing class:
- App.APIKeyWithAuthorizations
public static final class App.APIKeyWithAuthorizations.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.APIKeyWithAuthorizations,App.APIKeyWithAuthorizations.Builder>
implements App.APIKeyWithAuthorizationsOrBuilder
Protobuf type
viam.app.v1.APIKeyWithAuthorizations
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAuthorizations
(Iterable<? extends App.AuthorizationDetails> values) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
addAuthorizations
(int index, App.AuthorizationDetails value) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
addAuthorizations
(int index, App.AuthorizationDetails.Builder builderForValue) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
addAuthorizations
(App.AuthorizationDetails.Builder builderForValue) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
.viam.app.v1.APIKey api_key = 1 [json_name = "apiKey"];
repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
.viam.app.v1.APIKey api_key = 1 [json_name = "apiKey"];
getAuthorizations
(int index) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
int
repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
boolean
.viam.app.v1.APIKey api_key = 1 [json_name = "apiKey"];
mergeApiKey
(App.APIKey value) .viam.app.v1.APIKey api_key = 1 [json_name = "apiKey"];
removeAuthorizations
(int index) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
setApiKey
(App.APIKey value) .viam.app.v1.APIKey api_key = 1 [json_name = "apiKey"];
setApiKey
(App.APIKey.Builder builderForValue) .viam.app.v1.APIKey api_key = 1 [json_name = "apiKey"];
setAuthorizations
(int index, App.AuthorizationDetails value) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
setAuthorizations
(int index, App.AuthorizationDetails.Builder builderForValue) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
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
-
hasApiKey
public boolean hasApiKey().viam.app.v1.APIKey api_key = 1 [json_name = "apiKey"];
- Specified by:
hasApiKey
in interfaceApp.APIKeyWithAuthorizationsOrBuilder
- Returns:
- Whether the apiKey field is set.
-
getApiKey
.viam.app.v1.APIKey api_key = 1 [json_name = "apiKey"];
- Specified by:
getApiKey
in interfaceApp.APIKeyWithAuthorizationsOrBuilder
- Returns:
- The apiKey.
-
setApiKey
.viam.app.v1.APIKey api_key = 1 [json_name = "apiKey"];
-
setApiKey
.viam.app.v1.APIKey api_key = 1 [json_name = "apiKey"];
-
mergeApiKey
.viam.app.v1.APIKey api_key = 1 [json_name = "apiKey"];
-
clearApiKey
.viam.app.v1.APIKey api_key = 1 [json_name = "apiKey"];
-
getAuthorizationsList
repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
- Specified by:
getAuthorizationsList
in interfaceApp.APIKeyWithAuthorizationsOrBuilder
-
getAuthorizationsCount
public int getAuthorizationsCount()repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
- Specified by:
getAuthorizationsCount
in interfaceApp.APIKeyWithAuthorizationsOrBuilder
-
getAuthorizations
repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
- Specified by:
getAuthorizations
in interfaceApp.APIKeyWithAuthorizationsOrBuilder
-
setAuthorizations
public App.APIKeyWithAuthorizations.Builder setAuthorizations(int index, App.AuthorizationDetails value) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
-
setAuthorizations
public App.APIKeyWithAuthorizations.Builder setAuthorizations(int index, App.AuthorizationDetails.Builder builderForValue) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
-
addAuthorizations
repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
-
addAuthorizations
public App.APIKeyWithAuthorizations.Builder addAuthorizations(int index, App.AuthorizationDetails value) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
-
addAuthorizations
public App.APIKeyWithAuthorizations.Builder addAuthorizations(App.AuthorizationDetails.Builder builderForValue) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
-
addAuthorizations
public App.APIKeyWithAuthorizations.Builder addAuthorizations(int index, App.AuthorizationDetails.Builder builderForValue) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
-
addAllAuthorizations
public App.APIKeyWithAuthorizations.Builder addAllAuthorizations(Iterable<? extends App.AuthorizationDetails> values) repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
-
clearAuthorizations
repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
-
removeAuthorizations
repeated .viam.app.v1.AuthorizationDetails authorizations = 2 [json_name = "authorizations"];
-