public static final class ReferenceList.Builder extends GeneratedMessageV3.Builder<ReferenceList.Builder> implements ReferenceListOrBuilder
A reference list. Reference lists are user-defined lists of values which users can use in multiple Rules.
Protobuf type google.cloud.chronicle.v1.ReferenceList
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReferenceList.BuilderImplements
ReferenceListOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllEntries(Iterable<? extends ReferenceListEntry> values)
public ReferenceList.Builder addAllEntries(Iterable<? extends ReferenceListEntry> values)
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.chronicle.v1.ReferenceListEntry> |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
addAllRules(Iterable<String> values)
public ReferenceList.Builder addAllRules(Iterable<String> values)
Output only. The resource names for the associated self-authored Rules that use this reference list. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated string rules = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The rules to add. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
addEntries(ReferenceListEntry value)
public ReferenceList.Builder addEntries(ReferenceListEntry value)
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ReferenceListEntry |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
addEntries(ReferenceListEntry.Builder builderForValue)
public ReferenceList.Builder addEntries(ReferenceListEntry.Builder builderForValue)
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
ReferenceListEntry.Builder |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
addEntries(int index, ReferenceListEntry value)
public ReferenceList.Builder addEntries(int index, ReferenceListEntry value)
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ReferenceListEntry |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
addEntries(int index, ReferenceListEntry.Builder builderForValue)
public ReferenceList.Builder addEntries(int index, ReferenceListEntry.Builder builderForValue)
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ReferenceListEntry.Builder |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
addEntriesBuilder()
public ReferenceListEntry.Builder addEntriesBuilder()
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ReferenceListEntry.Builder |
addEntriesBuilder(int index)
public ReferenceListEntry.Builder addEntriesBuilder(int index)
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ReferenceListEntry.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReferenceList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
addRules(String value)
public ReferenceList.Builder addRules(String value)
Output only. The resource names for the associated self-authored Rules that use this reference list. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated string rules = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The rules to add. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
addRulesBytes(ByteString value)
public ReferenceList.Builder addRulesBytes(ByteString value)
Output only. The resource names for the associated self-authored Rules that use this reference list. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated string rules = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the rules to add. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
build()
public ReferenceList build()
Returns | |
---|---|
Type | Description |
ReferenceList |
buildPartial()
public ReferenceList buildPartial()
Returns | |
---|---|
Type | Description |
ReferenceList |
clear()
public ReferenceList.Builder clear()
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
clearDescription()
public ReferenceList.Builder clearDescription()
Required. A user-provided description of the reference list.
string description = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
clearDisplayName()
public ReferenceList.Builder clearDisplayName()
Output only. The unique display name of the reference list.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
clearEntries()
public ReferenceList.Builder clearEntries()
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReferenceList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
clearName()
public ReferenceList.Builder clearName()
Identifier. The resource name of the reference list.
Format:
projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReferenceList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
clearRevisionCreateTime()
public ReferenceList.Builder clearRevisionCreateTime()
Output only. The timestamp when the reference list was last updated.
.google.protobuf.Timestamp revision_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
clearRuleAssociationsCount()
public ReferenceList.Builder clearRuleAssociationsCount()
Output only. The count of self-authored rules using the reference list.
int32 rule_associations_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
clearRules()
public ReferenceList.Builder clearRules()
Output only. The resource names for the associated self-authored Rules that use this reference list. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated string rules = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
clearScopeInfo()
public ReferenceList.Builder clearScopeInfo()
The scope info of the reference list. During reference list creation, if this field is not set, the reference list without scopes (an unscoped list) will be created for an unscoped user. For a scoped user, this field must be set. During reference list update, if scope_info is requested to be updated, this field must be set.
.google.cloud.chronicle.v1.ScopeInfo scope_info = 11;
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
clearSyntaxType()
public ReferenceList.Builder clearSyntaxType()
Required. The syntax type indicating how list entries should be validated.
.google.cloud.chronicle.v1.ReferenceListSyntaxType syntax_type = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
clone()
public ReferenceList.Builder clone()
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
getDefaultInstanceForType()
public ReferenceList getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReferenceList |
getDescription()
public String getDescription()
Required. A user-provided description of the reference list.
string description = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Required. A user-provided description of the reference list.
string description = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Output only. The unique display name of the reference list.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Output only. The unique display name of the reference list.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getEntries(int index)
public ReferenceListEntry getEntries(int index)
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ReferenceListEntry |
getEntriesBuilder(int index)
public ReferenceListEntry.Builder getEntriesBuilder(int index)
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ReferenceListEntry.Builder |
getEntriesBuilderList()
public List<ReferenceListEntry.Builder> getEntriesBuilderList()
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<Builder> |
getEntriesCount()
public int getEntriesCount()
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
getEntriesList()
public List<ReferenceListEntry> getEntriesList()
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<ReferenceListEntry> |
getEntriesOrBuilder(int index)
public ReferenceListEntryOrBuilder getEntriesOrBuilder(int index)
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ReferenceListEntryOrBuilder |
getEntriesOrBuilderList()
public List<? extends ReferenceListEntryOrBuilder> getEntriesOrBuilderList()
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.chronicle.v1.ReferenceListEntryOrBuilder> |
getName()
public String getName()
Identifier. The resource name of the reference list.
Format:
projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. The resource name of the reference list.
Format:
projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getRevisionCreateTime()
public Timestamp getRevisionCreateTime()
Output only. The timestamp when the reference list was last updated.
.google.protobuf.Timestamp revision_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The revisionCreateTime. |
getRevisionCreateTimeBuilder()
public Timestamp.Builder getRevisionCreateTimeBuilder()
Output only. The timestamp when the reference list was last updated.
.google.protobuf.Timestamp revision_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getRevisionCreateTimeOrBuilder()
public TimestampOrBuilder getRevisionCreateTimeOrBuilder()
Output only. The timestamp when the reference list was last updated.
.google.protobuf.Timestamp revision_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getRuleAssociationsCount()
public int getRuleAssociationsCount()
Output only. The count of self-authored rules using the reference list.
int32 rule_associations_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The ruleAssociationsCount. |
getRules(int index)
public String getRules(int index)
Output only. The resource names for the associated self-authored Rules that use this reference list. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated string rules = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The rules at the given index. |
getRulesBytes(int index)
public ByteString getRulesBytes(int index)
Output only. The resource names for the associated self-authored Rules that use this reference list. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated string rules = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the rules at the given index. |
getRulesCount()
public int getRulesCount()
Output only. The resource names for the associated self-authored Rules that use this reference list. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated string rules = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The count of rules. |
getRulesList()
public ProtocolStringList getRulesList()
Output only. The resource names for the associated self-authored Rules that use this reference list. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated string rules = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the rules. |
getScopeInfo()
public ScopeInfo getScopeInfo()
The scope info of the reference list. During reference list creation, if this field is not set, the reference list without scopes (an unscoped list) will be created for an unscoped user. For a scoped user, this field must be set. During reference list update, if scope_info is requested to be updated, this field must be set.
.google.cloud.chronicle.v1.ScopeInfo scope_info = 11;
Returns | |
---|---|
Type | Description |
ScopeInfo |
The scopeInfo. |
getScopeInfoBuilder()
public ScopeInfo.Builder getScopeInfoBuilder()
The scope info of the reference list. During reference list creation, if this field is not set, the reference list without scopes (an unscoped list) will be created for an unscoped user. For a scoped user, this field must be set. During reference list update, if scope_info is requested to be updated, this field must be set.
.google.cloud.chronicle.v1.ScopeInfo scope_info = 11;
Returns | |
---|---|
Type | Description |
ScopeInfo.Builder |
getScopeInfoOrBuilder()
public ScopeInfoOrBuilder getScopeInfoOrBuilder()
The scope info of the reference list. During reference list creation, if this field is not set, the reference list without scopes (an unscoped list) will be created for an unscoped user. For a scoped user, this field must be set. During reference list update, if scope_info is requested to be updated, this field must be set.
.google.cloud.chronicle.v1.ScopeInfo scope_info = 11;
Returns | |
---|---|
Type | Description |
ScopeInfoOrBuilder |
getSyntaxType()
public ReferenceListSyntaxType getSyntaxType()
Required. The syntax type indicating how list entries should be validated.
.google.cloud.chronicle.v1.ReferenceListSyntaxType syntax_type = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ReferenceListSyntaxType |
The syntaxType. |
getSyntaxTypeValue()
public int getSyntaxTypeValue()
Required. The syntax type indicating how list entries should be validated.
.google.cloud.chronicle.v1.ReferenceListSyntaxType syntax_type = 8 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for syntaxType. |
hasRevisionCreateTime()
public boolean hasRevisionCreateTime()
Output only. The timestamp when the reference list was last updated.
.google.protobuf.Timestamp revision_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the revisionCreateTime field is set. |
hasScopeInfo()
public boolean hasScopeInfo()
The scope info of the reference list. During reference list creation, if this field is not set, the reference list without scopes (an unscoped list) will be created for an unscoped user. For a scoped user, this field must be set. During reference list update, if scope_info is requested to be updated, this field must be set.
.google.cloud.chronicle.v1.ScopeInfo scope_info = 11;
Returns | |
---|---|
Type | Description |
boolean |
Whether the scopeInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ReferenceList other)
public ReferenceList.Builder mergeFrom(ReferenceList other)
Parameter | |
---|---|
Name | Description |
other |
ReferenceList |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReferenceList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ReferenceList.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
mergeRevisionCreateTime(Timestamp value)
public ReferenceList.Builder mergeRevisionCreateTime(Timestamp value)
Output only. The timestamp when the reference list was last updated.
.google.protobuf.Timestamp revision_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
mergeScopeInfo(ScopeInfo value)
public ReferenceList.Builder mergeScopeInfo(ScopeInfo value)
The scope info of the reference list. During reference list creation, if this field is not set, the reference list without scopes (an unscoped list) will be created for an unscoped user. For a scoped user, this field must be set. During reference list update, if scope_info is requested to be updated, this field must be set.
.google.cloud.chronicle.v1.ScopeInfo scope_info = 11;
Parameter | |
---|---|
Name | Description |
value |
ScopeInfo |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReferenceList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
removeEntries(int index)
public ReferenceList.Builder removeEntries(int index)
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
setDescription(String value)
public ReferenceList.Builder setDescription(String value)
Required. A user-provided description of the reference list.
string description = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public ReferenceList.Builder setDescriptionBytes(ByteString value)
Required. A user-provided description of the reference list.
string description = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
setDisplayName(String value)
public ReferenceList.Builder setDisplayName(String value)
Output only. The unique display name of the reference list.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ReferenceList.Builder setDisplayNameBytes(ByteString value)
Output only. The unique display name of the reference list.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
setEntries(int index, ReferenceListEntry value)
public ReferenceList.Builder setEntries(int index, ReferenceListEntry value)
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ReferenceListEntry |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
setEntries(int index, ReferenceListEntry.Builder builderForValue)
public ReferenceList.Builder setEntries(int index, ReferenceListEntry.Builder builderForValue)
Required. The entries of the reference list. When listed, they are returned in the order that was specified at creation or update. The combined size of the values of the reference list may not exceed 6MB. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated .google.cloud.chronicle.v1.ReferenceListEntry entries = 5 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ReferenceListEntry.Builder |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReferenceList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
setName(String value)
public ReferenceList.Builder setName(String value)
Identifier. The resource name of the reference list.
Format:
projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ReferenceList.Builder setNameBytes(ByteString value)
Identifier. The resource name of the reference list.
Format:
projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReferenceList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
setRevisionCreateTime(Timestamp value)
public ReferenceList.Builder setRevisionCreateTime(Timestamp value)
Output only. The timestamp when the reference list was last updated.
.google.protobuf.Timestamp revision_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
setRevisionCreateTime(Timestamp.Builder builderForValue)
public ReferenceList.Builder setRevisionCreateTime(Timestamp.Builder builderForValue)
Output only. The timestamp when the reference list was last updated.
.google.protobuf.Timestamp revision_create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
setRuleAssociationsCount(int value)
public ReferenceList.Builder setRuleAssociationsCount(int value)
Output only. The count of self-authored rules using the reference list.
int32 rule_associations_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The ruleAssociationsCount to set. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
setRules(int index, String value)
public ReferenceList.Builder setRules(int index, String value)
Output only. The resource names for the associated self-authored Rules that use this reference list. This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
repeated string rules = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The rules to set. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
setScopeInfo(ScopeInfo value)
public ReferenceList.Builder setScopeInfo(ScopeInfo value)
The scope info of the reference list. During reference list creation, if this field is not set, the reference list without scopes (an unscoped list) will be created for an unscoped user. For a scoped user, this field must be set. During reference list update, if scope_info is requested to be updated, this field must be set.
.google.cloud.chronicle.v1.ScopeInfo scope_info = 11;
Parameter | |
---|---|
Name | Description |
value |
ScopeInfo |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
setScopeInfo(ScopeInfo.Builder builderForValue)
public ReferenceList.Builder setScopeInfo(ScopeInfo.Builder builderForValue)
The scope info of the reference list. During reference list creation, if this field is not set, the reference list without scopes (an unscoped list) will be created for an unscoped user. For a scoped user, this field must be set. During reference list update, if scope_info is requested to be updated, this field must be set.
.google.cloud.chronicle.v1.ScopeInfo scope_info = 11;
Parameter | |
---|---|
Name | Description |
builderForValue |
ScopeInfo.Builder |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
setSyntaxType(ReferenceListSyntaxType value)
public ReferenceList.Builder setSyntaxType(ReferenceListSyntaxType value)
Required. The syntax type indicating how list entries should be validated.
.google.cloud.chronicle.v1.ReferenceListSyntaxType syntax_type = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ReferenceListSyntaxType The syntaxType to set. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
setSyntaxTypeValue(int value)
public ReferenceList.Builder setSyntaxTypeValue(int value)
Required. The syntax type indicating how list entries should be validated.
.google.cloud.chronicle.v1.ReferenceListSyntaxType syntax_type = 8 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for syntaxType to set. |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReferenceList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReferenceList.Builder |