public static final class ListRestorePlansResponse.Builder extends GeneratedMessage.Builder<ListRestorePlansResponse.Builder> implements ListRestorePlansResponseOrBuilderResponse message for ListRestorePlans.
Protobuf type google.cloud.gkebackup.v1.ListRestorePlansResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListRestorePlansResponse.BuilderImplements
ListRestorePlansResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRestorePlans(Iterable<? extends RestorePlan> values)
public ListRestorePlansResponse.Builder addAllRestorePlans(Iterable<? extends RestorePlan> values)The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.gkebackup.v1.RestorePlan> |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListRestorePlansResponse.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 |
ListRestorePlansResponse.Builder |
This builder for chaining. |
addRestorePlans(RestorePlan value)
public ListRestorePlansResponse.Builder addRestorePlans(RestorePlan value)The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
RestorePlan |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
addRestorePlans(RestorePlan.Builder builderForValue)
public ListRestorePlansResponse.Builder addRestorePlans(RestorePlan.Builder builderForValue)The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RestorePlan.Builder |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
addRestorePlans(int index, RestorePlan value)
public ListRestorePlansResponse.Builder addRestorePlans(int index, RestorePlan value)The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RestorePlan |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
addRestorePlans(int index, RestorePlan.Builder builderForValue)
public ListRestorePlansResponse.Builder addRestorePlans(int index, RestorePlan.Builder builderForValue)The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RestorePlan.Builder |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
addRestorePlansBuilder()
public RestorePlan.Builder addRestorePlansBuilder()The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Returns | |
|---|---|
| Type | Description |
RestorePlan.Builder |
|
addRestorePlansBuilder(int index)
public RestorePlan.Builder addRestorePlansBuilder(int index)The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RestorePlan.Builder |
|
addUnreachable(String value)
public ListRestorePlansResponse.Builder addUnreachable(String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListRestorePlansResponse.Builder addUnreachableBytes(ByteString value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
This builder for chaining. |
build()
public ListRestorePlansResponse build()| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse |
|
buildPartial()
public ListRestorePlansResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse |
|
clear()
public ListRestorePlansResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
clearNextPageToken()
public ListRestorePlansResponse.Builder clearNextPageToken() A token which may be sent as
page_token
in a subsequent ListRestorePlans call to retrieve the next page of
results. If this field is omitted or empty, then there are no more results
to return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
This builder for chaining. |
clearRestorePlans()
public ListRestorePlansResponse.Builder clearRestorePlans()The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
clearUnreachable()
public ListRestorePlansResponse.Builder clearUnreachable()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListRestorePlansResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token which may be sent as
page_token
in a subsequent ListRestorePlans call to retrieve the next page of
results. If this field is omitted or empty, then there are no more results
to return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token which may be sent as
page_token
in a subsequent ListRestorePlans call to retrieve the next page of
results. If this field is omitted or empty, then there are no more results
to return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getRestorePlans(int index)
public RestorePlan getRestorePlans(int index)The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RestorePlan |
|
getRestorePlansBuilder(int index)
public RestorePlan.Builder getRestorePlansBuilder(int index)The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RestorePlan.Builder |
|
getRestorePlansBuilderList()
public List<RestorePlan.Builder> getRestorePlansBuilderList()The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRestorePlansCount()
public int getRestorePlansCount()The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getRestorePlansList()
public List<RestorePlan> getRestorePlansList()The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Returns | |
|---|---|
| Type | Description |
List<RestorePlan> |
|
getRestorePlansOrBuilder(int index)
public RestorePlanOrBuilder getRestorePlansOrBuilder(int index)The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RestorePlanOrBuilder |
|
getRestorePlansOrBuilderList()
public List<? extends RestorePlanOrBuilder> getRestorePlansOrBuilderList()The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.gkebackup.v1.RestorePlanOrBuilder> |
|
getUnreachable(int index)
public String getUnreachable(int index)Locations that could not be reached.
repeated string unreachable = 3;
| 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)Locations that could not be reached.
repeated string unreachable = 3;
| 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()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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListRestorePlansResponse other)
public ListRestorePlansResponse.Builder mergeFrom(ListRestorePlansResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListRestorePlansResponse |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListRestorePlansResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListRestorePlansResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
removeRestorePlans(int index)
public ListRestorePlansResponse.Builder removeRestorePlans(int index)The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
setNextPageToken(String value)
public ListRestorePlansResponse.Builder setNextPageToken(String value) A token which may be sent as
page_token
in a subsequent ListRestorePlans call to retrieve the next page of
results. If this field is omitted or empty, then there are no more results
to return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListRestorePlansResponse.Builder setNextPageTokenBytes(ByteString value) A token which may be sent as
page_token
in a subsequent ListRestorePlans call to retrieve the next page of
results. If this field is omitted or empty, then there are no more results
to return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
This builder for chaining. |
setRestorePlans(int index, RestorePlan value)
public ListRestorePlansResponse.Builder setRestorePlans(int index, RestorePlan value)The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RestorePlan |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
setRestorePlans(int index, RestorePlan.Builder builderForValue)
public ListRestorePlansResponse.Builder setRestorePlans(int index, RestorePlan.Builder builderForValue)The list of RestorePlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.RestorePlan restore_plans = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RestorePlan.Builder |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
|
setUnreachable(int index, String value)
public ListRestorePlansResponse.Builder setUnreachable(int index, String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListRestorePlansResponse.Builder |
This builder for chaining. |