Class ListTriggersResponse.Builder (1.46.0)

public static final class ListTriggersResponse.Builder extends GeneratedMessageV3.Builder<ListTriggersResponse.Builder> implements ListTriggersResponseOrBuilder

The response message for the ListTriggers method.

Protobuf type google.cloud.eventarc.v1.ListTriggersResponse

Static Methods

getDescriptor()

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

Methods

addAllTriggers(Iterable<? extends Trigger> values)

public ListTriggersResponse.Builder addAllTriggers(Iterable<? extends Trigger> values)

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

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

addAllUnreachable(Iterable<String> values)

public ListTriggersResponse.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
ListTriggersResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTriggers(Trigger value)

public ListTriggersResponse.Builder addTriggers(Trigger value)

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Parameter
Name Description
value Trigger
Returns
Type Description
ListTriggersResponse.Builder

addTriggers(Trigger.Builder builderForValue)

public ListTriggersResponse.Builder addTriggers(Trigger.Builder builderForValue)

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Parameter
Name Description
builderForValue Trigger.Builder
Returns
Type Description
ListTriggersResponse.Builder

addTriggers(int index, Trigger value)

public ListTriggersResponse.Builder addTriggers(int index, Trigger value)

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Parameters
Name Description
index int
value Trigger
Returns
Type Description
ListTriggersResponse.Builder

addTriggers(int index, Trigger.Builder builderForValue)

public ListTriggersResponse.Builder addTriggers(int index, Trigger.Builder builderForValue)

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Parameters
Name Description
index int
builderForValue Trigger.Builder
Returns
Type Description
ListTriggersResponse.Builder

addTriggersBuilder()

public Trigger.Builder addTriggersBuilder()

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Returns
Type Description
Trigger.Builder

addTriggersBuilder(int index)

public Trigger.Builder addTriggersBuilder(int index)

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Parameter
Name Description
index int
Returns
Type Description
Trigger.Builder

addUnreachable(String value)

public ListTriggersResponse.Builder addUnreachable(String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListTriggersResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListTriggersResponse.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
ListTriggersResponse.Builder

This builder for chaining.

build()

public ListTriggersResponse build()
Returns
Type Description
ListTriggersResponse

buildPartial()

public ListTriggersResponse buildPartial()
Returns
Type Description
ListTriggersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListTriggersResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListTriggersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTriggers()

public ListTriggersResponse.Builder clearTriggers()

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Returns
Type Description
ListTriggersResponse.Builder

clearUnreachable()

public ListTriggersResponse.Builder clearUnreachable()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
Type Description
ListTriggersResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTriggersResponse getDefaultInstanceForType()
Returns
Type Description
ListTriggersResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A page token that can be sent to ListTriggers 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 ListTriggers 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.

getTriggers(int index)

public Trigger getTriggers(int index)

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Parameter
Name Description
index int
Returns
Type Description
Trigger

getTriggersBuilder(int index)

public Trigger.Builder getTriggersBuilder(int index)

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Parameter
Name Description
index int
Returns
Type Description
Trigger.Builder

getTriggersBuilderList()

public List<Trigger.Builder> getTriggersBuilderList()

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Returns
Type Description
List<Builder>

getTriggersCount()

public int getTriggersCount()

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Returns
Type Description
int

getTriggersList()

public List<Trigger> getTriggersList()

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Returns
Type Description
List<Trigger>

getTriggersOrBuilder(int index)

public TriggerOrBuilder getTriggersOrBuilder(int index)

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Parameter
Name Description
index int
Returns
Type Description
TriggerOrBuilder

getTriggersOrBuilderList()

public List<? extends TriggerOrBuilder> getTriggersOrBuilderList()

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

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

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(ListTriggersResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTriggers(int index)

public ListTriggersResponse.Builder removeTriggers(int index)

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Parameter
Name Description
index int
Returns
Type Description
ListTriggersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListTriggersResponse.Builder setNextPageToken(String value)

A page token that can be sent to ListTriggers 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
ListTriggersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListTriggersResponse.Builder setNextPageTokenBytes(ByteString value)

A page token that can be sent to ListTriggers 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
ListTriggersResponse.Builder

This builder for chaining.

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

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

setTriggers(int index, Trigger value)

public ListTriggersResponse.Builder setTriggers(int index, Trigger value)

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Parameters
Name Description
index int
value Trigger
Returns
Type Description
ListTriggersResponse.Builder

setTriggers(int index, Trigger.Builder builderForValue)

public ListTriggersResponse.Builder setTriggers(int index, Trigger.Builder builderForValue)

The requested triggers, up to the number specified in page_size.

repeated .google.cloud.eventarc.v1.Trigger triggers = 1;

Parameters
Name Description
index int
builderForValue Trigger.Builder
Returns
Type Description
ListTriggersResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListTriggersResponse.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
ListTriggersResponse.Builder

This builder for chaining.