Class Document.AclInfo.Builder (0.39.0)

public static final class Document.AclInfo.Builder extends GeneratedMessageV3.Builder<Document.AclInfo.Builder> implements Document.AclInfoOrBuilder

ACL Information of the Document.

Protobuf type google.cloud.discoveryengine.v1alpha.Document.AclInfo

Static Methods

getDescriptor()

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

Methods

addAllReaders(Iterable<? extends Document.AclInfo.AccessRestriction> values)

public Document.AclInfo.Builder addAllReaders(Iterable<? extends Document.AclInfo.AccessRestriction> values)

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction>
Returns
Type Description
Document.AclInfo.Builder

addReaders(Document.AclInfo.AccessRestriction value)

public Document.AclInfo.Builder addReaders(Document.AclInfo.AccessRestriction value)

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Parameter
Name Description
value Document.AclInfo.AccessRestriction
Returns
Type Description
Document.AclInfo.Builder

addReaders(Document.AclInfo.AccessRestriction.Builder builderForValue)

public Document.AclInfo.Builder addReaders(Document.AclInfo.AccessRestriction.Builder builderForValue)

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Parameter
Name Description
builderForValue Document.AclInfo.AccessRestriction.Builder
Returns
Type Description
Document.AclInfo.Builder

addReaders(int index, Document.AclInfo.AccessRestriction value)

public Document.AclInfo.Builder addReaders(int index, Document.AclInfo.AccessRestriction value)

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Parameters
Name Description
index int
value Document.AclInfo.AccessRestriction
Returns
Type Description
Document.AclInfo.Builder

addReaders(int index, Document.AclInfo.AccessRestriction.Builder builderForValue)

public Document.AclInfo.Builder addReaders(int index, Document.AclInfo.AccessRestriction.Builder builderForValue)

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Parameters
Name Description
index int
builderForValue Document.AclInfo.AccessRestriction.Builder
Returns
Type Description
Document.AclInfo.Builder

addReadersBuilder()

public Document.AclInfo.AccessRestriction.Builder addReadersBuilder()

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Returns
Type Description
Document.AclInfo.AccessRestriction.Builder

addReadersBuilder(int index)

public Document.AclInfo.AccessRestriction.Builder addReadersBuilder(int index)

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Parameter
Name Description
index int
Returns
Type Description
Document.AclInfo.AccessRestriction.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Document.AclInfo build()
Returns
Type Description
Document.AclInfo

buildPartial()

public Document.AclInfo buildPartial()
Returns
Type Description
Document.AclInfo

clear()

public Document.AclInfo.Builder clear()
Returns
Type Description
Document.AclInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReaders()

public Document.AclInfo.Builder clearReaders()

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Returns
Type Description
Document.AclInfo.Builder

clone()

public Document.AclInfo.Builder clone()
Returns
Type Description
Document.AclInfo.Builder
Overrides

getDefaultInstanceForType()

public Document.AclInfo getDefaultInstanceForType()
Returns
Type Description
Document.AclInfo

getDescriptorForType()

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

getReaders(int index)

public Document.AclInfo.AccessRestriction getReaders(int index)

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Parameter
Name Description
index int
Returns
Type Description
Document.AclInfo.AccessRestriction

getReadersBuilder(int index)

public Document.AclInfo.AccessRestriction.Builder getReadersBuilder(int index)

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Parameter
Name Description
index int
Returns
Type Description
Document.AclInfo.AccessRestriction.Builder

getReadersBuilderList()

public List<Document.AclInfo.AccessRestriction.Builder> getReadersBuilderList()

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Returns
Type Description
List<Builder>

getReadersCount()

public int getReadersCount()

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Returns
Type Description
int

getReadersList()

public List<Document.AclInfo.AccessRestriction> getReadersList()

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Returns
Type Description
List<AccessRestriction>

getReadersOrBuilder(int index)

public Document.AclInfo.AccessRestrictionOrBuilder getReadersOrBuilder(int index)

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Parameter
Name Description
index int
Returns
Type Description
Document.AclInfo.AccessRestrictionOrBuilder

getReadersOrBuilderList()

public List<? extends Document.AclInfo.AccessRestrictionOrBuilder> getReadersOrBuilderList()

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestrictionOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Document.AclInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReaders(int index)

public Document.AclInfo.Builder removeReaders(int index)

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Parameter
Name Description
index int
Returns
Type Description
Document.AclInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setReaders(int index, Document.AclInfo.AccessRestriction value)

public Document.AclInfo.Builder setReaders(int index, Document.AclInfo.AccessRestriction value)

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Parameters
Name Description
index int
value Document.AclInfo.AccessRestriction
Returns
Type Description
Document.AclInfo.Builder

setReaders(int index, Document.AclInfo.AccessRestriction.Builder builderForValue)

public Document.AclInfo.Builder setReaders(int index, Document.AclInfo.AccessRestriction.Builder builderForValue)

Readers of the document.

repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;

Parameters
Name Description
index int
builderForValue Document.AclInfo.AccessRestriction.Builder
Returns
Type Description
Document.AclInfo.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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