Class ClusterInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.configdelivery.v1beta.ClusterInfo
All Implemented Interfaces:
ClusterInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ClusterInfo extends com.google.protobuf.GeneratedMessage implements ClusterInfoOrBuilder
 ClusterInfo represents status of a resource bundle rollout for a cluster.
 
Protobuf type google.cloud.configdelivery.v1beta.ClusterInfo
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
    • getMembership

      public String getMembership()
       Output only. gkehub membership of target cluster
       
      string membership = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getMembership in interface ClusterInfoOrBuilder
      Returns:
      The membership.
    • getMembershipBytes

      public com.google.protobuf.ByteString getMembershipBytes()
       Output only. gkehub membership of target cluster
       
      string membership = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getMembershipBytes in interface ClusterInfoOrBuilder
      Returns:
      The bytes for membership.
    • hasDesired

      public boolean hasDesired()
       Output only. Desired state for the resource bundle.
       
      .google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo desired = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDesired in interface ClusterInfoOrBuilder
      Returns:
      Whether the desired field is set.
    • getDesired

      public ResourceBundleDeploymentInfo getDesired()
       Output only. Desired state for the resource bundle.
       
      .google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo desired = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDesired in interface ClusterInfoOrBuilder
      Returns:
      The desired.
    • getDesiredOrBuilder

      public ResourceBundleDeploymentInfoOrBuilder getDesiredOrBuilder()
       Output only. Desired state for the resource bundle.
       
      .google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo desired = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDesiredOrBuilder in interface ClusterInfoOrBuilder
    • hasInitial

      public boolean hasInitial()
       Output only. Initial state of the resource bundle prior to the deployment.
       
      .google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo initial = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasInitial in interface ClusterInfoOrBuilder
      Returns:
      Whether the initial field is set.
    • getInitial

      public ResourceBundleDeploymentInfo getInitial()
       Output only. Initial state of the resource bundle prior to the deployment.
       
      .google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo initial = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInitial in interface ClusterInfoOrBuilder
      Returns:
      The initial.
    • getInitialOrBuilder

      public ResourceBundleDeploymentInfoOrBuilder getInitialOrBuilder()
       Output only. Initial state of the resource bundle prior to the deployment.
       
      .google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo initial = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInitialOrBuilder in interface ClusterInfoOrBuilder
    • hasCurrent

      public boolean hasCurrent()
       Output only. Current state of the resource bundle.
       
      .google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo current = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCurrent in interface ClusterInfoOrBuilder
      Returns:
      Whether the current field is set.
    • getCurrent

      public ResourceBundleDeploymentInfo getCurrent()
       Output only. Current state of the resource bundle.
       
      .google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo current = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCurrent in interface ClusterInfoOrBuilder
      Returns:
      The current.
    • getCurrentOrBuilder

      public ResourceBundleDeploymentInfoOrBuilder getCurrentOrBuilder()
       Output only. Current state of the resource bundle.
       
      .google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo current = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCurrentOrBuilder in interface ClusterInfoOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. State of the rollout for the cluster.
       
      .google.cloud.configdelivery.v1beta.ClusterInfo.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface ClusterInfoOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public ClusterInfo.State getState()
       Output only. State of the rollout for the cluster.
       
      .google.cloud.configdelivery.v1beta.ClusterInfo.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface ClusterInfoOrBuilder
      Returns:
      The state.
    • getMessagesList

      public com.google.protobuf.ProtocolStringList getMessagesList()
       Output only. Unordered list. Messages convey additional information related
       to the deployment.
       
      repeated string messages = 6 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessagesList in interface ClusterInfoOrBuilder
      Returns:
      A list containing the messages.
    • getMessagesCount

      public int getMessagesCount()
       Output only. Unordered list. Messages convey additional information related
       to the deployment.
       
      repeated string messages = 6 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessagesCount in interface ClusterInfoOrBuilder
      Returns:
      The count of messages.
    • getMessages

      public String getMessages(int index)
       Output only. Unordered list. Messages convey additional information related
       to the deployment.
       
      repeated string messages = 6 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessages in interface ClusterInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The messages at the given index.
    • getMessagesBytes

      public com.google.protobuf.ByteString getMessagesBytes(int index)
       Output only. Unordered list. Messages convey additional information related
       to the deployment.
       
      repeated string messages = 6 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessagesBytes in interface ClusterInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the messages at the given index.
    • hasStartTime

      public boolean hasStartTime()
       Output only. Timestamp when reconciliation starts.
       
      .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface ClusterInfoOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. Timestamp when reconciliation starts.
       
      .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface ClusterInfoOrBuilder
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. Timestamp when reconciliation starts.
       
      .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface ClusterInfoOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. Timestamp when reconciliation ends.
       
      .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface ClusterInfoOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. Timestamp when reconciliation ends.
       
      .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface ClusterInfoOrBuilder
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. Timestamp when reconciliation ends.
       
      .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface ClusterInfoOrBuilder
    • 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 ClusterInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ClusterInfo.Builder newBuilder()
    • newBuilder

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

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

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

      public static ClusterInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ClusterInfo> 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 ClusterInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder