Class DeploymentGroupRevision

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.config.v1.DeploymentGroupRevision
All Implemented Interfaces:
DeploymentGroupRevisionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DeploymentGroupRevision extends com.google.protobuf.GeneratedMessage implements DeploymentGroupRevisionOrBuilder
 A DeploymentGroupRevision represents a snapshot of a
 [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] at a given point in
 time, created when a DeploymentGroup is provisioned or deprovisioned.
 
Protobuf type google.cloud.config.v1.DeploymentGroupRevision
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • SNAPSHOT_FIELD_NUMBER

      public static final int SNAPSHOT_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • ALTERNATIVE_IDS_FIELD_NUMBER

      public static final int ALTERNATIVE_IDS_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
    • getName

      public String getName()
       Identifier. The name of the deployment group revision.
       Format:
       'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DeploymentGroupRevisionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the deployment group revision.
       Format:
       'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface DeploymentGroupRevisionOrBuilder
      Returns:
      The bytes for name.
    • hasSnapshot

      public boolean hasSnapshot()
       Output only. The snapshot of the deployment group at this revision.
       
      .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSnapshot in interface DeploymentGroupRevisionOrBuilder
      Returns:
      Whether the snapshot field is set.
    • getSnapshot

      public DeploymentGroup getSnapshot()
       Output only. The snapshot of the deployment group at this revision.
       
      .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSnapshot in interface DeploymentGroupRevisionOrBuilder
      Returns:
      The snapshot.
    • getSnapshotOrBuilder

      public DeploymentGroupOrBuilder getSnapshotOrBuilder()
       Output only. The snapshot of the deployment group at this revision.
       
      .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSnapshotOrBuilder in interface DeploymentGroupRevisionOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time when the deployment group revision was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DeploymentGroupRevisionOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when the deployment group revision was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DeploymentGroupRevisionOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when the deployment group revision was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DeploymentGroupRevisionOrBuilder
    • getAlternativeIdsList

      public com.google.protobuf.ProtocolStringList getAlternativeIdsList()
       Output only. The alternative IDs of the deployment group revision.
       
      repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAlternativeIdsList in interface DeploymentGroupRevisionOrBuilder
      Returns:
      A list containing the alternativeIds.
    • getAlternativeIdsCount

      public int getAlternativeIdsCount()
       Output only. The alternative IDs of the deployment group revision.
       
      repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAlternativeIdsCount in interface DeploymentGroupRevisionOrBuilder
      Returns:
      The count of alternativeIds.
    • getAlternativeIds

      public String getAlternativeIds(int index)
       Output only. The alternative IDs of the deployment group revision.
       
      repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAlternativeIds in interface DeploymentGroupRevisionOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The alternativeIds at the given index.
    • getAlternativeIdsBytes

      public com.google.protobuf.ByteString getAlternativeIdsBytes(int index)
       Output only. The alternative IDs of the deployment group revision.
       
      repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAlternativeIdsBytes in interface DeploymentGroupRevisionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the alternativeIds 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 DeploymentGroupRevision parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DeploymentGroupRevision.Builder newBuilder()
    • newBuilder

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

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

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

      public static DeploymentGroupRevision getDefaultInstance()
    • parser

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

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