public static final class ListChannelsResponse.Builder extends GeneratedMessageV3.Builder<ListChannelsResponse.Builder> implements ListChannelsResponseOrBuilder The response message for the ListChannels method.
Protobuf type google.cloud.eventarc.v1.ListChannelsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListChannelsResponse.BuilderImplements
ListChannelsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addAllChannels(Iterable<? extends Channel> values)
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;
| Name | Description |
values |
Iterable<? extends com.google.cloud.eventarc.v1.Channel> |
| Type | Description |
ListChannelsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListChannelsResponse.Builder addAllUnreachable(Iterable<String> values)Unreachable resources, if any.
repeated string unreachable = 3;
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Type | Description |
ListChannelsResponse.Builder |
This builder for chaining. |
addChannels(Channel value)
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;
| Name | Description |
value |
Channel |
| Type | Description |
ListChannelsResponse.Builder |
addChannels(Channel.Builder builderForValue)
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;
| Name | Description |
builderForValue |
Channel.Builder |
| Type | Description |
ListChannelsResponse.Builder |
addChannels(int index, Channel value)
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;
| Name | Description |
index |
int |
value |
Channel |
| Type | Description |
ListChannelsResponse.Builder |
addChannels(int index, Channel.Builder builderForValue)
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;
| Name | Description |
index |
int |
builderForValue |
Channel.Builder |
| Type | Description |
ListChannelsResponse.Builder |
addChannelsBuilder()
public Channel.Builder addChannelsBuilder() The requested channels, up to the number specified in page_size.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
| Type | Description |
Channel.Builder |
addChannelsBuilder(int index)
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;
| Name | Description |
index |
int |
| Type | Description |
Channel.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListChannelsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
ListChannelsResponse.Builder |
addUnreachable(String value)
public ListChannelsResponse.Builder addUnreachable(String value)Unreachable resources, if any.
repeated string unreachable = 3;
| Name | Description |
value |
StringThe unreachable to add. |
| Type | Description |
ListChannelsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListChannelsResponse.Builder addUnreachableBytes(ByteString value)Unreachable resources, if any.
repeated string unreachable = 3;
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Type | Description |
ListChannelsResponse.Builder |
This builder for chaining. |
build()
public ListChannelsResponse build()| Type | Description |
ListChannelsResponse |
buildPartial()
public ListChannelsResponse buildPartial()| Type | Description |
ListChannelsResponse |
clear()
public ListChannelsResponse.Builder clear()| Type | Description |
ListChannelsResponse.Builder |
clearChannels()
public ListChannelsResponse.Builder clearChannels() The requested channels, up to the number specified in page_size.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
| Type | Description |
ListChannelsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListChannelsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
ListChannelsResponse.Builder |
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;
| Type | Description |
ListChannelsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListChannelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
ListChannelsResponse.Builder |
clearUnreachable()
public ListChannelsResponse.Builder clearUnreachable()Unreachable resources, if any.
repeated string unreachable = 3;
| Type | Description |
ListChannelsResponse.Builder |
This builder for chaining. |
clone()
public ListChannelsResponse.Builder clone()| Type | Description |
ListChannelsResponse.Builder |
getChannels(int index)
public Channel getChannels(int index) The requested channels, up to the number specified in page_size.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
| Name | Description |
index |
int |
| Type | Description |
Channel |
getChannelsBuilder(int index)
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;
| Name | Description |
index |
int |
| Type | Description |
Channel.Builder |
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;
| Type | Description |
List<Builder> |
getChannelsCount()
public int getChannelsCount() The requested channels, up to the number specified in page_size.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
| Type | Description |
int |
getChannelsList()
public List<Channel> getChannelsList() The requested channels, up to the number specified in page_size.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
| Type | Description |
List<Channel> |
getChannelsOrBuilder(int index)
public ChannelOrBuilder getChannelsOrBuilder(int index) The requested channels, up to the number specified in page_size.
repeated .google.cloud.eventarc.v1.Channel channels = 1;
| Name | Description |
index |
int |
| Type | Description |
ChannelOrBuilder |
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;
| Type | Description |
List<? extends com.google.cloud.eventarc.v1.ChannelOrBuilder> |
getDefaultInstanceForType()
public ListChannelsResponse getDefaultInstanceForType()| Type | Description |
ListChannelsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
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;
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public 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;
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)Unreachable resources, if any.
repeated string unreachable = 3;
| Name | Description |
index |
intThe index of the element to return. |
| Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)Unreachable resources, if any.
repeated string unreachable = 3;
| Name | Description |
index |
intThe index of the value to return. |
| Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()Unreachable resources, if any.
repeated string unreachable = 3;
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Unreachable resources, if any.
repeated string unreachable = 3;
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(ListChannelsResponse other)
public ListChannelsResponse.Builder mergeFrom(ListChannelsResponse other)| Name | Description |
other |
ListChannelsResponse |
| Type | Description |
ListChannelsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListChannelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
ListChannelsResponse.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public ListChannelsResponse.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
ListChannelsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListChannelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
ListChannelsResponse.Builder |
removeChannels(int index)
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;
| Name | Description |
index |
int |
| Type | Description |
ListChannelsResponse.Builder |
setChannels(int index, Channel value)
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;
| Name | Description |
index |
int |
value |
Channel |
| Type | Description |
ListChannelsResponse.Builder |
setChannels(int index, Channel.Builder builderForValue)
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;
| Name | Description |
index |
int |
builderForValue |
Channel.Builder |
| Type | Description |
ListChannelsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListChannelsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
ListChannelsResponse.Builder |
setNextPageToken(String value)
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;
| Name | Description |
value |
StringThe nextPageToken to set. |
| Type | Description |
ListChannelsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListChannelsResponse.Builder setNextPageTokenBytes(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;
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Type | Description |
ListChannelsResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListChannelsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
ListChannelsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListChannelsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
ListChannelsResponse.Builder |
setUnreachable(int index, String value)
public ListChannelsResponse.Builder setUnreachable(int index, String value)Unreachable resources, if any.
repeated string unreachable = 3;
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Type | Description |
ListChannelsResponse.Builder |
This builder for chaining. |