Package com.google.cloud.gkebackup.v1
Class ListBackupChannelsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListBackupChannelsResponse.Builder>
com.google.cloud.gkebackup.v1.ListBackupChannelsResponse.Builder
- All Implemented Interfaces:
ListBackupChannelsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListBackupChannelsResponse
public static final class ListBackupChannelsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListBackupChannelsResponse.Builder>
implements ListBackupChannelsResponseOrBuilder
Response message for ListBackupChannels.Protobuf type
google.cloud.gkebackup.v1.ListBackupChannelsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllBackupChannels(Iterable<? extends BackupChannel> values) The list of BackupChannels matching the given criteria.addAllUnreachable(Iterable<String> values) Locations that could not be reached.addBackupChannels(int index, BackupChannel value) The list of BackupChannels matching the given criteria.addBackupChannels(int index, BackupChannel.Builder builderForValue) The list of BackupChannels matching the given criteria.addBackupChannels(BackupChannel value) The list of BackupChannels matching the given criteria.addBackupChannels(BackupChannel.Builder builderForValue) The list of BackupChannels matching the given criteria.The list of BackupChannels matching the given criteria.addBackupChannelsBuilder(int index) The list of BackupChannels matching the given criteria.addUnreachable(String value) Locations that could not be reached.addUnreachableBytes(com.google.protobuf.ByteString value) Locations that could not be reached.build()clear()The list of BackupChannels matching the given criteria.A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupChannelsRequest.page_token] in a subsequent `ListBackupChannels` call to retrieve the next page of results.Locations that could not be reached.getBackupChannels(int index) The list of BackupChannels matching the given criteria.getBackupChannelsBuilder(int index) The list of BackupChannels matching the given criteria.The list of BackupChannels matching the given criteria.intThe list of BackupChannels matching the given criteria.The list of BackupChannels matching the given criteria.getBackupChannelsOrBuilder(int index) The list of BackupChannels matching the given criteria.List<? extends BackupChannelOrBuilder>The list of BackupChannels matching the given criteria.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupChannelsRequest.page_token] in a subsequent `ListBackupChannels` call to retrieve the next page of results.com.google.protobuf.ByteStringA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupChannelsRequest.page_token] in a subsequent `ListBackupChannels` call to retrieve the next page of results.getUnreachable(int index) Locations that could not be reached.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Locations that could not be reached.intLocations that could not be reached.com.google.protobuf.ProtocolStringListLocations that could not be reached.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeBackupChannels(int index) The list of BackupChannels matching the given criteria.setBackupChannels(int index, BackupChannel value) The list of BackupChannels matching the given criteria.setBackupChannels(int index, BackupChannel.Builder builderForValue) The list of BackupChannels matching the given criteria.setNextPageToken(String value) A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupChannelsRequest.page_token] in a subsequent `ListBackupChannels` call to retrieve the next page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupChannelsRequest.page_token] in a subsequent `ListBackupChannels` call to retrieve the next page of results.setUnreachable(int index, String value) Locations that could not be reached.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListBackupChannelsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListBackupChannelsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListBackupChannelsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListBackupChannelsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListBackupChannelsResponse.Builder>
-
mergeFrom
public ListBackupChannelsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListBackupChannelsResponse.Builder>- Throws:
IOException
-
getBackupChannelsList
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1;- Specified by:
getBackupChannelsListin interfaceListBackupChannelsResponseOrBuilder
-
getBackupChannelsCount
public int getBackupChannelsCount()The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1;- Specified by:
getBackupChannelsCountin interfaceListBackupChannelsResponseOrBuilder
-
getBackupChannels
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1;- Specified by:
getBackupChannelsin interfaceListBackupChannelsResponseOrBuilder
-
setBackupChannels
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
setBackupChannels
public ListBackupChannelsResponse.Builder setBackupChannels(int index, BackupChannel.Builder builderForValue) The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
addBackupChannels
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
addBackupChannels
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
addBackupChannels
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
addBackupChannels
public ListBackupChannelsResponse.Builder addBackupChannels(int index, BackupChannel.Builder builderForValue) The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
addAllBackupChannels
public ListBackupChannelsResponse.Builder addAllBackupChannels(Iterable<? extends BackupChannel> values) The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
clearBackupChannels
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
removeBackupChannels
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
getBackupChannelsBuilder
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
getBackupChannelsOrBuilder
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1;- Specified by:
getBackupChannelsOrBuilderin interfaceListBackupChannelsResponseOrBuilder
-
getBackupChannelsOrBuilderList
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1;- Specified by:
getBackupChannelsOrBuilderListin interfaceListBackupChannelsResponseOrBuilder
-
addBackupChannelsBuilder
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
addBackupChannelsBuilder
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
getBackupChannelsBuilderList
The list of BackupChannels matching the given criteria.
repeated .google.cloud.gkebackup.v1.BackupChannel backup_channels = 1; -
getNextPageToken
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupChannelsRequest.page_token] in a subsequent `ListBackupChannels` 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:
getNextPageTokenin interfaceListBackupChannelsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupChannelsRequest.page_token] in a subsequent `ListBackupChannels` 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:
getNextPageTokenBytesin interfaceListBackupChannelsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupChannelsRequest.page_token] in a subsequent `ListBackupChannels` 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
A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupChannelsRequest.page_token] in a subsequent `ListBackupChannels` 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 ListBackupChannelsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupChannelsRequest.page_token] in a subsequent `ListBackupChannels` 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:
getUnreachableListin interfaceListBackupChannelsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListBackupChannelsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListBackupChannelsResponseOrBuilder- 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:
getUnreachableBytesin interfaceListBackupChannelsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
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
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-