public static final class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder extends GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder> implements SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder
Protobuf type
google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
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
Returns
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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig build()
Returns
buildPartial()
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig buildPartial()
Returns
clear()
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clone()
Returns
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
getDefaultInstanceForType()
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig other)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig other)
Parameter
Returns
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides