Class SecuritySettings

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.SecuritySettings
All Implemented Interfaces:
SecuritySettingsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SecuritySettings extends com.google.protobuf.GeneratedMessage implements SecuritySettingsOrBuilder
 The authentication and authorization settings for a BackendService.
 
Protobuf type google.cloud.compute.v1.SecuritySettings
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    The authentication and authorization settings for a BackendService.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The configuration needed to generate a signature for access to private storage buckets that support AWS's Signature Version 4 for authentication.
    The configuration needed to generate a signature for access to private storage buckets that support AWS's Signature Version 4 for authentication.
    Optional.
    com.google.protobuf.ByteString
    Optional.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Parser<SecuritySettings>
     
    int
     
    getSubjectAltNames(int index)
    Optional.
    com.google.protobuf.ByteString
    Optional.
    int
    Optional.
    com.google.protobuf.ProtocolStringList
    Optional.
    boolean
    The configuration needed to generate a signature for access to private storage buckets that support AWS's Signature Version 4 for authentication.
    boolean
    Optional.
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<SecuritySettings>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • AWS_V4_AUTHENTICATION_FIELD_NUMBER

      public static final int AWS_V4_AUTHENTICATION_FIELD_NUMBER
      See Also:
    • CLIENT_TLS_POLICY_FIELD_NUMBER

      public static final int CLIENT_TLS_POLICY_FIELD_NUMBER
      See Also:
    • SUBJECT_ALT_NAMES_FIELD_NUMBER

      public static final int SUBJECT_ALT_NAMES_FIELD_NUMBER
      See Also:
  • 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
    • hasAwsV4Authentication

      public boolean hasAwsV4Authentication()
       The configuration needed to generate a signature for access to private
       storage buckets that support AWS's Signature Version 4 for authentication.
       Allowed only for INTERNET_IP_PORT and INTERNET_FQDN_PORT NEG backends.
       
      optional .google.cloud.compute.v1.AWSV4Signature aws_v4_authentication = 433993111;
      Specified by:
      hasAwsV4Authentication in interface SecuritySettingsOrBuilder
      Returns:
      Whether the awsV4Authentication field is set.
    • getAwsV4Authentication

      public AWSV4Signature getAwsV4Authentication()
       The configuration needed to generate a signature for access to private
       storage buckets that support AWS's Signature Version 4 for authentication.
       Allowed only for INTERNET_IP_PORT and INTERNET_FQDN_PORT NEG backends.
       
      optional .google.cloud.compute.v1.AWSV4Signature aws_v4_authentication = 433993111;
      Specified by:
      getAwsV4Authentication in interface SecuritySettingsOrBuilder
      Returns:
      The awsV4Authentication.
    • getAwsV4AuthenticationOrBuilder

      public AWSV4SignatureOrBuilder getAwsV4AuthenticationOrBuilder()
       The configuration needed to generate a signature for access to private
       storage buckets that support AWS's Signature Version 4 for authentication.
       Allowed only for INTERNET_IP_PORT and INTERNET_FQDN_PORT NEG backends.
       
      optional .google.cloud.compute.v1.AWSV4Signature aws_v4_authentication = 433993111;
      Specified by:
      getAwsV4AuthenticationOrBuilder in interface SecuritySettingsOrBuilder
    • hasClientTlsPolicy

      public boolean hasClientTlsPolicy()
       Optional. A URL referring to a networksecurity.ClientTlsPolicy resource
       that describes how clients should authenticate with this service's
       backends.
      
       clientTlsPolicy only applies to a globalBackendService with the loadBalancingScheme set
       to INTERNAL_SELF_MANAGED.
      
       If left blank, communications are not encrypted.
       
      optional string client_tls_policy = 462325226;
      Specified by:
      hasClientTlsPolicy in interface SecuritySettingsOrBuilder
      Returns:
      Whether the clientTlsPolicy field is set.
    • getClientTlsPolicy

      public String getClientTlsPolicy()
       Optional. A URL referring to a networksecurity.ClientTlsPolicy resource
       that describes how clients should authenticate with this service's
       backends.
      
       clientTlsPolicy only applies to a globalBackendService with the loadBalancingScheme set
       to INTERNAL_SELF_MANAGED.
      
       If left blank, communications are not encrypted.
       
      optional string client_tls_policy = 462325226;
      Specified by:
      getClientTlsPolicy in interface SecuritySettingsOrBuilder
      Returns:
      The clientTlsPolicy.
    • getClientTlsPolicyBytes

      public com.google.protobuf.ByteString getClientTlsPolicyBytes()
       Optional. A URL referring to a networksecurity.ClientTlsPolicy resource
       that describes how clients should authenticate with this service's
       backends.
      
       clientTlsPolicy only applies to a globalBackendService with the loadBalancingScheme set
       to INTERNAL_SELF_MANAGED.
      
       If left blank, communications are not encrypted.
       
      optional string client_tls_policy = 462325226;
      Specified by:
      getClientTlsPolicyBytes in interface SecuritySettingsOrBuilder
      Returns:
      The bytes for clientTlsPolicy.
    • getSubjectAltNamesList

      public com.google.protobuf.ProtocolStringList getSubjectAltNamesList()
       Optional. A list of Subject Alternative Names (SANs) that the client
       verifies during a mutual TLS handshake with an server/endpoint for thisBackendService. When the server presents its X.509 certificate
       to the client, the client inspects the certificate'ssubjectAltName field. If the field contains one of the
       specified values, the communication continues. Otherwise, it fails. This
       additional check enables the client to verify that the server is authorized
       to run the requested service.
      
       Note that the contents of the server
       certificate's subjectAltName field are configured by the
       Public Key Infrastructure which provisions server identities.
      
       Only applies to a global BackendService withloadBalancingScheme set to INTERNAL_SELF_MANAGED.
       Only applies when BackendService has an attachedclientTlsPolicy with clientCertificate (mTLS
       mode).
       
      repeated string subject_alt_names = 330029535;
      Specified by:
      getSubjectAltNamesList in interface SecuritySettingsOrBuilder
      Returns:
      A list containing the subjectAltNames.
    • getSubjectAltNamesCount

      public int getSubjectAltNamesCount()
       Optional. A list of Subject Alternative Names (SANs) that the client
       verifies during a mutual TLS handshake with an server/endpoint for thisBackendService. When the server presents its X.509 certificate
       to the client, the client inspects the certificate'ssubjectAltName field. If the field contains one of the
       specified values, the communication continues. Otherwise, it fails. This
       additional check enables the client to verify that the server is authorized
       to run the requested service.
      
       Note that the contents of the server
       certificate's subjectAltName field are configured by the
       Public Key Infrastructure which provisions server identities.
      
       Only applies to a global BackendService withloadBalancingScheme set to INTERNAL_SELF_MANAGED.
       Only applies when BackendService has an attachedclientTlsPolicy with clientCertificate (mTLS
       mode).
       
      repeated string subject_alt_names = 330029535;
      Specified by:
      getSubjectAltNamesCount in interface SecuritySettingsOrBuilder
      Returns:
      The count of subjectAltNames.
    • getSubjectAltNames

      public String getSubjectAltNames(int index)
       Optional. A list of Subject Alternative Names (SANs) that the client
       verifies during a mutual TLS handshake with an server/endpoint for thisBackendService. When the server presents its X.509 certificate
       to the client, the client inspects the certificate'ssubjectAltName field. If the field contains one of the
       specified values, the communication continues. Otherwise, it fails. This
       additional check enables the client to verify that the server is authorized
       to run the requested service.
      
       Note that the contents of the server
       certificate's subjectAltName field are configured by the
       Public Key Infrastructure which provisions server identities.
      
       Only applies to a global BackendService withloadBalancingScheme set to INTERNAL_SELF_MANAGED.
       Only applies when BackendService has an attachedclientTlsPolicy with clientCertificate (mTLS
       mode).
       
      repeated string subject_alt_names = 330029535;
      Specified by:
      getSubjectAltNames in interface SecuritySettingsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The subjectAltNames at the given index.
    • getSubjectAltNamesBytes

      public com.google.protobuf.ByteString getSubjectAltNamesBytes(int index)
       Optional. A list of Subject Alternative Names (SANs) that the client
       verifies during a mutual TLS handshake with an server/endpoint for thisBackendService. When the server presents its X.509 certificate
       to the client, the client inspects the certificate'ssubjectAltName field. If the field contains one of the
       specified values, the communication continues. Otherwise, it fails. This
       additional check enables the client to verify that the server is authorized
       to run the requested service.
      
       Note that the contents of the server
       certificate's subjectAltName field are configured by the
       Public Key Infrastructure which provisions server identities.
      
       Only applies to a global BackendService withloadBalancingScheme set to INTERNAL_SELF_MANAGED.
       Only applies when BackendService has an attachedclientTlsPolicy with clientCertificate (mTLS
       mode).
       
      repeated string subject_alt_names = 330029535;
      Specified by:
      getSubjectAltNamesBytes in interface SecuritySettingsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the subjectAltNames at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SecuritySettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecuritySettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecuritySettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecuritySettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecuritySettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecuritySettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SecuritySettings parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SecuritySettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SecuritySettings parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SecuritySettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SecuritySettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SecuritySettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SecuritySettings.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SecuritySettings.Builder newBuilder()
    • newBuilder

      public static SecuritySettings.Builder newBuilder(SecuritySettings prototype)
    • toBuilder

      public SecuritySettings.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SecuritySettings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SecuritySettings getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SecuritySettings> parser()
    • getParserForType

      public com.google.protobuf.Parser<SecuritySettings> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SecuritySettings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder