Class Document.AclInfo (0.50.0)

public static final class Document.AclInfo extends GeneratedMessageV3 implements Document.AclInfoOrBuilder

ACL Information of the Document.

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

Static Fields

READERS_FIELD_NUMBER

public static final int READERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Document.AclInfo getDefaultInstance()
Returns
Type Description
Document.AclInfo

getDescriptor()

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

newBuilder()

public static Document.AclInfo.Builder newBuilder()
Returns
Type Description
Document.AclInfo.Builder

newBuilder(Document.AclInfo prototype)

public static Document.AclInfo.Builder newBuilder(Document.AclInfo prototype)
Parameter
Name Description
prototype Document.AclInfo
Returns
Type Description
Document.AclInfo.Builder

parseDelimitedFrom(InputStream input)

public static Document.AclInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Document.AclInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Document.AclInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.AclInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Document.AclInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Document.AclInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Document.AclInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.AclInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Document.AclInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Document.AclInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Document.AclInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.AclInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Document.AclInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Document.AclInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Document.AclInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.AclInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Document.AclInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Document.AclInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Document.AclInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.AclInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Document.AclInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Document.AclInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Document.AclInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.AclInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Document.AclInfo> parser()
Returns
Type Description
Parser<AclInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<Document.AclInfo> getParserForType()
Returns
Type Description
Parser<AclInfo>
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

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Document.AclInfo.Builder newBuilderForType()
Returns
Type Description
Document.AclInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Document.AclInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Document.AclInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Document.AclInfo.Builder toBuilder()
Returns
Type Description
Document.AclInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException