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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String 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 getAliasesCount()
      The aliases are a list of other names that this resource can go by.
      List<String> getAliasesList()
      The aliases are a list of other names that this resource can go by.
      String getName()
      The resource's name, to distinguish it from others of the same type of resource.
      com.google.protobuf.ByteString getNameBytes()
      The resource's name, to distinguish it from others of the same type of resource.
      com.google.protobuf.Any getResource()
      The resource being tracked.
      com.google.protobuf.AnyOrBuilder getResourceOrBuilder()
      The resource being tracked.
      String getVersion()
      The resource level version.
      com.google.protobuf.ByteString getVersionBytes()
      The resource level version.
      boolean hasResource()
      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 Detail

      • getName

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

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

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

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

        String getAliases​(int index)
         The aliases are a list of other names that this resource can go by.
         
        repeated string aliases = 4;
      • 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;
      • getVersion

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

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

        boolean hasResource()
         The resource being tracked.
         
        .google.protobuf.Any resource = 2;
      • getResource

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

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