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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
    • getDefaultInstanceForType

      public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder
      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 interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder
      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 interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder
      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 interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder
      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

       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.