Class DiskResourceStatusAsyncReplicationStatus.Builder (1.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiskResourceStatusAsyncReplicationStatus build()
Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatus

buildPartial()

public DiskResourceStatusAsyncReplicationStatus buildPartial()
Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public DiskResourceStatusAsyncReplicationStatus.Builder clearState()

Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatus.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DiskResourceStatusAsyncReplicationStatus getDefaultInstanceForType()
Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getState()

public String getState()

Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
TypeDescription
String

The state.

getStateBytes()

public ByteString getStateBytes()

Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
TypeDescription
ByteString

The bytes for state.

hasState()

public boolean hasState()

Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
TypeDescription
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DiskResourceStatusAsyncReplicationStatus other)

public DiskResourceStatusAsyncReplicationStatus.Builder mergeFrom(DiskResourceStatusAsyncReplicationStatus other)
Parameter
NameDescription
otherDiskResourceStatusAsyncReplicationStatus
Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DiskResourceStatusAsyncReplicationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The state to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for state to set.

Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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