public static final class AttachedDisk.InitializeParams extends GeneratedMessageV3 implements AttachedDisk.InitializeParamsOrBuilder
Specifies the parameters to initialize this disk.
Protobuf type google.cloud.backupdr.v1.AttachedDisk.InitializeParams
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DISK_NAME_FIELD_NUMBER
public static final int DISK_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPLICA_ZONES_FIELD_NUMBER
public static final int REPLICA_ZONES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AttachedDisk.InitializeParams getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AttachedDisk.InitializeParams.Builder newBuilder()
newBuilder(AttachedDisk.InitializeParams prototype)
public static AttachedDisk.InitializeParams.Builder newBuilder(AttachedDisk.InitializeParams prototype)
public static AttachedDisk.InitializeParams parseDelimitedFrom(InputStream input)
public static AttachedDisk.InitializeParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AttachedDisk.InitializeParams parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AttachedDisk.InitializeParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AttachedDisk.InitializeParams parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttachedDisk.InitializeParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttachedDisk.InitializeParams parseFrom(CodedInputStream input)
public static AttachedDisk.InitializeParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AttachedDisk.InitializeParams parseFrom(InputStream input)
public static AttachedDisk.InitializeParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AttachedDisk.InitializeParams parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AttachedDisk.InitializeParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AttachedDisk.InitializeParams> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public AttachedDisk.InitializeParams getDefaultInstanceForType()
getDiskName()
public String getDiskName()
Optional. Specifies the disk name. If not specified, the default is to
use the name of the instance.
optional string disk_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The diskName.
|
getDiskNameBytes()
public ByteString getDiskNameBytes()
Optional. Specifies the disk name. If not specified, the default is to
use the name of the instance.
optional string disk_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for diskName.
|
getParserForType()
public Parser<AttachedDisk.InitializeParams> getParserForType()
Overrides
getReplicaZones(int index)
public String getReplicaZones(int index)
Optional. URL of the zone where the disk should be created.
Required for each regional disk associated with the instance.
repeated string replica_zones = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The replicaZones at the given index.
|
getReplicaZonesBytes(int index)
public ByteString getReplicaZonesBytes(int index)
Optional. URL of the zone where the disk should be created.
Required for each regional disk associated with the instance.
repeated string replica_zones = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the replicaZones at the given index.
|
getReplicaZonesCount()
public int getReplicaZonesCount()
Optional. URL of the zone where the disk should be created.
Required for each regional disk associated with the instance.
repeated string replica_zones = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of replicaZones.
|
getReplicaZonesList()
public ProtocolStringList getReplicaZonesList()
Optional. URL of the zone where the disk should be created.
Required for each regional disk associated with the instance.
repeated string replica_zones = 2 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasDiskName()
public boolean hasDiskName()
Optional. Specifies the disk name. If not specified, the default is to
use the name of the instance.
optional string disk_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the diskName field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AttachedDisk.InitializeParams.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AttachedDisk.InitializeParams.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AttachedDisk.InitializeParams.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides