Send feedback
Class DiskResourceStatus.Builder (1.37.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.37.0 keyboard_arrow_down
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.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()
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()
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
internalGetMapField(int number)
protected MapField internalGetMapField ( int number )
Parameter Name Description number
int
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField ( int number )
Parameter Name Description number
int
Overrides
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;
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]