Package com.google.storage.v2
Class ListNotificationConfigsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
com.google.storage.v2.ListNotificationConfigsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ListNotificationConfigsResponseOrBuilder,Cloneable
- Enclosing class:
- ListNotificationConfigsResponse
public static final class ListNotificationConfigsResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
implements ListNotificationConfigsResponseOrBuilder
The result of a call to ListNotificationConfigsProtobuf type
google.storage.v2.ListNotificationConfigsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllNotificationConfigs(Iterable<? extends NotificationConfig> values) The list of items.addNotificationConfigs(int index, NotificationConfig value) The list of items.addNotificationConfigs(int index, NotificationConfig.Builder builderForValue) The list of items.The list of items.addNotificationConfigs(NotificationConfig.Builder builderForValue) The list of items.The list of items.addNotificationConfigsBuilder(int index) The list of items.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A token, which can be sent as `page_token` to retrieve the next page.The list of items.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteStringA token, which can be sent as `page_token` to retrieve the next page.getNotificationConfigs(int index) The list of items.getNotificationConfigsBuilder(int index) The list of items.The list of items.intThe list of items.The list of items.getNotificationConfigsOrBuilder(int index) The list of items.List<? extends NotificationConfigOrBuilder>The list of items.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeNotificationConfigs(int index) The list of items.setNextPageToken(String value) A token, which can be sent as `page_token` to retrieve the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token, which can be sent as `page_token` to retrieve the next page.setNotificationConfigs(int index, NotificationConfig value) The list of items.setNotificationConfigs(int index, NotificationConfig.Builder builderForValue) The list of items.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.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.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
setField
public ListNotificationConfigsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
clearField
public ListNotificationConfigsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
clearOneof
public ListNotificationConfigsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
setRepeatedField
public ListNotificationConfigsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
addRepeatedField
public ListNotificationConfigsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListNotificationConfigsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
mergeFrom
public ListNotificationConfigsResponse.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<ListNotificationConfigsResponse.Builder>- Throws:
IOException
-
getNotificationConfigsList
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;- Specified by:
getNotificationConfigsListin interfaceListNotificationConfigsResponseOrBuilder
-
getNotificationConfigsCount
public int getNotificationConfigsCount()The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;- Specified by:
getNotificationConfigsCountin interfaceListNotificationConfigsResponseOrBuilder
-
getNotificationConfigs
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;- Specified by:
getNotificationConfigsin interfaceListNotificationConfigsResponseOrBuilder
-
setNotificationConfigs
public ListNotificationConfigsResponse.Builder setNotificationConfigs(int index, NotificationConfig value) The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
setNotificationConfigs
public ListNotificationConfigsResponse.Builder setNotificationConfigs(int index, NotificationConfig.Builder builderForValue) The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
addNotificationConfigs
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
addNotificationConfigs
public ListNotificationConfigsResponse.Builder addNotificationConfigs(int index, NotificationConfig value) The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
addNotificationConfigs
public ListNotificationConfigsResponse.Builder addNotificationConfigs(NotificationConfig.Builder builderForValue) The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
addNotificationConfigs
public ListNotificationConfigsResponse.Builder addNotificationConfigs(int index, NotificationConfig.Builder builderForValue) The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
addAllNotificationConfigs
public ListNotificationConfigsResponse.Builder addAllNotificationConfigs(Iterable<? extends NotificationConfig> values) The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
clearNotificationConfigs
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
removeNotificationConfigs
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
getNotificationConfigsBuilder
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
getNotificationConfigsOrBuilder
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;- Specified by:
getNotificationConfigsOrBuilderin interfaceListNotificationConfigsResponseOrBuilder
-
getNotificationConfigsOrBuilderList
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;- Specified by:
getNotificationConfigsOrBuilderListin interfaceListNotificationConfigsResponseOrBuilder
-
addNotificationConfigsBuilder
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
addNotificationConfigsBuilder
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
getNotificationConfigsBuilderList
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1; -
getNextPageToken
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListNotificationConfigsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListNotificationConfigsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListNotificationConfigsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListNotificationConfigsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
mergeUnknownFields
public final ListNotificationConfigsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-