Interface Generated.GroupVersionForDiscoveryOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getGroupVersion()
      groupVersion specifies the API group and version in the form "group/version"
      com.google.protobuf.ByteString getGroupVersionBytes()
      groupVersion specifies the API group and version in the form "group/version"
      String getVersion()
      version specifies the version in the form of "version".
      com.google.protobuf.ByteString getVersionBytes()
      version specifies the version in the form of "version".
      boolean hasGroupVersion()
      groupVersion specifies the API group and version in the form "group/version"
      boolean hasVersion()
      version specifies the version in the form of "version".
      • 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

      • hasGroupVersion

        boolean hasGroupVersion()
         groupVersion specifies the API group and version in the form "group/version"
         
        optional string groupVersion = 1;
        Returns:
        Whether the groupVersion field is set.
      • getGroupVersion

        String getGroupVersion()
         groupVersion specifies the API group and version in the form "group/version"
         
        optional string groupVersion = 1;
        Returns:
        The groupVersion.
      • getGroupVersionBytes

        com.google.protobuf.ByteString getGroupVersionBytes()
         groupVersion specifies the API group and version in the form "group/version"
         
        optional string groupVersion = 1;
        Returns:
        The bytes for groupVersion.
      • hasVersion

        boolean hasVersion()
         version specifies the version in the form of "version". This is to save
         the clients the trouble of splitting the GroupVersion.
         
        optional string version = 2;
        Returns:
        Whether the version field is set.
      • getVersion

        String getVersion()
         version specifies the version in the form of "version". This is to save
         the clients the trouble of splitting the GroupVersion.
         
        optional string version = 2;
        Returns:
        The version.
      • getVersionBytes

        com.google.protobuf.ByteString getVersionBytes()
         version specifies the version in the form of "version". This is to save
         the clients the trouble of splitting the GroupVersion.
         
        optional string version = 2;
        Returns:
        The bytes for version.