Class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder (1.64.0)

public static final class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder extends GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder> implements SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addAllContentTypes(Iterable<String> values)

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder addAllContentTypes(Iterable<String> values)

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

repeated string content_types = 17428787;

Parameter
Name Description
values Iterable<String>

The contentTypes to add.

Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

This builder for chaining.

addContentTypes(String value)

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder addContentTypes(String value)

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

repeated string content_types = 17428787;

Parameter
Name Description
value String

The contentTypes to add.

Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

This builder for chaining.

addContentTypesBytes(ByteString value)

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder addContentTypesBytes(ByteString value)

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

repeated string content_types = 17428787;

Parameter
Name Description
value ByteString

The bytes of the contentTypes to add.

Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig build()

buildPartial()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig buildPartial()

clear()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clear()
Overrides

clearContentTypes()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clearContentTypes()

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

repeated string content_types = 17428787;

Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clone()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clone()
Overrides

getContentTypes(int index)

public String getContentTypes(int index)

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

repeated string content_types = 17428787;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The contentTypes at the given index.

getContentTypesBytes(int index)

public ByteString getContentTypesBytes(int index)

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

repeated string content_types = 17428787;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the contentTypes at the given index.

getContentTypesCount()

public int getContentTypesCount()

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

repeated string content_types = 17428787;

Returns
Type Description
int

The count of contentTypes.

getContentTypesList()

public ProtocolStringList getContentTypesList()

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

repeated string content_types = 17428787;

Returns
Type Description
ProtocolStringList

A list containing the contentTypes.

getDefaultInstanceForType()

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getDefaultInstanceForType()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig other)

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig other)
Parameter
Name Description
other SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setContentTypes(int index, String value)

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setContentTypes(int index, String value)

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.

repeated string content_types = 17428787;

Parameters
Name Description
index int

The index to set the value at.

value String

The contentTypes to set.

Returns
Type Description
SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

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

public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides