Class Document.AclInfo.Builder (0.36.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction>
Returns
TypeDescription
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
NameDescription
valueDocument.AclInfo.AccessRestriction
Returns
TypeDescription
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
NameDescription
builderForValueDocument.AclInfo.AccessRestriction.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDocument.AclInfo.AccessRestriction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDocument.AclInfo.AccessRestriction.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Document.AclInfo.AccessRestriction.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Document.AclInfo build()
Returns
TypeDescription
Document.AclInfo

buildPartial()

public Document.AclInfo buildPartial()
Returns
TypeDescription
Document.AclInfo

clear()

public Document.AclInfo.Builder clear()
Returns
TypeDescription
Document.AclInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.AclInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Document.AclInfo.Builder

clone()

public Document.AclInfo.Builder clone()
Returns
TypeDescription
Document.AclInfo.Builder
Overrides

getDefaultInstanceForType()

public Document.AclInfo getDefaultInstanceForType()
Returns
TypeDescription
Document.AclInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getReadersCount()

public int getReadersCount()

Readers of the document.

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

Returns
TypeDescription
int

getReadersList()

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

Readers of the document.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestrictionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Document.AclInfo other)

public Document.AclInfo.Builder mergeFrom(Document.AclInfo other)
Parameter
NameDescription
otherDocument.AclInfo
Returns
TypeDescription
Document.AclInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.AclInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Document.AclInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Document.AclInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueDocument.AclInfo.AccessRestriction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDocument.AclInfo.AccessRestriction.Builder
Returns
TypeDescription
Document.AclInfo.Builder

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

public Document.AclInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Document.AclInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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