Class DeployedIndexAuthConfig.AuthProvider.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
- com.google.cloud.aiplatform.v1beta1.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.GeneratedMessageV3.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 typegoogle.cloud.aiplatform.v1beta1.DeployedIndexAuthConfig.AuthProvider
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeployedIndexAuthConfig.AuthProvider.BuilderaddAllAllowedIssuers(Iterable<String> values)A list of allowed JWT issuers.DeployedIndexAuthConfig.AuthProvider.BuilderaddAllAudiences(Iterable<String> values)The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).DeployedIndexAuthConfig.AuthProvider.BuilderaddAllowedIssuers(String value)A list of allowed JWT issuers.DeployedIndexAuthConfig.AuthProvider.BuilderaddAllowedIssuersBytes(com.google.protobuf.ByteString value)A list of allowed JWT issuers.DeployedIndexAuthConfig.AuthProvider.BuilderaddAudiences(String value)The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).DeployedIndexAuthConfig.AuthProvider.BuilderaddAudiencesBytes(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).DeployedIndexAuthConfig.AuthProvider.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DeployedIndexAuthConfig.AuthProviderbuild()DeployedIndexAuthConfig.AuthProviderbuildPartial()DeployedIndexAuthConfig.AuthProvider.Builderclear()DeployedIndexAuthConfig.AuthProvider.BuilderclearAllowedIssuers()A list of allowed JWT issuers.DeployedIndexAuthConfig.AuthProvider.BuilderclearAudiences()The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).DeployedIndexAuthConfig.AuthProvider.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DeployedIndexAuthConfig.AuthProvider.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DeployedIndexAuthConfig.AuthProvider.Builderclone()StringgetAllowedIssuers(int index)A list of allowed JWT issuers.com.google.protobuf.ByteStringgetAllowedIssuersBytes(int index)A list of allowed JWT issuers.intgetAllowedIssuersCount()A list of allowed JWT issuers.com.google.protobuf.ProtocolStringListgetAllowedIssuersList()A list of allowed JWT issuers.StringgetAudiences(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).intgetAudiencesCount()The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).com.google.protobuf.ProtocolStringListgetAudiencesList()The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).DeployedIndexAuthConfig.AuthProvidergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DeployedIndexAuthConfig.AuthProvider.BuildermergeFrom(DeployedIndexAuthConfig.AuthProvider other)DeployedIndexAuthConfig.AuthProvider.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DeployedIndexAuthConfig.AuthProvider.BuildermergeFrom(com.google.protobuf.Message other)DeployedIndexAuthConfig.AuthProvider.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DeployedIndexAuthConfig.AuthProvider.BuildersetAllowedIssuers(int index, String value)A list of allowed JWT issuers.DeployedIndexAuthConfig.AuthProvider.BuildersetAudiences(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).DeployedIndexAuthConfig.AuthProvider.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DeployedIndexAuthConfig.AuthProvider.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DeployedIndexAuthConfig.AuthProvider.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
getDefaultInstanceForType
public DeployedIndexAuthConfig.AuthProvider getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DeployedIndexAuthConfig.AuthProvider build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DeployedIndexAuthConfig.AuthProvider buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DeployedIndexAuthConfig.AuthProvider.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
setField
public DeployedIndexAuthConfig.AuthProvider.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
clearField
public DeployedIndexAuthConfig.AuthProvider.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
clearOneof
public DeployedIndexAuthConfig.AuthProvider.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
setRepeatedField
public DeployedIndexAuthConfig.AuthProvider.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
addRepeatedField
public DeployedIndexAuthConfig.AuthProvider.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
mergeFrom
public DeployedIndexAuthConfig.AuthProvider.Builder mergeFrom(com.google.protobuf.Message other)
- 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.GeneratedMessageV3.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
public String getAudiences(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:
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
public DeployedIndexAuthConfig.AuthProvider.Builder 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). 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
public DeployedIndexAuthConfig.AuthProvider.Builder addAudiences(String 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 audiences to add.- Returns:
- This builder for chaining.
-
addAllAudiences
public DeployedIndexAuthConfig.AuthProvider.Builder 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). 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
public DeployedIndexAuthConfig.AuthProvider.Builder 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
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;- 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
public DeployedIndexAuthConfig.AuthProvider.Builder setAllowedIssuers(int index, String 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:
index- The index to set the value at.value- The allowedIssuers to set.- Returns:
- This builder for chaining.
-
addAllowedIssuers
public DeployedIndexAuthConfig.AuthProvider.Builder addAllowedIssuers(String 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 allowedIssuers to add.- Returns:
- This builder for chaining.
-
addAllAllowedIssuers
public DeployedIndexAuthConfig.AuthProvider.Builder addAllAllowedIssuers(Iterable<String> values)
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
public DeployedIndexAuthConfig.AuthProvider.Builder 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.
-
setUnknownFields
public final DeployedIndexAuthConfig.AuthProvider.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
mergeUnknownFields
public final DeployedIndexAuthConfig.AuthProvider.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
-