public static final class ListAppsResponse.Builder extends GeneratedMessage.Builder<ListAppsResponse.Builder> implements ListAppsResponseOrBuilderResponse message for AgentService.ListApps.
Protobuf type google.cloud.ces.v1.ListAppsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListAppsResponse.BuilderImplements
ListAppsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllApps(Iterable<? extends App> values)
public ListAppsResponse.Builder addAllApps(Iterable<? extends App> values)The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.ces.v1.App> |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListAppsResponse.Builder addAllUnreachable(Iterable<String> values)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
This builder for chaining. |
addApps(App value)
public ListAppsResponse.Builder addApps(App value)The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
App |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
addApps(App.Builder builderForValue)
public ListAppsResponse.Builder addApps(App.Builder builderForValue)The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
App.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
addApps(int index, App value)
public ListAppsResponse.Builder addApps(int index, App value)The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
App |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
addApps(int index, App.Builder builderForValue)
public ListAppsResponse.Builder addApps(int index, App.Builder builderForValue)The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
App.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
addAppsBuilder()
public App.Builder addAppsBuilder()The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Returns | |
|---|---|
| Type | Description |
App.Builder |
|
addAppsBuilder(int index)
public App.Builder addAppsBuilder(int index)The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
App.Builder |
|
addUnreachable(String value)
public ListAppsResponse.Builder addUnreachable(String value)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListAppsResponse.Builder addUnreachableBytes(ByteString value)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
This builder for chaining. |
build()
public ListAppsResponse build()| Returns | |
|---|---|
| Type | Description |
ListAppsResponse |
|
buildPartial()
public ListAppsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListAppsResponse |
|
clear()
public ListAppsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
clearApps()
public ListAppsResponse.Builder clearApps()The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
clearNextPageToken()
public ListAppsResponse.Builder clearNextPageToken()A token that can be sent as ListAppsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
This builder for chaining. |
clearUnreachable()
public ListAppsResponse.Builder clearUnreachable()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
This builder for chaining. |
getApps(int index)
public App getApps(int index)The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
App |
|
getAppsBuilder(int index)
public App.Builder getAppsBuilder(int index)The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
App.Builder |
|
getAppsBuilderList()
public List<App.Builder> getAppsBuilderList()The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAppsCount()
public int getAppsCount()The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAppsList()
public List<App> getAppsList()The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Returns | |
|---|---|
| Type | Description |
List<App> |
|
getAppsOrBuilder(int index)
public AppOrBuilder getAppsOrBuilder(int index)The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AppOrBuilder |
|
getAppsOrBuilderList()
public List<? extends AppOrBuilder> getAppsOrBuilderList()The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.ces.v1.AppOrBuilder> |
|
getDefaultInstanceForType()
public ListAppsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListAppsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()A token that can be sent as ListAppsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()A token that can be sent as ListAppsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListAppsResponse other)
public ListAppsResponse.Builder mergeFrom(ListAppsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListAppsResponse |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAppsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListAppsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
removeApps(int index)
public ListAppsResponse.Builder removeApps(int index)The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
setApps(int index, App value)
public ListAppsResponse.Builder setApps(int index, App value)The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
App |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
setApps(int index, App.Builder builderForValue)
public ListAppsResponse.Builder setApps(int index, App.Builder builderForValue)The list of apps.
repeated .google.cloud.ces.v1.App apps = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
App.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
|
setNextPageToken(String value)
public ListAppsResponse.Builder setNextPageToken(String value)A token that can be sent as ListAppsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListAppsResponse.Builder setNextPageTokenBytes(ByteString value)A token that can be sent as ListAppsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
This builder for chaining. |
setUnreachable(int index, String value)
public ListAppsResponse.Builder setUnreachable(int index, String value)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListAppsResponse.Builder |
This builder for chaining. |