Class ResourcePolicyDiskConsistencyGroupPolicy.Builder (1.54.0)

public static final class ResourcePolicyDiskConsistencyGroupPolicy.Builder extends GeneratedMessageV3.Builder<ResourcePolicyDiskConsistencyGroupPolicy.Builder> implements ResourcePolicyDiskConsistencyGroupPolicyOrBuilder

Resource policy for disk consistency groups.

Protobuf type google.cloud.compute.v1.ResourcePolicyDiskConsistencyGroupPolicy

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResourcePolicyDiskConsistencyGroupPolicy build()
Returns
Type Description
ResourcePolicyDiskConsistencyGroupPolicy

buildPartial()

public ResourcePolicyDiskConsistencyGroupPolicy buildPartial()
Returns
Type Description
ResourcePolicyDiskConsistencyGroupPolicy

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ResourcePolicyDiskConsistencyGroupPolicy getDefaultInstanceForType()
Returns
Type Description
ResourcePolicyDiskConsistencyGroupPolicy

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourcePolicyDiskConsistencyGroupPolicy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ResourcePolicyDiskConsistencyGroupPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResourcePolicyDiskConsistencyGroupPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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