Class ReferenceList.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReferenceList.Builder>
com.google.cloud.chronicle.v1.ReferenceList.Builder
All Implemented Interfaces:
ReferenceListOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ReferenceList

public static final class ReferenceList.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReferenceList.Builder>
    • clear

      public ReferenceList.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ReferenceList.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ReferenceList.Builder>
    • getDefaultInstanceForType

      public ReferenceList getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ReferenceList build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ReferenceList buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ReferenceList.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReferenceList.Builder>
    • mergeFrom

      public ReferenceList.Builder mergeFrom(ReferenceList other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ReferenceList.Builder>
    • mergeFrom

      public ReferenceList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReferenceList.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getName in interface ReferenceListOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface ReferenceListOrBuilder
      Returns:
      The bytes for name.
    • setName

      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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setNameBytes

      public ReferenceList.Builder setNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Output only. The unique display name of the reference list.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayName in interface ReferenceListOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Output only. The unique display name of the reference list.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayNameBytes in interface ReferenceListOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      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];
      Parameters:
      value - The displayName to set.
      Returns:
      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:
      This builder for chaining.
    • setDisplayNameBytes

      public ReferenceList.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Output only. The unique display name of the reference list.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasRevisionCreateTime in interface ReferenceListOrBuilder
      Returns:
      Whether the revisionCreateTime field is set.
    • getRevisionCreateTime

      public com.google.protobuf.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];
      Specified by:
      getRevisionCreateTime in interface ReferenceListOrBuilder
      Returns:
      The revisionCreateTime.
    • setRevisionCreateTime

      public ReferenceList.Builder setRevisionCreateTime(com.google.protobuf.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];
    • setRevisionCreateTime

      public ReferenceList.Builder setRevisionCreateTime(com.google.protobuf.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];
    • mergeRevisionCreateTime

      public ReferenceList.Builder mergeRevisionCreateTime(com.google.protobuf.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];
    • 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];
    • getRevisionCreateTimeBuilder

      public com.google.protobuf.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];
    • getRevisionCreateTimeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getRevisionCreateTimeOrBuilder in interface ReferenceListOrBuilder
    • getDescription

      public String getDescription()
       Required. A user-provided description of the reference list.
       
      string description = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDescription in interface ReferenceListOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Required. A user-provided description of the reference list.
       
      string description = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDescriptionBytes in interface ReferenceListOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public ReferenceList.Builder setDescription(String value)
       Required. A user-provided description of the reference list.
       
      string description = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public ReferenceList.Builder clearDescription()
       Required. A user-provided description of the reference list.
       
      string description = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public ReferenceList.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Required. A user-provided description of the reference list.
       
      string description = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getEntriesList in interface ReferenceListOrBuilder
    • 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];
      Specified by:
      getEntriesCount in interface ReferenceListOrBuilder
    • getEntries

      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];
      Specified by:
      getEntries in interface ReferenceListOrBuilder
    • setEntries

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

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

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

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

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

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

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

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

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

      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];
      Specified by:
      getEntriesOrBuilder in interface ReferenceListOrBuilder
    • 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];
      Specified by:
      getEntriesOrBuilderList in interface ReferenceListOrBuilder
    • 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];
    • addEntriesBuilder

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

      public com.google.protobuf.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];
      Specified by:
      getRulesList in interface ReferenceListOrBuilder
      Returns:
      A list containing the rules.
    • 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];
      Specified by:
      getRulesCount in interface ReferenceListOrBuilder
      Returns:
      The count of rules.
    • getRules

      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];
      Specified by:
      getRules in interface ReferenceListOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The rules at the given index.
    • getRulesBytes

      public com.google.protobuf.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];
      Specified by:
      getRulesBytes in interface ReferenceListOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the rules at the given index.
    • setRules

      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:
      index - The index to set the value at.
      value - The rules to set.
      Returns:
      This builder for chaining.
    • addRules

      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];
      Parameters:
      value - The rules to add.
      Returns:
      This builder for chaining.
    • addAllRules

      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];
      Parameters:
      values - The rules to add.
      Returns:
      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:
      This builder for chaining.
    • addRulesBytes

      public ReferenceList.Builder addRulesBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes of the rules to add.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getSyntaxTypeValue in interface ReferenceListOrBuilder
      Returns:
      The enum numeric value on the wire for syntaxType.
    • setSyntaxTypeValue

      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];
      Parameters:
      value - The enum numeric value on the wire for syntaxType to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getSyntaxType in interface ReferenceListOrBuilder
      Returns:
      The syntaxType.
    • setSyntaxType

      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];
      Parameters:
      value - The syntaxType to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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];
      Specified by:
      getRuleAssociationsCount in interface ReferenceListOrBuilder
      Returns:
      The ruleAssociationsCount.
    • setRuleAssociationsCount

      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];
      Parameters:
      value - The ruleAssociationsCount to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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;
      Specified by:
      hasScopeInfo in interface ReferenceListOrBuilder
      Returns:
      Whether the scopeInfo field is set.
    • 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;
      Specified by:
      getScopeInfo in interface ReferenceListOrBuilder
      Returns:
      The scopeInfo.
    • setScopeInfo

      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;
    • setScopeInfo

      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;
    • mergeScopeInfo

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getScopeInfoOrBuilder in interface ReferenceListOrBuilder