Interface Generated.WatchEventOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Generated.WatchEvent, Generated.WatchEvent.Builder
    Enclosing class:
    Generated

    public static interface Generated.WatchEventOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Generated.RawExtension getObject()
      Object is: * If Type is Added or Modified: the new state of the object.
      Generated.RawExtensionOrBuilder getObjectOrBuilder()
      Object is: * If Type is Added or Modified: the new state of the object.
      String getType()
      optional string type = 1;
      com.google.protobuf.ByteString getTypeBytes()
      optional string type = 1;
      boolean hasObject()
      Object is: * If Type is Added or Modified: the new state of the object.
      boolean hasType()
      optional string type = 1;
      • 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

      • hasType

        boolean hasType()
        optional string type = 1;
        Returns:
        Whether the type field is set.
      • getType

        String getType()
        optional string type = 1;
        Returns:
        The type.
      • getTypeBytes

        com.google.protobuf.ByteString getTypeBytes()
        optional string type = 1;
        Returns:
        The bytes for type.
      • hasObject

        boolean hasObject()
         Object is:
          * If Type is Added or Modified: the new state of the object.
          * If Type is Deleted: the state of the object immediately before deletion.
          * If Type is Error: *Status is recommended; other types may make sense
            depending on context.
         
        optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 2;
        Returns:
        Whether the object field is set.
      • getObject

        Generated.RawExtension getObject()
         Object is:
          * If Type is Added or Modified: the new state of the object.
          * If Type is Deleted: the state of the object immediately before deletion.
          * If Type is Error: *Status is recommended; other types may make sense
            depending on context.
         
        optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 2;
        Returns:
        The object.
      • getObjectOrBuilder

        Generated.RawExtensionOrBuilder getObjectOrBuilder()
         Object is:
          * If Type is Added or Modified: the new state of the object.
          * If Type is Deleted: the state of the object immediately before deletion.
          * If Type is Error: *Status is recommended; other types may make sense
            depending on context.
         
        optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 2;