Class AclConfig.Builder (0.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AclConfig build()
Returns
TypeDescription
AclConfig

buildPartial()

public AclConfig buildPartial()
Returns
TypeDescription
AclConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIdpConfig()

public AclConfig.Builder clearIdpConfig()

Identity provider config.

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

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AclConfig getDefaultInstanceForType()
Returns
TypeDescription
AclConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIdpConfig()

public IdpConfig getIdpConfig()

Identity provider config.

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

Returns
TypeDescription
IdpConfig

The idpConfig.

getIdpConfigBuilder()

public IdpConfig.Builder getIdpConfigBuilder()

Identity provider config.

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

Returns
TypeDescription
IdpConfig.Builder

getIdpConfigOrBuilder()

public IdpConfigOrBuilder getIdpConfigOrBuilder()

Identity provider config.

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

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

The bytes for name.

hasIdpConfig()

public boolean hasIdpConfig()

Identity provider config.

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

Returns
TypeDescription
boolean

Whether the idpConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AclConfig other)

public AclConfig.Builder mergeFrom(AclConfig other)
Parameter
NameDescription
otherAclConfig
Returns
TypeDescription
AclConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIdpConfig(IdpConfig value)

public AclConfig.Builder mergeIdpConfig(IdpConfig value)

Identity provider config.

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

Parameter
NameDescription
valueIdpConfig
Returns
TypeDescription
AclConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AclConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AclConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setIdpConfig(IdpConfig value)

public AclConfig.Builder setIdpConfig(IdpConfig value)

Identity provider config.

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

Parameter
NameDescription
valueIdpConfig
Returns
TypeDescription
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
NameDescription
builderForValueIdpConfig.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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