Package com.google.cloud.vmwareengine.v1
Class ListPrivateConnectionsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListPrivateConnectionsResponse.Builder>
com.google.cloud.vmwareengine.v1.ListPrivateConnectionsResponse.Builder
- All Implemented Interfaces:
ListPrivateConnectionsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListPrivateConnectionsResponse
public static final class ListPrivateConnectionsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListPrivateConnectionsResponse.Builder>
implements ListPrivateConnectionsResponseOrBuilder
Response message for [VmwareEngine.ListPrivateConnections][google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnections]Protobuf type
google.cloud.vmwareengine.v1.ListPrivateConnectionsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllPrivateConnections(Iterable<? extends PrivateConnection> values) A list of private connections.addAllUnreachable(Iterable<String> values) Unreachable resources.addPrivateConnections(int index, PrivateConnection value) A list of private connections.addPrivateConnections(int index, PrivateConnection.Builder builderForValue) A list of private connections.A list of private connections.addPrivateConnections(PrivateConnection.Builder builderForValue) A list of private connections.A list of private connections.addPrivateConnectionsBuilder(int index) A list of private connections.addUnreachable(String value) Unreachable resources.addUnreachableBytes(com.google.protobuf.ByteString value) Unreachable resources.build()clear()A token, which can be sent as `page_token` to retrieve the next page.A list of private connections.Unreachable resources.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteStringA token, which can be sent as `page_token` to retrieve the next page.getPrivateConnections(int index) A list of private connections.getPrivateConnectionsBuilder(int index) A list of private connections.A list of private connections.intA list of private connections.A list of private connections.getPrivateConnectionsOrBuilder(int index) A list of private connections.List<? extends PrivateConnectionOrBuilder>A list of private connections.getUnreachable(int index) Unreachable resources.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Unreachable resources.intUnreachable resources.com.google.protobuf.ProtocolStringListUnreachable resources.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removePrivateConnections(int index) A list of private connections.setNextPageToken(String value) A token, which can be sent as `page_token` to retrieve the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token, which can be sent as `page_token` to retrieve the next page.setPrivateConnections(int index, PrivateConnection value) A list of private connections.setPrivateConnections(int index, PrivateConnection.Builder builderForValue) A list of private connections.setUnreachable(int index, String value) Unreachable resources.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<ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListPrivateConnectionsResponse.Builder>
-
mergeFrom
public ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.Builder>- Throws:
IOException
-
getPrivateConnectionsList
A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;- Specified by:
getPrivateConnectionsListin interfaceListPrivateConnectionsResponseOrBuilder
-
getPrivateConnectionsCount
public int getPrivateConnectionsCount()A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;- Specified by:
getPrivateConnectionsCountin interfaceListPrivateConnectionsResponseOrBuilder
-
getPrivateConnections
A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;- Specified by:
getPrivateConnectionsin interfaceListPrivateConnectionsResponseOrBuilder
-
setPrivateConnections
public ListPrivateConnectionsResponse.Builder setPrivateConnections(int index, PrivateConnection value) A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
setPrivateConnections
public ListPrivateConnectionsResponse.Builder setPrivateConnections(int index, PrivateConnection.Builder builderForValue) A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
addPrivateConnections
A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
addPrivateConnections
public ListPrivateConnectionsResponse.Builder addPrivateConnections(int index, PrivateConnection value) A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
addPrivateConnections
public ListPrivateConnectionsResponse.Builder addPrivateConnections(PrivateConnection.Builder builderForValue) A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
addPrivateConnections
public ListPrivateConnectionsResponse.Builder addPrivateConnections(int index, PrivateConnection.Builder builderForValue) A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
addAllPrivateConnections
public ListPrivateConnectionsResponse.Builder addAllPrivateConnections(Iterable<? extends PrivateConnection> values) A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
clearPrivateConnections
A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
removePrivateConnections
A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
getPrivateConnectionsBuilder
A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
getPrivateConnectionsOrBuilder
A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;- Specified by:
getPrivateConnectionsOrBuilderin interfaceListPrivateConnectionsResponseOrBuilder
-
getPrivateConnectionsOrBuilderList
A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1;- Specified by:
getPrivateConnectionsOrBuilderListin interfaceListPrivateConnectionsResponseOrBuilder
-
addPrivateConnectionsBuilder
A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
addPrivateConnectionsBuilder
A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
getPrivateConnectionsBuilderList
A list of private connections.
repeated .google.cloud.vmwareengine.v1.PrivateConnection private_connections = 1; -
getNextPageToken
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListPrivateConnectionsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListPrivateConnectionsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListPrivateConnectionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
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()Unreachable resources.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListPrivateConnectionsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Unreachable resources.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListPrivateConnectionsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Unreachable resources.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListPrivateConnectionsResponseOrBuilder- 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) Unreachable resources.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListPrivateConnectionsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Unreachable resources.
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
Unreachable resources.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Unreachable resources.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Unreachable resources.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListPrivateConnectionsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value) Unreachable resources.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-