Package com.google.cloud.aiplatform.v1
Class DeployedIndexAuthConfig.AuthProvider.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider.Builder
- All Implemented Interfaces:
DeployedIndexAuthConfig.AuthProviderOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeployedIndexAuthConfig.AuthProvider
public static final class DeployedIndexAuthConfig.AuthProvider.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
implements DeployedIndexAuthConfig.AuthProviderOrBuilder
Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).Protobuf type
google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllowedIssuers(Iterable<String> values) A list of allowed JWT issuers.addAllAudiences(Iterable<String> values) The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).addAllowedIssuers(String value) A list of allowed JWT issuers.addAllowedIssuersBytes(com.google.protobuf.ByteString value) A list of allowed JWT issuers.addAudiences(String value) The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).addAudiencesBytes(com.google.protobuf.ByteString value) The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).build()clear()A list of allowed JWT issuers.The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).getAllowedIssuers(int index) A list of allowed JWT issuers.com.google.protobuf.ByteStringgetAllowedIssuersBytes(int index) A list of allowed JWT issuers.intA list of allowed JWT issuers.com.google.protobuf.ProtocolStringListA list of allowed JWT issuers.getAudiences(int index) The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).com.google.protobuf.ByteStringgetAudiencesBytes(int index) The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).intThe list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).com.google.protobuf.ProtocolStringListThe list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAllowedIssuers(int index, String value) A list of allowed JWT issuers.setAudiences(int index, String value) The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
mergeFrom
public DeployedIndexAuthConfig.AuthProvider.Builder mergeFrom(DeployedIndexAuthConfig.AuthProvider other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
mergeFrom
public DeployedIndexAuthConfig.AuthProvider.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>- Throws:
IOException
-
getAudiencesList
public com.google.protobuf.ProtocolStringList getAudiencesList()The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted.
repeated string audiences = 1;- Specified by:
getAudiencesListin interfaceDeployedIndexAuthConfig.AuthProviderOrBuilder- Returns:
- A list containing the audiences.
-
getAudiencesCount
public int getAudiencesCount()The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted.
repeated string audiences = 1;- Specified by:
getAudiencesCountin interfaceDeployedIndexAuthConfig.AuthProviderOrBuilder- Returns:
- The count of audiences.
-
getAudiences
The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted.
repeated string audiences = 1;- Specified by:
getAudiencesin interfaceDeployedIndexAuthConfig.AuthProviderOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The audiences at the given index.
-
getAudiencesBytes
public com.google.protobuf.ByteString getAudiencesBytes(int index) The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted.
repeated string audiences = 1;- Specified by:
getAudiencesBytesin interfaceDeployedIndexAuthConfig.AuthProviderOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the audiences at the given index.
-
setAudiences
The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted.
repeated string audiences = 1;- Parameters:
index- The index to set the value at.value- The audiences to set.- Returns:
- This builder for chaining.
-
addAudiences
The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted.
repeated string audiences = 1;- Parameters:
value- The audiences to add.- Returns:
- This builder for chaining.
-
addAllAudiences
The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted.
repeated string audiences = 1;- Parameters:
values- The audiences to add.- Returns:
- This builder for chaining.
-
clearAudiences
The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted.
repeated string audiences = 1;- Returns:
- This builder for chaining.
-
addAudiencesBytes
public DeployedIndexAuthConfig.AuthProvider.Builder addAudiencesBytes(com.google.protobuf.ByteString value) The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted.
repeated string audiences = 1;- Parameters:
value- The bytes of the audiences to add.- Returns:
- This builder for chaining.
-
getAllowedIssuersList
public com.google.protobuf.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;- Specified by:
getAllowedIssuersListin interfaceDeployedIndexAuthConfig.AuthProviderOrBuilder- Returns:
- A list containing the allowedIssuers.
-
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;- Specified by:
getAllowedIssuersCountin interfaceDeployedIndexAuthConfig.AuthProviderOrBuilder- Returns:
- The count of allowedIssuers.
-
getAllowedIssuers
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;- Specified by:
getAllowedIssuersin interfaceDeployedIndexAuthConfig.AuthProviderOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The allowedIssuers at the given index.
-
getAllowedIssuersBytes
public com.google.protobuf.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;- Specified by:
getAllowedIssuersBytesin interfaceDeployedIndexAuthConfig.AuthProviderOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedIssuers at the given index.
-
setAllowedIssuers
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;- Parameters:
index- The index to set the value at.value- The allowedIssuers to set.- Returns:
- This builder for chaining.
-
addAllowedIssuers
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;- Parameters:
value- The allowedIssuers to add.- Returns:
- This builder for chaining.
-
addAllAllowedIssuers
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;- Parameters:
values- The allowedIssuers to add.- Returns:
- This builder for chaining.
-
clearAllowedIssuers
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:
- This builder for chaining.
-
addAllowedIssuersBytes
public DeployedIndexAuthConfig.AuthProvider.Builder addAllowedIssuersBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes of the allowedIssuers to add.- Returns:
- This builder for chaining.
-