Interface CollectionEntry.InlineEntryOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Optional name to describe the inlined resource.
      com.google.protobuf.ByteString getNameBytes()
      Optional name to describe the inlined resource.
      com.google.protobuf.Any getResource()
      The resource payload, including type URL.
      com.google.protobuf.AnyOrBuilder getResourceOrBuilder()
      The resource payload, including type URL.
      java.lang.String getVersion()
      The resource's logical version.
      com.google.protobuf.ByteString getVersionBytes()
      The resource's logical version.
      boolean hasResource()
      The resource payload, including type URL.
      • 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

        java.lang.String getName()
         Optional name to describe the inlined resource. Resource names must match
         ``[a-zA-Z0-9_-\./]+`` (TODO(htuch): turn this into a PGV constraint once
         finalized, probably should be a RFC3986 pchar). This name allows
         reference via the #entry directive in ResourceLocator.
         
        string name = 1 [(.validate.rules) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Optional name to describe the inlined resource. Resource names must match
         ``[a-zA-Z0-9_-\./]+`` (TODO(htuch): turn this into a PGV constraint once
         finalized, probably should be a RFC3986 pchar). This name allows
         reference via the #entry directive in ResourceLocator.
         
        string name = 1 [(.validate.rules) = { ... }
        Returns:
        The bytes for name.
      • getVersion

        java.lang.String getVersion()
         The resource's logical version. It is illegal to have the same named xDS
         resource name at a given version with different resource payloads.
         
        string version = 2;
        Returns:
        The version.
      • getVersionBytes

        com.google.protobuf.ByteString getVersionBytes()
         The resource's logical version. It is illegal to have the same named xDS
         resource name at a given version with different resource payloads.
         
        string version = 2;
        Returns:
        The bytes for version.
      • hasResource

        boolean hasResource()
         The resource payload, including type URL.
         
        .google.protobuf.Any resource = 3;
        Returns:
        Whether the resource field is set.
      • getResource

        com.google.protobuf.Any getResource()
         The resource payload, including type URL.
         
        .google.protobuf.Any resource = 3;
        Returns:
        The resource.
      • getResourceOrBuilder

        com.google.protobuf.AnyOrBuilder getResourceOrBuilder()
         The resource payload, including type URL.
         
        .google.protobuf.Any resource = 3;