Class HTTPAuthSecurityScheme (0.27.0)

public final class HTTPAuthSecurityScheme extends GeneratedMessage implements HTTPAuthSecuritySchemeOrBuilder

HTTPAuthSecurityScheme defines an HTTP authentication security scheme.

Protobuf type google.cloud.geminidataanalytics.v1beta.HTTPAuthSecurityScheme

Static Fields

BEARER_FORMAT_FIELD_NUMBER

public static final int BEARER_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

SCHEME_FIELD_NUMBER

public static final int SCHEME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HTTPAuthSecurityScheme getDefaultInstance()
Returns
Type Description
HTTPAuthSecurityScheme

getDescriptor()

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

newBuilder()

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

newBuilder(HTTPAuthSecurityScheme prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBearerFormat()

public String getBearerFormat()

Optional. A hint to the client to identify how the bearer token is formatted.

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

Returns
Type Description
String

The bearerFormat.

getBearerFormatBytes()

public ByteString getBearerFormatBytes()

Optional. A hint to the client to identify how the bearer token is formatted.

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

Returns
Type Description
ByteString

The bytes for bearerFormat.

getDefaultInstanceForType()

public HTTPAuthSecurityScheme getDefaultInstanceForType()
Returns
Type Description
HTTPAuthSecurityScheme

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.

getParserForType()

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

getScheme()

public String getScheme()

Optional. The name of the HTTP Authentication scheme to be used in the Authorization header.

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

Returns
Type Description
String

The scheme.

getSchemeBytes()

public ByteString getSchemeBytes()

Optional. The name of the HTTP Authentication scheme to be used in the Authorization header.

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

Returns
Type Description
ByteString

The bytes for scheme.

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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