Class DeployedIndexAuthConfig.AuthProvider (3.28.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.v1beta1.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
TypeDescription
int

AUDIENCES_FIELD_NUMBER

public static final int AUDIENCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeployedIndexAuthConfig.AuthProvider getDefaultInstance()
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DeployedIndexAuthConfig.AuthProvider.Builder newBuilder()
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider.Builder

newBuilder(DeployedIndexAuthConfig.AuthProvider prototype)

public static DeployedIndexAuthConfig.AuthProvider.Builder newBuilder(DeployedIndexAuthConfig.AuthProvider prototype)
Parameter
NameDescription
prototypeDeployedIndexAuthConfig.AuthProvider
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider.Builder

parseDelimitedFrom(InputStream input)

public static DeployedIndexAuthConfig.AuthProvider parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployedIndexAuthConfig.AuthProvider parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeployedIndexAuthConfig.AuthProvider parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the audiences.

getDefaultInstanceForType()

public DeployedIndexAuthConfig.AuthProvider getDefaultInstanceForType()
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DeployedIndexAuthConfig.AuthProvider.Builder newBuilderForType()
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeployedIndexAuthConfig.AuthProvider.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DeployedIndexAuthConfig.AuthProvider.Builder toBuilder()
Returns
TypeDescription
DeployedIndexAuthConfig.AuthProvider.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException