Class ScopeInfo (0.2.0)

public final class ScopeInfo extends GeneratedMessageV3 implements ScopeInfoOrBuilder

ScopeInfo specifies the scope info of the reference list.

Protobuf type google.cloud.chronicle.v1.ScopeInfo

Implements

ScopeInfoOrBuilder

Static Fields

REFERENCE_LIST_SCOPE_FIELD_NUMBER

public static final int REFERENCE_LIST_SCOPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ScopeInfo getDefaultInstance()
Returns
Type Description
ScopeInfo

getDescriptor()

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

newBuilder()

public static ScopeInfo.Builder newBuilder()
Returns
Type Description
ScopeInfo.Builder

newBuilder(ScopeInfo prototype)

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

parseDelimitedFrom(InputStream input)

public static ScopeInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ScopeInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ScopeInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ScopeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ScopeInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ScopeInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ScopeInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ScopeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ScopeInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ScopeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ScopeInfo> parser()
Returns
Type Description
Parser<ScopeInfo>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ScopeInfo getDefaultInstanceForType()
Returns
Type Description
ScopeInfo

getParserForType()

public Parser<ScopeInfo> getParserForType()
Returns
Type Description
Parser<ScopeInfo>
Overrides

getReferenceListScope()

public ReferenceListScope getReferenceListScope()

Required. The list of scope names of the reference list, if the list is empty the reference list is treated as unscoped.

.google.cloud.chronicle.v1.ReferenceListScope reference_list_scope = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReferenceListScope

The referenceListScope.

getReferenceListScopeOrBuilder()

public ReferenceListScopeOrBuilder getReferenceListScopeOrBuilder()

Required. The list of scope names of the reference list, if the list is empty the reference list is treated as unscoped.

.google.cloud.chronicle.v1.ReferenceListScope reference_list_scope = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReferenceListScopeOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasReferenceListScope()

public boolean hasReferenceListScope()

Required. The list of scope names of the reference list, if the list is empty the reference list is treated as unscoped.

.google.cloud.chronicle.v1.ReferenceListScope reference_list_scope = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the referenceListScope field is set.

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 ScopeInfo.Builder newBuilderForType()
Returns
Type Description
ScopeInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ScopeInfo.Builder toBuilder()
Returns
Type Description
ScopeInfo.Builder

writeTo(CodedOutputStream output)

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