Class ListApplicationsResponse.Builder (0.15.0)

public static final class ListApplicationsResponse.Builder extends GeneratedMessageV3.Builder<ListApplicationsResponse.Builder> implements ListApplicationsResponseOrBuilder

Response for ListApplications.

Protobuf type google.cloud.apphub.v1.ListApplicationsResponse

Static Methods

getDescriptor()

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

Methods

addAllApplications(Iterable<? extends Application> values)

public ListApplicationsResponse.Builder addAllApplications(Iterable<? extends Application> values)

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.apphub.v1.Application>
Returns
Type Description
ListApplicationsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListApplicationsResponse.Builder

This builder for chaining.

addApplications(Application value)

public ListApplicationsResponse.Builder addApplications(Application value)

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Parameter
Name Description
value Application
Returns
Type Description
ListApplicationsResponse.Builder

addApplications(Application.Builder builderForValue)

public ListApplicationsResponse.Builder addApplications(Application.Builder builderForValue)

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Parameter
Name Description
builderForValue Application.Builder
Returns
Type Description
ListApplicationsResponse.Builder

addApplications(int index, Application value)

public ListApplicationsResponse.Builder addApplications(int index, Application value)

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Parameters
Name Description
index int
value Application
Returns
Type Description
ListApplicationsResponse.Builder

addApplications(int index, Application.Builder builderForValue)

public ListApplicationsResponse.Builder addApplications(int index, Application.Builder builderForValue)

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Parameters
Name Description
index int
builderForValue Application.Builder
Returns
Type Description
ListApplicationsResponse.Builder

addApplicationsBuilder()

public Application.Builder addApplicationsBuilder()

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Returns
Type Description
Application.Builder

addApplicationsBuilder(int index)

public Application.Builder addApplicationsBuilder(int index)

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Parameter
Name Description
index int
Returns
Type Description
Application.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListApplicationsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListApplicationsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListApplicationsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListApplicationsResponse.Builder

This builder for chaining.

build()

public ListApplicationsResponse build()
Returns
Type Description
ListApplicationsResponse

buildPartial()

public ListApplicationsResponse buildPartial()
Returns
Type Description
ListApplicationsResponse

clear()

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

clearApplications()

public ListApplicationsResponse.Builder clearApplications()

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Returns
Type Description
ListApplicationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListApplicationsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListApplicationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListApplicationsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListApplicationsResponse.Builder

This builder for chaining.

clone()

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

getApplications(int index)

public Application getApplications(int index)

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Parameter
Name Description
index int
Returns
Type Description
Application

getApplicationsBuilder(int index)

public Application.Builder getApplicationsBuilder(int index)

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Parameter
Name Description
index int
Returns
Type Description
Application.Builder

getApplicationsBuilderList()

public List<Application.Builder> getApplicationsBuilderList()

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Returns
Type Description
List<Builder>

getApplicationsCount()

public int getApplicationsCount()

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Returns
Type Description
int

getApplicationsList()

public List<Application> getApplicationsList()

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Returns
Type Description
List<Application>

getApplicationsOrBuilder(int index)

public ApplicationOrBuilder getApplicationsOrBuilder(int index)

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Parameter
Name Description
index int
Returns
Type Description
ApplicationOrBuilder

getApplicationsOrBuilderList()

public List<? extends ApplicationOrBuilder> getApplicationsOrBuilderList()

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Returns
Type Description
List<? extends com.google.cloud.apphub.v1.ApplicationOrBuilder>

getDefaultInstanceForType()

public ListApplicationsResponse getDefaultInstanceForType()
Returns
Type Description
ListApplicationsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that 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 that 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 that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that 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(ListApplicationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeApplications(int index)

public ListApplicationsResponse.Builder removeApplications(int index)

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Parameter
Name Description
index int
Returns
Type Description
ListApplicationsResponse.Builder

setApplications(int index, Application value)

public ListApplicationsResponse.Builder setApplications(int index, Application value)

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Parameters
Name Description
index int
value Application
Returns
Type Description
ListApplicationsResponse.Builder

setApplications(int index, Application.Builder builderForValue)

public ListApplicationsResponse.Builder setApplications(int index, Application.Builder builderForValue)

List of Applications.

repeated .google.cloud.apphub.v1.Application applications = 1;

Parameters
Name Description
index int
builderForValue Application.Builder
Returns
Type Description
ListApplicationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListApplicationsResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListApplicationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListApplicationsResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListApplicationsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Locations that 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
ListApplicationsResponse.Builder

This builder for chaining.