Class ResourcePolicyDiskConsistencyGroupPolicy.Builder (1.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResourcePolicyDiskConsistencyGroupPolicy build()
Returns
TypeDescription
ResourcePolicyDiskConsistencyGroupPolicy

buildPartial()

public ResourcePolicyDiskConsistencyGroupPolicy buildPartial()
Returns
TypeDescription
ResourcePolicyDiskConsistencyGroupPolicy

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ResourcePolicyDiskConsistencyGroupPolicy getDefaultInstanceForType()
Returns
TypeDescription
ResourcePolicyDiskConsistencyGroupPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResourcePolicyDiskConsistencyGroupPolicy other)

public ResourcePolicyDiskConsistencyGroupPolicy.Builder mergeFrom(ResourcePolicyDiskConsistencyGroupPolicy other)
Parameter
NameDescription
otherResourcePolicyDiskConsistencyGroupPolicy
Returns
TypeDescription
ResourcePolicyDiskConsistencyGroupPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ResourcePolicyDiskConsistencyGroupPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResourcePolicyDiskConsistencyGroupPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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