Interface InstancesSetSecurityPolicyRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
InstancesSetSecurityPolicyRequest, InstancesSetSecurityPolicyRequest.Builder

@Generated public interface InstancesSetSecurityPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The network interfaces that the security policy will be applied to.
    com.google.protobuf.ByteString
    The network interfaces that the security policy will be applied to.
    int
    The network interfaces that the security policy will be applied to.
    The network interfaces that the security policy will be applied to.
    A full or partial URL to a security policy to add to this instance.
    com.google.protobuf.ByteString
    A full or partial URL to a security policy to add to this instance.
    boolean
    A full or partial URL to a security policy to add to this instance.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

    • getNetworkInterfacesList

      List<String> getNetworkInterfacesList()
       The network interfaces that the security policy will be applied to. Network
       interfaces use the nicN naming format. You can only set a
       security policy for network interfaces with an access config.
       
      repeated string network_interfaces = 52735243;
      Returns:
      A list containing the networkInterfaces.
    • getNetworkInterfacesCount

      int getNetworkInterfacesCount()
       The network interfaces that the security policy will be applied to. Network
       interfaces use the nicN naming format. You can only set a
       security policy for network interfaces with an access config.
       
      repeated string network_interfaces = 52735243;
      Returns:
      The count of networkInterfaces.
    • getNetworkInterfaces

      String getNetworkInterfaces(int index)
       The network interfaces that the security policy will be applied to. Network
       interfaces use the nicN naming format. You can only set a
       security policy for network interfaces with an access config.
       
      repeated string network_interfaces = 52735243;
      Parameters:
      index - The index of the element to return.
      Returns:
      The networkInterfaces at the given index.
    • getNetworkInterfacesBytes

      com.google.protobuf.ByteString getNetworkInterfacesBytes(int index)
       The network interfaces that the security policy will be applied to. Network
       interfaces use the nicN naming format. You can only set a
       security policy for network interfaces with an access config.
       
      repeated string network_interfaces = 52735243;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the networkInterfaces at the given index.
    • hasSecurityPolicy

      boolean hasSecurityPolicy()
       A full or partial URL to a security policy to add to this instance.
       If this field is set to an empty string it will remove the associated
       security policy.
       
      optional string security_policy = 171082513;
      Returns:
      Whether the securityPolicy field is set.
    • getSecurityPolicy

      String getSecurityPolicy()
       A full or partial URL to a security policy to add to this instance.
       If this field is set to an empty string it will remove the associated
       security policy.
       
      optional string security_policy = 171082513;
      Returns:
      The securityPolicy.
    • getSecurityPolicyBytes

      com.google.protobuf.ByteString getSecurityPolicyBytes()
       A full or partial URL to a security policy to add to this instance.
       If this field is set to an empty string it will remove the associated
       security policy.
       
      optional string security_policy = 171082513;
      Returns:
      The bytes for securityPolicy.