Class ListMuteConfigsResponse.Builder (2.36.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.MuteConfig>
Returns
TypeDescription
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
NameDescription
valueMuteConfig
Returns
TypeDescription
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
NameDescription
builderForValueMuteConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueMuteConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMuteConfig.Builder
Returns
TypeDescription
ListMuteConfigsResponse.Builder

addMuteConfigsBuilder()

public MuteConfig.Builder addMuteConfigsBuilder()

The mute configs from the specified parent.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MuteConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListMuteConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListMuteConfigsResponse.Builder
Overrides

build()

public ListMuteConfigsResponse build()
Returns
TypeDescription
ListMuteConfigsResponse

buildPartial()

public ListMuteConfigsResponse buildPartial()
Returns
TypeDescription
ListMuteConfigsResponse

clear()

public ListMuteConfigsResponse.Builder clear()
Returns
TypeDescription
ListMuteConfigsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListMuteConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListMuteConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListMuteConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListMuteConfigsResponse.Builder
Overrides

clone()

public ListMuteConfigsResponse.Builder clone()
Returns
TypeDescription
ListMuteConfigsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListMuteConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListMuteConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getMuteConfigsCount()

public int getMuteConfigsCount()

The mute configs from the specified parent.

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

Returns
TypeDescription
int

getMuteConfigsList()

public List<MuteConfig> getMuteConfigsList()

The mute configs from the specified parent.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MuteConfigOrBuilder

getMuteConfigsOrBuilderList()

public List<? extends MuteConfigOrBuilder> getMuteConfigsOrBuilderList()

The mute configs from the specified parent.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListMuteConfigsResponse other)

public ListMuteConfigsResponse.Builder mergeFrom(ListMuteConfigsResponse other)
Parameter
NameDescription
otherListMuteConfigsResponse
Returns
TypeDescription
ListMuteConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListMuteConfigsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMuteConfigsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListMuteConfigsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListMuteConfigsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListMuteConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListMuteConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListMuteConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueMuteConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMuteConfig.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListMuteConfigsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListMuteConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListMuteConfigsResponse.Builder
Overrides