Class ImplicitOAuthFlow (0.27.0)

public final class ImplicitOAuthFlow extends GeneratedMessage implements ImplicitOAuthFlowOrBuilder

ImplicitOAuthFlow defines an implicit OAuth flow.

Protobuf type google.cloud.geminidataanalytics.v1beta.ImplicitOAuthFlow

Static Fields

AUTHORIZATION_URL_FIELD_NUMBER

public static final int AUTHORIZATION_URL_FIELD_NUMBER
Field Value
Type Description
int

REFRESH_URL_FIELD_NUMBER

public static final int REFRESH_URL_FIELD_NUMBER
Field Value
Type Description
int

SCOPES_FIELD_NUMBER

public static final int SCOPES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImplicitOAuthFlow getDefaultInstance()
Returns
Type Description
ImplicitOAuthFlow

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ImplicitOAuthFlow.Builder newBuilder()
Returns
Type Description
ImplicitOAuthFlow.Builder

newBuilder(ImplicitOAuthFlow prototype)

public static ImplicitOAuthFlow.Builder newBuilder(ImplicitOAuthFlow prototype)
Parameter
Name Description
prototype ImplicitOAuthFlow
Returns
Type Description
ImplicitOAuthFlow.Builder

parseDelimitedFrom(InputStream input)

public static ImplicitOAuthFlow parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImplicitOAuthFlow
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImplicitOAuthFlow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImplicitOAuthFlow
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImplicitOAuthFlow parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImplicitOAuthFlow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImplicitOAuthFlow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImplicitOAuthFlow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImplicitOAuthFlow parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImplicitOAuthFlow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImplicitOAuthFlow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImplicitOAuthFlow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImplicitOAuthFlow parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImplicitOAuthFlow
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImplicitOAuthFlow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImplicitOAuthFlow
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImplicitOAuthFlow parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImplicitOAuthFlow
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImplicitOAuthFlow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImplicitOAuthFlow
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImplicitOAuthFlow parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImplicitOAuthFlow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImplicitOAuthFlow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImplicitOAuthFlow
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImplicitOAuthFlow> parser()
Returns
Type Description
Parser<ImplicitOAuthFlow>

Methods

containsScopes(String key)

public boolean containsScopes(String key)

The available scopes for the OAuth2 security scheme.

map<string, string> scopes = 3;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuthorizationUrl()

public String getAuthorizationUrl()

Optional. The authorization URL to be used for this flow.

string authorization_url = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The authorizationUrl.

getAuthorizationUrlBytes()

public ByteString getAuthorizationUrlBytes()

Optional. The authorization URL to be used for this flow.

string authorization_url = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for authorizationUrl.

getDefaultInstanceForType()

public ImplicitOAuthFlow getDefaultInstanceForType()
Returns
Type Description
ImplicitOAuthFlow

getParserForType()

public Parser<ImplicitOAuthFlow> getParserForType()
Returns
Type Description
Parser<ImplicitOAuthFlow>
Overrides

getRefreshUrl()

public String getRefreshUrl()

Optional. The URL to be used for obtaining refresh tokens.

string refresh_url = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The refreshUrl.

getRefreshUrlBytes()

public ByteString getRefreshUrlBytes()

Optional. The URL to be used for obtaining refresh tokens.

string refresh_url = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for refreshUrl.

getScopes() (deprecated)

public Map<String,String> getScopes()

Use #getScopesMap() instead.

Returns
Type Description
Map<String,String>

getScopesCount()

public int getScopesCount()

The available scopes for the OAuth2 security scheme.

map<string, string> scopes = 3;

Returns
Type Description
int

getScopesMap()

public Map<String,String> getScopesMap()

The available scopes for the OAuth2 security scheme.

map<string, string> scopes = 3;

Returns
Type Description
Map<String,String>

getScopesOrDefault(String key, String defaultValue)

public String getScopesOrDefault(String key, String defaultValue)

The available scopes for the OAuth2 security scheme.

map<string, string> scopes = 3;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getScopesOrThrow(String key)

public String getScopesOrThrow(String key)

The available scopes for the OAuth2 security scheme.

map<string, string> scopes = 3;

Parameter
Name Description
key String
Returns
Type Description
String

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImplicitOAuthFlow.Builder newBuilderForType()
Returns
Type Description
ImplicitOAuthFlow.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ImplicitOAuthFlow.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImplicitOAuthFlow.Builder
Overrides

toBuilder()

public ImplicitOAuthFlow.Builder toBuilder()
Returns
Type Description
ImplicitOAuthFlow.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException