
com.google.cloud.compute.v1.NamedPortOrBuilder Maven / Gradle / Ivy
/*
* 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 NamedPortOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NamedPort)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
*
*
* optional string name = 3373707;
*
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
*
*
* The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
*
*
* optional string name = 3373707;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
*
*
* optional string name = 3373707;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* The port number, which can be a value between 1 and 65535.
*
*
* optional int32 port = 3446913;
*
* @return Whether the port field is set.
*/
boolean hasPort();
/**
*
*
*
* The port number, which can be a value between 1 and 65535.
*
*
* optional int32 port = 3446913;
*
* @return The port.
*/
int getPort();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy