Class AuthenticationInfo (0.27.0)

public final class AuthenticationInfo extends GeneratedMessage implements AuthenticationInfoOrBuilder

Defines authentication details, used for push notifications.

Protobuf type google.cloud.geminidataanalytics.v1beta.AuthenticationInfo

Static Fields

CREDENTIALS_FIELD_NUMBER

public static final int CREDENTIALS_FIELD_NUMBER
Field Value
Type Description
int

SCHEMES_FIELD_NUMBER

public static final int SCHEMES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AuthenticationInfo getDefaultInstance()
Returns
Type Description
AuthenticationInfo

getDescriptor()

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

newBuilder()

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

newBuilder(AuthenticationInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCredentials()

public String getCredentials()

Optional. Optional credentials.

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

Returns
Type Description
String

The credentials.

getCredentialsBytes()

public ByteString getCredentialsBytes()

Optional. Optional credentials.

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

Returns
Type Description
ByteString

The bytes for credentials.

getDefaultInstanceForType()

public AuthenticationInfo getDefaultInstanceForType()
Returns
Type Description
AuthenticationInfo

getParserForType()

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

getSchemes(int index)

public String getSchemes(int index)

Optional. Supported authentication schemes - e.g. Basic, Bearer, etc.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The schemes at the given index.

getSchemesBytes(int index)

public ByteString getSchemesBytes(int index)

Optional. Supported authentication schemes - e.g. Basic, Bearer, etc.

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the schemes at the given index.

getSchemesCount()

public int getSchemesCount()

Optional. Supported authentication schemes - e.g. Basic, Bearer, etc.

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

Returns
Type Description
int

The count of schemes.

getSchemesList()

public ProtocolStringList getSchemesList()

Optional. Supported authentication schemes - e.g. Basic, Bearer, etc.

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

Returns
Type Description
ProtocolStringList

A list containing the schemes.

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 AuthenticationInfo.Builder newBuilderForType()
Returns
Type Description
AuthenticationInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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