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