Interface ErrorResourceOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ErrorResource, ErrorResource.Builder

    public interface ErrorResourceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      GroupVersionKind getResourceGvk()
      Group/version/kind of the resource that is causing an error
      GroupVersionKindOrBuilder getResourceGvkOrBuilder()
      Group/version/kind of the resource that is causing an error
      String getResourceName()
      Metadata name of the resource that is causing an error
      com.google.protobuf.ByteString getResourceNameBytes()
      Metadata name of the resource that is causing an error
      String getResourceNamespace()
      Namespace of the resource that is causing an error
      com.google.protobuf.ByteString getResourceNamespaceBytes()
      Namespace of the resource that is causing an error
      String getSourcePath()
      Path in the git repo of the erroneous config
      com.google.protobuf.ByteString getSourcePathBytes()
      Path in the git repo of the erroneous config
      boolean hasResourceGvk()
      Group/version/kind of the resource that is causing an error
      • 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

      • getSourcePath

        String getSourcePath()
         Path in the git repo of the erroneous config
         
        string source_path = 1;
        Returns:
        The sourcePath.
      • getSourcePathBytes

        com.google.protobuf.ByteString getSourcePathBytes()
         Path in the git repo of the erroneous config
         
        string source_path = 1;
        Returns:
        The bytes for sourcePath.
      • getResourceName

        String getResourceName()
         Metadata name of the resource that is causing an error
         
        string resource_name = 2;
        Returns:
        The resourceName.
      • getResourceNameBytes

        com.google.protobuf.ByteString getResourceNameBytes()
         Metadata name of the resource that is causing an error
         
        string resource_name = 2;
        Returns:
        The bytes for resourceName.
      • getResourceNamespace

        String getResourceNamespace()
         Namespace of the resource that is causing an error
         
        string resource_namespace = 3;
        Returns:
        The resourceNamespace.
      • getResourceNamespaceBytes

        com.google.protobuf.ByteString getResourceNamespaceBytes()
         Namespace of the resource that is causing an error
         
        string resource_namespace = 3;
        Returns:
        The bytes for resourceNamespace.
      • hasResourceGvk

        boolean hasResourceGvk()
         Group/version/kind of the resource that is causing an error
         
        .google.cloud.gkehub.configmanagement.v1beta.GroupVersionKind resource_gvk = 4;
        Returns:
        Whether the resourceGvk field is set.
      • getResourceGvk

        GroupVersionKind getResourceGvk()
         Group/version/kind of the resource that is causing an error
         
        .google.cloud.gkehub.configmanagement.v1beta.GroupVersionKind resource_gvk = 4;
        Returns:
        The resourceGvk.
      • getResourceGvkOrBuilder

        GroupVersionKindOrBuilder getResourceGvkOrBuilder()
         Group/version/kind of the resource that is causing an error
         
        .google.cloud.gkehub.configmanagement.v1beta.GroupVersionKind resource_gvk = 4;