- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class SecurityPolicyAdvancedOptionsConfig.Builder extends GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfig.Builder> implements SecurityPolicyAdvancedOptionsConfigOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SecurityPolicyAdvancedOptionsConfig.BuilderImplements
SecurityPolicyAdvancedOptionsConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllUserIpRequestHeaders(Iterable<String> values)
public SecurityPolicyAdvancedOptionsConfig.Builder addAllUserIpRequestHeaders(Iterable<String> values)
An optional list of case-insensitive request header names to use for resolving the callers client IP address.
repeated string user_ip_request_headers = 421050290;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The userIpRequestHeaders to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyAdvancedOptionsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
addUserIpRequestHeaders(String value)
public SecurityPolicyAdvancedOptionsConfig.Builder addUserIpRequestHeaders(String value)
An optional list of case-insensitive request header names to use for resolving the callers client IP address.
repeated string user_ip_request_headers = 421050290;
Parameter | |
---|---|
Name | Description |
value |
String The userIpRequestHeaders to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
This builder for chaining. |
addUserIpRequestHeadersBytes(ByteString value)
public SecurityPolicyAdvancedOptionsConfig.Builder addUserIpRequestHeadersBytes(ByteString value)
An optional list of case-insensitive request header names to use for resolving the callers client IP address.
repeated string user_ip_request_headers = 421050290;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the userIpRequestHeaders to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
This builder for chaining. |
build()
public SecurityPolicyAdvancedOptionsConfig build()
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig |
buildPartial()
public SecurityPolicyAdvancedOptionsConfig buildPartial()
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig |
clear()
public SecurityPolicyAdvancedOptionsConfig.Builder clear()
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public SecurityPolicyAdvancedOptionsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
clearJsonCustomConfig()
public SecurityPolicyAdvancedOptionsConfig.Builder clearJsonCustomConfig()
Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig json_custom_config = 111570105;
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
clearJsonParsing()
public SecurityPolicyAdvancedOptionsConfig.Builder clearJsonParsing()
Check the JsonParsing enum for the list of possible values.
optional string json_parsing = 282493529;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPolicyAdvancedOptionsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
clearUserIpRequestHeaders()
public SecurityPolicyAdvancedOptionsConfig.Builder clearUserIpRequestHeaders()
An optional list of case-insensitive request header names to use for resolving the callers client IP address.
repeated string user_ip_request_headers = 421050290;
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
This builder for chaining. |
clone()
public SecurityPolicyAdvancedOptionsConfig.Builder clone()
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
getDefaultInstanceForType()
public SecurityPolicyAdvancedOptionsConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getJsonCustomConfig()
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getJsonCustomConfig()
Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig json_custom_config = 111570105;
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig |
The jsonCustomConfig. |
getJsonCustomConfigBuilder()
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder getJsonCustomConfigBuilder()
Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig json_custom_config = 111570105;
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder |
getJsonCustomConfigOrBuilder()
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder getJsonCustomConfigOrBuilder()
Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig json_custom_config = 111570105;
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder |
getJsonParsing()
public String getJsonParsing()
Check the JsonParsing enum for the list of possible values.
optional string json_parsing = 282493529;
Returns | |
---|---|
Type | Description |
String |
The jsonParsing. |
getJsonParsingBytes()
public ByteString getJsonParsingBytes()
Check the JsonParsing enum for the list of possible values.
optional string json_parsing = 282493529;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
The logLevel. |
getLogLevelBytes()
public ByteString getLogLevelBytes()
Check the LogLevel enum for the list of possible values.
optional string log_level = 140582601;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for logLevel. |
getUserIpRequestHeaders(int index)
public String getUserIpRequestHeaders(int index)
An optional list of case-insensitive request header names to use for resolving the callers client IP address.
repeated string user_ip_request_headers = 421050290;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The userIpRequestHeaders at the given index. |
getUserIpRequestHeadersBytes(int index)
public ByteString getUserIpRequestHeadersBytes(int index)
An optional list of case-insensitive request header names to use for resolving the callers client IP address.
repeated string user_ip_request_headers = 421050290;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the userIpRequestHeaders at the given index. |
getUserIpRequestHeadersCount()
public int getUserIpRequestHeadersCount()
An optional list of case-insensitive request header names to use for resolving the callers client IP address.
repeated string user_ip_request_headers = 421050290;
Returns | |
---|---|
Type | Description |
int |
The count of userIpRequestHeaders. |
getUserIpRequestHeadersList()
public ProtocolStringList getUserIpRequestHeadersList()
An optional list of case-insensitive request header names to use for resolving the callers client IP address.
repeated string user_ip_request_headers = 421050290;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the userIpRequestHeaders. |
hasJsonCustomConfig()
public boolean hasJsonCustomConfig()
Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig json_custom_config = 111570105;
Returns | |
---|---|
Type | Description |
boolean |
Whether the jsonCustomConfig field is set. |
hasJsonParsing()
public boolean hasJsonParsing()
Check the JsonParsing enum for the list of possible values.
optional string json_parsing = 282493529;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the logLevel field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SecurityPolicyAdvancedOptionsConfig other)
public SecurityPolicyAdvancedOptionsConfig.Builder mergeFrom(SecurityPolicyAdvancedOptionsConfig other)
Parameter | |
---|---|
Name | Description |
other |
SecurityPolicyAdvancedOptionsConfig |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SecurityPolicyAdvancedOptionsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SecurityPolicyAdvancedOptionsConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
mergeJsonCustomConfig(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig value)
public SecurityPolicyAdvancedOptionsConfig.Builder mergeJsonCustomConfig(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig value)
Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig json_custom_config = 111570105;
Parameter | |
---|---|
Name | Description |
value |
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyAdvancedOptionsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyAdvancedOptionsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
setJsonCustomConfig(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig value)
public SecurityPolicyAdvancedOptionsConfig.Builder setJsonCustomConfig(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig value)
Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig json_custom_config = 111570105;
Parameter | |
---|---|
Name | Description |
value |
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
setJsonCustomConfig(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder builderForValue)
public SecurityPolicyAdvancedOptionsConfig.Builder setJsonCustomConfig(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder builderForValue)
Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.
optional .google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig json_custom_config = 111570105;
Parameter | |
---|---|
Name | Description |
builderForValue |
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
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 | |
---|---|
Name | Description |
value |
String The jsonParsing to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for jsonParsing to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The logLevel to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for logLevel to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyAdvancedOptionsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
setUserIpRequestHeaders(int index, String value)
public SecurityPolicyAdvancedOptionsConfig.Builder setUserIpRequestHeaders(int index, String value)
An optional list of case-insensitive request header names to use for resolving the callers client IP address.
repeated string user_ip_request_headers = 421050290;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The userIpRequestHeaders to set. |
Returns | |
---|---|
Type | Description |
SecurityPolicyAdvancedOptionsConfig.Builder |
This builder for chaining. |