All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.compute.v1.DeniedOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.66.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;

public interface DeniedOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Denied)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number.
   * 
* * optional string I_p_protocol = 488094525; * * @return Whether the iPProtocol field is set. */ boolean hasIPProtocol(); /** * * *
   * The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number.
   * 
* * optional string I_p_protocol = 488094525; * * @return The iPProtocol. */ java.lang.String getIPProtocol(); /** * * *
   * The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number.
   * 
* * optional string I_p_protocol = 488094525; * * @return The bytes for iPProtocol. */ com.google.protobuf.ByteString getIPProtocolBytes(); /** * * *
   * An optional list of ports to which this rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
   * 
* * repeated string ports = 106854418; * * @return A list containing the ports. */ java.util.List getPortsList(); /** * * *
   * An optional list of ports to which this rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
   * 
* * repeated string ports = 106854418; * * @return The count of ports. */ int getPortsCount(); /** * * *
   * An optional list of ports to which this rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
   * 
* * repeated string ports = 106854418; * * @param index The index of the element to return. * @return The ports at the given index. */ java.lang.String getPorts(int index); /** * * *
   * An optional list of ports to which this rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
   * 
* * repeated string ports = 106854418; * * @param index The index of the value to return. * @return The bytes of the ports at the given index. */ com.google.protobuf.ByteString getPortsBytes(int index); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy