Class FinishOAuthRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FinishOAuthRequest.Builder>
com.google.cloud.developerconnect.v1.FinishOAuthRequest.Builder
- All Implemented Interfaces:
FinishOAuthRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FinishOAuthRequest
public static final class FinishOAuthRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FinishOAuthRequest.Builder>
implements FinishOAuthRequestOrBuilder
Message for finishing an OAuth flow.Protobuf type
google.cloud.developerconnect.v1.FinishOAuthRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.The params returned by Google OAuth flow redirects.The params returned by non-Google OAuth 2.0 flow redirect.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe params returned by Google OAuth flow redirects.The params returned by Google OAuth flow redirects.The params returned by Google OAuth flow redirects.The params returned by non-Google OAuth 2.0 flow redirect.The params returned by non-Google OAuth 2.0 flow redirect.The params returned by non-Google OAuth 2.0 flow redirect.booleanThe params returned by Google OAuth flow redirects.booleanThe params returned by non-Google OAuth 2.0 flow redirect.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(FinishOAuthRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The params returned by Google OAuth flow redirects.The params returned by non-Google OAuth 2.0 flow redirect.setAccountConnector(String value) Required.setAccountConnectorBytes(com.google.protobuf.ByteString value) Required.The params returned by Google OAuth flow redirects.setGoogleOauthParams(FinishOAuthRequest.GoogleOAuthParams.Builder builderForValue) The params returned by Google OAuth flow redirects.The params returned by non-Google OAuth 2.0 flow redirect.setOauthParams(FinishOAuthRequest.OAuthParams.Builder builderForValue) The params returned by non-Google OAuth 2.0 flow redirect.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FinishOAuthRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FinishOAuthRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FinishOAuthRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FinishOAuthRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FinishOAuthRequest.Builder>
-
mergeFrom
public FinishOAuthRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FinishOAuthRequest.Builder>- Throws:
IOException
-
getParamsCase
- Specified by:
getParamsCasein interfaceFinishOAuthRequestOrBuilder
-
clearParams
-
hasOauthParams
public boolean hasOauthParams()The params returned by non-Google OAuth 2.0 flow redirect.
.google.cloud.developerconnect.v1.FinishOAuthRequest.OAuthParams oauth_params = 2;- Specified by:
hasOauthParamsin interfaceFinishOAuthRequestOrBuilder- Returns:
- Whether the oauthParams field is set.
-
getOauthParams
The params returned by non-Google OAuth 2.0 flow redirect.
.google.cloud.developerconnect.v1.FinishOAuthRequest.OAuthParams oauth_params = 2;- Specified by:
getOauthParamsin interfaceFinishOAuthRequestOrBuilder- Returns:
- The oauthParams.
-
setOauthParams
The params returned by non-Google OAuth 2.0 flow redirect.
.google.cloud.developerconnect.v1.FinishOAuthRequest.OAuthParams oauth_params = 2; -
setOauthParams
public FinishOAuthRequest.Builder setOauthParams(FinishOAuthRequest.OAuthParams.Builder builderForValue) The params returned by non-Google OAuth 2.0 flow redirect.
.google.cloud.developerconnect.v1.FinishOAuthRequest.OAuthParams oauth_params = 2; -
mergeOauthParams
The params returned by non-Google OAuth 2.0 flow redirect.
.google.cloud.developerconnect.v1.FinishOAuthRequest.OAuthParams oauth_params = 2; -
clearOauthParams
The params returned by non-Google OAuth 2.0 flow redirect.
.google.cloud.developerconnect.v1.FinishOAuthRequest.OAuthParams oauth_params = 2; -
getOauthParamsBuilder
The params returned by non-Google OAuth 2.0 flow redirect.
.google.cloud.developerconnect.v1.FinishOAuthRequest.OAuthParams oauth_params = 2; -
getOauthParamsOrBuilder
The params returned by non-Google OAuth 2.0 flow redirect.
.google.cloud.developerconnect.v1.FinishOAuthRequest.OAuthParams oauth_params = 2;- Specified by:
getOauthParamsOrBuilderin interfaceFinishOAuthRequestOrBuilder
-
hasGoogleOauthParams
public boolean hasGoogleOauthParams()The params returned by Google OAuth flow redirects.
.google.cloud.developerconnect.v1.FinishOAuthRequest.GoogleOAuthParams google_oauth_params = 3;- Specified by:
hasGoogleOauthParamsin interfaceFinishOAuthRequestOrBuilder- Returns:
- Whether the googleOauthParams field is set.
-
getGoogleOauthParams
The params returned by Google OAuth flow redirects.
.google.cloud.developerconnect.v1.FinishOAuthRequest.GoogleOAuthParams google_oauth_params = 3;- Specified by:
getGoogleOauthParamsin interfaceFinishOAuthRequestOrBuilder- Returns:
- The googleOauthParams.
-
setGoogleOauthParams
The params returned by Google OAuth flow redirects.
.google.cloud.developerconnect.v1.FinishOAuthRequest.GoogleOAuthParams google_oauth_params = 3; -
setGoogleOauthParams
public FinishOAuthRequest.Builder setGoogleOauthParams(FinishOAuthRequest.GoogleOAuthParams.Builder builderForValue) The params returned by Google OAuth flow redirects.
.google.cloud.developerconnect.v1.FinishOAuthRequest.GoogleOAuthParams google_oauth_params = 3; -
mergeGoogleOauthParams
public FinishOAuthRequest.Builder mergeGoogleOauthParams(FinishOAuthRequest.GoogleOAuthParams value) The params returned by Google OAuth flow redirects.
.google.cloud.developerconnect.v1.FinishOAuthRequest.GoogleOAuthParams google_oauth_params = 3; -
clearGoogleOauthParams
The params returned by Google OAuth flow redirects.
.google.cloud.developerconnect.v1.FinishOAuthRequest.GoogleOAuthParams google_oauth_params = 3; -
getGoogleOauthParamsBuilder
The params returned by Google OAuth flow redirects.
.google.cloud.developerconnect.v1.FinishOAuthRequest.GoogleOAuthParams google_oauth_params = 3; -
getGoogleOauthParamsOrBuilder
The params returned by Google OAuth flow redirects.
.google.cloud.developerconnect.v1.FinishOAuthRequest.GoogleOAuthParams google_oauth_params = 3;- Specified by:
getGoogleOauthParamsOrBuilderin interfaceFinishOAuthRequestOrBuilder
-
getAccountConnector
Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`.
string account_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getAccountConnectorin interfaceFinishOAuthRequestOrBuilder- Returns:
- The accountConnector.
-
getAccountConnectorBytes
public com.google.protobuf.ByteString getAccountConnectorBytes()Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`.
string account_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getAccountConnectorBytesin interfaceFinishOAuthRequestOrBuilder- Returns:
- The bytes for accountConnector.
-
setAccountConnector
Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`.
string account_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The accountConnector to set.- Returns:
- This builder for chaining.
-
clearAccountConnector
Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`.
string account_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setAccountConnectorBytes
Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`.
string account_connector = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for accountConnector to set.- Returns:
- This builder for chaining.
-