Class SecurityPolicyAdvancedOptionsConfig.Builder (1.8.1)

public static final class SecurityPolicyAdvancedOptionsConfig.Builder extends GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfig.Builder> implements SecurityPolicyAdvancedOptionsConfigOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityPolicyAdvancedOptionsConfig build()
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig

buildPartial()

public SecurityPolicyAdvancedOptionsConfig buildPartial()
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJsonParsing()

public SecurityPolicyAdvancedOptionsConfig.Builder clearJsonParsing()

Check the JsonParsing enum for the list of possible values.

optional string json_parsing = 282493529;

Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig.Builder

This builder for chaining.

clearLogLevel()

public SecurityPolicyAdvancedOptionsConfig.Builder clearLogLevel()

Check the LogLevel enum for the list of possible values.

optional string log_level = 140582601;

Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SecurityPolicyAdvancedOptionsConfig getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJsonParsing()

public String getJsonParsing()

Check the JsonParsing enum for the list of possible values.

optional string json_parsing = 282493529;

Returns
TypeDescription
String

The jsonParsing.

getJsonParsingBytes()

public ByteString getJsonParsingBytes()

Check the JsonParsing enum for the list of possible values.

optional string json_parsing = 282493529;

Returns
TypeDescription
ByteString

The bytes for jsonParsing.

getLogLevel()

public String getLogLevel()

Check the LogLevel enum for the list of possible values.

optional string log_level = 140582601;

Returns
TypeDescription
String

The logLevel.

getLogLevelBytes()

public ByteString getLogLevelBytes()

Check the LogLevel enum for the list of possible values.

optional string log_level = 140582601;

Returns
TypeDescription
ByteString

The bytes for logLevel.

hasJsonParsing()

public boolean hasJsonParsing()

Check the JsonParsing enum for the list of possible values.

optional string json_parsing = 282493529;

Returns
TypeDescription
boolean

Whether the jsonParsing field is set.

hasLogLevel()

public boolean hasLogLevel()

Check the LogLevel enum for the list of possible values.

optional string log_level = 140582601;

Returns
TypeDescription
boolean

Whether the logLevel field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityPolicyAdvancedOptionsConfig other)

public SecurityPolicyAdvancedOptionsConfig.Builder mergeFrom(SecurityPolicyAdvancedOptionsConfig other)
Parameter
NameDescription
otherSecurityPolicyAdvancedOptionsConfig
Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setJsonParsing(String value)

public SecurityPolicyAdvancedOptionsConfig.Builder setJsonParsing(String value)

Check the JsonParsing enum for the list of possible values.

optional string json_parsing = 282493529;

Parameter
NameDescription
valueString

The jsonParsing to set.

Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig.Builder

This builder for chaining.

setJsonParsingBytes(ByteString value)

public SecurityPolicyAdvancedOptionsConfig.Builder setJsonParsingBytes(ByteString value)

Check the JsonParsing enum for the list of possible values.

optional string json_parsing = 282493529;

Parameter
NameDescription
valueByteString

The bytes for jsonParsing to set.

Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig.Builder

This builder for chaining.

setLogLevel(String value)

public SecurityPolicyAdvancedOptionsConfig.Builder setLogLevel(String value)

Check the LogLevel enum for the list of possible values.

optional string log_level = 140582601;

Parameter
NameDescription
valueString

The logLevel to set.

Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig.Builder

This builder for chaining.

setLogLevelBytes(ByteString value)

public SecurityPolicyAdvancedOptionsConfig.Builder setLogLevelBytes(ByteString value)

Check the LogLevel enum for the list of possible values.

optional string log_level = 140582601;

Parameter
NameDescription
valueByteString

The bytes for logLevel to set.

Returns
TypeDescription
SecurityPolicyAdvancedOptionsConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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