Class ProjectsSetCloudArmorTierRequest.Builder (1.49.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProjectsSetCloudArmorTierRequest build()
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest

buildPartial()

public ProjectsSetCloudArmorTierRequest buildPartial()
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest

clear()

public ProjectsSetCloudArmorTierRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
ProjectsSetCloudArmorTierRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ProjectsSetCloudArmorTierRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for cloudArmorTier.

getDefaultInstanceForType()

public ProjectsSetCloudArmorTierRequest getDefaultInstanceForType()
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the cloudArmorTier field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProjectsSetCloudArmorTierRequest other)

public ProjectsSetCloudArmorTierRequest.Builder mergeFrom(ProjectsSetCloudArmorTierRequest other)
Parameter
NameDescription
otherProjectsSetCloudArmorTierRequest
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProjectsSetCloudArmorTierRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The cloudArmorTier to set.

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

The bytes for cloudArmorTier to set.

Returns
TypeDescription
ProjectsSetCloudArmorTierRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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