Class ProjectsSetCloudArmorTierRequest.Builder (1.63.0)

public static final class ProjectsSetCloudArmorTierRequest.Builder extends GeneratedMessageV3.Builder<ProjectsSetCloudArmorTierRequest.Builder> implements ProjectsSetCloudArmorTierRequestOrBuilder

Protobuf type google.cloud.compute.v1.ProjectsSetCloudArmorTierRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProjectsSetCloudArmorTierRequest build()
Returns
Type Description
ProjectsSetCloudArmorTierRequest

buildPartial()

public ProjectsSetCloudArmorTierRequest buildPartial()
Returns
Type Description
ProjectsSetCloudArmorTierRequest

clear()

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

clearCloudArmorTier()

public ProjectsSetCloudArmorTierRequest.Builder clearCloudArmorTier()

Managed protection tier to be set. Check the CloudArmorTier enum for the list of possible values.

optional string cloud_armor_tier = 4427052;

Returns
Type Description
ProjectsSetCloudArmorTierRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCloudArmorTier()

public String getCloudArmorTier()

Managed protection tier to be set. Check the CloudArmorTier enum for the list of possible values.

optional string cloud_armor_tier = 4427052;

Returns
Type Description
String

The cloudArmorTier.

getCloudArmorTierBytes()

public ByteString getCloudArmorTierBytes()

Managed protection tier to be set. Check the CloudArmorTier enum for the list of possible values.

optional string cloud_armor_tier = 4427052;

Returns
Type Description
ByteString

The bytes for cloudArmorTier.

getDefaultInstanceForType()

public ProjectsSetCloudArmorTierRequest getDefaultInstanceForType()
Returns
Type Description
ProjectsSetCloudArmorTierRequest

getDescriptorForType()

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

hasCloudArmorTier()

public boolean hasCloudArmorTier()

Managed protection tier to be set. Check the CloudArmorTier enum for the list of possible values.

optional string cloud_armor_tier = 4427052;

Returns
Type Description
boolean

Whether the cloudArmorTier field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProjectsSetCloudArmorTierRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCloudArmorTier(String value)

public ProjectsSetCloudArmorTierRequest.Builder setCloudArmorTier(String value)

Managed protection tier to be set. Check the CloudArmorTier enum for the list of possible values.

optional string cloud_armor_tier = 4427052;

Parameter
Name Description
value String

The cloudArmorTier to set.

Returns
Type Description
ProjectsSetCloudArmorTierRequest.Builder

This builder for chaining.

setCloudArmorTierBytes(ByteString value)

public ProjectsSetCloudArmorTierRequest.Builder setCloudArmorTierBytes(ByteString value)

Managed protection tier to be set. Check the CloudArmorTier enum for the list of possible values.

optional string cloud_armor_tier = 4427052;

Parameter
Name Description
value ByteString

The bytes for cloudArmorTier to set.

Returns
Type Description
ProjectsSetCloudArmorTierRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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