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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder> implements SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder
Protobuf typegoogle.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
clear
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
getDefaultInstanceForType
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
setField
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
clearField
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
clearOneof
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
setRepeatedField
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
addRepeatedField
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.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
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
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;- 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
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;- 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
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:
- 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.
-
setUnknownFields
public final SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
mergeUnknownFields
public final SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
-