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
google.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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
clear
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
getDefaultInstanceForType
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
setField
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
clearField
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
clearOneof
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
setRepeatedField
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
addRepeatedField
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
mergeFrom
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
mergeFrom
public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(SecurityPolicyAdvancedOptionsConfigJsonCustomConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getContentTypesList
in 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:
getContentTypesCount
in 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:
getContentTypes
in 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:
getContentTypesBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
mergeUnknownFields
public final SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
-
-