Class ListProvidersResponse.Builder (1.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.eventarc.v1.Provider>
Returns
TypeDescription
ListProvidersResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueProvider
Returns
TypeDescription
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
NameDescription
builderForValueProvider.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueProvider
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProvider.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Provider.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListProvidersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListProvidersResponse.Builder
Overrides

addUnreachable(String value)

public ListProvidersResponse.Builder addUnreachable(String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListProvidersResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListProvidersResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListProvidersResponse.Builder

This builder for chaining.

build()

public ListProvidersResponse build()
Returns
TypeDescription
ListProvidersResponse

buildPartial()

public ListProvidersResponse buildPartial()
Returns
TypeDescription
ListProvidersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListProvidersResponse.Builder clearUnreachable()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
TypeDescription
ListProvidersResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListProvidersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProvidersResponse

getDescriptorForType()

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

public ListProvidersResponse.Builder mergeFrom(ListProvidersResponse other)
Parameter
NameDescription
otherListProvidersResponse
Returns
TypeDescription
ListProvidersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueProvider
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProvider.Builder
Returns
TypeDescription
ListProvidersResponse.Builder

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

public ListProvidersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListProvidersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListProvidersResponse.Builder

This builder for chaining.