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
Static Fields
public static final int ALLOWED_ISSUERS_FIELD_NUMBER
Field Value
public static final int AUDIENCES_FIELD_NUMBER
Field Value
Static Methods
public static DeployedIndexAuthConfig.AuthProvider getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static DeployedIndexAuthConfig.AuthProvider.Builder newBuilder()
Returns
public static DeployedIndexAuthConfig.AuthProvider.Builder newBuilder(DeployedIndexAuthConfig.AuthProvider prototype)
Parameter
Returns
public static DeployedIndexAuthConfig.AuthProvider parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeployedIndexAuthConfig.AuthProvider parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeployedIndexAuthConfig.AuthProvider parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static DeployedIndexAuthConfig.AuthProvider parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeployedIndexAuthConfig.AuthProvider parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static DeployedIndexAuthConfig.AuthProvider parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeployedIndexAuthConfig.AuthProvider parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DeployedIndexAuthConfig.AuthProvider parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeployedIndexAuthConfig.AuthProvider parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeployedIndexAuthConfig.AuthProvider parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeployedIndexAuthConfig.AuthProvider parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static DeployedIndexAuthConfig.AuthProvider parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<DeployedIndexAuthConfig.AuthProvider> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
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.
|
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.
|
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.
|
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
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.
|
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.
|
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.
|
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
public DeployedIndexAuthConfig.AuthProvider getDefaultInstanceForType()
Returns
public Parser<DeployedIndexAuthConfig.AuthProvider> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DeployedIndexAuthConfig.AuthProvider.Builder newBuilderForType()
Returns
protected DeployedIndexAuthConfig.AuthProvider.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public DeployedIndexAuthConfig.AuthProvider.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions