Package com.google.cloud.compute.v1
Class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
com.google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder
- All Implemented Interfaces:
SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
public static final class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
implements SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder
Protobuf type
google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllContentTypes(Iterable<String> values) A list of custom Content-Type header values to apply the JSON parsing.addContentTypes(String value) A list of custom Content-Type header values to apply the JSON parsing.addContentTypesBytes(com.google.protobuf.ByteString value) A list of custom Content-Type header values to apply the JSON parsing.build()clear()A list of custom Content-Type header values to apply the JSON parsing.getContentTypes(int index) A list of custom Content-Type header values to apply the JSON parsing.com.google.protobuf.ByteStringgetContentTypesBytes(int index) A list of custom Content-Type header values to apply the JSON parsing.intA list of custom Content-Type header values to apply the JSON parsing.com.google.protobuf.ProtocolStringListA list of custom Content-Type header values to apply the JSON parsing.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setContentTypes(int index, String value) A list of custom Content-Type header values to apply the JSON parsing.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
mergeFrom
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>- Throws:
IOException
-
getContentTypesList
public com.google.protobuf.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;- Specified by:
getContentTypesListin interfaceSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder- Returns:
- A list containing the contentTypes.
-
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;- Specified by:
getContentTypesCountin interfaceSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder- Returns:
- The count of contentTypes.
-
getContentTypes
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;- Specified by:
getContentTypesin interfaceSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The contentTypes at the given index.
-
getContentTypesBytes
public com.google.protobuf.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;- Specified by:
getContentTypesBytesin interfaceSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the contentTypes at the given index.
-
setContentTypes
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:
index- The index to set the value at.value- The contentTypes to set.- Returns:
- This builder for chaining.
-
addContentTypes
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:
value- The contentTypes to add.- Returns:
- This builder for chaining.
-
addAllContentTypes
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;- Parameters:
values- The contentTypes to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addContentTypesBytes
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder addContentTypesBytes(com.google.protobuf.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;- Parameters:
value- The bytes of the contentTypes to add.- Returns:
- This builder for chaining.
-