Class ListVpnConnectionsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListVpnConnectionsResponse.Builder>
com.google.cloud.edgecontainer.v1.ListVpnConnectionsResponse.Builder
- All Implemented Interfaces:
ListVpnConnectionsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListVpnConnectionsResponse
public static final class ListVpnConnectionsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListVpnConnectionsResponse.Builder>
implements ListVpnConnectionsResponseOrBuilder
List of VPN connections in a location.Protobuf type
google.cloud.edgecontainer.v1.ListVpnConnectionsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllUnreachable(Iterable<String> values) Locations that could not be reached.addAllVpnConnections(Iterable<? extends VpnConnection> values) VpnConnections in the location.addUnreachable(String value) Locations that could not be reached.addUnreachableBytes(com.google.protobuf.ByteString value) Locations that could not be reached.addVpnConnections(int index, VpnConnection value) VpnConnections in the location.addVpnConnections(int index, VpnConnection.Builder builderForValue) VpnConnections in the location.addVpnConnections(VpnConnection value) VpnConnections in the location.addVpnConnections(VpnConnection.Builder builderForValue) VpnConnections in the location.VpnConnections in the location.addVpnConnectionsBuilder(int index) VpnConnections in the location.build()clear()A token to retrieve next page of results.Locations that could not be reached.VpnConnections in the location.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token to retrieve next page of results.com.google.protobuf.ByteStringA token to retrieve next page of results.getUnreachable(int index) Locations that could not be reached.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Locations that could not be reached.intLocations that could not be reached.com.google.protobuf.ProtocolStringListLocations that could not be reached.getVpnConnections(int index) VpnConnections in the location.getVpnConnectionsBuilder(int index) VpnConnections in the location.VpnConnections in the location.intVpnConnections in the location.VpnConnections in the location.getVpnConnectionsOrBuilder(int index) VpnConnections in the location.List<? extends VpnConnectionOrBuilder>VpnConnections in the location.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeVpnConnections(int index) VpnConnections in the location.setNextPageToken(String value) A token to retrieve next page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token to retrieve next page of results.setUnreachable(int index, String value) Locations that could not be reached.setVpnConnections(int index, VpnConnection value) VpnConnections in the location.setVpnConnections(int index, VpnConnection.Builder builderForValue) VpnConnections in the location.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<ListVpnConnectionsResponse.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<ListVpnConnectionsResponse.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<ListVpnConnectionsResponse.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<ListVpnConnectionsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListVpnConnectionsResponse.Builder>
-
mergeFrom
public ListVpnConnectionsResponse.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<ListVpnConnectionsResponse.Builder>- Throws:
IOException
-
getVpnConnectionsList
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;- Specified by:
getVpnConnectionsListin interfaceListVpnConnectionsResponseOrBuilder
-
getVpnConnectionsCount
public int getVpnConnectionsCount()VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;- Specified by:
getVpnConnectionsCountin interfaceListVpnConnectionsResponseOrBuilder
-
getVpnConnections
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;- Specified by:
getVpnConnectionsin interfaceListVpnConnectionsResponseOrBuilder
-
setVpnConnections
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
setVpnConnections
public ListVpnConnectionsResponse.Builder setVpnConnections(int index, VpnConnection.Builder builderForValue) VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
addVpnConnections
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
addVpnConnections
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
addVpnConnections
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
addVpnConnections
public ListVpnConnectionsResponse.Builder addVpnConnections(int index, VpnConnection.Builder builderForValue) VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
addAllVpnConnections
public ListVpnConnectionsResponse.Builder addAllVpnConnections(Iterable<? extends VpnConnection> values) VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
clearVpnConnections
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
removeVpnConnections
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
getVpnConnectionsBuilder
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
getVpnConnectionsOrBuilder
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;- Specified by:
getVpnConnectionsOrBuilderin interfaceListVpnConnectionsResponseOrBuilder
-
getVpnConnectionsOrBuilderList
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;- Specified by:
getVpnConnectionsOrBuilderListin interfaceListVpnConnectionsResponseOrBuilder
-
addVpnConnectionsBuilder
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
addVpnConnectionsBuilder
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
getVpnConnectionsBuilderList
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1; -
getNextPageToken
A token to retrieve next page of results.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListVpnConnectionsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A token to retrieve next page of results.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListVpnConnectionsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A token to retrieve next page of results.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A token to retrieve next page of results.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListVpnConnectionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) A token to retrieve next page of results.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListVpnConnectionsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListVpnConnectionsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListVpnConnectionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index) Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListVpnConnectionsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-