public static final class DiskResourceStatusAsyncReplicationStatus.Builder extends GeneratedMessageV3.Builder<DiskResourceStatusAsyncReplicationStatus.Builder> implements DiskResourceStatusAsyncReplicationStatusOrBuilder
Protobuf type google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus
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 DiskResourceStatusAsyncReplicationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DiskResourceStatusAsyncReplicationStatus build()
buildPartial()
public DiskResourceStatusAsyncReplicationStatus buildPartial()
clear()
public DiskResourceStatusAsyncReplicationStatus.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DiskResourceStatusAsyncReplicationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DiskResourceStatusAsyncReplicationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearState()
public DiskResourceStatusAsyncReplicationStatus.Builder clearState()
Check the State enum for the list of possible values.
optional string state = 109757585;
clone()
public DiskResourceStatusAsyncReplicationStatus.Builder clone()
Overrides
getDefaultInstanceForType()
public DiskResourceStatusAsyncReplicationStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getState()
Check the State enum for the list of possible values.
optional string state = 109757585;
Returns |
Type |
Description |
String |
The state.
|
getStateBytes()
public ByteString getStateBytes()
Check the State enum for the list of possible values.
optional string state = 109757585;
Returns |
Type |
Description |
ByteString |
The bytes for state.
|
hasState()
public boolean hasState()
Check the State enum for the list of possible values.
optional string state = 109757585;
Returns |
Type |
Description |
boolean |
Whether the state field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DiskResourceStatusAsyncReplicationStatus other)
public DiskResourceStatusAsyncReplicationStatus.Builder mergeFrom(DiskResourceStatusAsyncReplicationStatus other)
public DiskResourceStatusAsyncReplicationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DiskResourceStatusAsyncReplicationStatus.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiskResourceStatusAsyncReplicationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DiskResourceStatusAsyncReplicationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiskResourceStatusAsyncReplicationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setState(String value)
public DiskResourceStatusAsyncReplicationStatus.Builder setState(String value)
Check the State enum for the list of possible values.
optional string state = 109757585;
Parameter |
Name |
Description |
value |
String
The state to set.
|
setStateBytes(ByteString value)
public DiskResourceStatusAsyncReplicationStatus.Builder setStateBytes(ByteString value)
Check the State enum for the list of possible values.
optional string state = 109757585;
Parameter |
Name |
Description |
value |
ByteString
The bytes for state to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DiskResourceStatusAsyncReplicationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides