Package viam.app.v1
Class App.CreateOAuthAppRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.CreateOAuthAppRequest,App.CreateOAuthAppRequest.Builder>
viam.app.v1.App.CreateOAuthAppRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.CreateOAuthAppRequestOrBuilder
- Enclosing class:
- App.CreateOAuthAppRequest
public static final class App.CreateOAuthAppRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.CreateOAuthAppRequest,App.CreateOAuthAppRequest.Builder>
implements App.CreateOAuthAppRequestOrBuilder
Protobuf type
viam.app.v1.CreateOAuthAppRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring client_name = 2 [json_name = "clientName"];
.viam.app.v1.OAuthConfig oauth_config = 3 [json_name = "oauthConfig"];
string org_id = 1 [json_name = "orgId"];
string client_name = 2 [json_name = "clientName"];
com.google.protobuf.ByteString
string client_name = 2 [json_name = "clientName"];
.viam.app.v1.OAuthConfig oauth_config = 3 [json_name = "oauthConfig"];
getOrgId()
string org_id = 1 [json_name = "orgId"];
com.google.protobuf.ByteString
string org_id = 1 [json_name = "orgId"];
boolean
.viam.app.v1.OAuthConfig oauth_config = 3 [json_name = "oauthConfig"];
mergeOauthConfig
(App.OAuthConfig value) .viam.app.v1.OAuthConfig oauth_config = 3 [json_name = "oauthConfig"];
setClientName
(String value) string client_name = 2 [json_name = "clientName"];
setClientNameBytes
(com.google.protobuf.ByteString value) string client_name = 2 [json_name = "clientName"];
setOauthConfig
(App.OAuthConfig value) .viam.app.v1.OAuthConfig oauth_config = 3 [json_name = "oauthConfig"];
setOauthConfig
(App.OAuthConfig.Builder builderForValue) .viam.app.v1.OAuthConfig oauth_config = 3 [json_name = "oauthConfig"];
string org_id = 1 [json_name = "orgId"];
setOrgIdBytes
(com.google.protobuf.ByteString value) string org_id = 1 [json_name = "orgId"];
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
-
getOrgId
string org_id = 1 [json_name = "orgId"];
- Specified by:
getOrgId
in interfaceApp.CreateOAuthAppRequestOrBuilder
- Returns:
- The orgId.
-
getOrgIdBytes
public com.google.protobuf.ByteString getOrgIdBytes()string org_id = 1 [json_name = "orgId"];
- Specified by:
getOrgIdBytes
in interfaceApp.CreateOAuthAppRequestOrBuilder
- Returns:
- The bytes for orgId.
-
setOrgId
string org_id = 1 [json_name = "orgId"];
- Parameters:
value
- The orgId to set.- Returns:
- This builder for chaining.
-
clearOrgId
string org_id = 1 [json_name = "orgId"];
- Returns:
- This builder for chaining.
-
setOrgIdBytes
string org_id = 1 [json_name = "orgId"];
- Parameters:
value
- The bytes for orgId to set.- Returns:
- This builder for chaining.
-
getClientName
string client_name = 2 [json_name = "clientName"];
- Specified by:
getClientName
in interfaceApp.CreateOAuthAppRequestOrBuilder
- Returns:
- The clientName.
-
getClientNameBytes
public com.google.protobuf.ByteString getClientNameBytes()string client_name = 2 [json_name = "clientName"];
- Specified by:
getClientNameBytes
in interfaceApp.CreateOAuthAppRequestOrBuilder
- Returns:
- The bytes for clientName.
-
setClientName
string client_name = 2 [json_name = "clientName"];
- Parameters:
value
- The clientName to set.- Returns:
- This builder for chaining.
-
clearClientName
string client_name = 2 [json_name = "clientName"];
- Returns:
- This builder for chaining.
-
setClientNameBytes
string client_name = 2 [json_name = "clientName"];
- Parameters:
value
- The bytes for clientName to set.- Returns:
- This builder for chaining.
-
hasOauthConfig
public boolean hasOauthConfig().viam.app.v1.OAuthConfig oauth_config = 3 [json_name = "oauthConfig"];
- Specified by:
hasOauthConfig
in interfaceApp.CreateOAuthAppRequestOrBuilder
- Returns:
- Whether the oauthConfig field is set.
-
getOauthConfig
.viam.app.v1.OAuthConfig oauth_config = 3 [json_name = "oauthConfig"];
- Specified by:
getOauthConfig
in interfaceApp.CreateOAuthAppRequestOrBuilder
- Returns:
- The oauthConfig.
-
setOauthConfig
.viam.app.v1.OAuthConfig oauth_config = 3 [json_name = "oauthConfig"];
-
setOauthConfig
.viam.app.v1.OAuthConfig oauth_config = 3 [json_name = "oauthConfig"];
-
mergeOauthConfig
.viam.app.v1.OAuthConfig oauth_config = 3 [json_name = "oauthConfig"];
-
clearOauthConfig
.viam.app.v1.OAuthConfig oauth_config = 3 [json_name = "oauthConfig"];
-