Class VpnConnection.Details.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VpnConnection.Details.Builder>
com.google.cloud.edgecontainer.v1.VpnConnection.Details.Builder
- All Implemented Interfaces:
VpnConnection.DetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VpnConnection.Details
public static final class VpnConnection.Details.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VpnConnection.Details.Builder>
implements VpnConnection.DetailsOrBuilder
The created connection details.Protobuf type
google.cloud.edgecontainer.v1.VpnConnection.Details-
Method Summary
Modifier and TypeMethodDescriptionaddAllCloudVpns(Iterable<? extends VpnConnection.Details.CloudVpn> values) Each connection has multiple Cloud VPN gateways.addCloudVpns(int index, VpnConnection.Details.CloudVpn value) Each connection has multiple Cloud VPN gateways.addCloudVpns(int index, VpnConnection.Details.CloudVpn.Builder builderForValue) Each connection has multiple Cloud VPN gateways.Each connection has multiple Cloud VPN gateways.addCloudVpns(VpnConnection.Details.CloudVpn.Builder builderForValue) Each connection has multiple Cloud VPN gateways.Each connection has multiple Cloud VPN gateways.addCloudVpnsBuilder(int index) Each connection has multiple Cloud VPN gateways.build()clear()The Cloud Router info.Each connection has multiple Cloud VPN gateways.The error message.The state of this connection.The Cloud Router info.The Cloud Router info.The Cloud Router info.getCloudVpns(int index) Each connection has multiple Cloud VPN gateways.getCloudVpnsBuilder(int index) Each connection has multiple Cloud VPN gateways.Each connection has multiple Cloud VPN gateways.intEach connection has multiple Cloud VPN gateways.Each connection has multiple Cloud VPN gateways.getCloudVpnsOrBuilder(int index) Each connection has multiple Cloud VPN gateways.List<? extends VpnConnection.Details.CloudVpnOrBuilder>Each connection has multiple Cloud VPN gateways.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetError()The error message.com.google.protobuf.ByteStringThe error message.getState()The state of this connection.intThe state of this connection.booleanThe Cloud Router info.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe Cloud Router info.mergeFrom(VpnConnection.Details other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeCloudVpns(int index) Each connection has multiple Cloud VPN gateways.The Cloud Router info.setCloudRouter(VpnConnection.Details.CloudRouter.Builder builderForValue) The Cloud Router info.setCloudVpns(int index, VpnConnection.Details.CloudVpn value) Each connection has multiple Cloud VPN gateways.setCloudVpns(int index, VpnConnection.Details.CloudVpn.Builder builderForValue) Each connection has multiple Cloud VPN gateways.The error message.setErrorBytes(com.google.protobuf.ByteString value) The error message.The state of this connection.setStateValue(int value) The state of this connection.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<VpnConnection.Details.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<VpnConnection.Details.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<VpnConnection.Details.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<VpnConnection.Details.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VpnConnection.Details.Builder>
-
mergeFrom
public VpnConnection.Details.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<VpnConnection.Details.Builder>- Throws:
IOException
-
getStateValue
public int getStateValue()The state of this connection.
.google.cloud.edgecontainer.v1.VpnConnection.Details.State state = 1;- Specified by:
getStateValuein interfaceVpnConnection.DetailsOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The state of this connection.
.google.cloud.edgecontainer.v1.VpnConnection.Details.State state = 1;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The state of this connection.
.google.cloud.edgecontainer.v1.VpnConnection.Details.State state = 1;- Specified by:
getStatein interfaceVpnConnection.DetailsOrBuilder- Returns:
- The state.
-
setState
The state of this connection.
.google.cloud.edgecontainer.v1.VpnConnection.Details.State state = 1;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The state of this connection.
.google.cloud.edgecontainer.v1.VpnConnection.Details.State state = 1;- Returns:
- This builder for chaining.
-
getError
The error message. This is only populated when state=ERROR.
string error = 2;- Specified by:
getErrorin interfaceVpnConnection.DetailsOrBuilder- Returns:
- The error.
-
getErrorBytes
public com.google.protobuf.ByteString getErrorBytes()The error message. This is only populated when state=ERROR.
string error = 2;- Specified by:
getErrorBytesin interfaceVpnConnection.DetailsOrBuilder- Returns:
- The bytes for error.
-
setError
The error message. This is only populated when state=ERROR.
string error = 2;- Parameters:
value- The error to set.- Returns:
- This builder for chaining.
-
clearError
The error message. This is only populated when state=ERROR.
string error = 2;- Returns:
- This builder for chaining.
-
setErrorBytes
The error message. This is only populated when state=ERROR.
string error = 2;- Parameters:
value- The bytes for error to set.- Returns:
- This builder for chaining.
-
hasCloudRouter
public boolean hasCloudRouter()The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3;- Specified by:
hasCloudRouterin interfaceVpnConnection.DetailsOrBuilder- Returns:
- Whether the cloudRouter field is set.
-
getCloudRouter
The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3;- Specified by:
getCloudRouterin interfaceVpnConnection.DetailsOrBuilder- Returns:
- The cloudRouter.
-
setCloudRouter
The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3; -
setCloudRouter
public VpnConnection.Details.Builder setCloudRouter(VpnConnection.Details.CloudRouter.Builder builderForValue) The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3; -
mergeCloudRouter
The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3; -
clearCloudRouter
The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3; -
getCloudRouterBuilder
The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3; -
getCloudRouterOrBuilder
The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3;- Specified by:
getCloudRouterOrBuilderin interfaceVpnConnection.DetailsOrBuilder
-
getCloudVpnsList
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;- Specified by:
getCloudVpnsListin interfaceVpnConnection.DetailsOrBuilder
-
getCloudVpnsCount
public int getCloudVpnsCount()Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;- Specified by:
getCloudVpnsCountin interfaceVpnConnection.DetailsOrBuilder
-
getCloudVpns
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;- Specified by:
getCloudVpnsin interfaceVpnConnection.DetailsOrBuilder
-
setCloudVpns
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4; -
setCloudVpns
public VpnConnection.Details.Builder setCloudVpns(int index, VpnConnection.Details.CloudVpn.Builder builderForValue) Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4; -
addCloudVpns
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4; -
addCloudVpns
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4; -
addCloudVpns
public VpnConnection.Details.Builder addCloudVpns(VpnConnection.Details.CloudVpn.Builder builderForValue) Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4; -
addCloudVpns
public VpnConnection.Details.Builder addCloudVpns(int index, VpnConnection.Details.CloudVpn.Builder builderForValue) Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4; -
addAllCloudVpns
public VpnConnection.Details.Builder addAllCloudVpns(Iterable<? extends VpnConnection.Details.CloudVpn> values) Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4; -
clearCloudVpns
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4; -
removeCloudVpns
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4; -
getCloudVpnsBuilder
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4; -
getCloudVpnsOrBuilder
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;- Specified by:
getCloudVpnsOrBuilderin interfaceVpnConnection.DetailsOrBuilder
-
getCloudVpnsOrBuilderList
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;- Specified by:
getCloudVpnsOrBuilderListin interfaceVpnConnection.DetailsOrBuilder
-
addCloudVpnsBuilder
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4; -
addCloudVpnsBuilder
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4; -
getCloudVpnsBuilderList
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;
-