public static final class ListMuteConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListMuteConfigsResponse.Builder> implements ListMuteConfigsResponseOrBuilder
Response message for listing mute configs.
Protobuf type google.cloud.securitycenter.v1.ListMuteConfigsResponse
Methods
addAllMuteConfigs(Iterable<? extends MuteConfig> values)
public ListMuteConfigsResponse.Builder addAllMuteConfigs(Iterable<? extends MuteConfig> values)
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.securitycenter.v1.MuteConfig>
|
Returns
addMuteConfigs(MuteConfig value)
public ListMuteConfigsResponse.Builder addMuteConfigs(MuteConfig value)
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Parameter
Returns
addMuteConfigs(MuteConfig.Builder builderForValue)
public ListMuteConfigsResponse.Builder addMuteConfigs(MuteConfig.Builder builderForValue)
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Parameter
Returns
addMuteConfigs(int index, MuteConfig value)
public ListMuteConfigsResponse.Builder addMuteConfigs(int index, MuteConfig value)
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Parameters
Returns
addMuteConfigs(int index, MuteConfig.Builder builderForValue)
public ListMuteConfigsResponse.Builder addMuteConfigs(int index, MuteConfig.Builder builderForValue)
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Parameters
Returns
addMuteConfigsBuilder()
public MuteConfig.Builder addMuteConfigsBuilder()
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Returns
addMuteConfigsBuilder(int index)
public MuteConfig.Builder addMuteConfigsBuilder(int index)
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListMuteConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListMuteConfigsResponse build()
Returns
buildPartial()
public ListMuteConfigsResponse buildPartial()
Returns
clear()
public ListMuteConfigsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListMuteConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMuteConfigs()
public ListMuteConfigsResponse.Builder clearMuteConfigs()
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Returns
clearNextPageToken()
public ListMuteConfigsResponse.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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListMuteConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListMuteConfigsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListMuteConfigsResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMuteConfigs(int index)
public MuteConfig getMuteConfigs(int index)
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Parameter
Returns
getMuteConfigsBuilder(int index)
public MuteConfig.Builder getMuteConfigsBuilder(int index)
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Parameter
Returns
getMuteConfigsBuilderList()
public List<MuteConfig.Builder> getMuteConfigsBuilderList()
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Returns
getMuteConfigsCount()
public int getMuteConfigsCount()
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Returns
getMuteConfigsList()
public List<MuteConfig> getMuteConfigsList()
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Returns
getMuteConfigsOrBuilder(int index)
public MuteConfigOrBuilder getMuteConfigsOrBuilder(int index)
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Parameter
Returns
getMuteConfigsOrBuilderList()
public List<? extends MuteConfigOrBuilder> getMuteConfigsOrBuilderList()
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Returns
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.MuteConfigOrBuilder> | |
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListMuteConfigsResponse other)
public ListMuteConfigsResponse.Builder mergeFrom(ListMuteConfigsResponse other)
Parameter
Returns
public ListMuteConfigsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListMuteConfigsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListMuteConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeMuteConfigs(int index)
public ListMuteConfigsResponse.Builder removeMuteConfigs(int index)
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListMuteConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMuteConfigs(int index, MuteConfig value)
public ListMuteConfigsResponse.Builder setMuteConfigs(int index, MuteConfig value)
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Parameters
Returns
setMuteConfigs(int index, MuteConfig.Builder builderForValue)
public ListMuteConfigsResponse.Builder setMuteConfigs(int index, MuteConfig.Builder builderForValue)
The mute configs from the specified parent.
repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;
Parameters
Returns
setNextPageToken(String value)
public ListMuteConfigsResponse.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 ListMuteConfigsResponse.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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListMuteConfigsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListMuteConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides