Class AclConfig.Builder (0.50.0)

public static final class AclConfig.Builder extends GeneratedMessageV3.Builder<AclConfig.Builder> implements AclConfigOrBuilder

Access Control Configuration.

Protobuf type google.cloud.discoveryengine.v1alpha.AclConfig

Implements

AclConfigOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AclConfig build()
Returns
Type Description
AclConfig

buildPartial()

public AclConfig buildPartial()
Returns
Type Description
AclConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIdpConfig()

public AclConfig.Builder clearIdpConfig()

Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 2;

Returns
Type Description
AclConfig.Builder

clearName()

public AclConfig.Builder clearName()

Immutable. The full resource name of the acl configuration. Format: projects/{project}/locations/{location}/aclConfig.

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
AclConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AclConfig getDefaultInstanceForType()
Returns
Type Description
AclConfig

getDescriptorForType()

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

getIdpConfig()

public IdpConfig getIdpConfig()

Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 2;

Returns
Type Description
IdpConfig

The idpConfig.

getIdpConfigBuilder()

public IdpConfig.Builder getIdpConfigBuilder()

Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 2;

Returns
Type Description
IdpConfig.Builder

getIdpConfigOrBuilder()

public IdpConfigOrBuilder getIdpConfigOrBuilder()

Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 2;

Returns
Type Description
IdpConfigOrBuilder

getName()

public String getName()

Immutable. The full resource name of the acl configuration. Format: projects/{project}/locations/{location}/aclConfig.

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. The full resource name of the acl configuration. Format: projects/{project}/locations/{location}/aclConfig.

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

hasIdpConfig()

public boolean hasIdpConfig()

Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 2;

Returns
Type Description
boolean

Whether the idpConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AclConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIdpConfig(IdpConfig value)

public AclConfig.Builder mergeIdpConfig(IdpConfig value)

Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 2;

Parameter
Name Description
value IdpConfig
Returns
Type Description
AclConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIdpConfig(IdpConfig value)

public AclConfig.Builder setIdpConfig(IdpConfig value)

Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 2;

Parameter
Name Description
value IdpConfig
Returns
Type Description
AclConfig.Builder

setIdpConfig(IdpConfig.Builder builderForValue)

public AclConfig.Builder setIdpConfig(IdpConfig.Builder builderForValue)

Identity provider config.

.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 2;

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

setName(String value)

public AclConfig.Builder setName(String value)

Immutable. The full resource name of the acl configuration. Format: projects/{project}/locations/{location}/aclConfig.

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AclConfig.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AclConfig.Builder setNameBytes(ByteString value)

Immutable. The full resource name of the acl configuration. Format: projects/{project}/locations/{location}/aclConfig.

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AclConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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