Class ListVpnConnectionsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder> implements ListVpnConnectionsResponseOrBuilder
List of VPN connections in a location.
Protobuf typegoogle.cloud.edgecontainer.v1.ListVpnConnectionsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListVpnConnectionsResponse.Builder
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.ListVpnConnectionsResponse.Builder
addAllVpnConnections(Iterable<? extends VpnConnection> values)
VpnConnections in the location.ListVpnConnectionsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListVpnConnectionsResponse.Builder
addUnreachable(String value)
Locations that could not be reached.ListVpnConnectionsResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.ListVpnConnectionsResponse.Builder
addVpnConnections(int index, VpnConnection value)
VpnConnections in the location.ListVpnConnectionsResponse.Builder
addVpnConnections(int index, VpnConnection.Builder builderForValue)
VpnConnections in the location.ListVpnConnectionsResponse.Builder
addVpnConnections(VpnConnection value)
VpnConnections in the location.ListVpnConnectionsResponse.Builder
addVpnConnections(VpnConnection.Builder builderForValue)
VpnConnections in the location.VpnConnection.Builder
addVpnConnectionsBuilder()
VpnConnections in the location.VpnConnection.Builder
addVpnConnectionsBuilder(int index)
VpnConnections in the location.ListVpnConnectionsResponse
build()
ListVpnConnectionsResponse
buildPartial()
ListVpnConnectionsResponse.Builder
clear()
ListVpnConnectionsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListVpnConnectionsResponse.Builder
clearNextPageToken()
A token to retrieve next page of results.ListVpnConnectionsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListVpnConnectionsResponse.Builder
clearUnreachable()
Locations that could not be reached.ListVpnConnectionsResponse.Builder
clearVpnConnections()
VpnConnections in the location.ListVpnConnectionsResponse.Builder
clone()
ListVpnConnectionsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
A token to retrieve next page of results.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token to retrieve next page of results.String
getUnreachable(int index)
Locations that could not be reached.com.google.protobuf.ByteString
getUnreachableBytes(int index)
Locations that could not be reached.int
getUnreachableCount()
Locations that could not be reached.com.google.protobuf.ProtocolStringList
getUnreachableList()
Locations that could not be reached.VpnConnection
getVpnConnections(int index)
VpnConnections in the location.VpnConnection.Builder
getVpnConnectionsBuilder(int index)
VpnConnections in the location.List<VpnConnection.Builder>
getVpnConnectionsBuilderList()
VpnConnections in the location.int
getVpnConnectionsCount()
VpnConnections in the location.List<VpnConnection>
getVpnConnectionsList()
VpnConnections in the location.VpnConnectionOrBuilder
getVpnConnectionsOrBuilder(int index)
VpnConnections in the location.List<? extends VpnConnectionOrBuilder>
getVpnConnectionsOrBuilderList()
VpnConnections in the location.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListVpnConnectionsResponse.Builder
mergeFrom(ListVpnConnectionsResponse other)
ListVpnConnectionsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListVpnConnectionsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListVpnConnectionsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListVpnConnectionsResponse.Builder
removeVpnConnections(int index)
VpnConnections in the location.ListVpnConnectionsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListVpnConnectionsResponse.Builder
setNextPageToken(String value)
A token to retrieve next page of results.ListVpnConnectionsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token to retrieve next page of results.ListVpnConnectionsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListVpnConnectionsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListVpnConnectionsResponse.Builder
setUnreachable(int index, String value)
Locations that could not be reached.ListVpnConnectionsResponse.Builder
setVpnConnections(int index, VpnConnection value)
VpnConnections in the location.ListVpnConnectionsResponse.Builder
setVpnConnections(int index, VpnConnection.Builder builderForValue)
VpnConnections in the location.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder>
-
clear
public ListVpnConnectionsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder>
-
getDefaultInstanceForType
public ListVpnConnectionsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListVpnConnectionsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListVpnConnectionsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListVpnConnectionsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder>
-
setField
public ListVpnConnectionsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder>
-
clearField
public ListVpnConnectionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder>
-
clearOneof
public ListVpnConnectionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder>
-
setRepeatedField
public ListVpnConnectionsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder>
-
addRepeatedField
public ListVpnConnectionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder>
-
mergeFrom
public ListVpnConnectionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListVpnConnectionsResponse.Builder>
-
mergeFrom
public ListVpnConnectionsResponse.Builder mergeFrom(ListVpnConnectionsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder>
-
mergeFrom
public ListVpnConnectionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListVpnConnectionsResponse.Builder>
- Throws:
IOException
-
getVpnConnectionsList
public List<VpnConnection> getVpnConnectionsList()
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
- Specified by:
getVpnConnectionsList
in interfaceListVpnConnectionsResponseOrBuilder
-
getVpnConnectionsCount
public int getVpnConnectionsCount()
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
- Specified by:
getVpnConnectionsCount
in interfaceListVpnConnectionsResponseOrBuilder
-
getVpnConnections
public VpnConnection getVpnConnections(int index)
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
- Specified by:
getVpnConnections
in interfaceListVpnConnectionsResponseOrBuilder
-
setVpnConnections
public ListVpnConnectionsResponse.Builder setVpnConnections(int index, VpnConnection value)
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
public ListVpnConnectionsResponse.Builder addVpnConnections(VpnConnection value)
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
-
addVpnConnections
public ListVpnConnectionsResponse.Builder addVpnConnections(int index, VpnConnection value)
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
-
addVpnConnections
public ListVpnConnectionsResponse.Builder addVpnConnections(VpnConnection.Builder builderForValue)
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
public ListVpnConnectionsResponse.Builder clearVpnConnections()
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
-
removeVpnConnections
public ListVpnConnectionsResponse.Builder removeVpnConnections(int index)
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
-
getVpnConnectionsBuilder
public VpnConnection.Builder getVpnConnectionsBuilder(int index)
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
-
getVpnConnectionsOrBuilder
public VpnConnectionOrBuilder getVpnConnectionsOrBuilder(int index)
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
- Specified by:
getVpnConnectionsOrBuilder
in interfaceListVpnConnectionsResponseOrBuilder
-
getVpnConnectionsOrBuilderList
public List<? extends VpnConnectionOrBuilder> getVpnConnectionsOrBuilderList()
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
- Specified by:
getVpnConnectionsOrBuilderList
in interfaceListVpnConnectionsResponseOrBuilder
-
addVpnConnectionsBuilder
public VpnConnection.Builder addVpnConnectionsBuilder()
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
-
addVpnConnectionsBuilder
public VpnConnection.Builder addVpnConnectionsBuilder(int index)
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
-
getVpnConnectionsBuilderList
public List<VpnConnection.Builder> getVpnConnectionsBuilderList()
VpnConnections in the location.
repeated .google.cloud.edgecontainer.v1.VpnConnection vpn_connections = 1;
-
getNextPageToken
public String getNextPageToken()
A token to retrieve next page of results.
string next_page_token = 2;
- Specified by:
getNextPageToken
in 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:
getNextPageTokenBytes
in interfaceListVpnConnectionsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListVpnConnectionsResponse.Builder setNextPageToken(String value)
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
public ListVpnConnectionsResponse.Builder 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:
getUnreachableList
in interfaceListVpnConnectionsResponseOrBuilder
- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableCount
in interfaceListVpnConnectionsResponseOrBuilder
- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachable
in 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:
getUnreachableBytes
in interfaceListVpnConnectionsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListVpnConnectionsResponse.Builder setUnreachable(int index, String value)
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
public ListVpnConnectionsResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
value
- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListVpnConnectionsResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
values
- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListVpnConnectionsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListVpnConnectionsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
value
- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListVpnConnectionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder>
-
mergeUnknownFields
public final ListVpnConnectionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListVpnConnectionsResponse.Builder>
-
-