public static final class DiskResourceStatus.Builder extends GeneratedMessageV3.Builder<DiskResourceStatus.Builder> implements DiskResourceStatusOrBuilder
Protobuf type google.cloud.compute.v1.DiskResourceStatus
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 DiskResourceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DiskResourceStatus build()
buildPartial()
public DiskResourceStatus buildPartial()
clear()
public DiskResourceStatus.Builder clear()
Overrides
clearAsyncPrimaryDisk()
public DiskResourceStatus.Builder clearAsyncPrimaryDisk()
optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;
clearAsyncSecondaryDisks()
public DiskResourceStatus.Builder clearAsyncSecondaryDisks()
clearField(Descriptors.FieldDescriptor field)
public DiskResourceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DiskResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DiskResourceStatus.Builder clone()
Overrides
containsAsyncSecondaryDisks(String key)
public boolean containsAsyncSecondaryDisks(String key)
Key: disk, value: AsyncReplicationStatus message
map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;
Parameter |
---|
Name | Description |
key | String
|
getAsyncPrimaryDisk()
public DiskResourceStatusAsyncReplicationStatus getAsyncPrimaryDisk()
optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;
getAsyncPrimaryDiskBuilder()
public DiskResourceStatusAsyncReplicationStatus.Builder getAsyncPrimaryDiskBuilder()
optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;
getAsyncPrimaryDiskOrBuilder()
public DiskResourceStatusAsyncReplicationStatusOrBuilder getAsyncPrimaryDiskOrBuilder()
optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;
getAsyncSecondaryDisks() (deprecated)
public Map<String,DiskResourceStatusAsyncReplicationStatus> getAsyncSecondaryDisks()
getAsyncSecondaryDisksCount()
public int getAsyncSecondaryDisksCount()
Key: disk, value: AsyncReplicationStatus message
map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;
Returns |
---|
Type | Description |
int | |
getAsyncSecondaryDisksMap()
public Map<String,DiskResourceStatusAsyncReplicationStatus> getAsyncSecondaryDisksMap()
Key: disk, value: AsyncReplicationStatus message
map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;
getAsyncSecondaryDisksOrDefault(String key, DiskResourceStatusAsyncReplicationStatus defaultValue)
public DiskResourceStatusAsyncReplicationStatus getAsyncSecondaryDisksOrDefault(String key, DiskResourceStatusAsyncReplicationStatus defaultValue)
Key: disk, value: AsyncReplicationStatus message
map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;
getAsyncSecondaryDisksOrThrow(String key)
public DiskResourceStatusAsyncReplicationStatus getAsyncSecondaryDisksOrThrow(String key)
Key: disk, value: AsyncReplicationStatus message
map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;
Parameter |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public DiskResourceStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableAsyncSecondaryDisks() (deprecated)
public Map<String,DiskResourceStatusAsyncReplicationStatus> getMutableAsyncSecondaryDisks()
Use alternate mutation accessors instead.
hasAsyncPrimaryDisk()
public boolean hasAsyncPrimaryDisk()
optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;
Returns |
---|
Type | Description |
boolean | Whether the asyncPrimaryDisk field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeAsyncPrimaryDisk(DiskResourceStatusAsyncReplicationStatus value)
public DiskResourceStatus.Builder mergeAsyncPrimaryDisk(DiskResourceStatusAsyncReplicationStatus value)
optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;
mergeFrom(DiskResourceStatus other)
public DiskResourceStatus.Builder mergeFrom(DiskResourceStatus other)
public DiskResourceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DiskResourceStatus.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiskResourceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllAsyncSecondaryDisks(Map<String,DiskResourceStatusAsyncReplicationStatus> values)
public DiskResourceStatus.Builder putAllAsyncSecondaryDisks(Map<String,DiskResourceStatusAsyncReplicationStatus> values)
Key: disk, value: AsyncReplicationStatus message
map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;
putAsyncSecondaryDisks(String key, DiskResourceStatusAsyncReplicationStatus value)
public DiskResourceStatus.Builder putAsyncSecondaryDisks(String key, DiskResourceStatusAsyncReplicationStatus value)
Key: disk, value: AsyncReplicationStatus message
map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;
putAsyncSecondaryDisksBuilderIfAbsent(String key)
public DiskResourceStatusAsyncReplicationStatus.Builder putAsyncSecondaryDisksBuilderIfAbsent(String key)
Key: disk, value: AsyncReplicationStatus message
map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;
Parameter |
---|
Name | Description |
key | String
|
removeAsyncSecondaryDisks(String key)
public DiskResourceStatus.Builder removeAsyncSecondaryDisks(String key)
Key: disk, value: AsyncReplicationStatus message
map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;
Parameter |
---|
Name | Description |
key | String
|
setAsyncPrimaryDisk(DiskResourceStatusAsyncReplicationStatus value)
public DiskResourceStatus.Builder setAsyncPrimaryDisk(DiskResourceStatusAsyncReplicationStatus value)
optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;
setAsyncPrimaryDisk(DiskResourceStatusAsyncReplicationStatus.Builder builderForValue)
public DiskResourceStatus.Builder setAsyncPrimaryDisk(DiskResourceStatusAsyncReplicationStatus.Builder builderForValue)
optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;
setField(Descriptors.FieldDescriptor field, Object value)
public DiskResourceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiskResourceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DiskResourceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides