Class OAuth2SecurityScheme (0.27.0)

public final class OAuth2SecurityScheme extends GeneratedMessage implements OAuth2SecuritySchemeOrBuilder

OAuth2SecurityScheme defines an OAuth2 security scheme.

Protobuf type google.cloud.geminidataanalytics.v1beta.OAuth2SecurityScheme

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

FLOWS_FIELD_NUMBER

public static final int FLOWS_FIELD_NUMBER
Field Value
Type Description
int

OAUTH2_METADATA_URL_FIELD_NUMBER

public static final int OAUTH2_METADATA_URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OAuth2SecurityScheme getDefaultInstance()
Returns
Type Description
OAuth2SecurityScheme

getDescriptor()

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

newBuilder()

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

newBuilder(OAuth2SecurityScheme prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public OAuth2SecurityScheme getDefaultInstanceForType()
Returns
Type Description
OAuth2SecurityScheme

getDescription()

public String getDescription()

Optional. Description of this security scheme.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of this security scheme.

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

Returns
Type Description
ByteString

The bytes for description.

getFlows()

public OAuthFlows getFlows()

Optional. An object containing configuration information for the flow types supported.

.google.cloud.geminidataanalytics.v1beta.OAuthFlows flows = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OAuthFlows

The flows.

getFlowsOrBuilder()

public OAuthFlowsOrBuilder getFlowsOrBuilder()

Optional. An object containing configuration information for the flow types supported.

.google.cloud.geminidataanalytics.v1beta.OAuthFlows flows = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OAuthFlowsOrBuilder

getOauth2MetadataUrl()

public String getOauth2MetadataUrl()

Optional. URL to the oauth2 authorization server metadata.

string oauth2_metadata_url = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The oauth2MetadataUrl.

getOauth2MetadataUrlBytes()

public ByteString getOauth2MetadataUrlBytes()

Optional. URL to the oauth2 authorization server metadata.

string oauth2_metadata_url = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for oauth2MetadataUrl.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasFlows()

public boolean hasFlows()

Optional. An object containing configuration information for the flow types supported.

.google.cloud.geminidataanalytics.v1beta.OAuthFlows flows = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the flows field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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