Send feedback
Class Document.AclInfo.Builder (0.42.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.42.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
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 >
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;
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;
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;
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;
addReadersBuilder()
public Document . AclInfo . AccessRestriction . Builder addReadersBuilder ()
Readers of the document.
repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Document . AclInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Document . AclInfo build ()
buildPartial()
public Document . AclInfo buildPartial ()
clear()
public Document . AclInfo . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Document . AclInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Document . AclInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearReaders()
public Document . AclInfo . Builder clearReaders ()
Readers of the document.
repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;
clone()
public Document . AclInfo . Builder clone ()
Overrides
getDefaultInstanceForType()
public Document . AclInfo getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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
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
getReadersBuilderList()
public List<Document . AclInfo . AccessRestriction . Builder > getReadersBuilderList ()
Readers of the document.
repeated .google.cloud.discoveryengine.v1alpha.Document.AclInfo.AccessRestriction readers = 1;
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;
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
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Document.AclInfo other)
public Document . AclInfo . Builder mergeFrom ( Document . AclInfo other )
public Document . AclInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Document . AclInfo . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Document . AclInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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
setField(Descriptors.FieldDescriptor field, Object value)
public Document . AclInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Document . AclInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Document . AclInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]