Class Document.AclInfo (0.37.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static Document.AclInfo getDefaultInstance()
Returns
TypeDescription
Document.AclInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Document.AclInfo.Builder newBuilder()
Returns
TypeDescription
Document.AclInfo.Builder

newBuilder(Document.AclInfo prototype)

public static Document.AclInfo.Builder newBuilder(Document.AclInfo prototype)
Parameter
NameDescription
prototypeDocument.AclInfo
Returns
TypeDescription
Document.AclInfo.Builder

parseDelimitedFrom(InputStream input)

public static Document.AclInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Document.AclInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Document.AclInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Document.AclInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Document.AclInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Document.AclInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Document.AclInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Document.AclInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Document.AclInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Document.AclInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Document.AclInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Document.AclInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Document.AclInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Document.AclInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Document.AclInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Document.AclInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Document.AclInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Document.AclInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Document.AclInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Document.AclInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Document.AclInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Document.AclInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Document.AclInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Document.AclInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<Document.AclInfo> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Document.AclInfo.AccessRestriction

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Document.AclInfo.Builder newBuilderForType()
Returns
TypeDescription
Document.AclInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Document.AclInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Document.AclInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Document.AclInfo.Builder toBuilder()
Returns
TypeDescription
Document.AclInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException