Interface Generated.TypeMetaOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getApiVersion()
      APIVersion defines the versioned schema of this representation of an object.
      com.google.protobuf.ByteString getApiVersionBytes()
      APIVersion defines the versioned schema of this representation of an object.
      String getKind()
      Kind is a string value representing the REST resource this object represents.
      com.google.protobuf.ByteString getKindBytes()
      Kind is a string value representing the REST resource this object represents.
      boolean hasApiVersion()
      APIVersion defines the versioned schema of this representation of an object.
      boolean hasKind()
      Kind is a string value representing the REST resource this object represents.
      • 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

      • hasKind

        boolean hasKind()
         Kind is a string value representing the REST resource this object represents.
         Servers may infer this from the endpoint the client submits requests to.
         Cannot be updated.
         In CamelCase.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 1;
        Returns:
        Whether the kind field is set.
      • getKind

        String getKind()
         Kind is a string value representing the REST resource this object represents.
         Servers may infer this from the endpoint the client submits requests to.
         Cannot be updated.
         In CamelCase.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 1;
        Returns:
        The kind.
      • getKindBytes

        com.google.protobuf.ByteString getKindBytes()
         Kind is a string value representing the REST resource this object represents.
         Servers may infer this from the endpoint the client submits requests to.
         Cannot be updated.
         In CamelCase.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 1;
        Returns:
        The bytes for kind.
      • hasApiVersion

        boolean hasApiVersion()
         APIVersion defines the versioned schema of this representation of an object.
         Servers should convert recognized schemas to the latest internal value, and
         may reject unrecognized values.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
         +optional
         
        optional string apiVersion = 2;
        Returns:
        Whether the apiVersion field is set.
      • getApiVersion

        String getApiVersion()
         APIVersion defines the versioned schema of this representation of an object.
         Servers should convert recognized schemas to the latest internal value, and
         may reject unrecognized values.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
         +optional
         
        optional string apiVersion = 2;
        Returns:
        The apiVersion.
      • getApiVersionBytes

        com.google.protobuf.ByteString getApiVersionBytes()
         APIVersion defines the versioned schema of this representation of an object.
         Servers should convert recognized schemas to the latest internal value, and
         may reject unrecognized values.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
         +optional
         
        optional string apiVersion = 2;
        Returns:
        The bytes for apiVersion.