Class ListGoogleApiSourcesResponse.Builder (1.54.0)

public static final class ListGoogleApiSourcesResponse.Builder extends GeneratedMessageV3.Builder<ListGoogleApiSourcesResponse.Builder> implements ListGoogleApiSourcesResponseOrBuilder

The response message for the ListGoogleApiSources method.

Protobuf type google.cloud.eventarc.v1.ListGoogleApiSourcesResponse

Static Methods

getDescriptor()

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

Methods

addAllGoogleApiSources(Iterable<? extends GoogleApiSource> values)

public ListGoogleApiSourcesResponse.Builder addAllGoogleApiSources(Iterable<? extends GoogleApiSource> values)

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addGoogleApiSources(GoogleApiSource value)

public ListGoogleApiSourcesResponse.Builder addGoogleApiSources(GoogleApiSource value)

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Parameter
Name Description
value GoogleApiSource
Returns
Type Description
ListGoogleApiSourcesResponse.Builder

addGoogleApiSources(GoogleApiSource.Builder builderForValue)

public ListGoogleApiSourcesResponse.Builder addGoogleApiSources(GoogleApiSource.Builder builderForValue)

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Parameter
Name Description
builderForValue GoogleApiSource.Builder
Returns
Type Description
ListGoogleApiSourcesResponse.Builder

addGoogleApiSources(int index, GoogleApiSource value)

public ListGoogleApiSourcesResponse.Builder addGoogleApiSources(int index, GoogleApiSource value)

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Parameters
Name Description
index int
value GoogleApiSource
Returns
Type Description
ListGoogleApiSourcesResponse.Builder

addGoogleApiSources(int index, GoogleApiSource.Builder builderForValue)

public ListGoogleApiSourcesResponse.Builder addGoogleApiSources(int index, GoogleApiSource.Builder builderForValue)

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Parameters
Name Description
index int
builderForValue GoogleApiSource.Builder
Returns
Type Description
ListGoogleApiSourcesResponse.Builder

addGoogleApiSourcesBuilder()

public GoogleApiSource.Builder addGoogleApiSourcesBuilder()

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Returns
Type Description
GoogleApiSource.Builder

addGoogleApiSourcesBuilder(int index)

public GoogleApiSource.Builder addGoogleApiSourcesBuilder(int index)

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
GoogleApiSource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListGoogleApiSourcesResponse.Builder addUnreachable(String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListGoogleApiSourcesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListGoogleApiSourcesResponse build()
Returns
Type Description
ListGoogleApiSourcesResponse

buildPartial()

public ListGoogleApiSourcesResponse buildPartial()
Returns
Type Description
ListGoogleApiSourcesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGoogleApiSources()

public ListGoogleApiSourcesResponse.Builder clearGoogleApiSources()

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Returns
Type Description
ListGoogleApiSourcesResponse.Builder

clearNextPageToken()

public ListGoogleApiSourcesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListGoogleApiSourcesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListGoogleApiSourcesResponse.Builder clearUnreachable()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
Type Description
ListGoogleApiSourcesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListGoogleApiSourcesResponse getDefaultInstanceForType()
Returns
Type Description
ListGoogleApiSourcesResponse

getDescriptorForType()

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

getGoogleApiSources(int index)

public GoogleApiSource getGoogleApiSources(int index)

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
GoogleApiSource

getGoogleApiSourcesBuilder(int index)

public GoogleApiSource.Builder getGoogleApiSourcesBuilder(int index)

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
GoogleApiSource.Builder

getGoogleApiSourcesBuilderList()

public List<GoogleApiSource.Builder> getGoogleApiSourcesBuilderList()

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Returns
Type Description
List<Builder>

getGoogleApiSourcesCount()

public int getGoogleApiSourcesCount()

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Returns
Type Description
int

getGoogleApiSourcesList()

public List<GoogleApiSource> getGoogleApiSourcesList()

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Returns
Type Description
List<GoogleApiSource>

getGoogleApiSourcesOrBuilder(int index)

public GoogleApiSourceOrBuilder getGoogleApiSourcesOrBuilder(int index)

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
GoogleApiSourceOrBuilder

getGoogleApiSourcesOrBuilderList()

public List<? extends GoogleApiSourceOrBuilder> getGoogleApiSourcesOrBuilderList()

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

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

getNextPageToken()

public String getNextPageToken()

A page token that can be sent to ListMessageBusEnrollments 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 ListMessageBusEnrollments 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(ListGoogleApiSourcesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeGoogleApiSources(int index)

public ListGoogleApiSourcesResponse.Builder removeGoogleApiSources(int index)

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
ListGoogleApiSourcesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGoogleApiSources(int index, GoogleApiSource value)

public ListGoogleApiSourcesResponse.Builder setGoogleApiSources(int index, GoogleApiSource value)

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Parameters
Name Description
index int
value GoogleApiSource
Returns
Type Description
ListGoogleApiSourcesResponse.Builder

setGoogleApiSources(int index, GoogleApiSource.Builder builderForValue)

public ListGoogleApiSourcesResponse.Builder setGoogleApiSources(int index, GoogleApiSource.Builder builderForValue)

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

repeated .google.cloud.eventarc.v1.GoogleApiSource google_api_sources = 1;

Parameters
Name Description
index int
builderForValue GoogleApiSource.Builder
Returns
Type Description
ListGoogleApiSourcesResponse.Builder

setNextPageToken(String value)

public ListGoogleApiSourcesResponse.Builder setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListGoogleApiSourcesResponse.Builder setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.