Package com.google.cloud.datastream.v1
Class ListPrivateConnectionsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsResponse.Builder>
-
- com.google.cloud.datastream.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.GeneratedMessageV3.Builder<ListPrivateConnectionsResponse.Builder> implements ListPrivateConnectionsResponseOrBuilder
Response containing a list of private connection configurations.
Protobuf typegoogle.cloud.datastream.v1.ListPrivateConnectionsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPrivateConnectionsResponse.Builder
addAllPrivateConnections(Iterable<? extends PrivateConnection> values)
List of private connectivity configurations.ListPrivateConnectionsResponse.Builder
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.ListPrivateConnectionsResponse.Builder
addPrivateConnections(int index, PrivateConnection value)
List of private connectivity configurations.ListPrivateConnectionsResponse.Builder
addPrivateConnections(int index, PrivateConnection.Builder builderForValue)
List of private connectivity configurations.ListPrivateConnectionsResponse.Builder
addPrivateConnections(PrivateConnection value)
List of private connectivity configurations.ListPrivateConnectionsResponse.Builder
addPrivateConnections(PrivateConnection.Builder builderForValue)
List of private connectivity configurations.PrivateConnection.Builder
addPrivateConnectionsBuilder()
List of private connectivity configurations.PrivateConnection.Builder
addPrivateConnectionsBuilder(int index)
List of private connectivity configurations.ListPrivateConnectionsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListPrivateConnectionsResponse.Builder
addUnreachable(String value)
Locations that could not be reached.ListPrivateConnectionsResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.ListPrivateConnectionsResponse
build()
ListPrivateConnectionsResponse
buildPartial()
ListPrivateConnectionsResponse.Builder
clear()
ListPrivateConnectionsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListPrivateConnectionsResponse.Builder
clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.ListPrivateConnectionsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListPrivateConnectionsResponse.Builder
clearPrivateConnections()
List of private connectivity configurations.ListPrivateConnectionsResponse.Builder
clearUnreachable()
Locations that could not be reached.ListPrivateConnectionsResponse.Builder
clone()
ListPrivateConnectionsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page.PrivateConnection
getPrivateConnections(int index)
List of private connectivity configurations.PrivateConnection.Builder
getPrivateConnectionsBuilder(int index)
List of private connectivity configurations.List<PrivateConnection.Builder>
getPrivateConnectionsBuilderList()
List of private connectivity configurations.int
getPrivateConnectionsCount()
List of private connectivity configurations.List<PrivateConnection>
getPrivateConnectionsList()
List of private connectivity configurations.PrivateConnectionOrBuilder
getPrivateConnectionsOrBuilder(int index)
List of private connectivity configurations.List<? extends PrivateConnectionOrBuilder>
getPrivateConnectionsOrBuilderList()
List of private connectivity configurations.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListPrivateConnectionsResponse.Builder
mergeFrom(ListPrivateConnectionsResponse other)
ListPrivateConnectionsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListPrivateConnectionsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListPrivateConnectionsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListPrivateConnectionsResponse.Builder
removePrivateConnections(int index)
List of private connectivity configurations.ListPrivateConnectionsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListPrivateConnectionsResponse.Builder
setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page.ListPrivateConnectionsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token` to retrieve the next page.ListPrivateConnectionsResponse.Builder
setPrivateConnections(int index, PrivateConnection value)
List of private connectivity configurations.ListPrivateConnectionsResponse.Builder
setPrivateConnections(int index, PrivateConnection.Builder builderForValue)
List of private connectivity configurations.ListPrivateConnectionsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListPrivateConnectionsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListPrivateConnectionsResponse.Builder
setUnreachable(int index, String value)
Locations that could not be reached.-
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<ListPrivateConnectionsResponse.Builder>
-
clear
public ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.Builder>
-
getDefaultInstanceForType
public ListPrivateConnectionsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListPrivateConnectionsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListPrivateConnectionsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.Builder>
-
setField
public ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.Builder>
-
clearField
public ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.Builder>
-
clearOneof
public ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.Builder>
-
setRepeatedField
public ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.Builder>
-
addRepeatedField
public ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.Builder>
-
mergeFrom
public ListPrivateConnectionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListPrivateConnectionsResponse.Builder>
-
mergeFrom
public ListPrivateConnectionsResponse.Builder mergeFrom(ListPrivateConnectionsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsResponse.Builder>
-
mergeFrom
public ListPrivateConnectionsResponse.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<ListPrivateConnectionsResponse.Builder>
- Throws:
IOException
-
getPrivateConnectionsList
public List<PrivateConnection> getPrivateConnectionsList()
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
- Specified by:
getPrivateConnectionsList
in interfaceListPrivateConnectionsResponseOrBuilder
-
getPrivateConnectionsCount
public int getPrivateConnectionsCount()
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
- Specified by:
getPrivateConnectionsCount
in interfaceListPrivateConnectionsResponseOrBuilder
-
getPrivateConnections
public PrivateConnection getPrivateConnections(int index)
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
- Specified by:
getPrivateConnections
in interfaceListPrivateConnectionsResponseOrBuilder
-
setPrivateConnections
public ListPrivateConnectionsResponse.Builder setPrivateConnections(int index, PrivateConnection value)
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
setPrivateConnections
public ListPrivateConnectionsResponse.Builder setPrivateConnections(int index, PrivateConnection.Builder builderForValue)
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
addPrivateConnections
public ListPrivateConnectionsResponse.Builder addPrivateConnections(PrivateConnection value)
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
addPrivateConnections
public ListPrivateConnectionsResponse.Builder addPrivateConnections(int index, PrivateConnection value)
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
addPrivateConnections
public ListPrivateConnectionsResponse.Builder addPrivateConnections(PrivateConnection.Builder builderForValue)
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
addPrivateConnections
public ListPrivateConnectionsResponse.Builder addPrivateConnections(int index, PrivateConnection.Builder builderForValue)
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
addAllPrivateConnections
public ListPrivateConnectionsResponse.Builder addAllPrivateConnections(Iterable<? extends PrivateConnection> values)
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
clearPrivateConnections
public ListPrivateConnectionsResponse.Builder clearPrivateConnections()
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
removePrivateConnections
public ListPrivateConnectionsResponse.Builder removePrivateConnections(int index)
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
getPrivateConnectionsBuilder
public PrivateConnection.Builder getPrivateConnectionsBuilder(int index)
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
getPrivateConnectionsOrBuilder
public PrivateConnectionOrBuilder getPrivateConnectionsOrBuilder(int index)
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
- Specified by:
getPrivateConnectionsOrBuilder
in interfaceListPrivateConnectionsResponseOrBuilder
-
getPrivateConnectionsOrBuilderList
public List<? extends PrivateConnectionOrBuilder> getPrivateConnectionsOrBuilderList()
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
- Specified by:
getPrivateConnectionsOrBuilderList
in interfaceListPrivateConnectionsResponseOrBuilder
-
addPrivateConnectionsBuilder
public PrivateConnection.Builder addPrivateConnectionsBuilder()
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
addPrivateConnectionsBuilder
public PrivateConnection.Builder addPrivateConnectionsBuilder(int index)
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
getPrivateConnectionsBuilderList
public List<PrivateConnection.Builder> getPrivateConnectionsBuilderList()
List of private connectivity configurations.
repeated .google.cloud.datastream.v1.PrivateConnection private_connections = 1;
-
getNextPageToken
public String 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:
getNextPageToken
in 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:
getNextPageTokenBytes
in interfaceListPrivateConnectionsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListPrivateConnectionsResponse.Builder setNextPageToken(String 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 nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListPrivateConnectionsResponse.Builder 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()
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableList
in interfaceListPrivateConnectionsResponseOrBuilder
- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableCount
in interfaceListPrivateConnectionsResponseOrBuilder
- 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 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)
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableBytes
in interfaceListPrivateConnectionsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListPrivateConnectionsResponse.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 ListPrivateConnectionsResponse.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 ListPrivateConnectionsResponse.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 ListPrivateConnectionsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListPrivateConnectionsResponse.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 ListPrivateConnectionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsResponse.Builder>
-
mergeUnknownFields
public final ListPrivateConnectionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateConnectionsResponse.Builder>
-
-