Class KubernetesPodData

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.kubernetes.v1.KubernetesPodData
All Implemented Interfaces:
KubernetesPodDataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class KubernetesPodData extends com.google.protobuf.GeneratedMessageV3 implements KubernetesPodDataOrBuilder
 PodStatusPubSub captures the state of a kubernetes pod.
 
Protobuf type chalk.kubernetes.v1.KubernetesPodData
See Also:
  • Field Details

    • TEAM_FIELD_NUMBER

      public static final int TEAM_FIELD_NUMBER
      See Also:
    • APP_FIELD_NUMBER

      public static final int APP_FIELD_NUMBER
      See Also:
    • COMPONENT_FIELD_NUMBER

      public static final int COMPONENT_FIELD_NUMBER
      See Also:
    • DATADOG_SERVICE_FIELD_NUMBER

      public static final int DATADOG_SERVICE_FIELD_NUMBER
      See Also:
    • DATADOG_VERSION_FIELD_NUMBER

      public static final int DATADOG_VERSION_FIELD_NUMBER
      See Also:
    • POD_TEMPLATE_HASH_FIELD_NUMBER

      public static final int POD_TEMPLATE_HASH_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • SPEC_FIELD_NUMBER

      public static final int SPEC_FIELD_NUMBER
      See Also:
    • CREATION_TIMESTAMP_FIELD_NUMBER

      public static final int CREATION_TIMESTAMP_FIELD_NUMBER
      See Also:
    • DELETION_TIMESTAMP_FIELD_NUMBER

      public static final int DELETION_TIMESTAMP_FIELD_NUMBER
      See Also:
    • OBSERVED_TIMESTAMP_FIELD_NUMBER

      public static final int OBSERVED_TIMESTAMP_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • ANNOTATIONS_FIELD_NUMBER

      public static final int ANNOTATIONS_FIELD_NUMBER
      See Also:
    • CLUSTER_FIELD_NUMBER

      public static final int CLUSTER_FIELD_NUMBER
      See Also:
    • UID_FIELD_NUMBER

      public static final int UID_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • NAMESPACE_FIELD_NUMBER

      public static final int NAMESPACE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getTeam

      public String getTeam()
       The Chalk team name that incurred the usage.
       
      string team = 1 [json_name = "team"];
      Specified by:
      getTeam in interface KubernetesPodDataOrBuilder
      Returns:
      The team.
    • getTeamBytes

      public com.google.protobuf.ByteString getTeamBytes()
       The Chalk team name that incurred the usage.
       
      string team = 1 [json_name = "team"];
      Specified by:
      getTeamBytes in interface KubernetesPodDataOrBuilder
      Returns:
      The bytes for team.
    • getApp

      public String getApp()
      string app = 2 [json_name = "app"];
      Specified by:
      getApp in interface KubernetesPodDataOrBuilder
      Returns:
      The app.
    • getAppBytes

      public com.google.protobuf.ByteString getAppBytes()
      string app = 2 [json_name = "app"];
      Specified by:
      getAppBytes in interface KubernetesPodDataOrBuilder
      Returns:
      The bytes for app.
    • getComponent

      public String getComponent()
      string component = 3 [json_name = "component"];
      Specified by:
      getComponent in interface KubernetesPodDataOrBuilder
      Returns:
      The component.
    • getComponentBytes

      public com.google.protobuf.ByteString getComponentBytes()
      string component = 3 [json_name = "component"];
      Specified by:
      getComponentBytes in interface KubernetesPodDataOrBuilder
      Returns:
      The bytes for component.
    • getDatadogService

      public String getDatadogService()
      string datadog_service = 4 [json_name = "datadogService"];
      Specified by:
      getDatadogService in interface KubernetesPodDataOrBuilder
      Returns:
      The datadogService.
    • getDatadogServiceBytes

      public com.google.protobuf.ByteString getDatadogServiceBytes()
      string datadog_service = 4 [json_name = "datadogService"];
      Specified by:
      getDatadogServiceBytes in interface KubernetesPodDataOrBuilder
      Returns:
      The bytes for datadogService.
    • getDatadogVersion

      public String getDatadogVersion()
      string datadog_version = 5 [json_name = "datadogVersion"];
      Specified by:
      getDatadogVersion in interface KubernetesPodDataOrBuilder
      Returns:
      The datadogVersion.
    • getDatadogVersionBytes

      public com.google.protobuf.ByteString getDatadogVersionBytes()
      string datadog_version = 5 [json_name = "datadogVersion"];
      Specified by:
      getDatadogVersionBytes in interface KubernetesPodDataOrBuilder
      Returns:
      The bytes for datadogVersion.
    • getPodTemplateHash

      public String getPodTemplateHash()
      string pod_template_hash = 6 [json_name = "podTemplateHash"];
      Specified by:
      getPodTemplateHash in interface KubernetesPodDataOrBuilder
      Returns:
      The podTemplateHash.
    • getPodTemplateHashBytes

      public com.google.protobuf.ByteString getPodTemplateHashBytes()
      string pod_template_hash = 6 [json_name = "podTemplateHash"];
      Specified by:
      getPodTemplateHashBytes in interface KubernetesPodDataOrBuilder
      Returns:
      The bytes for podTemplateHash.
    • hasStatus

      public boolean hasStatus()
       string status = 7;
       
      .chalk.kubernetes.v1.KubernetesPodData.PodStatus status = 7 [json_name = "status"];
      Specified by:
      hasStatus in interface KubernetesPodDataOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public KubernetesPodData.PodStatus getStatus()
       string status = 7;
       
      .chalk.kubernetes.v1.KubernetesPodData.PodStatus status = 7 [json_name = "status"];
      Specified by:
      getStatus in interface KubernetesPodDataOrBuilder
      Returns:
      The status.
    • getStatusOrBuilder

      public KubernetesPodData.PodStatusOrBuilder getStatusOrBuilder()
       string status = 7;
       
      .chalk.kubernetes.v1.KubernetesPodData.PodStatus status = 7 [json_name = "status"];
      Specified by:
      getStatusOrBuilder in interface KubernetesPodDataOrBuilder
    • hasSpec

      public boolean hasSpec()
      .chalk.kubernetes.v1.KubernetesPodData.PodSpec spec = 8 [json_name = "spec"];
      Specified by:
      hasSpec in interface KubernetesPodDataOrBuilder
      Returns:
      Whether the spec field is set.
    • getSpec

      public KubernetesPodData.PodSpec getSpec()
      .chalk.kubernetes.v1.KubernetesPodData.PodSpec spec = 8 [json_name = "spec"];
      Specified by:
      getSpec in interface KubernetesPodDataOrBuilder
      Returns:
      The spec.
    • getSpecOrBuilder

      public KubernetesPodData.PodSpecOrBuilder getSpecOrBuilder()
      .chalk.kubernetes.v1.KubernetesPodData.PodSpec spec = 8 [json_name = "spec"];
      Specified by:
      getSpecOrBuilder in interface KubernetesPodDataOrBuilder
    • getCreationTimestamp

      public long getCreationTimestamp()
       The time that the instance was created.
       pod.CreationTimestamp.Unix()
       
      int64 creation_timestamp = 18 [json_name = "creationTimestamp"];
      Specified by:
      getCreationTimestamp in interface KubernetesPodDataOrBuilder
      Returns:
      The creationTimestamp.
    • getDeletionTimestamp

      public long getDeletionTimestamp()
       pod.DeletionTimestamp.Unix()
       The time that the instance was deleted. May be 0 if the instance is still running.
       
      int64 deletion_timestamp = 19 [json_name = "deletionTimestamp"];
      Specified by:
      getDeletionTimestamp in interface KubernetesPodDataOrBuilder
      Returns:
      The deletionTimestamp.
    • getObservedTimestamp

      public long getObservedTimestamp()
       The time that we polled the instance for usage.
       
      int64 observed_timestamp = 20 [json_name = "observedTimestamp"];
      Specified by:
      getObservedTimestamp in interface KubernetesPodDataOrBuilder
      Returns:
      The observedTimestamp.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: KubernetesPodDataOrBuilder
       pod.Labels
       
      map<string, string> labels = 21 [json_name = "labels"];
      Specified by:
      getLabelsCount in interface KubernetesPodDataOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       pod.Labels
       
      map<string, string> labels = 21 [json_name = "labels"];
      Specified by:
      containsLabels in interface KubernetesPodDataOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface KubernetesPodDataOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       pod.Labels
       
      map<string, string> labels = 21 [json_name = "labels"];
      Specified by:
      getLabelsMap in interface KubernetesPodDataOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       pod.Labels
       
      map<string, string> labels = 21 [json_name = "labels"];
      Specified by:
      getLabelsOrDefault in interface KubernetesPodDataOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       pod.Labels
       
      map<string, string> labels = 21 [json_name = "labels"];
      Specified by:
      getLabelsOrThrow in interface KubernetesPodDataOrBuilder
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: KubernetesPodDataOrBuilder
       pod.Annotations
       
      map<string, string> annotations = 22 [json_name = "annotations"];
      Specified by:
      getAnnotationsCount in interface KubernetesPodDataOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       pod.Annotations
       
      map<string, string> annotations = 22 [json_name = "annotations"];
      Specified by:
      containsAnnotations in interface KubernetesPodDataOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface KubernetesPodDataOrBuilder
    • getAnnotationsMap

      public Map<String,String> getAnnotationsMap()
       pod.Annotations
       
      map<string, string> annotations = 22 [json_name = "annotations"];
      Specified by:
      getAnnotationsMap in interface KubernetesPodDataOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       pod.Annotations
       
      map<string, string> annotations = 22 [json_name = "annotations"];
      Specified by:
      getAnnotationsOrDefault in interface KubernetesPodDataOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       pod.Annotations
       
      map<string, string> annotations = 22 [json_name = "annotations"];
      Specified by:
      getAnnotationsOrThrow in interface KubernetesPodDataOrBuilder
    • getCluster

      public String getCluster()
      string cluster = 23 [json_name = "cluster"];
      Specified by:
      getCluster in interface KubernetesPodDataOrBuilder
      Returns:
      The cluster.
    • getClusterBytes

      public com.google.protobuf.ByteString getClusterBytes()
      string cluster = 23 [json_name = "cluster"];
      Specified by:
      getClusterBytes in interface KubernetesPodDataOrBuilder
      Returns:
      The bytes for cluster.
    • getUid

      public String getUid()
        // node.UID
       
      string uid = 24 [json_name = "uid"];
      Specified by:
      getUid in interface KubernetesPodDataOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
        // node.UID
       
      string uid = 24 [json_name = "uid"];
      Specified by:
      getUidBytes in interface KubernetesPodDataOrBuilder
      Returns:
      The bytes for uid.
    • getName

      public String getName()
        // node.Name
       
      string name = 25 [json_name = "name"];
      Specified by:
      getName in interface KubernetesPodDataOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
        // node.Name
       
      string name = 25 [json_name = "name"];
      Specified by:
      getNameBytes in interface KubernetesPodDataOrBuilder
      Returns:
      The bytes for name.
    • getNamespace

      public String getNamespace()
      string namespace = 26 [json_name = "namespace"];
      Specified by:
      getNamespace in interface KubernetesPodDataOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 26 [json_name = "namespace"];
      Specified by:
      getNamespaceBytes in interface KubernetesPodDataOrBuilder
      Returns:
      The bytes for namespace.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 KubernetesPodData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static KubernetesPodData.Builder newBuilder()
    • newBuilder

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

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

      protected KubernetesPodData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static KubernetesPodData getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<KubernetesPodData> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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