Class BackupPlanBinding

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkebackup.v1.BackupPlanBinding
All Implemented Interfaces:
BackupPlanBindingOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class BackupPlanBinding extends com.google.protobuf.GeneratedMessage implements BackupPlanBindingOrBuilder
 A BackupPlanBinding binds a BackupPlan with a BackupChannel.
 This resource is created automatically when a BackupPlan is created using a
 BackupChannel. This also serves as a holder for cross-project fields
 that need to be displayed in the current project.
 
Protobuf type google.cloud.gkebackup.v1.BackupPlanBinding
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
    • getName

      public String getName()
       Identifier. The fully qualified name of the BackupPlanBinding.
       `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface BackupPlanBindingOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The fully qualified name of the BackupPlanBinding.
       `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface BackupPlanBindingOrBuilder
      Returns:
      The bytes for name.
    • getUid

      public String getUid()
       Output only. Server generated global unique identifier of
       [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUid in interface BackupPlanBindingOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. Server generated global unique identifier of
       [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUidBytes in interface BackupPlanBindingOrBuilder
      Returns:
      The bytes for uid.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface BackupPlanBindingOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface BackupPlanBindingOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface BackupPlanBindingOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface BackupPlanBindingOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface BackupPlanBindingOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when this binding was created.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface BackupPlanBindingOrBuilder
    • getBackupPlan

      public String getBackupPlan()
       Output only. Immutable. The fully qualified name of the BackupPlan bound
       with the parent BackupChannel.
       `projects/*/locations/*/backupPlans/{backup_plan}`
       
      string backup_plan = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getBackupPlan in interface BackupPlanBindingOrBuilder
      Returns:
      The backupPlan.
    • getBackupPlanBytes

      public com.google.protobuf.ByteString getBackupPlanBytes()
       Output only. Immutable. The fully qualified name of the BackupPlan bound
       with the parent BackupChannel.
       `projects/*/locations/*/backupPlans/{backup_plan}`
       
      string backup_plan = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getBackupPlanBytes in interface BackupPlanBindingOrBuilder
      Returns:
      The bytes for backupPlan.
    • getCluster

      public String getCluster()
       Output only. Immutable. The fully qualified name of the cluster that is
       being backed up Valid formats:
      
       - `projects/*/locations/*/clusters/*`
       - `projects/*/zones/*/clusters/*`
       
      string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getCluster in interface BackupPlanBindingOrBuilder
      Returns:
      The cluster.
    • getClusterBytes

      public com.google.protobuf.ByteString getClusterBytes()
       Output only. Immutable. The fully qualified name of the cluster that is
       being backed up Valid formats:
      
       - `projects/*/locations/*/clusters/*`
       - `projects/*/zones/*/clusters/*`
       
      string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getClusterBytes in interface BackupPlanBindingOrBuilder
      Returns:
      The bytes for cluster.
    • hasBackupPlanDetails

      public boolean hasBackupPlanDetails()
       Output only. Contains details about the backup plan/backup.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasBackupPlanDetails in interface BackupPlanBindingOrBuilder
      Returns:
      Whether the backupPlanDetails field is set.
    • getBackupPlanDetails

      public BackupPlanBinding.BackupPlanDetails getBackupPlanDetails()
       Output only. Contains details about the backup plan/backup.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBackupPlanDetails in interface BackupPlanBindingOrBuilder
      Returns:
      The backupPlanDetails.
    • getBackupPlanDetailsOrBuilder

      public BackupPlanBinding.BackupPlanDetailsOrBuilder getBackupPlanDetailsOrBuilder()
       Output only. Contains details about the backup plan/backup.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails backup_plan_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBackupPlanDetailsOrBuilder in interface BackupPlanBindingOrBuilder
    • getEtag

      public String getEtag()
       Output only. `etag` is used for optimistic concurrency control as a way to
       help prevent simultaneous updates of a BackupPlanBinding from overwriting
       each other. It is strongly suggested that systems make use of the 'etag' in
       the read-modify-write cycle to perform BackupPlanBinding updates in
       order to avoid race conditions: An `etag` is returned in the response to
       `GetBackupPlanBinding`, and systems are expected to put that etag in
       the request to `UpdateBackupPlanBinding` or
       `DeleteBackupPlanBinding` to ensure that their change will be applied
       to the same version of the resource.
       
      string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtag in interface BackupPlanBindingOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Output only. `etag` is used for optimistic concurrency control as a way to
       help prevent simultaneous updates of a BackupPlanBinding from overwriting
       each other. It is strongly suggested that systems make use of the 'etag' in
       the read-modify-write cycle to perform BackupPlanBinding updates in
       order to avoid race conditions: An `etag` is returned in the response to
       `GetBackupPlanBinding`, and systems are expected to put that etag in
       the request to `UpdateBackupPlanBinding` or
       `DeleteBackupPlanBinding` to ensure that their change will be applied
       to the same version of the resource.
       
      string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtagBytes in interface BackupPlanBindingOrBuilder
      Returns:
      The bytes for etag.
    • 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 BackupPlanBinding parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static BackupPlanBinding.Builder newBuilder()
    • newBuilder

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

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

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

      public static BackupPlanBinding getDefaultInstance()
    • parser

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

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