public static final class CreateVolumeRequest.Builder extends GeneratedMessageV3.Builder<CreateVolumeRequest.Builder> implements CreateVolumeRequestOrBuilder
Message for creating a Volume
Protobuf type google.cloud.netapp.v1.CreateVolumeRequest
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 CreateVolumeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateVolumeRequest build()
buildPartial()
public CreateVolumeRequest buildPartial()
clear()
public CreateVolumeRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateVolumeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateVolumeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateVolumeRequest.Builder clearParent()
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearVolume()
public CreateVolumeRequest.Builder clearVolume()
Required. The volume being created.
.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];
clearVolumeId()
public CreateVolumeRequest.Builder clearVolumeId()
Required. Id of the requesting volume. 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 volume_id = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateVolumeRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateVolumeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getVolume()
public Volume getVolume()
Required. The volume being created.
.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Volume |
The volume.
|
getVolumeBuilder()
public Volume.Builder getVolumeBuilder()
Required. The volume being created.
.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];
getVolumeId()
public String getVolumeId()
Required. Id of the requesting volume. 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 volume_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The volumeId.
|
getVolumeIdBytes()
public ByteString getVolumeIdBytes()
Required. Id of the requesting volume. 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 volume_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for volumeId.
|
getVolumeOrBuilder()
public VolumeOrBuilder getVolumeOrBuilder()
Required. The volume being created.
.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];
hasVolume()
public boolean hasVolume()
Required. The volume being created.
.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the volume field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateVolumeRequest other)
public CreateVolumeRequest.Builder mergeFrom(CreateVolumeRequest other)
public CreateVolumeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateVolumeRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateVolumeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeVolume(Volume value)
public CreateVolumeRequest.Builder mergeVolume(Volume value)
Required. The volume being created.
.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Volume
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateVolumeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateVolumeRequest.Builder setParent(String value)
Required. Value for parent.
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 CreateVolumeRequest.Builder setParentBytes(ByteString value)
Required. Value for parent.
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 CreateVolumeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateVolumeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVolume(Volume value)
public CreateVolumeRequest.Builder setVolume(Volume value)
Required. The volume being created.
.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Volume
|
setVolume(Volume.Builder builderForValue)
public CreateVolumeRequest.Builder setVolume(Volume.Builder builderForValue)
Required. The volume being created.
.google.cloud.netapp.v1.Volume volume = 3 [(.google.api.field_behavior) = REQUIRED];
setVolumeId(String value)
public CreateVolumeRequest.Builder setVolumeId(String value)
Required. Id of the requesting volume. 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 volume_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The volumeId to set.
|
setVolumeIdBytes(ByteString value)
public CreateVolumeRequest.Builder setVolumeIdBytes(ByteString value)
Required. Id of the requesting volume. 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 volume_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for volumeId to set.
|