Class IdpConfig.Builder (0.41.0)

public static final class IdpConfig.Builder extends GeneratedMessageV3.Builder<IdpConfig.Builder> implements IdpConfigOrBuilder

Identity Provider Config.

Protobuf type google.cloud.discoveryengine.v1alpha.IdpConfig

Implements

IdpConfigOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IdpConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IdpConfig.Builder
Overrides

build()

public IdpConfig build()
Returns
Type Description
IdpConfig

buildPartial()

public IdpConfig buildPartial()
Returns
Type Description
IdpConfig

clear()

public IdpConfig.Builder clear()
Returns
Type Description
IdpConfig.Builder
Overrides

clearExternalIdpConfig()

public IdpConfig.Builder clearExternalIdpConfig()

External Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig.ExternalIdpConfig external_idp_config = 2;

Returns
Type Description
IdpConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public IdpConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IdpConfig.Builder
Overrides

clearIdpType()

public IdpConfig.Builder clearIdpType()

Identity provider type configured.

.google.cloud.discoveryengine.v1alpha.IdpConfig.IdpType idp_type = 1;

Returns
Type Description
IdpConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IdpConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IdpConfig.Builder
Overrides

clone()

public IdpConfig.Builder clone()
Returns
Type Description
IdpConfig.Builder
Overrides

getDefaultInstanceForType()

public IdpConfig getDefaultInstanceForType()
Returns
Type Description
IdpConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExternalIdpConfig()

public IdpConfig.ExternalIdpConfig getExternalIdpConfig()

External Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig.ExternalIdpConfig external_idp_config = 2;

Returns
Type Description
IdpConfig.ExternalIdpConfig

The externalIdpConfig.

getExternalIdpConfigBuilder()

public IdpConfig.ExternalIdpConfig.Builder getExternalIdpConfigBuilder()

External Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig.ExternalIdpConfig external_idp_config = 2;

Returns
Type Description
IdpConfig.ExternalIdpConfig.Builder

getExternalIdpConfigOrBuilder()

public IdpConfig.ExternalIdpConfigOrBuilder getExternalIdpConfigOrBuilder()

External Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig.ExternalIdpConfig external_idp_config = 2;

Returns
Type Description
IdpConfig.ExternalIdpConfigOrBuilder

getIdpType()

public IdpConfig.IdpType getIdpType()

Identity provider type configured.

.google.cloud.discoveryengine.v1alpha.IdpConfig.IdpType idp_type = 1;

Returns
Type Description
IdpConfig.IdpType

The idpType.

getIdpTypeValue()

public int getIdpTypeValue()

Identity provider type configured.

.google.cloud.discoveryengine.v1alpha.IdpConfig.IdpType idp_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for idpType.

hasExternalIdpConfig()

public boolean hasExternalIdpConfig()

External Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig.ExternalIdpConfig external_idp_config = 2;

Returns
Type Description
boolean

Whether the externalIdpConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExternalIdpConfig(IdpConfig.ExternalIdpConfig value)

public IdpConfig.Builder mergeExternalIdpConfig(IdpConfig.ExternalIdpConfig value)

External Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig.ExternalIdpConfig external_idp_config = 2;

Parameter
Name Description
value IdpConfig.ExternalIdpConfig
Returns
Type Description
IdpConfig.Builder

mergeFrom(IdpConfig other)

public IdpConfig.Builder mergeFrom(IdpConfig other)
Parameter
Name Description
other IdpConfig
Returns
Type Description
IdpConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IdpConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IdpConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IdpConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IdpConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IdpConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IdpConfig.Builder
Overrides

setExternalIdpConfig(IdpConfig.ExternalIdpConfig value)

public IdpConfig.Builder setExternalIdpConfig(IdpConfig.ExternalIdpConfig value)

External Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig.ExternalIdpConfig external_idp_config = 2;

Parameter
Name Description
value IdpConfig.ExternalIdpConfig
Returns
Type Description
IdpConfig.Builder

setExternalIdpConfig(IdpConfig.ExternalIdpConfig.Builder builderForValue)

public IdpConfig.Builder setExternalIdpConfig(IdpConfig.ExternalIdpConfig.Builder builderForValue)

External Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig.ExternalIdpConfig external_idp_config = 2;

Parameter
Name Description
builderForValue IdpConfig.ExternalIdpConfig.Builder
Returns
Type Description
IdpConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IdpConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IdpConfig.Builder
Overrides

setIdpType(IdpConfig.IdpType value)

public IdpConfig.Builder setIdpType(IdpConfig.IdpType value)

Identity provider type configured.

.google.cloud.discoveryengine.v1alpha.IdpConfig.IdpType idp_type = 1;

Parameter
Name Description
value IdpConfig.IdpType

The idpType to set.

Returns
Type Description
IdpConfig.Builder

This builder for chaining.

setIdpTypeValue(int value)

public IdpConfig.Builder setIdpTypeValue(int value)

Identity provider type configured.

.google.cloud.discoveryengine.v1alpha.IdpConfig.IdpType idp_type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for idpType to set.

Returns
Type Description
IdpConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IdpConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IdpConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IdpConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IdpConfig.Builder
Overrides