Class ListRepositoriesResponse.Builder (0.12.0)

public static final class ListRepositoriesResponse.Builder extends GeneratedMessageV3.Builder<ListRepositoriesResponse.Builder> implements ListRepositoriesResponseOrBuilder

ListRepositories response message.

Protobuf type google.cloud.dataform.v1alpha2.ListRepositoriesResponse

Static Methods

getDescriptor()

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

Methods

addAllRepositories(Iterable<? extends Repository> values)

public ListRepositoriesResponse.Builder addAllRepositories(Iterable<? extends Repository> values)

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataform.v1alpha2.Repository>
Returns
Type Description
ListRepositoriesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations which could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListRepositoriesResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRepositories(Repository value)

public ListRepositoriesResponse.Builder addRepositories(Repository value)

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Parameter
Name Description
value Repository
Returns
Type Description
ListRepositoriesResponse.Builder

addRepositories(Repository.Builder builderForValue)

public ListRepositoriesResponse.Builder addRepositories(Repository.Builder builderForValue)

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Parameter
Name Description
builderForValue Repository.Builder
Returns
Type Description
ListRepositoriesResponse.Builder

addRepositories(int index, Repository value)

public ListRepositoriesResponse.Builder addRepositories(int index, Repository value)

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Parameters
Name Description
index int
value Repository
Returns
Type Description
ListRepositoriesResponse.Builder

addRepositories(int index, Repository.Builder builderForValue)

public ListRepositoriesResponse.Builder addRepositories(int index, Repository.Builder builderForValue)

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Parameters
Name Description
index int
builderForValue Repository.Builder
Returns
Type Description
ListRepositoriesResponse.Builder

addRepositoriesBuilder()

public Repository.Builder addRepositoriesBuilder()

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Returns
Type Description
Repository.Builder

addRepositoriesBuilder(int index)

public Repository.Builder addRepositoriesBuilder(int index)

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
Repository.Builder

addUnreachable(String value)

public ListRepositoriesResponse.Builder addUnreachable(String value)

Locations which could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListRepositoriesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListRepositoriesResponse.Builder addUnreachableBytes(ByteString value)

Locations which could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListRepositoriesResponse.Builder

This builder for chaining.

build()

public ListRepositoriesResponse build()
Returns
Type Description
ListRepositoriesResponse

buildPartial()

public ListRepositoriesResponse buildPartial()
Returns
Type Description
ListRepositoriesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListRepositoriesResponse.Builder clearNextPageToken()

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListRepositoriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRepositories()

public ListRepositoriesResponse.Builder clearRepositories()

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Returns
Type Description
ListRepositoriesResponse.Builder

clearUnreachable()

public ListRepositoriesResponse.Builder clearUnreachable()

Locations which could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListRepositoriesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListRepositoriesResponse getDefaultInstanceForType()
Returns
Type Description
ListRepositoriesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getRepositories(int index)

public Repository getRepositories(int index)

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
Repository

getRepositoriesBuilder(int index)

public Repository.Builder getRepositoriesBuilder(int index)

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
Repository.Builder

getRepositoriesBuilderList()

public List<Repository.Builder> getRepositoriesBuilderList()

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Returns
Type Description
List<Builder>

getRepositoriesCount()

public int getRepositoriesCount()

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Returns
Type Description
int

getRepositoriesList()

public List<Repository> getRepositoriesList()

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Returns
Type Description
List<Repository>

getRepositoriesOrBuilder(int index)

public RepositoryOrBuilder getRepositoriesOrBuilder(int index)

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
RepositoryOrBuilder

getRepositoriesOrBuilderList()

public List<? extends RepositoryOrBuilder> getRepositoriesOrBuilderList()

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Returns
Type Description
List<? extends com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Locations which could not be reached.

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)

Locations which could not be reached.

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

Locations which could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations which could not be reached.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRepositories(int index)

public ListRepositoriesResponse.Builder removeRepositories(int index)

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
ListRepositoriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListRepositoriesResponse.Builder setNextPageToken(String value)

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListRepositoriesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListRepositoriesResponse.Builder setNextPageTokenBytes(ByteString value)

A token which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListRepositoriesResponse.Builder

This builder for chaining.

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

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

setRepositories(int index, Repository value)

public ListRepositoriesResponse.Builder setRepositories(int index, Repository value)

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Parameters
Name Description
index int
value Repository
Returns
Type Description
ListRepositoriesResponse.Builder

setRepositories(int index, Repository.Builder builderForValue)

public ListRepositoriesResponse.Builder setRepositories(int index, Repository.Builder builderForValue)

List of repositories.

repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1;

Parameters
Name Description
index int
builderForValue Repository.Builder
Returns
Type Description
ListRepositoriesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListRepositoriesResponse.Builder setUnreachable(int index, String value)

Locations which could not be reached.

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
ListRepositoriesResponse.Builder

This builder for chaining.