Class ProtoMessageType


  • @CheckReturnValue
    @Immutable
    public final class ProtoMessageType
    extends StructType
    The ProtoMessageType is a StructType with support for proto Extensions and field masks.
    • Method Detail

      • findExtension

        public java.util.Optional<ProtoMessageType.Extension> findExtension​(java.lang.String extensionName)
        Find an Extension by its fully-qualified extensionName.
      • withVisibleFields

        public ProtoMessageType withVisibleFields​(com.google.common.collect.ImmutableSet<java.lang.String> visibleFields)
        Create a new instance of the ProtoMessageType using the visibleFields set as a mask of the fields from the backing proto.