Package com.google.cloud.eventarc.v1
Class ListChannelConnectionsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListChannelConnectionsResponse.Builder>
com.google.cloud.eventarc.v1.ListChannelConnectionsResponse.Builder
- All Implemented Interfaces:
ListChannelConnectionsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListChannelConnectionsResponse
public static final class ListChannelConnectionsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListChannelConnectionsResponse.Builder>
implements ListChannelConnectionsResponseOrBuilder
The response message for the `ListChannelConnections` method.Protobuf type
google.cloud.eventarc.v1.ListChannelConnectionsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllChannelConnections(Iterable<? extends ChannelConnection> values) The requested channel connections, up to the number specified in `page_size`.addAllUnreachable(Iterable<String> values) Unreachable resources, if any.addChannelConnections(int index, ChannelConnection value) The requested channel connections, up to the number specified in `page_size`.addChannelConnections(int index, ChannelConnection.Builder builderForValue) The requested channel connections, up to the number specified in `page_size`.The requested channel connections, up to the number specified in `page_size`.addChannelConnections(ChannelConnection.Builder builderForValue) The requested channel connections, up to the number specified in `page_size`.The requested channel connections, up to the number specified in `page_size`.addChannelConnectionsBuilder(int index) The requested channel connections, up to the number specified in `page_size`.addUnreachable(String value) Unreachable resources, if any.addUnreachableBytes(com.google.protobuf.ByteString value) Unreachable resources, if any.build()clear()The requested channel connections, up to the number specified in `page_size`.A page token that can be sent to `ListChannelConnections` to request the next page.Unreachable resources, if any.getChannelConnections(int index) The requested channel connections, up to the number specified in `page_size`.getChannelConnectionsBuilder(int index) The requested channel connections, up to the number specified in `page_size`.The requested channel connections, up to the number specified in `page_size`.intThe requested channel connections, up to the number specified in `page_size`.The requested channel connections, up to the number specified in `page_size`.getChannelConnectionsOrBuilder(int index) The requested channel connections, up to the number specified in `page_size`.List<? extends ChannelConnectionOrBuilder>The requested channel connections, up to the number specified in `page_size`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA page token that can be sent to `ListChannelConnections` to request the next page.com.google.protobuf.ByteStringA page token that can be sent to `ListChannelConnections` to request the next page.getUnreachable(int index) Unreachable resources, if any.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Unreachable resources, if any.intUnreachable resources, if any.com.google.protobuf.ProtocolStringListUnreachable resources, if any.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeChannelConnections(int index) The requested channel connections, up to the number specified in `page_size`.setChannelConnections(int index, ChannelConnection value) The requested channel connections, up to the number specified in `page_size`.setChannelConnections(int index, ChannelConnection.Builder builderForValue) The requested channel connections, up to the number specified in `page_size`.setNextPageToken(String value) A page token that can be sent to `ListChannelConnections` to request the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) A page token that can be sent to `ListChannelConnections` to request the next page.setUnreachable(int index, String value) Unreachable resources, if any.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<ListChannelConnectionsResponse.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<ListChannelConnectionsResponse.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<ListChannelConnectionsResponse.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<ListChannelConnectionsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListChannelConnectionsResponse.Builder>
-
mergeFrom
public ListChannelConnectionsResponse.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<ListChannelConnectionsResponse.Builder>- Throws:
IOException
-
getChannelConnectionsList
The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;- Specified by:
getChannelConnectionsListin interfaceListChannelConnectionsResponseOrBuilder
-
getChannelConnectionsCount
public int getChannelConnectionsCount()The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;- Specified by:
getChannelConnectionsCountin interfaceListChannelConnectionsResponseOrBuilder
-
getChannelConnections
The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;- Specified by:
getChannelConnectionsin interfaceListChannelConnectionsResponseOrBuilder
-
setChannelConnections
public ListChannelConnectionsResponse.Builder setChannelConnections(int index, ChannelConnection value) The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
setChannelConnections
public ListChannelConnectionsResponse.Builder setChannelConnections(int index, ChannelConnection.Builder builderForValue) The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
addChannelConnections
The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
addChannelConnections
public ListChannelConnectionsResponse.Builder addChannelConnections(int index, ChannelConnection value) The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
addChannelConnections
public ListChannelConnectionsResponse.Builder addChannelConnections(ChannelConnection.Builder builderForValue) The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
addChannelConnections
public ListChannelConnectionsResponse.Builder addChannelConnections(int index, ChannelConnection.Builder builderForValue) The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
addAllChannelConnections
public ListChannelConnectionsResponse.Builder addAllChannelConnections(Iterable<? extends ChannelConnection> values) The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
clearChannelConnections
The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
removeChannelConnections
The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
getChannelConnectionsBuilder
The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
getChannelConnectionsOrBuilder
The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;- Specified by:
getChannelConnectionsOrBuilderin interfaceListChannelConnectionsResponseOrBuilder
-
getChannelConnectionsOrBuilderList
The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;- Specified by:
getChannelConnectionsOrBuilderListin interfaceListChannelConnectionsResponseOrBuilder
-
addChannelConnectionsBuilder
The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
addChannelConnectionsBuilder
The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
getChannelConnectionsBuilderList
The requested channel connections, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1; -
getNextPageToken
A page token that can be sent to `ListChannelConnections` to request the next page. If this is empty, then there are no more pages.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListChannelConnectionsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A page token that can be sent to `ListChannelConnections` to request the next page. If this is empty, then there are no more pages.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListChannelConnectionsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A page token that can be sent to `ListChannelConnections` to request the next page. If this is empty, then there are no more pages.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A page token that can be sent to `ListChannelConnections` to request the next page. If this is empty, then there are no more pages.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListChannelConnectionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) A page token that can be sent to `ListChannelConnections` to request the next page. If this is empty, then there are no more 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, if any.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListChannelConnectionsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Unreachable resources, if any.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListChannelConnectionsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Unreachable resources, if any.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListChannelConnectionsResponseOrBuilder- 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, if any.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListChannelConnectionsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Unreachable resources, if any.
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, if any.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Unreachable resources, if any.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Unreachable resources, if any.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListChannelConnectionsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value) Unreachable resources, if any.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-