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.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()
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.
|
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.
|
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.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
clearField(Descriptors.FieldDescriptor field)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
getDefaultInstanceForType()
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig other)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig other)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
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)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides