Package namespace.cloud.compute.v1beta
Class Compute.ExportedPortBackend.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.ExportedPortBackend.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.ExportedPortBackend.Builder>
namespace.cloud.compute.v1beta.Compute.ExportedPortBackend.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Compute.ExportedPortBackendOrBuilder
- Enclosing class:
Compute.ExportedPortBackend
public static final class Compute.ExportedPortBackend.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Compute.ExportedPortBackend.Builder>
implements Compute.ExportedPortBackendOrBuilder
Protobuf type
namespace.cloud.compute.v1beta.ExportedPortBackend-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional IP address of the backend.int32 port = 1;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional IP address of the backend.com.google.protobuf.ByteStringOptional IP address of the backend.intgetPort()int32 port = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setIpAddress(String value) Optional IP address of the backend.setIpAddressBytes(com.google.protobuf.ByteString value) Optional IP address of the backend.setPort(int value) int32 port = 1;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Compute.ExportedPortBackend.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ExportedPortBackend.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Compute.ExportedPortBackend.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.ExportedPortBackend.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ExportedPortBackend.Builder>
-
mergeFrom
public Compute.ExportedPortBackend.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.ExportedPortBackend.Builder>- Throws:
IOException
-
getPort
public int getPort()int32 port = 1;- Specified by:
getPortin interfaceCompute.ExportedPortBackendOrBuilder- Returns:
- The port.
-
setPort
int32 port = 1;- Parameters:
value- The port to set.- Returns:
- This builder for chaining.
-
clearPort
int32 port = 1;- Returns:
- This builder for chaining.
-
getIpAddress
Optional IP address of the backend. When unset, the ingress targets the instance itself (i.e. loopback). Set this to route ingress traffic to a non-loopback endpoint reachable from the instance, e.g. a Kubernetes Service's LoadBalancer IP.
string ip_address = 2;- Specified by:
getIpAddressin interfaceCompute.ExportedPortBackendOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()Optional IP address of the backend. When unset, the ingress targets the instance itself (i.e. loopback). Set this to route ingress traffic to a non-loopback endpoint reachable from the instance, e.g. a Kubernetes Service's LoadBalancer IP.
string ip_address = 2;- Specified by:
getIpAddressBytesin interfaceCompute.ExportedPortBackendOrBuilder- Returns:
- The bytes for ipAddress.
-
setIpAddress
Optional IP address of the backend. When unset, the ingress targets the instance itself (i.e. loopback). Set this to route ingress traffic to a non-loopback endpoint reachable from the instance, e.g. a Kubernetes Service's LoadBalancer IP.
string ip_address = 2;- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
Optional IP address of the backend. When unset, the ingress targets the instance itself (i.e. loopback). Set this to route ingress traffic to a non-loopback endpoint reachable from the instance, e.g. a Kubernetes Service's LoadBalancer IP.
string ip_address = 2;- Returns:
- This builder for chaining.
-
setIpAddressBytes
Optional IP address of the backend. When unset, the ingress targets the instance itself (i.e. loopback). Set this to route ingress traffic to a non-loopback endpoint reachable from the instance, e.g. a Kubernetes Service's LoadBalancer IP.
string ip_address = 2;- Parameters:
value- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-