Class ListProvidersResponse.Builder (1.55.0)

public static final class ListProvidersResponse.Builder extends GeneratedMessageV3.Builder<ListProvidersResponse.Builder> implements ListProvidersResponseOrBuilder

The response message for the ListProviders method.

Protobuf type google.cloud.eventarc.v1.ListProvidersResponse

Static Methods

getDescriptor()

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

Methods

addAllProviders(Iterable<? extends Provider> values)

public ListProvidersResponse.Builder addAllProviders(Iterable<? extends Provider> values)

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addProviders(Provider value)

public ListProvidersResponse.Builder addProviders(Provider value)

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Parameter
Name Description
value Provider
Returns
Type Description
ListProvidersResponse.Builder

addProviders(Provider.Builder builderForValue)

public ListProvidersResponse.Builder addProviders(Provider.Builder builderForValue)

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Parameter
Name Description
builderForValue Provider.Builder
Returns
Type Description
ListProvidersResponse.Builder

addProviders(int index, Provider value)

public ListProvidersResponse.Builder addProviders(int index, Provider value)

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Parameters
Name Description
index int
value Provider
Returns
Type Description
ListProvidersResponse.Builder

addProviders(int index, Provider.Builder builderForValue)

public ListProvidersResponse.Builder addProviders(int index, Provider.Builder builderForValue)

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Parameters
Name Description
index int
builderForValue Provider.Builder
Returns
Type Description
ListProvidersResponse.Builder

addProvidersBuilder()

public Provider.Builder addProvidersBuilder()

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Returns
Type Description
Provider.Builder

addProvidersBuilder(int index)

public Provider.Builder addProvidersBuilder(int index)

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Parameter
Name Description
index int
Returns
Type Description
Provider.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListProvidersResponse.Builder addUnreachable(String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListProvidersResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListProvidersResponse build()
Returns
Type Description
ListProvidersResponse

buildPartial()

public ListProvidersResponse buildPartial()
Returns
Type Description
ListProvidersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListProvidersResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListProvidersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProviders()

public ListProvidersResponse.Builder clearProviders()

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Returns
Type Description
ListProvidersResponse.Builder

clearUnreachable()

public ListProvidersResponse.Builder clearUnreachable()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
Type Description
ListProvidersResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListProvidersResponse getDefaultInstanceForType()
Returns
Type Description
ListProvidersResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

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

getProviders(int index)

public Provider getProviders(int index)

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Parameter
Name Description
index int
Returns
Type Description
Provider

getProvidersBuilder(int index)

public Provider.Builder getProvidersBuilder(int index)

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Parameter
Name Description
index int
Returns
Type Description
Provider.Builder

getProvidersBuilderList()

public List<Provider.Builder> getProvidersBuilderList()

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Returns
Type Description
List<Builder>

getProvidersCount()

public int getProvidersCount()

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Returns
Type Description
int

getProvidersList()

public List<Provider> getProvidersList()

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Returns
Type Description
List<Provider>

getProvidersOrBuilder(int index)

public ProviderOrBuilder getProvidersOrBuilder(int index)

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Parameter
Name Description
index int
Returns
Type Description
ProviderOrBuilder

getProvidersOrBuilderList()

public List<? extends ProviderOrBuilder> getProvidersOrBuilderList()

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProviders(int index)

public ListProvidersResponse.Builder removeProviders(int index)

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Parameter
Name Description
index int
Returns
Type Description
ListProvidersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListProvidersResponse.Builder setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListProvidersResponse.Builder setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setProviders(int index, Provider value)

public ListProvidersResponse.Builder setProviders(int index, Provider value)

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Parameters
Name Description
index int
value Provider
Returns
Type Description
ListProvidersResponse.Builder

setProviders(int index, Provider.Builder builderForValue)

public ListProvidersResponse.Builder setProviders(int index, Provider.Builder builderForValue)

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

repeated .google.cloud.eventarc.v1.Provider providers = 1;

Parameters
Name Description
index int
builderForValue Provider.Builder
Returns
Type Description
ListProvidersResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.