Package com.google.cloud.netapp.v1
Interface CreateReplicationRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateReplicationRequest
,CreateReplicationRequest.Builder
public interface CreateReplicationRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.Replication
getReplication()
Required.String
getReplicationId()
Required.com.google.protobuf.ByteString
getReplicationIdBytes()
Required.ReplicationOrBuilder
getReplicationOrBuilder()
Required.boolean
hasReplication()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The NetApp volume to create the replications of, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The NetApp volume to create the replications of, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
hasReplication
boolean hasReplication()
Required. A replication resource
.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the replication field is set.
-
getReplication
Replication getReplication()
Required. A replication resource
.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The replication.
-
getReplicationOrBuilder
ReplicationOrBuilder getReplicationOrBuilder()
Required. A replication resource
.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];
-
getReplicationId
String getReplicationId()
Required. ID of the replication to create. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
string replication_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The replicationId.
-
getReplicationIdBytes
com.google.protobuf.ByteString getReplicationIdBytes()
Required. ID of the replication to create. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
string replication_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for replicationId.
-
-