Class ListTriggersResponse.Builder (1.28.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.eventarc.v1.Trigger>
Returns
TypeDescription
ListTriggersResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListTriggersResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTriggersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTrigger
Returns
TypeDescription
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
NameDescription
builderForValueTrigger.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTrigger
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTrigger.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Trigger.Builder

addUnreachable(String value)

public ListTriggersResponse.Builder addUnreachable(String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListTriggersResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListTriggersResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListTriggersResponse.Builder

This builder for chaining.

build()

public ListTriggersResponse build()
Returns
TypeDescription
ListTriggersResponse

buildPartial()

public ListTriggersResponse buildPartial()
Returns
TypeDescription
ListTriggersResponse

clear()

public ListTriggersResponse.Builder clear()
Returns
TypeDescription
ListTriggersResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListTriggersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListTriggersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTriggersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListTriggersResponse.Builder

clearUnreachable()

public ListTriggersResponse.Builder clearUnreachable()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
TypeDescription
ListTriggersResponse.Builder

This builder for chaining.

clone()

public ListTriggersResponse.Builder clone()
Returns
TypeDescription
ListTriggersResponse.Builder
Overrides

getDefaultInstanceForType()

public ListTriggersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTriggersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTriggersResponse other)

public ListTriggersResponse.Builder mergeFrom(ListTriggersResponse other)
Parameter
NameDescription
otherListTriggersResponse
Returns
TypeDescription
ListTriggersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListTriggersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTriggersResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListTriggersResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListTriggersResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTriggersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListTriggersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListTriggersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTrigger
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTrigger.Builder
Returns
TypeDescription
ListTriggersResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTriggersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListTriggersResponse.Builder

This builder for chaining.