<reponame>yoshi-code-bot/google-api-java-client-services<filename>clients/google-api-services-beyondcorp/v1alpha/1.31.0/com/google/api/services/beyondcorp/v1alpha/model/GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway.java
/*
 * 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
 *
 * http://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.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.beyondcorp.v1alpha.model;

/**
 * Gateway represents a user facing component that serves as an entrance to enable connectivity.
 *
 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
 * transmitted over HTTP when working with the BeyondCorp API. For a detailed explanation see:
 * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
 * </p>
 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway extends com.google.api.client.json.GenericJson {

  /**
   * Required. AppGateway name in following format:
   * projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String appGateway;

  /**
   * Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or
   * zero, the default port is 19443.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Integer ingressPort;

  /**
   * Required. The type of hosting used by the gateway.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String type;

  /**
   * Output only. Server-defined URI for this resource.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String uri;

  /**
   * Required. AppGateway name in following format:
   * projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}
   * @return value or {@code null} for none
   */
  public java.lang.String getAppGateway() {
    return appGateway;
  }

  /**
   * Required. AppGateway name in following format:
   * projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}
   * @param appGateway appGateway or {@code null} for none
   */
  public GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway setAppGateway(java.lang.String appGateway) {
    this.appGateway = appGateway;
    return this;
  }

  /**
   * Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or
   * zero, the default port is 19443.
   * @return value or {@code null} for none
   */
  public java.lang.Integer getIngressPort() {
    return ingressPort;
  }

  /**
   * Output only. Ingress port reserved on the gateways for this AppConnection, if not specified or
   * zero, the default port is 19443.
   * @param ingressPort ingressPort or {@code null} for none
   */
  public GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway setIngressPort(java.lang.Integer ingressPort) {
    this.ingressPort = ingressPort;
    return this;
  }

  /**
   * Required. The type of hosting used by the gateway.
   * @return value or {@code null} for none
   */
  public java.lang.String getType() {
    return type;
  }

  /**
   * Required. The type of hosting used by the gateway.
   * @param type type or {@code null} for none
   */
  public GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway setType(java.lang.String type) {
    this.type = type;
    return this;
  }

  /**
   * Output only. Server-defined URI for this resource.
   * @return value or {@code null} for none
   */
  public java.lang.String getUri() {
    return uri;
  }

  /**
   * Output only. Server-defined URI for this resource.
   * @param uri uri or {@code null} for none
   */
  public GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway setUri(java.lang.String uri) {
    this.uri = uri;
    return this;
  }

  @Override
  public GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway set(String fieldName, Object value) {
    return (GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway) super.set(fieldName, value);
  }

  @Override
  public GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway clone() {
    return (GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway) super.clone();
  }

}
