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