Package viam.app.v1
Class App.CreateKeyRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.CreateKeyRequest,App.CreateKeyRequest.Builder>
viam.app.v1.App.CreateKeyRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.CreateKeyRequestOrBuilder
- Enclosing class:
- App.CreateKeyRequest
public static final class App.CreateKeyRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.CreateKeyRequest,App.CreateKeyRequest.Builder>
implements App.CreateKeyRequestOrBuilder
Protobuf type
viam.app.v1.CreateKeyRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAuthorizations
(Iterable<? extends App.Authorization> values) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
addAuthorizations
(int index, App.Authorization value) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
addAuthorizations
(int index, App.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
addAuthorizations
(App.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
string name = 2 [json_name = "name"];
getAuthorizations
(int index) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
int
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
getName()
string name = 2 [json_name = "name"];
com.google.protobuf.ByteString
string name = 2 [json_name = "name"];
removeAuthorizations
(int index) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
setAuthorizations
(int index, App.Authorization value) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
setAuthorizations
(int index, App.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
string name = 2 [json_name = "name"];
setNameBytes
(com.google.protobuf.ByteString value) string name = 2 [json_name = "name"];
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
-
getAuthorizationsList
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
- Specified by:
getAuthorizationsList
in interfaceApp.CreateKeyRequestOrBuilder
-
getAuthorizationsCount
public int getAuthorizationsCount()repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
- Specified by:
getAuthorizationsCount
in interfaceApp.CreateKeyRequestOrBuilder
-
getAuthorizations
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
- Specified by:
getAuthorizations
in interfaceApp.CreateKeyRequestOrBuilder
-
setAuthorizations
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
setAuthorizations
public App.CreateKeyRequest.Builder setAuthorizations(int index, App.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
addAuthorizations
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
addAuthorizations
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
addAuthorizations
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
addAuthorizations
public App.CreateKeyRequest.Builder addAuthorizations(int index, App.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
addAllAuthorizations
public App.CreateKeyRequest.Builder addAllAuthorizations(Iterable<? extends App.Authorization> values) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
clearAuthorizations
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
removeAuthorizations
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
getName
string name = 2 [json_name = "name"];
- Specified by:
getName
in interfaceApp.CreateKeyRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceApp.CreateKeyRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 2 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 2 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
string name = 2 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-