Class ListAppProfilesResponse.Builder (2.9.0)

public static final class ListAppProfilesResponse.Builder extends GeneratedMessageV3.Builder<ListAppProfilesResponse.Builder> implements ListAppProfilesResponseOrBuilder

Response message for BigtableInstanceAdmin.ListAppProfiles.

Protobuf type google.bigtable.admin.v2.ListAppProfilesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAppProfiles(Iterable<? extends AppProfile> values)

public ListAppProfilesResponse.Builder addAllAppProfiles(Iterable<? extends AppProfile> values)

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.bigtable.admin.v2.AppProfile>
Returns
TypeDescription
ListAppProfilesResponse.Builder

addAllFailedLocations(Iterable<String> values)

public ListAppProfilesResponse.Builder addAllFailedLocations(Iterable<String> values)

Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from app_profiles. Values are of the form projects/<project>/locations/<zone_id>

repeated string failed_locations = 3;

Parameter
NameDescription
valuesIterable<String>

The failedLocations to add.

Returns
TypeDescription
ListAppProfilesResponse.Builder

This builder for chaining.

addAppProfiles(AppProfile value)

public ListAppProfilesResponse.Builder addAppProfiles(AppProfile value)

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Parameter
NameDescription
valueAppProfile
Returns
TypeDescription
ListAppProfilesResponse.Builder

addAppProfiles(AppProfile.Builder builderForValue)

public ListAppProfilesResponse.Builder addAppProfiles(AppProfile.Builder builderForValue)

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Parameter
NameDescription
builderForValueAppProfile.Builder
Returns
TypeDescription
ListAppProfilesResponse.Builder

addAppProfiles(int index, AppProfile value)

public ListAppProfilesResponse.Builder addAppProfiles(int index, AppProfile value)

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Parameters
NameDescription
indexint
valueAppProfile
Returns
TypeDescription
ListAppProfilesResponse.Builder

addAppProfiles(int index, AppProfile.Builder builderForValue)

public ListAppProfilesResponse.Builder addAppProfiles(int index, AppProfile.Builder builderForValue)

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Parameters
NameDescription
indexint
builderForValueAppProfile.Builder
Returns
TypeDescription
ListAppProfilesResponse.Builder

addAppProfilesBuilder()

public AppProfile.Builder addAppProfilesBuilder()

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Returns
TypeDescription
AppProfile.Builder

addAppProfilesBuilder(int index)

public AppProfile.Builder addAppProfilesBuilder(int index)

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AppProfile.Builder

addFailedLocations(String value)

public ListAppProfilesResponse.Builder addFailedLocations(String value)

Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from app_profiles. Values are of the form projects/<project>/locations/<zone_id>

repeated string failed_locations = 3;

Parameter
NameDescription
valueString

The failedLocations to add.

Returns
TypeDescription
ListAppProfilesResponse.Builder

This builder for chaining.

addFailedLocationsBytes(ByteString value)

public ListAppProfilesResponse.Builder addFailedLocationsBytes(ByteString value)

Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from app_profiles. Values are of the form projects/<project>/locations/<zone_id>

repeated string failed_locations = 3;

Parameter
NameDescription
valueByteString

The bytes of the failedLocations to add.

Returns
TypeDescription
ListAppProfilesResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAppProfilesResponse build()
Returns
TypeDescription
ListAppProfilesResponse

buildPartial()

public ListAppProfilesResponse buildPartial()
Returns
TypeDescription
ListAppProfilesResponse

clear()

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

clearAppProfiles()

public ListAppProfilesResponse.Builder clearAppProfiles()

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Returns
TypeDescription
ListAppProfilesResponse.Builder

clearFailedLocations()

public ListAppProfilesResponse.Builder clearFailedLocations()

Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from app_profiles. Values are of the form projects/<project>/locations/<zone_id>

repeated string failed_locations = 3;

Returns
TypeDescription
ListAppProfilesResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ListAppProfilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListAppProfilesResponse.Builder
Overrides

clearNextPageToken()

public ListAppProfilesResponse.Builder clearNextPageToken()

Set if not all app profiles could be returned in a single response. Pass this value to page_token in another request to get the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListAppProfilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAppProfiles(int index)

public AppProfile getAppProfiles(int index)

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AppProfile

getAppProfilesBuilder(int index)

public AppProfile.Builder getAppProfilesBuilder(int index)

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AppProfile.Builder

getAppProfilesBuilderList()

public List<AppProfile.Builder> getAppProfilesBuilderList()

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Returns
TypeDescription
List<Builder>

getAppProfilesCount()

public int getAppProfilesCount()

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Returns
TypeDescription
int

getAppProfilesList()

public List<AppProfile> getAppProfilesList()

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Returns
TypeDescription
List<AppProfile>

getAppProfilesOrBuilder(int index)

public AppProfileOrBuilder getAppProfilesOrBuilder(int index)

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AppProfileOrBuilder

getAppProfilesOrBuilderList()

public List<? extends AppProfileOrBuilder> getAppProfilesOrBuilderList()

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Returns
TypeDescription
List<? extends com.google.bigtable.admin.v2.AppProfileOrBuilder>

getDefaultInstanceForType()

public ListAppProfilesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAppProfilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFailedLocations(int index)

public String getFailedLocations(int index)

Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from app_profiles. Values are of the form projects/<project>/locations/<zone_id>

repeated string failed_locations = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The failedLocations at the given index.

getFailedLocationsBytes(int index)

public ByteString getFailedLocationsBytes(int index)

Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from app_profiles. Values are of the form projects/<project>/locations/<zone_id>

repeated string failed_locations = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the failedLocations at the given index.

getFailedLocationsCount()

public int getFailedLocationsCount()

Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from app_profiles. Values are of the form projects/<project>/locations/<zone_id>

repeated string failed_locations = 3;

Returns
TypeDescription
int

The count of failedLocations.

getFailedLocationsList()

public ProtocolStringList getFailedLocationsList()

Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from app_profiles. Values are of the form projects/<project>/locations/<zone_id>

repeated string failed_locations = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the failedLocations.

getNextPageToken()

public String getNextPageToken()

Set if not all app profiles could be returned in a single response. Pass this value to page_token in another request to get the next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Set if not all app profiles could be returned in a single response. Pass this value to page_token in another request to get the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAppProfilesResponse other)

public ListAppProfilesResponse.Builder mergeFrom(ListAppProfilesResponse other)
Parameter
NameDescription
otherListAppProfilesResponse
Returns
TypeDescription
ListAppProfilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAppProfiles(int index)

public ListAppProfilesResponse.Builder removeAppProfiles(int index)

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListAppProfilesResponse.Builder

setAppProfiles(int index, AppProfile value)

public ListAppProfilesResponse.Builder setAppProfiles(int index, AppProfile value)

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Parameters
NameDescription
indexint
valueAppProfile
Returns
TypeDescription
ListAppProfilesResponse.Builder

setAppProfiles(int index, AppProfile.Builder builderForValue)

public ListAppProfilesResponse.Builder setAppProfiles(int index, AppProfile.Builder builderForValue)

The list of requested app profiles.

repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1;

Parameters
NameDescription
indexint
builderForValueAppProfile.Builder
Returns
TypeDescription
ListAppProfilesResponse.Builder

setFailedLocations(int index, String value)

public ListAppProfilesResponse.Builder setFailedLocations(int index, String value)

Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from app_profiles. Values are of the form projects/<project>/locations/<zone_id>

repeated string failed_locations = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The failedLocations to set.

Returns
TypeDescription
ListAppProfilesResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAppProfilesResponse.Builder setNextPageToken(String value)

Set if not all app profiles could be returned in a single response. Pass this value to page_token in another request to get the next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListAppProfilesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAppProfilesResponse.Builder setNextPageTokenBytes(ByteString value)

Set if not all app profiles could be returned in a single response. Pass this value to page_token in another request to get the next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListAppProfilesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAppProfilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAppProfilesResponse.Builder
Overrides