Class DeployedIndexAuthConfig.AuthProvider (3.50.0)

public static final class DeployedIndexAuthConfig.AuthProvider extends GeneratedMessageV3 implements DeployedIndexAuthConfig.AuthProviderOrBuilder

Configuration for an authentication provider, including support for JSON Web Token (JWT).

Protobuf type google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DeployedIndexAuthConfig.AuthProvider

Static Fields

ALLOWED_ISSUERS_FIELD_NUMBER

public static final int ALLOWED_ISSUERS_FIELD_NUMBER
Field Value
Type Description
int

AUDIENCES_FIELD_NUMBER

public static final int AUDIENCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeployedIndexAuthConfig.AuthProvider getDefaultInstance()
Returns
Type Description
DeployedIndexAuthConfig.AuthProvider

getDescriptor()

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

newBuilder()

public static DeployedIndexAuthConfig.AuthProvider.Builder newBuilder()
Returns
Type Description
DeployedIndexAuthConfig.AuthProvider.Builder

newBuilder(DeployedIndexAuthConfig.AuthProvider prototype)

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

parseDelimitedFrom(InputStream input)

public static DeployedIndexAuthConfig.AuthProvider parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeployedIndexAuthConfig.AuthProvider
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DeployedIndexAuthConfig.AuthProvider
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DeployedIndexAuthConfig.AuthProvider
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeployedIndexAuthConfig.AuthProvider
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DeployedIndexAuthConfig.AuthProvider
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DeployedIndexAuthConfig.AuthProvider> parser()
Returns
Type Description
Parser<AuthProvider>

Methods

equals(Object obj)

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

getAllowedIssuers(int index)

public String getAllowedIssuers(int index)

A list of allowed JWT issuers. Each entry must be a valid Google service account, in the following format:

service-account-name@project-id.iam.gserviceaccount.com

repeated string allowed_issuers = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedIssuers at the given index.

getAllowedIssuersBytes(int index)

public ByteString getAllowedIssuersBytes(int index)

A list of allowed JWT issuers. Each entry must be a valid Google service account, in the following format:

service-account-name@project-id.iam.gserviceaccount.com

repeated string allowed_issuers = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedIssuers at the given index.

getAllowedIssuersCount()

public int getAllowedIssuersCount()

A list of allowed JWT issuers. Each entry must be a valid Google service account, in the following format:

service-account-name@project-id.iam.gserviceaccount.com

repeated string allowed_issuers = 2;

Returns
Type Description
int

The count of allowedIssuers.

getAllowedIssuersList()

public ProtocolStringList getAllowedIssuersList()

A list of allowed JWT issuers. Each entry must be a valid Google service account, in the following format:

service-account-name@project-id.iam.gserviceaccount.com

repeated string allowed_issuers = 2;

Returns
Type Description
ProtocolStringList

A list containing the allowedIssuers.

getAudiences(int index)

public String getAudiences(int index)

The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted.

repeated string audiences = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The audiences at the given index.

getAudiencesBytes(int index)

public ByteString getAudiencesBytes(int index)

The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted.

repeated string audiences = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the audiences at the given index.

getAudiencesCount()

public int getAudiencesCount()

The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted.

repeated string audiences = 1;

Returns
Type Description
int

The count of audiences.

getAudiencesList()

public ProtocolStringList getAudiencesList()

The list of JWT audiences. that are allowed to access. A JWT containing any of these audiences will be accepted.

repeated string audiences = 1;

Returns
Type Description
ProtocolStringList

A list containing the audiences.

getDefaultInstanceForType()

public DeployedIndexAuthConfig.AuthProvider getDefaultInstanceForType()
Returns
Type Description
DeployedIndexAuthConfig.AuthProvider

getParserForType()

public Parser<DeployedIndexAuthConfig.AuthProvider> getParserForType()
Returns
Type Description
Parser<AuthProvider>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DeployedIndexAuthConfig.AuthProvider.Builder newBuilderForType()
Returns
Type Description
DeployedIndexAuthConfig.AuthProvider.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeployedIndexAuthConfig.AuthProvider.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DeployedIndexAuthConfig.AuthProvider.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DeployedIndexAuthConfig.AuthProvider.Builder toBuilder()
Returns
Type Description
DeployedIndexAuthConfig.AuthProvider.Builder

writeTo(CodedOutputStream output)

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