Class ProjectsSetCloudArmorTierRequest (1.51.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProjectsSetCloudArmorTierRequest getDefaultInstance()
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProjectsSetCloudArmorTierRequest.Builder newBuilder()
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest.Builder

newBuilder(ProjectsSetCloudArmorTierRequest prototype)

public static ProjectsSetCloudArmorTierRequest.Builder newBuilder(ProjectsSetCloudArmorTierRequest prototype)
Parameter
NameDescription
prototypeProjectsSetCloudArmorTierRequest
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest.Builder

parseDelimitedFrom(InputStream input)

public static ProjectsSetCloudArmorTierRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetCloudArmorTierRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProjectsSetCloudArmorTierRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetCloudArmorTierRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProjectsSetCloudArmorTierRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetCloudArmorTierRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProjectsSetCloudArmorTierRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetCloudArmorTierRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProjectsSetCloudArmorTierRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetCloudArmorTierRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProjectsSetCloudArmorTierRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProjectsSetCloudArmorTierRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProjectsSetCloudArmorTierRequest> parser()
Returns
TypeDescription
Parser<ProjectsSetCloudArmorTierRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

getParserForType()

public Parser<ProjectsSetCloudArmorTierRequest> getParserForType()
Returns
TypeDescription
Parser<ProjectsSetCloudArmorTierRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the cloudArmorTier field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProjectsSetCloudArmorTierRequest.Builder newBuilderForType()
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProjectsSetCloudArmorTierRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProjectsSetCloudArmorTierRequest.Builder toBuilder()
Returns
TypeDescription
ProjectsSetCloudArmorTierRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException