- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class ListRestoresResponse.Builder extends GeneratedMessageV3.Builder<ListRestoresResponse.Builder> implements ListRestoresResponseOrBuilder
Response message for ListRestores.
Protobuf type google.cloud.gkebackup.v1.ListRestoresResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListRestoresResponse.BuilderImplements
ListRestoresResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllRestores(Iterable<? extends Restore> values)
public ListRestoresResponse.Builder addAllRestores(Iterable<? extends Restore> values)
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.gkebackup.v1.Restore> |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListRestoresResponse.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 |
ListRestoresResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRestoresResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
addRestores(Restore value)
public ListRestoresResponse.Builder addRestores(Restore value)
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Parameter | |
---|---|
Name | Description |
value | Restore |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
addRestores(Restore.Builder builderForValue)
public ListRestoresResponse.Builder addRestores(Restore.Builder builderForValue)
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | Restore.Builder |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
addRestores(int index, Restore value)
public ListRestoresResponse.Builder addRestores(int index, Restore value)
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Parameters | |
---|---|
Name | Description |
index | int |
value | Restore |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
addRestores(int index, Restore.Builder builderForValue)
public ListRestoresResponse.Builder addRestores(int index, Restore.Builder builderForValue)
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Restore.Builder |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
addRestoresBuilder()
public Restore.Builder addRestoresBuilder()
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Returns | |
---|---|
Type | Description |
Restore.Builder |
addRestoresBuilder(int index)
public Restore.Builder addRestoresBuilder(int index)
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Restore.Builder |
addUnreachable(String value)
public ListRestoresResponse.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 |
ListRestoresResponse.Builder | This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListRestoresResponse.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 |
ListRestoresResponse.Builder | This builder for chaining. |
build()
public ListRestoresResponse build()
Returns | |
---|---|
Type | Description |
ListRestoresResponse |
buildPartial()
public ListRestoresResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListRestoresResponse |
clear()
public ListRestoresResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListRestoresResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
clearNextPageToken()
public ListRestoresResponse.Builder clearNextPageToken()
A token which may be sent as
page_token in a
subsequent ListRestores
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 |
ListRestoresResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListRestoresResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
clearRestores()
public ListRestoresResponse.Builder clearRestores()
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
clearUnreachable()
public ListRestoresResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder | This builder for chaining. |
clone()
public ListRestoresResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
getDefaultInstanceForType()
public ListRestoresResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListRestoresResponse |
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 ListRestores
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 ListRestores
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. |
getRestores(int index)
public Restore getRestores(int index)
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Restore |
getRestoresBuilder(int index)
public Restore.Builder getRestoresBuilder(int index)
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Restore.Builder |
getRestoresBuilderList()
public List<Restore.Builder> getRestoresBuilderList()
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getRestoresCount()
public int getRestoresCount()
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Returns | |
---|---|
Type | Description |
int |
getRestoresList()
public List<Restore> getRestoresList()
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Returns | |
---|---|
Type | Description |
List<Restore> |
getRestoresOrBuilder(int index)
public RestoreOrBuilder getRestoresOrBuilder(int index)
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
RestoreOrBuilder |
getRestoresOrBuilderList()
public List<? extends RestoreOrBuilder> getRestoresOrBuilderList()
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.gkebackup.v1.RestoreOrBuilder> |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListRestoresResponse other)
public ListRestoresResponse.Builder mergeFrom(ListRestoresResponse other)
Parameter | |
---|---|
Name | Description |
other | ListRestoresResponse |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListRestoresResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListRestoresResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRestoresResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
removeRestores(int index)
public ListRestoresResponse.Builder removeRestores(int index)
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListRestoresResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
setNextPageToken(String value)
public ListRestoresResponse.Builder setNextPageToken(String value)
A token which may be sent as
page_token in a
subsequent ListRestores
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 | String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListRestoresResponse.Builder setNextPageTokenBytes(ByteString value)
A token which may be sent as
page_token in a
subsequent ListRestores
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 | ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListRestoresResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
setRestores(int index, Restore value)
public ListRestoresResponse.Builder setRestores(int index, Restore value)
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Parameters | |
---|---|
Name | Description |
index | int |
value | Restore |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
setRestores(int index, Restore.Builder builderForValue)
public ListRestoresResponse.Builder setRestores(int index, Restore.Builder builderForValue)
The list of Restores matching the given criteria.
repeated .google.cloud.gkebackup.v1.Restore restores = 1;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Restore.Builder |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRestoresResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListRestoresResponse.Builder |
setUnreachable(int index, String value)
public ListRestoresResponse.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 |
ListRestoresResponse.Builder | This builder for chaining. |