Package namespace.cloud.compute.v1beta
Class Compute.AllocatedContainer.ExportedContainerPort.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.AllocatedContainer.ExportedContainerPort.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.AllocatedContainer.ExportedContainerPort.Builder>
namespace.cloud.compute.v1beta.Compute.AllocatedContainer.ExportedContainerPort.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Compute.AllocatedContainer.ExportedContainerPortOrBuilder
- Enclosing class:
Compute.AllocatedContainer.ExportedContainerPort
public static final class Compute.AllocatedContainer.ExportedContainerPort.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Compute.AllocatedContainer.ExportedContainerPort.Builder>
implements Compute.AllocatedContainer.ExportedContainerPortOrBuilder
Protobuf type
namespace.cloud.compute.v1beta.AllocatedContainer.ExportedContainerPort-
Method Summary
Modifier and TypeMethodDescriptionaddAllHttpMatchRule(Iterable<? extends Compute.HttpMatchRule> values) The original specified http rules.addHttpMatchRule(int index, Compute.HttpMatchRule value) The original specified http rules.addHttpMatchRule(int index, Compute.HttpMatchRule.Builder builderForValue) The original specified http rules.The original specified http rules.addHttpMatchRule(Compute.HttpMatchRule.Builder builderForValue) The original specified http rules.The original specified http rules.addHttpMatchRuleBuilder(int index) The original specified http rules.build()clear()The effective client authentication mode.The original specified container port.The endpoint to use to connect to the exported port.If required, the port exposed within the instance that translates to the container port above.The fully qualified domain that is configured in the public ingress to map back to this exposed port.The original specified http rules.The original specified protocol.The effective client authentication mode.intThe effective client authentication mode.intThe original specified container port.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe endpoint to use to connect to the exported port.com.google.protobuf.ByteStringThe endpoint to use to connect to the exported port.intIf required, the port exposed within the instance that translates to the container port above.getFqdn()The fully qualified domain that is configured in the public ingress to map back to this exposed port.com.google.protobuf.ByteStringThe fully qualified domain that is configured in the public ingress to map back to this exposed port.getHttpMatchRule(int index) The original specified http rules.getHttpMatchRuleBuilder(int index) The original specified http rules.The original specified http rules.intThe original specified http rules.The original specified http rules.getHttpMatchRuleOrBuilder(int index) The original specified http rules.List<? extends Compute.HttpMatchRuleOrBuilder> The original specified http rules.getProto()The original specified protocol.intThe original specified protocol.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeHttpMatchRule(int index) The original specified http rules.The effective client authentication mode.setClientAuthenticationValue(int value) The effective client authentication mode.setContainerPort(int value) The original specified container port.setEndpoint(String value) The endpoint to use to connect to the exported port.setEndpointBytes(com.google.protobuf.ByteString value) The endpoint to use to connect to the exported port.setExportedPort(int value) If required, the port exposed within the instance that translates to the container port above.The fully qualified domain that is configured in the public ingress to map back to this exposed port.setFqdnBytes(com.google.protobuf.ByteString value) The fully qualified domain that is configured in the public ingress to map back to this exposed port.setHttpMatchRule(int index, Compute.HttpMatchRule value) The original specified http rules.setHttpMatchRule(int index, Compute.HttpMatchRule.Builder builderForValue) The original specified http rules.The original specified protocol.setProtoValue(int value) The original specified protocol.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.AllocatedContainer.ExportedContainerPort.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.AllocatedContainer.ExportedContainerPort.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.AllocatedContainer.ExportedContainerPort.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
public Compute.AllocatedContainer.ExportedContainerPort.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.AllocatedContainer.ExportedContainerPort.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Compute.AllocatedContainer.ExportedContainerPort.Builder>
-
mergeFrom
public Compute.AllocatedContainer.ExportedContainerPort.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.AllocatedContainer.ExportedContainerPort.Builder>- Throws:
IOException
-
getProtoValue
public int getProtoValue()The original specified protocol.
.namespace.cloud.compute.v1beta.ContainerPort.Proto proto = 1;- Specified by:
getProtoValuein interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder- Returns:
- The enum numeric value on the wire for proto.
-
setProtoValue
The original specified protocol.
.namespace.cloud.compute.v1beta.ContainerPort.Proto proto = 1;- Parameters:
value- The enum numeric value on the wire for proto to set.- Returns:
- This builder for chaining.
-
getProto
The original specified protocol.
.namespace.cloud.compute.v1beta.ContainerPort.Proto proto = 1;- Specified by:
getProtoin interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder- Returns:
- The proto.
-
setProto
public Compute.AllocatedContainer.ExportedContainerPort.Builder setProto(Compute.ContainerPort.Proto value) The original specified protocol.
.namespace.cloud.compute.v1beta.ContainerPort.Proto proto = 1;- Parameters:
value- The proto to set.- Returns:
- This builder for chaining.
-
clearProto
The original specified protocol.
.namespace.cloud.compute.v1beta.ContainerPort.Proto proto = 1;- Returns:
- This builder for chaining.
-
getContainerPort
public int getContainerPort()The original specified container port.
int32 container_port = 2;- Specified by:
getContainerPortin interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder- Returns:
- The containerPort.
-
setContainerPort
The original specified container port.
int32 container_port = 2;- Parameters:
value- The containerPort to set.- Returns:
- This builder for chaining.
-
clearContainerPort
The original specified container port.
int32 container_port = 2;- Returns:
- This builder for chaining.
-
getHttpMatchRuleList
The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3;- Specified by:
getHttpMatchRuleListin interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder
-
getHttpMatchRuleCount
public int getHttpMatchRuleCount()The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3;- Specified by:
getHttpMatchRuleCountin interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder
-
getHttpMatchRule
The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3;- Specified by:
getHttpMatchRulein interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder
-
setHttpMatchRule
public Compute.AllocatedContainer.ExportedContainerPort.Builder setHttpMatchRule(int index, Compute.HttpMatchRule value) The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
setHttpMatchRule
public Compute.AllocatedContainer.ExportedContainerPort.Builder setHttpMatchRule(int index, Compute.HttpMatchRule.Builder builderForValue) The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
addHttpMatchRule
public Compute.AllocatedContainer.ExportedContainerPort.Builder addHttpMatchRule(Compute.HttpMatchRule value) The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
addHttpMatchRule
public Compute.AllocatedContainer.ExportedContainerPort.Builder addHttpMatchRule(int index, Compute.HttpMatchRule value) The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
addHttpMatchRule
public Compute.AllocatedContainer.ExportedContainerPort.Builder addHttpMatchRule(Compute.HttpMatchRule.Builder builderForValue) The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
addHttpMatchRule
public Compute.AllocatedContainer.ExportedContainerPort.Builder addHttpMatchRule(int index, Compute.HttpMatchRule.Builder builderForValue) The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
addAllHttpMatchRule
public Compute.AllocatedContainer.ExportedContainerPort.Builder addAllHttpMatchRule(Iterable<? extends Compute.HttpMatchRule> values) The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
clearHttpMatchRule
The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
removeHttpMatchRule
The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
getHttpMatchRuleBuilder
The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
getHttpMatchRuleOrBuilder
The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3;- Specified by:
getHttpMatchRuleOrBuilderin interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder
-
getHttpMatchRuleOrBuilderList
The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3;- Specified by:
getHttpMatchRuleOrBuilderListin interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder
-
addHttpMatchRuleBuilder
The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
addHttpMatchRuleBuilder
The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
getHttpMatchRuleBuilderList
The original specified http rules.
repeated .namespace.cloud.compute.v1beta.HttpMatchRule http_match_rule = 3; -
getExportedPort
public int getExportedPort()If required, the port exposed within the instance that translates to the container port above. This port is available in host networking only.
int32 exported_port = 4;- Specified by:
getExportedPortin interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder- Returns:
- The exportedPort.
-
setExportedPort
If required, the port exposed within the instance that translates to the container port above. This port is available in host networking only.
int32 exported_port = 4;- Parameters:
value- The exportedPort to set.- Returns:
- This builder for chaining.
-
clearExportedPort
If required, the port exposed within the instance that translates to the container port above. This port is available in host networking only.
int32 exported_port = 4;- Returns:
- This builder for chaining.
-
getFqdn
The fully qualified domain that is configured in the public ingress to map back to this exposed port. Check `endpoint` for the hostname and port required to connect to the port.
string fqdn = 5;- Specified by:
getFqdnin interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder- Returns:
- The fqdn.
-
getFqdnBytes
public com.google.protobuf.ByteString getFqdnBytes()The fully qualified domain that is configured in the public ingress to map back to this exposed port. Check `endpoint` for the hostname and port required to connect to the port.
string fqdn = 5;- Specified by:
getFqdnBytesin interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder- Returns:
- The bytes for fqdn.
-
setFqdn
The fully qualified domain that is configured in the public ingress to map back to this exposed port. Check `endpoint` for the hostname and port required to connect to the port.
string fqdn = 5;- Parameters:
value- The fqdn to set.- Returns:
- This builder for chaining.
-
clearFqdn
The fully qualified domain that is configured in the public ingress to map back to this exposed port. Check `endpoint` for the hostname and port required to connect to the port.
string fqdn = 5;- Returns:
- This builder for chaining.
-
setFqdnBytes
public Compute.AllocatedContainer.ExportedContainerPort.Builder setFqdnBytes(com.google.protobuf.ByteString value) The fully qualified domain that is configured in the public ingress to map back to this exposed port. Check `endpoint` for the hostname and port required to connect to the port.
string fqdn = 5;- Parameters:
value- The bytes for fqdn to set.- Returns:
- This builder for chaining.
-
getEndpoint
The endpoint to use to connect to the exported port. May include a port number as well, e.g. "foo-xyz.ord.namespaced.app:444".
string endpoint = 6;- Specified by:
getEndpointin interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()The endpoint to use to connect to the exported port. May include a port number as well, e.g. "foo-xyz.ord.namespaced.app:444".
string endpoint = 6;- Specified by:
getEndpointBytesin interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder- Returns:
- The bytes for endpoint.
-
setEndpoint
The endpoint to use to connect to the exported port. May include a port number as well, e.g. "foo-xyz.ord.namespaced.app:444".
string endpoint = 6;- Parameters:
value- The endpoint to set.- Returns:
- This builder for chaining.
-
clearEndpoint
The endpoint to use to connect to the exported port. May include a port number as well, e.g. "foo-xyz.ord.namespaced.app:444".
string endpoint = 6;- Returns:
- This builder for chaining.
-
setEndpointBytes
public Compute.AllocatedContainer.ExportedContainerPort.Builder setEndpointBytes(com.google.protobuf.ByteString value) The endpoint to use to connect to the exported port. May include a port number as well, e.g. "foo-xyz.ord.namespaced.app:444".
string endpoint = 6;- Parameters:
value- The bytes for endpoint to set.- Returns:
- This builder for chaining.
-
getClientAuthenticationValue
public int getClientAuthenticationValue()The effective client authentication mode.
.namespace.cloud.compute.v1beta.IngressClientAuthentication client_authentication = 7;- Specified by:
getClientAuthenticationValuein interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder- Returns:
- The enum numeric value on the wire for clientAuthentication.
-
setClientAuthenticationValue
public Compute.AllocatedContainer.ExportedContainerPort.Builder setClientAuthenticationValue(int value) The effective client authentication mode.
.namespace.cloud.compute.v1beta.IngressClientAuthentication client_authentication = 7;- Parameters:
value- The enum numeric value on the wire for clientAuthentication to set.- Returns:
- This builder for chaining.
-
getClientAuthentication
The effective client authentication mode.
.namespace.cloud.compute.v1beta.IngressClientAuthentication client_authentication = 7;- Specified by:
getClientAuthenticationin interfaceCompute.AllocatedContainer.ExportedContainerPortOrBuilder- Returns:
- The clientAuthentication.
-
setClientAuthentication
public Compute.AllocatedContainer.ExportedContainerPort.Builder setClientAuthentication(Compute.IngressClientAuthentication value) The effective client authentication mode.
.namespace.cloud.compute.v1beta.IngressClientAuthentication client_authentication = 7;- Parameters:
value- The clientAuthentication to set.- Returns:
- This builder for chaining.
-
clearClientAuthentication
The effective client authentication mode.
.namespace.cloud.compute.v1beta.IngressClientAuthentication client_authentication = 7;- Returns:
- This builder for chaining.
-