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.Builder
addAllAllowedIssuers(Iterable<String> values)
A list of allowed JWT issuers.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).DeployedIndexAuthConfig.AuthProvider.Builder
addAllowedIssuers(String value)
A list of allowed JWT issuers.DeployedIndexAuthConfig.AuthProvider.Builder
addAllowedIssuersBytes(com.google.protobuf.ByteString value)
A list of allowed JWT issuers.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).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).DeployedIndexAuthConfig.AuthProvider.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeployedIndexAuthConfig.AuthProvider
build()
DeployedIndexAuthConfig.AuthProvider
buildPartial()
DeployedIndexAuthConfig.AuthProvider.Builder
clear()
DeployedIndexAuthConfig.AuthProvider.Builder
clearAllowedIssuers()
A list of allowed JWT issuers.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).DeployedIndexAuthConfig.AuthProvider.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DeployedIndexAuthConfig.AuthProvider.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DeployedIndexAuthConfig.AuthProvider.Builder
clone()
String
getAllowedIssuers(int index)
A list of allowed JWT issuers.com.google.protobuf.ByteString
getAllowedIssuersBytes(int index)
A list of allowed JWT issuers.int
getAllowedIssuersCount()
A list of allowed JWT issuers.com.google.protobuf.ProtocolStringList
getAllowedIssuersList()
A list of allowed JWT issuers.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).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).int
getAudiencesCount()
The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).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).DeployedIndexAuthConfig.AuthProvider
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DeployedIndexAuthConfig.AuthProvider.Builder
mergeFrom(DeployedIndexAuthConfig.AuthProvider other)
DeployedIndexAuthConfig.AuthProvider.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DeployedIndexAuthConfig.AuthProvider.Builder
mergeFrom(com.google.protobuf.Message other)
DeployedIndexAuthConfig.AuthProvider.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DeployedIndexAuthConfig.AuthProvider.Builder
setAllowedIssuers(int index, String value)
A list of allowed JWT issuers.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).DeployedIndexAuthConfig.AuthProvider.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeployedIndexAuthConfig.AuthProvider.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DeployedIndexAuthConfig.AuthProvider.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
clear
public DeployedIndexAuthConfig.AuthProvider.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
getDefaultInstanceForType
public DeployedIndexAuthConfig.AuthProvider getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DeployedIndexAuthConfig.AuthProvider build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DeployedIndexAuthConfig.AuthProvider buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DeployedIndexAuthConfig.AuthProvider.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
setField
public DeployedIndexAuthConfig.AuthProvider.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
clearField
public DeployedIndexAuthConfig.AuthProvider.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
clearOneof
public DeployedIndexAuthConfig.AuthProvider.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
addRepeatedField
public DeployedIndexAuthConfig.AuthProvider.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
mergeFrom
public DeployedIndexAuthConfig.AuthProvider.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
mergeFrom
public DeployedIndexAuthConfig.AuthProvider.Builder mergeFrom(DeployedIndexAuthConfig.AuthProvider other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getAudiencesList
in 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:
getAudiencesCount
in 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:
getAudiences
in 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:
getAudiencesBytes
in 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:
getAllowedIssuersList
in 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:
getAllowedIssuersCount
in 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:
getAllowedIssuers
in 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:
getAllowedIssuersBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
mergeUnknownFields
public final DeployedIndexAuthConfig.AuthProvider.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
-
-