public static final class CreateReplicationRequest.Builder extends GeneratedMessageV3.Builder<CreateReplicationRequest.Builder> implements CreateReplicationRequestOrBuilder
CreateReplicationRequest creates a replication.
Protobuf type google.cloud.netapp.v1.CreateReplicationRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateReplicationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateReplicationRequest build()
buildPartial()
public CreateReplicationRequest buildPartial()
clear()
public CreateReplicationRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateReplicationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateReplicationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateReplicationRequest.Builder clearParent()
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) = { ... }
clearReplication()
public CreateReplicationRequest.Builder clearReplication()
Required. A replication resource
.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];
clearReplicationId()
public CreateReplicationRequest.Builder clearReplicationId()
Required. ID of the replication to create. Must be unique within the parent
resource. Must contain only letters, numbers, underscore and hyphen, with
the first character a letter or underscore, the last a letter or underscore
or a number, and a 63 character maximum.
string replication_id = 3 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateReplicationRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateReplicationRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public 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 |
Type |
Description |
String |
The parent.
|
getParentBytes()
public 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 |
Type |
Description |
ByteString |
The bytes for parent.
|
getReplication()
public Replication getReplication()
Required. A replication resource
.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];
getReplicationBuilder()
public Replication.Builder getReplicationBuilder()
Required. A replication resource
.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];
getReplicationId()
public String getReplicationId()
Required. ID of the replication to create. Must be unique within the parent
resource. Must contain only letters, numbers, underscore and hyphen, with
the first character a letter or underscore, the last a letter or underscore
or a number, and a 63 character maximum.
string replication_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The replicationId.
|
getReplicationIdBytes()
public ByteString getReplicationIdBytes()
Required. ID of the replication to create. Must be unique within the parent
resource. Must contain only letters, numbers, underscore and hyphen, with
the first character a letter or underscore, the last a letter or underscore
or a number, and a 63 character maximum.
string replication_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for replicationId.
|
getReplicationOrBuilder()
public ReplicationOrBuilder getReplicationOrBuilder()
Required. A replication resource
.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];
hasReplication()
public boolean hasReplication()
Required. A replication resource
.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the replication field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateReplicationRequest other)
public CreateReplicationRequest.Builder mergeFrom(CreateReplicationRequest other)
public CreateReplicationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateReplicationRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeReplication(Replication value)
public CreateReplicationRequest.Builder mergeReplication(Replication value)
Required. A replication resource
.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateReplicationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateReplicationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateReplicationRequest.Builder setParent(String value)
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) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateReplicationRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateReplicationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setReplication(Replication value)
public CreateReplicationRequest.Builder setReplication(Replication value)
Required. A replication resource
.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];
setReplication(Replication.Builder builderForValue)
public CreateReplicationRequest.Builder setReplication(Replication.Builder builderForValue)
Required. A replication resource
.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];
setReplicationId(String value)
public CreateReplicationRequest.Builder setReplicationId(String value)
Required. ID of the replication to create. Must be unique within the parent
resource. Must contain only letters, numbers, underscore and hyphen, with
the first character a letter or underscore, the last a letter or underscore
or a number, and a 63 character maximum.
string replication_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The replicationId to set.
|
setReplicationIdBytes(ByteString value)
public CreateReplicationRequest.Builder setReplicationIdBytes(ByteString value)
Required. ID of the replication to create. Must be unique within the parent
resource. Must contain only letters, numbers, underscore and hyphen, with
the first character a letter or underscore, the last a letter or underscore
or a number, and a 63 character maximum.
string replication_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for replicationId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateReplicationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides