Class FleetPackageInfo

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

@Generated public final class FleetPackageInfo extends com.google.protobuf.GeneratedMessage implements FleetPackageInfoOrBuilder
 FleetPackageInfo represents the status of the `FleetPackage` across all the
 target clusters.
 
Protobuf type google.cloud.configdelivery.v1beta.FleetPackageInfo
See Also:
  • Field Details

    • ACTIVE_ROLLOUT_FIELD_NUMBER

      public static final int ACTIVE_ROLLOUT_FIELD_NUMBER
      See Also:
    • LAST_COMPLETED_ROLLOUT_FIELD_NUMBER

      public static final int LAST_COMPLETED_ROLLOUT_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • ERRORS_FIELD_NUMBER

      public static final int ERRORS_FIELD_NUMBER
      See Also:
  • 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
    • getActiveRollout

      public String getActiveRollout()
       Optional. The active rollout, if any. Format is
       `projects/{project}/locations/{location}/fleetPackages/{fleet_package}/rollouts/{rollout}`.
       
      string active_rollout = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getActiveRollout in interface FleetPackageInfoOrBuilder
      Returns:
      The activeRollout.
    • getActiveRolloutBytes

      public com.google.protobuf.ByteString getActiveRolloutBytes()
       Optional. The active rollout, if any. Format is
       `projects/{project}/locations/{location}/fleetPackages/{fleet_package}/rollouts/{rollout}`.
       
      string active_rollout = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getActiveRolloutBytes in interface FleetPackageInfoOrBuilder
      Returns:
      The bytes for activeRollout.
    • getLastCompletedRollout

      public String getLastCompletedRollout()
       Optional. The last completed rollout, if any. Format is
       `projects/{project}/locations/{location}/fleetPackages/{fleet_package}/rollouts/{rollout}`.
       
      string last_completed_rollout = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getLastCompletedRollout in interface FleetPackageInfoOrBuilder
      Returns:
      The lastCompletedRollout.
    • getLastCompletedRolloutBytes

      public com.google.protobuf.ByteString getLastCompletedRolloutBytes()
       Optional. The last completed rollout, if any. Format is
       `projects/{project}/locations/{location}/fleetPackages/{fleet_package}/rollouts/{rollout}`.
       
      string last_completed_rollout = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getLastCompletedRolloutBytes in interface FleetPackageInfoOrBuilder
      Returns:
      The bytes for lastCompletedRollout.
    • getStateValue

      public int getStateValue()
       Optional. Output only. The current state of the `FleetPackage`.
       
      .google.cloud.configdelivery.v1beta.FleetPackageInfo.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStateValue in interface FleetPackageInfoOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public FleetPackageInfo.State getState()
       Optional. Output only. The current state of the `FleetPackage`.
       
      .google.cloud.configdelivery.v1beta.FleetPackageInfo.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getState in interface FleetPackageInfoOrBuilder
      Returns:
      The state.
    • getErrorsList

      public List<FleetPackageError> getErrorsList()
       Optional. Output only. Errors encountered during configuration deployment
       (if any).
       
      repeated .google.cloud.configdelivery.v1beta.FleetPackageError errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getErrorsList in interface FleetPackageInfoOrBuilder
    • getErrorsOrBuilderList

      public List<? extends FleetPackageErrorOrBuilder> getErrorsOrBuilderList()
       Optional. Output only. Errors encountered during configuration deployment
       (if any).
       
      repeated .google.cloud.configdelivery.v1beta.FleetPackageError errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getErrorsOrBuilderList in interface FleetPackageInfoOrBuilder
    • getErrorsCount

      public int getErrorsCount()
       Optional. Output only. Errors encountered during configuration deployment
       (if any).
       
      repeated .google.cloud.configdelivery.v1beta.FleetPackageError errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getErrorsCount in interface FleetPackageInfoOrBuilder
    • getErrors

      public FleetPackageError getErrors(int index)
       Optional. Output only. Errors encountered during configuration deployment
       (if any).
       
      repeated .google.cloud.configdelivery.v1beta.FleetPackageError errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getErrors in interface FleetPackageInfoOrBuilder
    • getErrorsOrBuilder

      public FleetPackageErrorOrBuilder getErrorsOrBuilder(int index)
       Optional. Output only. Errors encountered during configuration deployment
       (if any).
       
      repeated .google.cloud.configdelivery.v1beta.FleetPackageError errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getErrorsOrBuilder in interface FleetPackageInfoOrBuilder
    • 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 FleetPackageInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static FleetPackageInfo.Builder newBuilder()
    • newBuilder

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

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

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

      public static FleetPackageInfo getDefaultInstance()
    • parser

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

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