Package com.google.cloud.gkebackup.v1
Class ListBackupPlansResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
- com.google.cloud.gkebackup.v1.ListBackupPlansResponse.Builder
-
- All Implemented Interfaces:
ListBackupPlansResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListBackupPlansResponse
public static final class ListBackupPlansResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder> implements ListBackupPlansResponseOrBuilder
Response message for ListBackupPlans.
Protobuf typegoogle.cloud.gkebackup.v1.ListBackupPlansResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBackupPlansResponse.Builder
addAllBackupPlans(Iterable<? extends BackupPlan> values)
The list of BackupPlans matching the given criteria.ListBackupPlansResponse.Builder
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.ListBackupPlansResponse.Builder
addBackupPlans(int index, BackupPlan value)
The list of BackupPlans matching the given criteria.ListBackupPlansResponse.Builder
addBackupPlans(int index, BackupPlan.Builder builderForValue)
The list of BackupPlans matching the given criteria.ListBackupPlansResponse.Builder
addBackupPlans(BackupPlan value)
The list of BackupPlans matching the given criteria.ListBackupPlansResponse.Builder
addBackupPlans(BackupPlan.Builder builderForValue)
The list of BackupPlans matching the given criteria.BackupPlan.Builder
addBackupPlansBuilder()
The list of BackupPlans matching the given criteria.BackupPlan.Builder
addBackupPlansBuilder(int index)
The list of BackupPlans matching the given criteria.ListBackupPlansResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListBackupPlansResponse.Builder
addUnreachable(String value)
Locations that could not be reached.ListBackupPlansResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.ListBackupPlansResponse
build()
ListBackupPlansResponse
buildPartial()
ListBackupPlansResponse.Builder
clear()
ListBackupPlansResponse.Builder
clearBackupPlans()
The list of BackupPlans matching the given criteria.ListBackupPlansResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListBackupPlansResponse.Builder
clearNextPageToken()
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] in a subsequent `ListBackupPlans` call to retrieve the next page of results.ListBackupPlansResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListBackupPlansResponse.Builder
clearUnreachable()
Locations that could not be reached.ListBackupPlansResponse.Builder
clone()
BackupPlan
getBackupPlans(int index)
The list of BackupPlans matching the given criteria.BackupPlan.Builder
getBackupPlansBuilder(int index)
The list of BackupPlans matching the given criteria.List<BackupPlan.Builder>
getBackupPlansBuilderList()
The list of BackupPlans matching the given criteria.int
getBackupPlansCount()
The list of BackupPlans matching the given criteria.List<BackupPlan>
getBackupPlansList()
The list of BackupPlans matching the given criteria.BackupPlanOrBuilder
getBackupPlansOrBuilder(int index)
The list of BackupPlans matching the given criteria.List<? extends BackupPlanOrBuilder>
getBackupPlansOrBuilderList()
The list of BackupPlans matching the given criteria.ListBackupPlansResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] in a subsequent `ListBackupPlans` call to retrieve the next page of results.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] in a subsequent `ListBackupPlans` call to retrieve the next page of results.String
getUnreachable(int index)
Locations that could not be reached.com.google.protobuf.ByteString
getUnreachableBytes(int index)
Locations that could not be reached.int
getUnreachableCount()
Locations that could not be reached.com.google.protobuf.ProtocolStringList
getUnreachableList()
Locations that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListBackupPlansResponse.Builder
mergeFrom(ListBackupPlansResponse other)
ListBackupPlansResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListBackupPlansResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListBackupPlansResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListBackupPlansResponse.Builder
removeBackupPlans(int index)
The list of BackupPlans matching the given criteria.ListBackupPlansResponse.Builder
setBackupPlans(int index, BackupPlan value)
The list of BackupPlans matching the given criteria.ListBackupPlansResponse.Builder
setBackupPlans(int index, BackupPlan.Builder builderForValue)
The list of BackupPlans matching the given criteria.ListBackupPlansResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListBackupPlansResponse.Builder
setNextPageToken(String value)
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] in a subsequent `ListBackupPlans` call to retrieve the next page of results.ListBackupPlansResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] in a subsequent `ListBackupPlans` call to retrieve the next page of results.ListBackupPlansResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListBackupPlansResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListBackupPlansResponse.Builder
setUnreachable(int index, String value)
Locations that could not be reached.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
clear
public ListBackupPlansResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
getDefaultInstanceForType
public ListBackupPlansResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListBackupPlansResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListBackupPlansResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListBackupPlansResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
setField
public ListBackupPlansResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
clearField
public ListBackupPlansResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
clearOneof
public ListBackupPlansResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
setRepeatedField
public ListBackupPlansResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
addRepeatedField
public ListBackupPlansResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
mergeFrom
public ListBackupPlansResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListBackupPlansResponse.Builder>
-
mergeFrom
public ListBackupPlansResponse.Builder mergeFrom(ListBackupPlansResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
mergeFrom
public ListBackupPlansResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListBackupPlansResponse.Builder>
- Throws:
IOException
-
getBackupPlansList
public List<BackupPlan> getBackupPlansList()
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
- Specified by:
getBackupPlansList
in interfaceListBackupPlansResponseOrBuilder
-
getBackupPlansCount
public int getBackupPlansCount()
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
- Specified by:
getBackupPlansCount
in interfaceListBackupPlansResponseOrBuilder
-
getBackupPlans
public BackupPlan getBackupPlans(int index)
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
- Specified by:
getBackupPlans
in interfaceListBackupPlansResponseOrBuilder
-
setBackupPlans
public ListBackupPlansResponse.Builder setBackupPlans(int index, BackupPlan value)
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
setBackupPlans
public ListBackupPlansResponse.Builder setBackupPlans(int index, BackupPlan.Builder builderForValue)
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
addBackupPlans
public ListBackupPlansResponse.Builder addBackupPlans(BackupPlan value)
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
addBackupPlans
public ListBackupPlansResponse.Builder addBackupPlans(int index, BackupPlan value)
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
addBackupPlans
public ListBackupPlansResponse.Builder addBackupPlans(BackupPlan.Builder builderForValue)
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
addBackupPlans
public ListBackupPlansResponse.Builder addBackupPlans(int index, BackupPlan.Builder builderForValue)
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
addAllBackupPlans
public ListBackupPlansResponse.Builder addAllBackupPlans(Iterable<? extends BackupPlan> values)
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
clearBackupPlans
public ListBackupPlansResponse.Builder clearBackupPlans()
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
removeBackupPlans
public ListBackupPlansResponse.Builder removeBackupPlans(int index)
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
getBackupPlansBuilder
public BackupPlan.Builder getBackupPlansBuilder(int index)
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
getBackupPlansOrBuilder
public BackupPlanOrBuilder getBackupPlansOrBuilder(int index)
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
- Specified by:
getBackupPlansOrBuilder
in interfaceListBackupPlansResponseOrBuilder
-
getBackupPlansOrBuilderList
public List<? extends BackupPlanOrBuilder> getBackupPlansOrBuilderList()
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
- Specified by:
getBackupPlansOrBuilderList
in interfaceListBackupPlansResponseOrBuilder
-
addBackupPlansBuilder
public BackupPlan.Builder addBackupPlansBuilder()
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
addBackupPlansBuilder
public BackupPlan.Builder addBackupPlansBuilder(int index)
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
getBackupPlansBuilderList
public List<BackupPlan.Builder> getBackupPlansBuilderList()
The list of BackupPlans matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupPlan backup_plans = 1;
-
getNextPageToken
public String getNextPageToken()
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] in a subsequent `ListBackupPlans` 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;
- Specified by:
getNextPageToken
in interfaceListBackupPlansResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] in a subsequent `ListBackupPlans` 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;
- Specified by:
getNextPageTokenBytes
in interfaceListBackupPlansResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListBackupPlansResponse.Builder setNextPageToken(String value)
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] in a subsequent `ListBackupPlans` 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;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListBackupPlansResponse.Builder clearNextPageToken()
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] in a subsequent `ListBackupPlans` 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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListBackupPlansResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] in a subsequent `ListBackupPlans` 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;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableList
in interfaceListBackupPlansResponseOrBuilder
- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableCount
in interfaceListBackupPlansResponseOrBuilder
- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachable
in interfaceListBackupPlansResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index)
Locations that could not be reached.
repeated string unreachable = 3;
- Specified by:
getUnreachableBytes
in interfaceListBackupPlansResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListBackupPlansResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
index
- The index to set the value at.value
- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
public ListBackupPlansResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
value
- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListBackupPlansResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
values
- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListBackupPlansResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListBackupPlansResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;
- Parameters:
value
- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListBackupPlansResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
mergeUnknownFields
public final ListBackupPlansResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListBackupPlansResponse.Builder>
-
-