Class ListMessageBusesResponse.Builder (1.55.0)

public static final class ListMessageBusesResponse.Builder extends GeneratedMessageV3.Builder<ListMessageBusesResponse.Builder> implements ListMessageBusesResponseOrBuilder

The response message for the ListMessageBuses method.

Protobuf type google.cloud.eventarc.v1.ListMessageBusesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMessageBuses(Iterable<? extends MessageBus> values)

public ListMessageBusesResponse.Builder addAllMessageBuses(Iterable<? extends MessageBus> values)

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.eventarc.v1.MessageBus>
Returns
Type Description
ListMessageBusesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListMessageBusesResponse.Builder addAllUnreachable(Iterable<String> values)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListMessageBusesResponse.Builder

This builder for chaining.

addMessageBuses(MessageBus value)

public ListMessageBusesResponse.Builder addMessageBuses(MessageBus value)

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Parameter
Name Description
value MessageBus
Returns
Type Description
ListMessageBusesResponse.Builder

addMessageBuses(MessageBus.Builder builderForValue)

public ListMessageBusesResponse.Builder addMessageBuses(MessageBus.Builder builderForValue)

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Parameter
Name Description
builderForValue MessageBus.Builder
Returns
Type Description
ListMessageBusesResponse.Builder

addMessageBuses(int index, MessageBus value)

public ListMessageBusesResponse.Builder addMessageBuses(int index, MessageBus value)

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Parameters
Name Description
index int
value MessageBus
Returns
Type Description
ListMessageBusesResponse.Builder

addMessageBuses(int index, MessageBus.Builder builderForValue)

public ListMessageBusesResponse.Builder addMessageBuses(int index, MessageBus.Builder builderForValue)

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Parameters
Name Description
index int
builderForValue MessageBus.Builder
Returns
Type Description
ListMessageBusesResponse.Builder

addMessageBusesBuilder()

public MessageBus.Builder addMessageBusesBuilder()

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Returns
Type Description
MessageBus.Builder

addMessageBusesBuilder(int index)

public MessageBus.Builder addMessageBusesBuilder(int index)

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Parameter
Name Description
index int
Returns
Type Description
MessageBus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListMessageBusesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListMessageBusesResponse.Builder
Overrides

addUnreachable(String value)

public ListMessageBusesResponse.Builder addUnreachable(String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListMessageBusesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListMessageBusesResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListMessageBusesResponse.Builder

This builder for chaining.

build()

public ListMessageBusesResponse build()
Returns
Type Description
ListMessageBusesResponse

buildPartial()

public ListMessageBusesResponse buildPartial()
Returns
Type Description
ListMessageBusesResponse

clear()

public ListMessageBusesResponse.Builder clear()
Returns
Type Description
ListMessageBusesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListMessageBusesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListMessageBusesResponse.Builder
Overrides

clearMessageBuses()

public ListMessageBusesResponse.Builder clearMessageBuses()

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Returns
Type Description
ListMessageBusesResponse.Builder

clearNextPageToken()

public ListMessageBusesResponse.Builder clearNextPageToken()

A page token that can be sent to ListMessageBuses to request the next page. If this is empty, then there are no more pages.

string next_page_token = 2;

Returns
Type Description
ListMessageBusesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListMessageBusesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListMessageBusesResponse.Builder
Overrides

clearUnreachable()

public ListMessageBusesResponse.Builder clearUnreachable()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
Type Description
ListMessageBusesResponse.Builder

This builder for chaining.

clone()

public ListMessageBusesResponse.Builder clone()
Returns
Type Description
ListMessageBusesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListMessageBusesResponse getDefaultInstanceForType()
Returns
Type Description
ListMessageBusesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMessageBuses(int index)

public MessageBus getMessageBuses(int index)

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Parameter
Name Description
index int
Returns
Type Description
MessageBus

getMessageBusesBuilder(int index)

public MessageBus.Builder getMessageBusesBuilder(int index)

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Parameter
Name Description
index int
Returns
Type Description
MessageBus.Builder

getMessageBusesBuilderList()

public List<MessageBus.Builder> getMessageBusesBuilderList()

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Returns
Type Description
List<Builder>

getMessageBusesCount()

public int getMessageBusesCount()

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Returns
Type Description
int

getMessageBusesList()

public List<MessageBus> getMessageBusesList()

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Returns
Type Description
List<MessageBus>

getMessageBusesOrBuilder(int index)

public MessageBusOrBuilder getMessageBusesOrBuilder(int index)

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Parameter
Name Description
index int
Returns
Type Description
MessageBusOrBuilder

getMessageBusesOrBuilderList()

public List<? extends MessageBusOrBuilder> getMessageBusesOrBuilderList()

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Returns
Type Description
List<? extends com.google.cloud.eventarc.v1.MessageBusOrBuilder>

getNextPageToken()

public String getNextPageToken()

A page token that can be sent to ListMessageBuses to request the next page. If this is empty, then there are no more pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A page token that can be sent to ListMessageBuses to request the next page. If this is empty, then there are no more pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMessageBusesResponse other)

public ListMessageBusesResponse.Builder mergeFrom(ListMessageBusesResponse other)
Parameter
Name Description
other ListMessageBusesResponse
Returns
Type Description
ListMessageBusesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListMessageBusesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMessageBusesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListMessageBusesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListMessageBusesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListMessageBusesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListMessageBusesResponse.Builder
Overrides

removeMessageBuses(int index)

public ListMessageBusesResponse.Builder removeMessageBuses(int index)

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Parameter
Name Description
index int
Returns
Type Description
ListMessageBusesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListMessageBusesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListMessageBusesResponse.Builder
Overrides

setMessageBuses(int index, MessageBus value)

public ListMessageBusesResponse.Builder setMessageBuses(int index, MessageBus value)

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Parameters
Name Description
index int
value MessageBus
Returns
Type Description
ListMessageBusesResponse.Builder

setMessageBuses(int index, MessageBus.Builder builderForValue)

public ListMessageBusesResponse.Builder setMessageBuses(int index, MessageBus.Builder builderForValue)

The requested message buses, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.MessageBus message_buses = 1;

Parameters
Name Description
index int
builderForValue MessageBus.Builder
Returns
Type Description
ListMessageBusesResponse.Builder

setNextPageToken(String value)

public ListMessageBusesResponse.Builder setNextPageToken(String value)

A page token that can be sent to ListMessageBuses to request the next page. If this is empty, then there are no more pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListMessageBusesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListMessageBusesResponse.Builder setNextPageTokenBytes(ByteString value)

A page token that can be sent to ListMessageBuses to request the next page. If this is empty, then there are no more pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListMessageBusesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListMessageBusesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListMessageBusesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListMessageBusesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListMessageBusesResponse.Builder
Overrides

setUnreachable(int index, String value)

public ListMessageBusesResponse.Builder setUnreachable(int index, String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListMessageBusesResponse.Builder

This builder for chaining.