Package viam.app.v1
Class AppOuterClass.CreateKeyRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.CreateKeyRequest,AppOuterClass.CreateKeyRequest.Builder>
viam.app.v1.AppOuterClass.CreateKeyRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,AppOuterClass.CreateKeyRequestOrBuilder
- Enclosing class:
- AppOuterClass.CreateKeyRequest
public static final class AppOuterClass.CreateKeyRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.CreateKeyRequest,AppOuterClass.CreateKeyRequest.Builder>
implements AppOuterClass.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 AppOuterClass.Authorization> values) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
addAuthorizations
(int index, AppOuterClass.Authorization value) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
addAuthorizations
(int index, AppOuterClass.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
addAuthorizations
(AppOuterClass.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, AppOuterClass.Authorization value) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
setAuthorizations
(int index, AppOuterClass.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 interfaceAppOuterClass.CreateKeyRequestOrBuilder
-
getAuthorizationsCount
public int getAuthorizationsCount()repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
- Specified by:
getAuthorizationsCount
in interfaceAppOuterClass.CreateKeyRequestOrBuilder
-
getAuthorizations
repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
- Specified by:
getAuthorizations
in interfaceAppOuterClass.CreateKeyRequestOrBuilder
-
setAuthorizations
public AppOuterClass.CreateKeyRequest.Builder setAuthorizations(int index, AppOuterClass.Authorization value) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
setAuthorizations
public AppOuterClass.CreateKeyRequest.Builder setAuthorizations(int index, AppOuterClass.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
public AppOuterClass.CreateKeyRequest.Builder addAuthorizations(int index, AppOuterClass.Authorization value) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
addAuthorizations
public AppOuterClass.CreateKeyRequest.Builder addAuthorizations(AppOuterClass.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
addAuthorizations
public AppOuterClass.CreateKeyRequest.Builder addAuthorizations(int index, AppOuterClass.Authorization.Builder builderForValue) repeated .viam.app.v1.Authorization authorizations = 1 [json_name = "authorizations"];
-
addAllAuthorizations
public AppOuterClass.CreateKeyRequest.Builder addAllAuthorizations(Iterable<? extends AppOuterClass.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 interfaceAppOuterClass.CreateKeyRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceAppOuterClass.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.
-