Package com.google.cloud.eventarc.v1
Class ListChannelsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
-
- com.google.cloud.eventarc.v1.ListChannelsResponse.Builder
-
- All Implemented Interfaces:
ListChannelsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListChannelsResponse
public static final class ListChannelsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder> implements ListChannelsResponseOrBuilder
The response message for the `ListChannels` method.
Protobuf typegoogle.cloud.eventarc.v1.ListChannelsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListChannelsResponse.BuilderaddAllChannels(Iterable<? extends Channel> values)The requested channels, up to the number specified in `page_size`.ListChannelsResponse.BuilderaddAllUnreachable(Iterable<String> values)Unreachable resources, if any.ListChannelsResponse.BuilderaddChannels(int index, Channel value)The requested channels, up to the number specified in `page_size`.ListChannelsResponse.BuilderaddChannels(int index, Channel.Builder builderForValue)The requested channels, up to the number specified in `page_size`.ListChannelsResponse.BuilderaddChannels(Channel value)The requested channels, up to the number specified in `page_size`.ListChannelsResponse.BuilderaddChannels(Channel.Builder builderForValue)The requested channels, up to the number specified in `page_size`.Channel.BuilderaddChannelsBuilder()The requested channels, up to the number specified in `page_size`.Channel.BuilderaddChannelsBuilder(int index)The requested channels, up to the number specified in `page_size`.ListChannelsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListChannelsResponse.BuilderaddUnreachable(String value)Unreachable resources, if any.ListChannelsResponse.BuilderaddUnreachableBytes(com.google.protobuf.ByteString value)Unreachable resources, if any.ListChannelsResponsebuild()ListChannelsResponsebuildPartial()ListChannelsResponse.Builderclear()ListChannelsResponse.BuilderclearChannels()The requested channels, up to the number specified in `page_size`.ListChannelsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListChannelsResponse.BuilderclearNextPageToken()A page token that can be sent to `ListChannels` to request the next page.ListChannelsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListChannelsResponse.BuilderclearUnreachable()Unreachable resources, if any.ListChannelsResponse.Builderclone()ChannelgetChannels(int index)The requested channels, up to the number specified in `page_size`.Channel.BuildergetChannelsBuilder(int index)The requested channels, up to the number specified in `page_size`.List<Channel.Builder>getChannelsBuilderList()The requested channels, up to the number specified in `page_size`.intgetChannelsCount()The requested channels, up to the number specified in `page_size`.List<Channel>getChannelsList()The requested channels, up to the number specified in `page_size`.ChannelOrBuildergetChannelsOrBuilder(int index)The requested channels, up to the number specified in `page_size`.List<? extends ChannelOrBuilder>getChannelsOrBuilderList()The requested channels, up to the number specified in `page_size`.ListChannelsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()A page token that can be sent to `ListChannels` to request the next page.com.google.protobuf.ByteStringgetNextPageTokenBytes()A page token that can be sent to `ListChannels` to request the next page.StringgetUnreachable(int index)Unreachable resources, if any.com.google.protobuf.ByteStringgetUnreachableBytes(int index)Unreachable resources, if any.intgetUnreachableCount()Unreachable resources, if any.com.google.protobuf.ProtocolStringListgetUnreachableList()Unreachable resources, if any.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListChannelsResponse.BuildermergeFrom(ListChannelsResponse other)ListChannelsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListChannelsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListChannelsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListChannelsResponse.BuilderremoveChannels(int index)The requested channels, up to the number specified in `page_size`.ListChannelsResponse.BuildersetChannels(int index, Channel value)The requested channels, up to the number specified in `page_size`.ListChannelsResponse.BuildersetChannels(int index, Channel.Builder builderForValue)The requested channels, up to the number specified in `page_size`.ListChannelsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListChannelsResponse.BuildersetNextPageToken(String value)A page token that can be sent to `ListChannels` to request the next page.ListChannelsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)A page token that can be sent to `ListChannels` to request the next page.ListChannelsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListChannelsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListChannelsResponse.BuildersetUnreachable(int index, String value)Unreachable resources, if any.-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
-
clear
public ListChannelsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.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.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
-
getDefaultInstanceForType
public ListChannelsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListChannelsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListChannelsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListChannelsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
-
setField
public ListChannelsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
-
clearField
public ListChannelsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
-
clearOneof
public ListChannelsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
-
setRepeatedField
public ListChannelsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
-
addRepeatedField
public ListChannelsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
-
mergeFrom
public ListChannelsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListChannelsResponse.Builder>
-
mergeFrom
public ListChannelsResponse.Builder mergeFrom(ListChannelsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
-
mergeFrom
public ListChannelsResponse.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<ListChannelsResponse.Builder>- Throws:
IOException
-
getChannelsList
public List<Channel> getChannelsList()
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;- Specified by:
getChannelsListin interfaceListChannelsResponseOrBuilder
-
getChannelsCount
public int getChannelsCount()
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;- Specified by:
getChannelsCountin interfaceListChannelsResponseOrBuilder
-
getChannels
public Channel getChannels(int index)
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;- Specified by:
getChannelsin interfaceListChannelsResponseOrBuilder
-
setChannels
public ListChannelsResponse.Builder setChannels(int index, Channel value)
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
setChannels
public ListChannelsResponse.Builder setChannels(int index, Channel.Builder builderForValue)
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
addChannels
public ListChannelsResponse.Builder addChannels(Channel value)
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
addChannels
public ListChannelsResponse.Builder addChannels(int index, Channel value)
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
addChannels
public ListChannelsResponse.Builder addChannels(Channel.Builder builderForValue)
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
addChannels
public ListChannelsResponse.Builder addChannels(int index, Channel.Builder builderForValue)
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
addAllChannels
public ListChannelsResponse.Builder addAllChannels(Iterable<? extends Channel> values)
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
clearChannels
public ListChannelsResponse.Builder clearChannels()
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
removeChannels
public ListChannelsResponse.Builder removeChannels(int index)
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
getChannelsBuilder
public Channel.Builder getChannelsBuilder(int index)
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
getChannelsOrBuilder
public ChannelOrBuilder getChannelsOrBuilder(int index)
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;- Specified by:
getChannelsOrBuilderin interfaceListChannelsResponseOrBuilder
-
getChannelsOrBuilderList
public List<? extends ChannelOrBuilder> getChannelsOrBuilderList()
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;- Specified by:
getChannelsOrBuilderListin interfaceListChannelsResponseOrBuilder
-
addChannelsBuilder
public Channel.Builder addChannelsBuilder()
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
addChannelsBuilder
public Channel.Builder addChannelsBuilder(int index)
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
getChannelsBuilderList
public List<Channel.Builder> getChannelsBuilderList()
The requested channels, up to the number specified in `page_size`.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
-
getNextPageToken
public String getNextPageToken()
A page token that can be sent to `ListChannels` to request the next page. If this is empty, then there are no more pages.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListChannelsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
A page token that can be sent to `ListChannels` to request the next page. If this is empty, then there are no more pages.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListChannelsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListChannelsResponse.Builder setNextPageToken(String value)
A page token that can be sent to `ListChannels` 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
public ListChannelsResponse.Builder clearNextPageToken()
A page token that can be sent to `ListChannels` 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 ListChannelsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A page token that can be sent to `ListChannels` 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 interfaceListChannelsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Unreachable resources, if any.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListChannelsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Unreachable resources, if any.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListChannelsResponseOrBuilder- 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 interfaceListChannelsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListChannelsResponse.Builder setUnreachable(int index, String value)
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
public ListChannelsResponse.Builder addUnreachable(String value)
Unreachable resources, if any.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListChannelsResponse.Builder addAllUnreachable(Iterable<String> values)
Unreachable resources, if any.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListChannelsResponse.Builder clearUnreachable()
Unreachable resources, if any.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListChannelsResponse.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.
-
setUnknownFields
public final ListChannelsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
-
mergeUnknownFields
public final ListChannelsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
-
-