Class ProjectsSetCloudArmorTierRequest (1.63.0)

public final class ProjectsSetCloudArmorTierRequest extends GeneratedMessageV3 implements ProjectsSetCloudArmorTierRequestOrBuilder

Protobuf type google.cloud.compute.v1.ProjectsSetCloudArmorTierRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ProjectsSetCloudArmorTierRequest

Static Fields

CLOUD_ARMOR_TIER_FIELD_NUMBER

public static final int CLOUD_ARMOR_TIER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProjectsSetCloudArmorTierRequest getDefaultInstance()
Returns
Type Description
ProjectsSetCloudArmorTierRequest

getDescriptor()

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

newBuilder()

public static ProjectsSetCloudArmorTierRequest.Builder newBuilder()
Returns
Type Description
ProjectsSetCloudArmorTierRequest.Builder

newBuilder(ProjectsSetCloudArmorTierRequest prototype)

public static ProjectsSetCloudArmorTierRequest.Builder newBuilder(ProjectsSetCloudArmorTierRequest prototype)
Parameter
Name Description
prototype ProjectsSetCloudArmorTierRequest
Returns
Type Description
ProjectsSetCloudArmorTierRequest.Builder

parseDelimitedFrom(InputStream input)

public static ProjectsSetCloudArmorTierRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProjectsSetCloudArmorTierRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetCloudArmorTierRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectsSetCloudArmorTierRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProjectsSetCloudArmorTierRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProjectsSetCloudArmorTierRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetCloudArmorTierRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectsSetCloudArmorTierRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProjectsSetCloudArmorTierRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProjectsSetCloudArmorTierRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetCloudArmorTierRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectsSetCloudArmorTierRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProjectsSetCloudArmorTierRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProjectsSetCloudArmorTierRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetCloudArmorTierRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectsSetCloudArmorTierRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProjectsSetCloudArmorTierRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProjectsSetCloudArmorTierRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetCloudArmorTierRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectsSetCloudArmorTierRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProjectsSetCloudArmorTierRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProjectsSetCloudArmorTierRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetCloudArmorTierRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProjectsSetCloudArmorTierRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProjectsSetCloudArmorTierRequest> parser()
Returns
Type Description
Parser<ProjectsSetCloudArmorTierRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<ProjectsSetCloudArmorTierRequest> getParserForType()
Returns
Type Description
Parser<ProjectsSetCloudArmorTierRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProjectsSetCloudArmorTierRequest.Builder newBuilderForType()
Returns
Type Description
ProjectsSetCloudArmorTierRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProjectsSetCloudArmorTierRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProjectsSetCloudArmorTierRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ProjectsSetCloudArmorTierRequest.Builder toBuilder()
Returns
Type Description
ProjectsSetCloudArmorTierRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException