Class ListApplicationsResponse.Builder (0.3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.apphub.v1.Application>
Returns
TypeDescription
ListApplicationsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueApplication
Returns
TypeDescription
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
NameDescription
builderForValueApplication.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueApplication
Returns
TypeDescription
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
NameDescription
indexint
builderForValueApplication.Builder
Returns
TypeDescription
ListApplicationsResponse.Builder

addApplicationsBuilder()

public Application.Builder addApplicationsBuilder()

List of Applications.

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

Returns
TypeDescription
Application.Builder

addApplicationsBuilder(int index)

public Application.Builder addApplicationsBuilder(int index)

List of Applications.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Application.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListApplicationsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListApplicationsResponse.Builder

This builder for chaining.

build()

public ListApplicationsResponse build()
Returns
TypeDescription
ListApplicationsResponse

buildPartial()

public ListApplicationsResponse buildPartial()
Returns
TypeDescription
ListApplicationsResponse

clear()

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

clearApplications()

public ListApplicationsResponse.Builder clearApplications()

List of Applications.

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

Returns
TypeDescription
ListApplicationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListApplicationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListApplicationsResponse.Builder
Overrides

clearUnreachable()

public ListApplicationsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListApplicationsResponse.Builder

This builder for chaining.

clone()

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

getApplications(int index)

public Application getApplications(int index)

List of Applications.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Application

getApplicationsBuilder(int index)

public Application.Builder getApplicationsBuilder(int index)

List of Applications.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Application.Builder

getApplicationsBuilderList()

public List<Application.Builder> getApplicationsBuilderList()

List of Applications.

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

Returns
TypeDescription
List<Builder>

getApplicationsCount()

public int getApplicationsCount()

List of Applications.

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

Returns
TypeDescription
int

getApplicationsList()

public List<Application> getApplicationsList()

List of Applications.

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

Returns
TypeDescription
List<Application>

getApplicationsOrBuilder(int index)

public ApplicationOrBuilder getApplicationsOrBuilder(int index)

List of Applications.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ApplicationOrBuilder

getApplicationsOrBuilderList()

public List<? extends ApplicationOrBuilder> getApplicationsOrBuilderList()

List of Applications.

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

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

getDefaultInstanceForType()

public ListApplicationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListApplicationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

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)

Locations that could not be reached.

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

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

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

public ListApplicationsResponse.Builder mergeFrom(ListApplicationsResponse other)
Parameter
NameDescription
otherListApplicationsResponse
Returns
TypeDescription
ListApplicationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListApplicationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListApplicationsResponse.Builder
Overrides

removeApplications(int index)

public ListApplicationsResponse.Builder removeApplications(int index)

List of Applications.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueApplication
Returns
TypeDescription
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
NameDescription
indexint
builderForValueApplication.Builder
Returns
TypeDescription
ListApplicationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListApplicationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListApplicationsResponse.Builder

This builder for chaining.