Class PolicyControllerMonitoring

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring
All Implemented Interfaces:
PolicyControllerMonitoringOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class PolicyControllerMonitoring extends com.google.protobuf.GeneratedMessage implements PolicyControllerMonitoringOrBuilder
 PolicyControllerMonitoring specifies the backends Policy Controller should
 export metrics to. For example, to specify metrics should be exported to
 Cloud Monitoring and Prometheus, specify
 backends: ["cloudmonitoring", "prometheus"]
 
Protobuf type google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getBackendsList

       Specifies the list of backends Policy Controller will export to.
       An empty list would effectively disable metrics export.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
      Specified by:
      getBackendsList in interface PolicyControllerMonitoringOrBuilder
      Returns:
      A list containing the backends.
    • getBackendsCount

      public int getBackendsCount()
       Specifies the list of backends Policy Controller will export to.
       An empty list would effectively disable metrics export.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
      Specified by:
      getBackendsCount in interface PolicyControllerMonitoringOrBuilder
      Returns:
      The count of backends.
    • getBackends

      public PolicyControllerMonitoring.MonitoringBackend getBackends(int index)
       Specifies the list of backends Policy Controller will export to.
       An empty list would effectively disable metrics export.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
      Specified by:
      getBackends in interface PolicyControllerMonitoringOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The backends at the given index.
    • getBackendsValueList

      public List<Integer> getBackendsValueList()
       Specifies the list of backends Policy Controller will export to.
       An empty list would effectively disable metrics export.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
      Specified by:
      getBackendsValueList in interface PolicyControllerMonitoringOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for backends.
    • getBackendsValue

      public int getBackendsValue(int index)
       Specifies the list of backends Policy Controller will export to.
       An empty list would effectively disable metrics export.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMonitoring.MonitoringBackend backends = 1;
      Specified by:
      getBackendsValue in interface PolicyControllerMonitoringOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of backends at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PolicyControllerMonitoring parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyControllerMonitoring parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyControllerMonitoring parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyControllerMonitoring parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyControllerMonitoring parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyControllerMonitoring parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyControllerMonitoring parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PolicyControllerMonitoring parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PolicyControllerMonitoring parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PolicyControllerMonitoring parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PolicyControllerMonitoring parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PolicyControllerMonitoring parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PolicyControllerMonitoring.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PolicyControllerMonitoring.Builder newBuilder()
    • newBuilder

      public static PolicyControllerMonitoring.Builder newBuilder(PolicyControllerMonitoring prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PolicyControllerMonitoring.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PolicyControllerMonitoring getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PolicyControllerMonitoring> parser()
    • getParserForType

      public com.google.protobuf.Parser<PolicyControllerMonitoring> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PolicyControllerMonitoring getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder