Interface ResourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Resource, Resource.Builder

public interface ResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getAliases(int index)
    The aliases are a list of other names that this resource can go by.
    com.google.protobuf.ByteString
    getAliasesBytes(int index)
    The aliases are a list of other names that this resource can go by.
    int
    The aliases are a list of other names that this resource can go by.
    The aliases are a list of other names that this resource can go by.
    The resource's name, to distinguish it from others of the same type of resource.
    com.google.protobuf.ByteString
    The resource's name, to distinguish it from others of the same type of resource.
    com.google.protobuf.Any
    The resource being tracked.
    com.google.protobuf.AnyOrBuilder
    The resource being tracked.
    The resource level version.
    com.google.protobuf.ByteString
    The resource level version.
    boolean
    The resource being tracked.

    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

    • getName

      String getName()
       The resource's name, to distinguish it from others of the same type of resource.
       
      string name = 3;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The resource's name, to distinguish it from others of the same type of resource.
       
      string name = 3;
      Returns:
      The bytes for name.
    • getAliasesList

      List<String> getAliasesList()
       The aliases are a list of other names that this resource can go by.
       
      repeated string aliases = 4;
      Returns:
      A list containing the aliases.
    • getAliasesCount

      int getAliasesCount()
       The aliases are a list of other names that this resource can go by.
       
      repeated string aliases = 4;
      Returns:
      The count of aliases.
    • getAliases

      String getAliases(int index)
       The aliases are a list of other names that this resource can go by.
       
      repeated string aliases = 4;
      Parameters:
      index - The index of the element to return.
      Returns:
      The aliases at the given index.
    • getAliasesBytes

      com.google.protobuf.ByteString getAliasesBytes(int index)
       The aliases are a list of other names that this resource can go by.
       
      repeated string aliases = 4;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the aliases at the given index.
    • getVersion

      String getVersion()
       The resource level version. It allows xDS to track the state of individual
       resources.
       
      string version = 1;
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       The resource level version. It allows xDS to track the state of individual
       resources.
       
      string version = 1;
      Returns:
      The bytes for version.
    • hasResource

      boolean hasResource()
       The resource being tracked.
       
      .google.protobuf.Any resource = 2;
      Returns:
      Whether the resource field is set.
    • getResource

      com.google.protobuf.Any getResource()
       The resource being tracked.
       
      .google.protobuf.Any resource = 2;
      Returns:
      The resource.
    • getResourceOrBuilder

      com.google.protobuf.AnyOrBuilder getResourceOrBuilder()
       The resource being tracked.
       
      .google.protobuf.Any resource = 2;