Class IdpConfig.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IdpConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IdpConfig.Builder
Overrides

build()

public IdpConfig build()
Returns
TypeDescription
IdpConfig

buildPartial()

public IdpConfig buildPartial()
Returns
TypeDescription
IdpConfig

clear()

public IdpConfig.Builder clear()
Returns
TypeDescription
IdpConfig.Builder
Overrides

clearExternalIdpConfig()

public IdpConfig.Builder clearExternalIdpConfig()

External Identity provider config.

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

Returns
TypeDescription
IdpConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public IdpConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IdpConfig.Builder
Overrides

clearIdpType()

public IdpConfig.Builder clearIdpType()

Identity provider type configured.

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

Returns
TypeDescription
IdpConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IdpConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IdpConfig.Builder
Overrides

clone()

public IdpConfig.Builder clone()
Returns
TypeDescription
IdpConfig.Builder
Overrides

getDefaultInstanceForType()

public IdpConfig getDefaultInstanceForType()
Returns
TypeDescription
IdpConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExternalIdpConfig()

public IdpConfig.ExternalIdpConfig getExternalIdpConfig()

External Identity provider config.

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

Returns
TypeDescription
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
TypeDescription
IdpConfig.ExternalIdpConfig.Builder

getExternalIdpConfigOrBuilder()

public IdpConfig.ExternalIdpConfigOrBuilder getExternalIdpConfigOrBuilder()

External Identity provider config.

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

Returns
TypeDescription
IdpConfig.ExternalIdpConfigOrBuilder

getIdpType()

public IdpConfig.IdpType getIdpType()

Identity provider type configured.

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

Returns
TypeDescription
IdpConfig.IdpType

The idpType.

getIdpTypeValue()

public int getIdpTypeValue()

Identity provider type configured.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the externalIdpConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueIdpConfig.ExternalIdpConfig
Returns
TypeDescription
IdpConfig.Builder

mergeFrom(IdpConfig other)

public IdpConfig.Builder mergeFrom(IdpConfig other)
Parameter
NameDescription
otherIdpConfig
Returns
TypeDescription
IdpConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IdpConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IdpConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IdpConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IdpConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IdpConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueIdpConfig.ExternalIdpConfig
Returns
TypeDescription
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
NameDescription
builderForValueIdpConfig.ExternalIdpConfig.Builder
Returns
TypeDescription
IdpConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IdpConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueIdpConfig.IdpType

The idpType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IdpConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IdpConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IdpConfig.Builder
Overrides