Package viam.app.v1
Class App.OAuthConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.OAuthConfig,App.OAuthConfig.Builder>
viam.app.v1.App.OAuthConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.OAuthConfigOrBuilder
- Enclosing class:
- App.OAuthConfig
public static final class App.OAuthConfig.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.OAuthConfig,App.OAuthConfig.Builder>
implements App.OAuthConfigOrBuilder
Protobuf type
viam.app.v1.OAuthConfig
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllEnabledGrants
(Iterable<? extends App.EnabledGrant> values) repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
addAllEnabledGrantsValue
(Iterable<Integer> values) repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
addAllOriginUris
(Iterable<String> values) repeated string origin_uris = 4 [json_name = "originUris"];
addAllRedirectUris
(Iterable<String> values) repeated string redirect_uris = 5 [json_name = "redirectUris"];
addEnabledGrants
(App.EnabledGrant value) repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
addEnabledGrantsValue
(int value) repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
addOriginUris
(String value) repeated string origin_uris = 4 [json_name = "originUris"];
addOriginUrisBytes
(com.google.protobuf.ByteString value) repeated string origin_uris = 4 [json_name = "originUris"];
addRedirectUris
(String value) repeated string redirect_uris = 5 [json_name = "redirectUris"];
addRedirectUrisBytes
(com.google.protobuf.ByteString value) repeated string redirect_uris = 5 [json_name = "redirectUris"];
.viam.app.v1.ClientAuthentication client_authentication = 1 [json_name = "clientAuthentication"];
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
string logout_uri = 6 [json_name = "logoutUri"];
repeated string origin_uris = 4 [json_name = "originUris"];
.viam.app.v1.PKCE pkce = 2 [json_name = "pkce"];
repeated string redirect_uris = 5 [json_name = "redirectUris"];
.viam.app.v1.URLValidation url_validation = 3 [json_name = "urlValidation"];
.viam.app.v1.ClientAuthentication client_authentication = 1 [json_name = "clientAuthentication"];
int
.viam.app.v1.ClientAuthentication client_authentication = 1 [json_name = "clientAuthentication"];
getEnabledGrants
(int index) repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
int
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
int
getEnabledGrantsValue
(int index) repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
string logout_uri = 6 [json_name = "logoutUri"];
com.google.protobuf.ByteString
string logout_uri = 6 [json_name = "logoutUri"];
getOriginUris
(int index) repeated string origin_uris = 4 [json_name = "originUris"];
com.google.protobuf.ByteString
getOriginUrisBytes
(int index) repeated string origin_uris = 4 [json_name = "originUris"];
int
repeated string origin_uris = 4 [json_name = "originUris"];
repeated string origin_uris = 4 [json_name = "originUris"];
getPkce()
.viam.app.v1.PKCE pkce = 2 [json_name = "pkce"];
int
.viam.app.v1.PKCE pkce = 2 [json_name = "pkce"];
getRedirectUris
(int index) repeated string redirect_uris = 5 [json_name = "redirectUris"];
com.google.protobuf.ByteString
getRedirectUrisBytes
(int index) repeated string redirect_uris = 5 [json_name = "redirectUris"];
int
repeated string redirect_uris = 5 [json_name = "redirectUris"];
repeated string redirect_uris = 5 [json_name = "redirectUris"];
.viam.app.v1.URLValidation url_validation = 3 [json_name = "urlValidation"];
int
.viam.app.v1.URLValidation url_validation = 3 [json_name = "urlValidation"];
.viam.app.v1.ClientAuthentication client_authentication = 1 [json_name = "clientAuthentication"];
setClientAuthenticationValue
(int value) .viam.app.v1.ClientAuthentication client_authentication = 1 [json_name = "clientAuthentication"];
setEnabledGrants
(int index, App.EnabledGrant value) repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
setEnabledGrantsValue
(int index, int value) repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
setLogoutUri
(String value) string logout_uri = 6 [json_name = "logoutUri"];
setLogoutUriBytes
(com.google.protobuf.ByteString value) string logout_uri = 6 [json_name = "logoutUri"];
setOriginUris
(int index, String value) repeated string origin_uris = 4 [json_name = "originUris"];
.viam.app.v1.PKCE pkce = 2 [json_name = "pkce"];
setPkceValue
(int value) .viam.app.v1.PKCE pkce = 2 [json_name = "pkce"];
setRedirectUris
(int index, String value) repeated string redirect_uris = 5 [json_name = "redirectUris"];
.viam.app.v1.URLValidation url_validation = 3 [json_name = "urlValidation"];
setUrlValidationValue
(int value) .viam.app.v1.URLValidation url_validation = 3 [json_name = "urlValidation"];
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
-
getClientAuthenticationValue
public int getClientAuthenticationValue().viam.app.v1.ClientAuthentication client_authentication = 1 [json_name = "clientAuthentication"];
- Specified by:
getClientAuthenticationValue
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- The enum numeric value on the wire for clientAuthentication.
-
setClientAuthenticationValue
.viam.app.v1.ClientAuthentication client_authentication = 1 [json_name = "clientAuthentication"];
- Parameters:
value
- The clientAuthentication to set.- Returns:
- This builder for chaining.
-
getClientAuthentication
.viam.app.v1.ClientAuthentication client_authentication = 1 [json_name = "clientAuthentication"];
- Specified by:
getClientAuthentication
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- The clientAuthentication.
-
setClientAuthentication
.viam.app.v1.ClientAuthentication client_authentication = 1 [json_name = "clientAuthentication"];
- Parameters:
value
- The enum numeric value on the wire for clientAuthentication to set.- Returns:
- This builder for chaining.
-
clearClientAuthentication
.viam.app.v1.ClientAuthentication client_authentication = 1 [json_name = "clientAuthentication"];
- Returns:
- This builder for chaining.
-
getPkceValue
public int getPkceValue().viam.app.v1.PKCE pkce = 2 [json_name = "pkce"];
- Specified by:
getPkceValue
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- The enum numeric value on the wire for pkce.
-
setPkceValue
.viam.app.v1.PKCE pkce = 2 [json_name = "pkce"];
- Parameters:
value
- The pkce to set.- Returns:
- This builder for chaining.
-
getPkce
.viam.app.v1.PKCE pkce = 2 [json_name = "pkce"];
- Specified by:
getPkce
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- The pkce.
-
setPkce
.viam.app.v1.PKCE pkce = 2 [json_name = "pkce"];
- Parameters:
value
- The enum numeric value on the wire for pkce to set.- Returns:
- This builder for chaining.
-
clearPkce
.viam.app.v1.PKCE pkce = 2 [json_name = "pkce"];
- Returns:
- This builder for chaining.
-
getUrlValidationValue
public int getUrlValidationValue().viam.app.v1.URLValidation url_validation = 3 [json_name = "urlValidation"];
- Specified by:
getUrlValidationValue
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- The enum numeric value on the wire for urlValidation.
-
setUrlValidationValue
.viam.app.v1.URLValidation url_validation = 3 [json_name = "urlValidation"];
- Parameters:
value
- The urlValidation to set.- Returns:
- This builder for chaining.
-
getUrlValidation
.viam.app.v1.URLValidation url_validation = 3 [json_name = "urlValidation"];
- Specified by:
getUrlValidation
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- The urlValidation.
-
setUrlValidation
.viam.app.v1.URLValidation url_validation = 3 [json_name = "urlValidation"];
- Parameters:
value
- The enum numeric value on the wire for urlValidation to set.- Returns:
- This builder for chaining.
-
clearUrlValidation
.viam.app.v1.URLValidation url_validation = 3 [json_name = "urlValidation"];
- Returns:
- This builder for chaining.
-
getOriginUrisList
repeated string origin_uris = 4 [json_name = "originUris"];
- Specified by:
getOriginUrisList
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- A list containing the originUris.
-
getOriginUrisCount
public int getOriginUrisCount()repeated string origin_uris = 4 [json_name = "originUris"];
- Specified by:
getOriginUrisCount
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- The count of originUris.
-
getOriginUris
repeated string origin_uris = 4 [json_name = "originUris"];
- Specified by:
getOriginUris
in interfaceApp.OAuthConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The originUris at the given index.
-
getOriginUrisBytes
public com.google.protobuf.ByteString getOriginUrisBytes(int index) repeated string origin_uris = 4 [json_name = "originUris"];
- Specified by:
getOriginUrisBytes
in interfaceApp.OAuthConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the originUris at the given index.
-
setOriginUris
repeated string origin_uris = 4 [json_name = "originUris"];
- Parameters:
index
- The index to set the value at.value
- The originUris to set.- Returns:
- This builder for chaining.
-
addOriginUris
repeated string origin_uris = 4 [json_name = "originUris"];
- Parameters:
value
- The originUris to add.- Returns:
- This builder for chaining.
-
addAllOriginUris
repeated string origin_uris = 4 [json_name = "originUris"];
- Parameters:
values
- The originUris to add.- Returns:
- This builder for chaining.
-
clearOriginUris
repeated string origin_uris = 4 [json_name = "originUris"];
- Returns:
- This builder for chaining.
-
addOriginUrisBytes
repeated string origin_uris = 4 [json_name = "originUris"];
- Parameters:
value
- The bytes of the originUris to add.- Returns:
- This builder for chaining.
-
getRedirectUrisList
repeated string redirect_uris = 5 [json_name = "redirectUris"];
- Specified by:
getRedirectUrisList
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- A list containing the redirectUris.
-
getRedirectUrisCount
public int getRedirectUrisCount()repeated string redirect_uris = 5 [json_name = "redirectUris"];
- Specified by:
getRedirectUrisCount
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- The count of redirectUris.
-
getRedirectUris
repeated string redirect_uris = 5 [json_name = "redirectUris"];
- Specified by:
getRedirectUris
in interfaceApp.OAuthConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The redirectUris at the given index.
-
getRedirectUrisBytes
public com.google.protobuf.ByteString getRedirectUrisBytes(int index) repeated string redirect_uris = 5 [json_name = "redirectUris"];
- Specified by:
getRedirectUrisBytes
in interfaceApp.OAuthConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the redirectUris at the given index.
-
setRedirectUris
repeated string redirect_uris = 5 [json_name = "redirectUris"];
- Parameters:
index
- The index to set the value at.value
- The redirectUris to set.- Returns:
- This builder for chaining.
-
addRedirectUris
repeated string redirect_uris = 5 [json_name = "redirectUris"];
- Parameters:
value
- The redirectUris to add.- Returns:
- This builder for chaining.
-
addAllRedirectUris
repeated string redirect_uris = 5 [json_name = "redirectUris"];
- Parameters:
values
- The redirectUris to add.- Returns:
- This builder for chaining.
-
clearRedirectUris
repeated string redirect_uris = 5 [json_name = "redirectUris"];
- Returns:
- This builder for chaining.
-
addRedirectUrisBytes
repeated string redirect_uris = 5 [json_name = "redirectUris"];
- Parameters:
value
- The bytes of the redirectUris to add.- Returns:
- This builder for chaining.
-
getLogoutUri
string logout_uri = 6 [json_name = "logoutUri"];
- Specified by:
getLogoutUri
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- The logoutUri.
-
getLogoutUriBytes
public com.google.protobuf.ByteString getLogoutUriBytes()string logout_uri = 6 [json_name = "logoutUri"];
- Specified by:
getLogoutUriBytes
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- The bytes for logoutUri.
-
setLogoutUri
string logout_uri = 6 [json_name = "logoutUri"];
- Parameters:
value
- The logoutUri to set.- Returns:
- This builder for chaining.
-
clearLogoutUri
string logout_uri = 6 [json_name = "logoutUri"];
- Returns:
- This builder for chaining.
-
setLogoutUriBytes
string logout_uri = 6 [json_name = "logoutUri"];
- Parameters:
value
- The bytes for logoutUri to set.- Returns:
- This builder for chaining.
-
getEnabledGrantsList
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
- Specified by:
getEnabledGrantsList
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- A list containing the enabledGrants.
-
getEnabledGrantsCount
public int getEnabledGrantsCount()repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
- Specified by:
getEnabledGrantsCount
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- The count of enabledGrants.
-
getEnabledGrants
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
- Specified by:
getEnabledGrants
in interfaceApp.OAuthConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The enabledGrants at the given index.
-
setEnabledGrants
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
- Parameters:
index
- The index to set the value at.value
- The enabledGrants to set.- Returns:
- This builder for chaining.
-
addEnabledGrants
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
- Parameters:
value
- The enabledGrants to add.- Returns:
- This builder for chaining.
-
addAllEnabledGrants
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
- Parameters:
values
- The enabledGrants to add.- Returns:
- This builder for chaining.
-
clearEnabledGrants
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
- Returns:
- This builder for chaining.
-
getEnabledGrantsValueList
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
- Specified by:
getEnabledGrantsValueList
in interfaceApp.OAuthConfigOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for enabledGrants.
-
getEnabledGrantsValue
public int getEnabledGrantsValue(int index) repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
- Specified by:
getEnabledGrantsValue
in interfaceApp.OAuthConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of enabledGrants at the given index.
-
setEnabledGrantsValue
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for enabledGrants to set.- Returns:
- This builder for chaining.
-
addEnabledGrantsValue
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
- Parameters:
value
- The enum numeric value on the wire for enabledGrants to add.- Returns:
- This builder for chaining.
-
addAllEnabledGrantsValue
repeated .viam.app.v1.EnabledGrant enabled_grants = 7 [json_name = "enabledGrants"];
- Parameters:
values
- The enum numeric values on the wire for enabledGrants to add.- Returns:
- This builder for chaining.
-