All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.netapp.v1.ReplicationOrBuilder Maven / Gradle / Ivy

/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/netapp/v1/replication.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.netapp.v1;

public interface ReplicationOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.netapp.v1.Replication)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Identifier. The resource name of the Replication.
   * Format:
   * `projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}`.
   * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ java.lang.String getName(); /** * * *
   * Identifier. The resource name of the Replication.
   * Format:
   * `projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}`.
   * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Output only. State of the replication.
   * 
* * * .google.cloud.netapp.v1.Replication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * * *
   * Output only. State of the replication.
   * 
* * * .google.cloud.netapp.v1.Replication.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ com.google.cloud.netapp.v1.Replication.State getState(); /** * * *
   * Output only. State details of the replication.
   * 
* * string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The stateDetails. */ java.lang.String getStateDetails(); /** * * *
   * Output only. State details of the replication.
   * 
* * string state_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for stateDetails. */ com.google.protobuf.ByteString getStateDetailsBytes(); /** * * *
   * Output only. Indicates whether this points to source or destination.
   * 
* * * .google.cloud.netapp.v1.Replication.ReplicationRole role = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for role. */ int getRoleValue(); /** * * *
   * Output only. Indicates whether this points to source or destination.
   * 
* * * .google.cloud.netapp.v1.Replication.ReplicationRole role = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The role. */ com.google.cloud.netapp.v1.Replication.ReplicationRole getRole(); /** * * *
   * Required. Indicates the schedule for replication.
   * 
* * * .google.cloud.netapp.v1.Replication.ReplicationSchedule replication_schedule = 5 [(.google.api.field_behavior) = REQUIRED]; * * * @return The enum numeric value on the wire for replicationSchedule. */ int getReplicationScheduleValue(); /** * * *
   * Required. Indicates the schedule for replication.
   * 
* * * .google.cloud.netapp.v1.Replication.ReplicationSchedule replication_schedule = 5 [(.google.api.field_behavior) = REQUIRED]; * * * @return The replicationSchedule. */ com.google.cloud.netapp.v1.Replication.ReplicationSchedule getReplicationSchedule(); /** * * *
   * Output only. Indicates the state of mirroring.
   * 
* * * .google.cloud.netapp.v1.Replication.MirrorState mirror_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for mirrorState. */ int getMirrorStateValue(); /** * * *
   * Output only. Indicates the state of mirroring.
   * 
* * * .google.cloud.netapp.v1.Replication.MirrorState mirror_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The mirrorState. */ com.google.cloud.netapp.v1.Replication.MirrorState getMirrorState(); /** * * *
   * Output only. Condition of the relationship. Can be one of the following:
   * - true: The replication relationship is healthy. It has not missed the most
   * recent scheduled transfer.
   * - false: The replication relationship is not healthy. It has missed the
   * most recent scheduled transfer.
   * 
* * optional bool healthy = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return Whether the healthy field is set. */ boolean hasHealthy(); /** * * *
   * Output only. Condition of the relationship. Can be one of the following:
   * - true: The replication relationship is healthy. It has not missed the most
   * recent scheduled transfer.
   * - false: The replication relationship is not healthy. It has missed the
   * most recent scheduled transfer.
   * 
* * optional bool healthy = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The healthy. */ boolean getHealthy(); /** * * *
   * Output only. Replication create time.
   * 
* * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * * *
   * Output only. Replication create time.
   * 
* * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** * * *
   * Output only. Replication create time.
   * 
* * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** * * *
   * Output only. Full name of destination volume resource.
   * Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
   * 
* * * string destination_volume = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The destinationVolume. */ java.lang.String getDestinationVolume(); /** * * *
   * Output only. Full name of destination volume resource.
   * Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
   * 
* * * string destination_volume = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The bytes for destinationVolume. */ com.google.protobuf.ByteString getDestinationVolumeBytes(); /** * * *
   * Output only. Replication transfer statistics.
   * 
* * * .google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the transferStats field is set. */ boolean hasTransferStats(); /** * * *
   * Output only. Replication transfer statistics.
   * 
* * * .google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The transferStats. */ com.google.cloud.netapp.v1.TransferStats getTransferStats(); /** * * *
   * Output only. Replication transfer statistics.
   * 
* * * .google.cloud.netapp.v1.TransferStats transfer_stats = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.netapp.v1.TransferStatsOrBuilder getTransferStatsOrBuilder(); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 12; */ int getLabelsCount(); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 12; */ boolean containsLabels(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 12; */ java.util.Map getLabelsMap(); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 12; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * Resource labels to represent user provided metadata.
   * 
* * map<string, string> labels = 12; */ java.lang.String getLabelsOrThrow(java.lang.String key); /** * * *
   * A description about this replication relationship.
   * 
* * optional string description = 13; * * @return Whether the description field is set. */ boolean hasDescription(); /** * * *
   * A description about this replication relationship.
   * 
* * optional string description = 13; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * A description about this replication relationship.
   * 
* * optional string description = 13; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * Required. Input only. Destination volume parameters
   * 
* * * .google.cloud.netapp.v1.DestinationVolumeParameters destination_volume_parameters = 14 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * * * @return Whether the destinationVolumeParameters field is set. */ boolean hasDestinationVolumeParameters(); /** * * *
   * Required. Input only. Destination volume parameters
   * 
* * * .google.cloud.netapp.v1.DestinationVolumeParameters destination_volume_parameters = 14 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * * * @return The destinationVolumeParameters. */ com.google.cloud.netapp.v1.DestinationVolumeParameters getDestinationVolumeParameters(); /** * * *
   * Required. Input only. Destination volume parameters
   * 
* * * .google.cloud.netapp.v1.DestinationVolumeParameters destination_volume_parameters = 14 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * */ com.google.cloud.netapp.v1.DestinationVolumeParametersOrBuilder getDestinationVolumeParametersOrBuilder(); /** * * *
   * Output only. Full name of source volume resource.
   * Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
   * 
* * * string source_volume = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The sourceVolume. */ java.lang.String getSourceVolume(); /** * * *
   * Output only. Full name of source volume resource.
   * Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
   * 
* * * string source_volume = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * * * @return The bytes for sourceVolume. */ com.google.protobuf.ByteString getSourceVolumeBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy