public static final class ListNotificationConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder> implements ListNotificationConfigsResponseOrBuilder
The result of a call to ListNotificationConfigs
Protobuf type google.storage.v2.ListNotificationConfigsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllNotificationConfigs(Iterable<? extends NotificationConfig> values)
public ListNotificationConfigsResponse.Builder addAllNotificationConfigs(Iterable<? extends NotificationConfig> values)
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.storage.v2.NotificationConfig>
|
Returns
addNotificationConfigs(NotificationConfig value)
public ListNotificationConfigsResponse.Builder addNotificationConfigs(NotificationConfig value)
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Parameter
Returns
addNotificationConfigs(NotificationConfig.Builder builderForValue)
public ListNotificationConfigsResponse.Builder addNotificationConfigs(NotificationConfig.Builder builderForValue)
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Parameter
Returns
addNotificationConfigs(int index, NotificationConfig value)
public ListNotificationConfigsResponse.Builder addNotificationConfigs(int index, NotificationConfig value)
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Parameters
Returns
addNotificationConfigs(int index, NotificationConfig.Builder builderForValue)
public ListNotificationConfigsResponse.Builder addNotificationConfigs(int index, NotificationConfig.Builder builderForValue)
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Parameters
Returns
addNotificationConfigsBuilder()
public NotificationConfig.Builder addNotificationConfigsBuilder()
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Returns
addNotificationConfigsBuilder(int index)
public NotificationConfig.Builder addNotificationConfigsBuilder(int index)
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Parameter
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListNotificationConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListNotificationConfigsResponse build()
Returns
buildPartial()
public ListNotificationConfigsResponse buildPartial()
Returns
clear()
public ListNotificationConfigsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListNotificationConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListNotificationConfigsResponse.Builder 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
clearNotificationConfigs()
public ListNotificationConfigsResponse.Builder clearNotificationConfigs()
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListNotificationConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListNotificationConfigsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListNotificationConfigsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String 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;
Returns
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public 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;
Returns
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getNotificationConfigs(int index)
public NotificationConfig getNotificationConfigs(int index)
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getNotificationConfigsBuilder(int index)
public NotificationConfig.Builder getNotificationConfigsBuilder(int index)
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getNotificationConfigsBuilderList()
public List<NotificationConfig.Builder> getNotificationConfigsBuilderList()
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Returns
getNotificationConfigsCount()
public int getNotificationConfigsCount()
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Returns
getNotificationConfigsList()
public List<NotificationConfig> getNotificationConfigsList()
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Returns
getNotificationConfigsOrBuilder(int index)
public NotificationConfigOrBuilder getNotificationConfigsOrBuilder(int index)
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getNotificationConfigsOrBuilderList()
public List<? extends NotificationConfigOrBuilder> getNotificationConfigsOrBuilderList()
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Returns
Type |
Description |
List<? extends com.google.storage.v2.NotificationConfigOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public ListNotificationConfigsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListNotificationConfigsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(ListNotificationConfigsResponse other)
public ListNotificationConfigsResponse.Builder mergeFrom(ListNotificationConfigsResponse other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListNotificationConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeNotificationConfigs(int index)
public ListNotificationConfigsResponse.Builder removeNotificationConfigs(int index)
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Parameter
Name |
Description |
index |
int
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListNotificationConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListNotificationConfigsResponse.Builder setNextPageToken(String 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;
Parameter
Name |
Description |
value |
String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListNotificationConfigsResponse.Builder setNextPageTokenBytes(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;
Parameter
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
Returns
setNotificationConfigs(int index, NotificationConfig value)
public ListNotificationConfigsResponse.Builder setNotificationConfigs(int index, NotificationConfig value)
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Parameters
Returns
setNotificationConfigs(int index, NotificationConfig.Builder builderForValue)
public ListNotificationConfigsResponse.Builder setNotificationConfigs(int index, NotificationConfig.Builder builderForValue)
The list of items.
repeated .google.storage.v2.NotificationConfig notification_configs = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListNotificationConfigsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListNotificationConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides