Interface MetadataFeed.ScopeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MetadataFeed.Scope, MetadataFeed.Scope.Builder
Enclosing class:
MetadataFeed

public static interface MetadataFeed.ScopeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getEntryGroups(int index)
    Optional.
    com.google.protobuf.ByteString
    Optional.
    int
    Optional.
    Optional.
    boolean
    Optional.
    getProjects(int index)
    Optional.
    com.google.protobuf.ByteString
    getProjectsBytes(int index)
    Optional.
    int
    Optional.
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getOrganizationLevel

      boolean getOrganizationLevel()
       Optional. Whether the metadata feed is at the organization-level.
      
       - If `true`, all changes happened to the entries in the same
       organization as the feed are published.
       - If `false`, you must specify a list of projects or a list of entry
       groups whose entries you want to listen to.
      
       The default is `false`.
       
      bool organization_level = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The organizationLevel.
    • getProjectsList

      List<String> getProjectsList()
       Optional. The projects whose entries you want to listen to.
       Must be in the same organization as the feed.
       Must be in the format: `projects/{project_id_or_number}`.
       
      repeated string projects = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the projects.
    • getProjectsCount

      int getProjectsCount()
       Optional. The projects whose entries you want to listen to.
       Must be in the same organization as the feed.
       Must be in the format: `projects/{project_id_or_number}`.
       
      repeated string projects = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The count of projects.
    • getProjects

      String getProjects(int index)
       Optional. The projects whose entries you want to listen to.
       Must be in the same organization as the feed.
       Must be in the format: `projects/{project_id_or_number}`.
       
      repeated string projects = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The projects at the given index.
    • getProjectsBytes

      com.google.protobuf.ByteString getProjectsBytes(int index)
       Optional. The projects whose entries you want to listen to.
       Must be in the same organization as the feed.
       Must be in the format: `projects/{project_id_or_number}`.
       
      repeated string projects = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the projects at the given index.
    • getEntryGroupsList

      List<String> getEntryGroupsList()
       Optional. The entry groups whose entries you want to listen to.
       Must be in the format:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       
      repeated string entry_groups = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the entryGroups.
    • getEntryGroupsCount

      int getEntryGroupsCount()
       Optional. The entry groups whose entries you want to listen to.
       Must be in the format:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       
      repeated string entry_groups = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The count of entryGroups.
    • getEntryGroups

      String getEntryGroups(int index)
       Optional. The entry groups whose entries you want to listen to.
       Must be in the format:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       
      repeated string entry_groups = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The entryGroups at the given index.
    • getEntryGroupsBytes

      com.google.protobuf.ByteString getEntryGroupsBytes(int index)
       Optional. The entry groups whose entries you want to listen to.
       Must be in the format:
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       
      repeated string entry_groups = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the entryGroups at the given index.