Class ListMuteConfigsResponse.Builder (2.54.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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
Type Description
ListMuteConfigsResponse.Builder

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
Name Description
value MuteConfig
Returns
Type Description
ListMuteConfigsResponse.Builder

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
Name Description
builderForValue MuteConfig.Builder
Returns
Type Description
ListMuteConfigsResponse.Builder

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
Name Description
index int
value MuteConfig
Returns
Type Description
ListMuteConfigsResponse.Builder

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
Name Description
index int
builderForValue MuteConfig.Builder
Returns
Type Description
ListMuteConfigsResponse.Builder

addMuteConfigsBuilder()

public MuteConfig.Builder addMuteConfigsBuilder()

The mute configs from the specified parent.

repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;

Returns
Type Description
MuteConfig.Builder

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
Name Description
index int
Returns
Type Description
MuteConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListMuteConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListMuteConfigsResponse.Builder
Overrides

build()

public ListMuteConfigsResponse build()
Returns
Type Description
ListMuteConfigsResponse

buildPartial()

public ListMuteConfigsResponse buildPartial()
Returns
Type Description
ListMuteConfigsResponse

clear()

public ListMuteConfigsResponse.Builder clear()
Returns
Type Description
ListMuteConfigsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListMuteConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListMuteConfigsResponse.Builder
Overrides

clearMuteConfigs()

public ListMuteConfigsResponse.Builder clearMuteConfigs()

The mute configs from the specified parent.

repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;

Returns
Type Description
ListMuteConfigsResponse.Builder

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
Type Description
ListMuteConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListMuteConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListMuteConfigsResponse.Builder
Overrides

clone()

public ListMuteConfigsResponse.Builder clone()
Returns
Type Description
ListMuteConfigsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListMuteConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListMuteConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Name Description
index int
Returns
Type Description
MuteConfig

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
Name Description
index int
Returns
Type Description
MuteConfig.Builder

getMuteConfigsBuilderList()

public List<MuteConfig.Builder> getMuteConfigsBuilderList()

The mute configs from the specified parent.

repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;

Returns
Type Description
List<Builder>

getMuteConfigsCount()

public int getMuteConfigsCount()

The mute configs from the specified parent.

repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;

Returns
Type Description
int

getMuteConfigsList()

public List<MuteConfig> getMuteConfigsList()

The mute configs from the specified parent.

repeated .google.cloud.securitycenter.v1.MuteConfig mute_configs = 1;

Returns
Type Description
List<MuteConfig>

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
Name Description
index int
Returns
Type Description
MuteConfigOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMuteConfigsResponse other)

public ListMuteConfigsResponse.Builder mergeFrom(ListMuteConfigsResponse other)
Parameter
Name Description
other ListMuteConfigsResponse
Returns
Type Description
ListMuteConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListMuteConfigsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMuteConfigsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListMuteConfigsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListMuteConfigsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListMuteConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListMuteConfigsResponse.Builder
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
Name Description
index int
Returns
Type Description
ListMuteConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListMuteConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListMuteConfigsResponse.Builder
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
Name Description
index int
value MuteConfig
Returns
Type Description
ListMuteConfigsResponse.Builder

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
Name Description
index int
builderForValue MuteConfig.Builder
Returns
Type Description
ListMuteConfigsResponse.Builder

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
Type Description
ListMuteConfigsResponse.Builder

This builder for chaining.

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
Type Description
ListMuteConfigsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListMuteConfigsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListMuteConfigsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListMuteConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListMuteConfigsResponse.Builder
Overrides