Class DiskAsyncReplicationList.Builder (1.31.0)

public static final class DiskAsyncReplicationList.Builder extends GeneratedMessageV3.Builder<DiskAsyncReplicationList.Builder> implements DiskAsyncReplicationListOrBuilder

Protobuf type google.cloud.compute.v1.DiskAsyncReplicationList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiskAsyncReplicationList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiskAsyncReplicationList.Builder
Overrides

build()

public DiskAsyncReplicationList build()
Returns
TypeDescription
DiskAsyncReplicationList

buildPartial()

public DiskAsyncReplicationList buildPartial()
Returns
TypeDescription
DiskAsyncReplicationList

clear()

public DiskAsyncReplicationList.Builder clear()
Returns
TypeDescription
DiskAsyncReplicationList.Builder
Overrides

clearAsyncReplicationDisk()

public DiskAsyncReplicationList.Builder clearAsyncReplicationDisk()

optional .google.cloud.compute.v1.DiskAsyncReplication async_replication_disk = 231794067;

Returns
TypeDescription
DiskAsyncReplicationList.Builder

clearField(Descriptors.FieldDescriptor field)

public DiskAsyncReplicationList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DiskAsyncReplicationList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DiskAsyncReplicationList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DiskAsyncReplicationList.Builder
Overrides

clone()

public DiskAsyncReplicationList.Builder clone()
Returns
TypeDescription
DiskAsyncReplicationList.Builder
Overrides

getAsyncReplicationDisk()

public DiskAsyncReplication getAsyncReplicationDisk()

optional .google.cloud.compute.v1.DiskAsyncReplication async_replication_disk = 231794067;

Returns
TypeDescription
DiskAsyncReplication

The asyncReplicationDisk.

getAsyncReplicationDiskBuilder()

public DiskAsyncReplication.Builder getAsyncReplicationDiskBuilder()

optional .google.cloud.compute.v1.DiskAsyncReplication async_replication_disk = 231794067;

Returns
TypeDescription
DiskAsyncReplication.Builder

getAsyncReplicationDiskOrBuilder()

public DiskAsyncReplicationOrBuilder getAsyncReplicationDiskOrBuilder()

optional .google.cloud.compute.v1.DiskAsyncReplication async_replication_disk = 231794067;

Returns
TypeDescription
DiskAsyncReplicationOrBuilder

getDefaultInstanceForType()

public DiskAsyncReplicationList getDefaultInstanceForType()
Returns
TypeDescription
DiskAsyncReplicationList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasAsyncReplicationDisk()

public boolean hasAsyncReplicationDisk()

optional .google.cloud.compute.v1.DiskAsyncReplication async_replication_disk = 231794067;

Returns
TypeDescription
boolean

Whether the asyncReplicationDisk field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAsyncReplicationDisk(DiskAsyncReplication value)

public DiskAsyncReplicationList.Builder mergeAsyncReplicationDisk(DiskAsyncReplication value)

optional .google.cloud.compute.v1.DiskAsyncReplication async_replication_disk = 231794067;

Parameter
NameDescription
valueDiskAsyncReplication
Returns
TypeDescription
DiskAsyncReplicationList.Builder

mergeFrom(DiskAsyncReplicationList other)

public DiskAsyncReplicationList.Builder mergeFrom(DiskAsyncReplicationList other)
Parameter
NameDescription
otherDiskAsyncReplicationList
Returns
TypeDescription
DiskAsyncReplicationList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiskAsyncReplicationList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskAsyncReplicationList.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DiskAsyncReplicationList.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DiskAsyncReplicationList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiskAsyncReplicationList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiskAsyncReplicationList.Builder
Overrides

setAsyncReplicationDisk(DiskAsyncReplication value)

public DiskAsyncReplicationList.Builder setAsyncReplicationDisk(DiskAsyncReplication value)

optional .google.cloud.compute.v1.DiskAsyncReplication async_replication_disk = 231794067;

Parameter
NameDescription
valueDiskAsyncReplication
Returns
TypeDescription
DiskAsyncReplicationList.Builder

setAsyncReplicationDisk(DiskAsyncReplication.Builder builderForValue)

public DiskAsyncReplicationList.Builder setAsyncReplicationDisk(DiskAsyncReplication.Builder builderForValue)

optional .google.cloud.compute.v1.DiskAsyncReplication async_replication_disk = 231794067;

Parameter
NameDescription
builderForValueDiskAsyncReplication.Builder
Returns
TypeDescription
DiskAsyncReplicationList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DiskAsyncReplicationList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiskAsyncReplicationList.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DiskAsyncReplicationList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DiskAsyncReplicationList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DiskAsyncReplicationList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiskAsyncReplicationList.Builder
Overrides