Class ScopeInfo.Builder (0.21.0)

public static final class ScopeInfo.Builder extends GeneratedMessage.Builder<ScopeInfo.Builder> implements ScopeInfoOrBuilder

ScopeInfo specifies the scope info of the reference list.

Protobuf type google.cloud.chronicle.v1.ScopeInfo

Implements

ScopeInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public ScopeInfo build()
Returns
Type Description
ScopeInfo

buildPartial()

public ScopeInfo buildPartial()
Returns
Type Description
ScopeInfo

clear()

public ScopeInfo.Builder clear()
Returns
Type Description
ScopeInfo.Builder
Overrides

clearReferenceListScope()

public ScopeInfo.Builder clearReferenceListScope()

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
ScopeInfo.Builder

getDefaultInstanceForType()

public ScopeInfo getDefaultInstanceForType()
Returns
Type Description
ScopeInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getReferenceListScopeBuilder()

public ReferenceListScope.Builder getReferenceListScopeBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ScopeInfo other)

public ScopeInfo.Builder mergeFrom(ScopeInfo other)
Parameter
Name Description
other ScopeInfo
Returns
Type Description
ScopeInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ScopeInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScopeInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ScopeInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ScopeInfo.Builder
Overrides

mergeReferenceListScope(ReferenceListScope value)

public ScopeInfo.Builder mergeReferenceListScope(ReferenceListScope value)

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];

Parameter
Name Description
value ReferenceListScope
Returns
Type Description
ScopeInfo.Builder

setReferenceListScope(ReferenceListScope value)

public ScopeInfo.Builder setReferenceListScope(ReferenceListScope value)

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];

Parameter
Name Description
value ReferenceListScope
Returns
Type Description
ScopeInfo.Builder

setReferenceListScope(ReferenceListScope.Builder builderForValue)

public ScopeInfo.Builder setReferenceListScope(ReferenceListScope.Builder builderForValue)

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];

Parameter
Name Description
builderForValue ReferenceListScope.Builder
Returns
Type Description
ScopeInfo.Builder