Class DiskResourceStatusAsyncReplicationStatus.Builder (1.63.0)

public static final class DiskResourceStatusAsyncReplicationStatus.Builder extends GeneratedMessageV3.Builder<DiskResourceStatusAsyncReplicationStatus.Builder> implements DiskResourceStatusAsyncReplicationStatusOrBuilder

Protobuf type google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiskResourceStatusAsyncReplicationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder
Overrides

build()

public DiskResourceStatusAsyncReplicationStatus build()
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus

buildPartial()

public DiskResourceStatusAsyncReplicationStatus buildPartial()
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus

clear()

public DiskResourceStatusAsyncReplicationStatus.Builder clear()
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DiskResourceStatusAsyncReplicationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DiskResourceStatusAsyncReplicationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder
Overrides

clearState()

public DiskResourceStatusAsyncReplicationStatus.Builder clearState()

Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder

This builder for chaining.

clone()

public DiskResourceStatusAsyncReplicationStatus.Builder clone()
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder
Overrides

getDefaultInstanceForType()

public DiskResourceStatusAsyncReplicationStatus getDefaultInstanceForType()
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getState()

public String 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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiskResourceStatusAsyncReplicationStatus other)

public DiskResourceStatusAsyncReplicationStatus.Builder mergeFrom(DiskResourceStatusAsyncReplicationStatus other)
Parameter
Name Description
other DiskResourceStatusAsyncReplicationStatus
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiskResourceStatusAsyncReplicationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DiskResourceStatusAsyncReplicationStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiskResourceStatusAsyncReplicationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DiskResourceStatusAsyncReplicationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder
Overrides

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

public DiskResourceStatusAsyncReplicationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder
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.

Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder

This builder for chaining.

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.

Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DiskResourceStatusAsyncReplicationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus.Builder
Overrides