Class ListScanConfigsResponse.Builder (2.50.0)

public static final class ListScanConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListScanConfigsResponse.Builder> implements ListScanConfigsResponseOrBuilder

Response for listing scan configurations.

Protobuf type google.devtools.containeranalysis.v1beta1.ListScanConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllScanConfigs(Iterable<? extends ScanConfig> values)

public ListScanConfigsResponse.Builder addAllScanConfigs(Iterable<? extends ScanConfig> values)

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.containeranalysis.v1beta1.ScanConfig>
Returns
Type Description
ListScanConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addScanConfigs(ScanConfig value)

public ListScanConfigsResponse.Builder addScanConfigs(ScanConfig value)

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Parameter
Name Description
value ScanConfig
Returns
Type Description
ListScanConfigsResponse.Builder

addScanConfigs(ScanConfig.Builder builderForValue)

public ListScanConfigsResponse.Builder addScanConfigs(ScanConfig.Builder builderForValue)

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Parameter
Name Description
builderForValue ScanConfig.Builder
Returns
Type Description
ListScanConfigsResponse.Builder

addScanConfigs(int index, ScanConfig value)

public ListScanConfigsResponse.Builder addScanConfigs(int index, ScanConfig value)

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Parameters
Name Description
index int
value ScanConfig
Returns
Type Description
ListScanConfigsResponse.Builder

addScanConfigs(int index, ScanConfig.Builder builderForValue)

public ListScanConfigsResponse.Builder addScanConfigs(int index, ScanConfig.Builder builderForValue)

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Parameters
Name Description
index int
builderForValue ScanConfig.Builder
Returns
Type Description
ListScanConfigsResponse.Builder

addScanConfigsBuilder()

public ScanConfig.Builder addScanConfigsBuilder()

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Returns
Type Description
ScanConfig.Builder

addScanConfigsBuilder(int index)

public ScanConfig.Builder addScanConfigsBuilder(int index)

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ScanConfig.Builder

build()

public ListScanConfigsResponse build()
Returns
Type Description
ListScanConfigsResponse

buildPartial()

public ListScanConfigsResponse buildPartial()
Returns
Type Description
ListScanConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListScanConfigsResponse.Builder clearNextPageToken()

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Returns
Type Description
ListScanConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScanConfigs()

public ListScanConfigsResponse.Builder clearScanConfigs()

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Returns
Type Description
ListScanConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListScanConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListScanConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getScanConfigs(int index)

public ScanConfig getScanConfigs(int index)

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ScanConfig

getScanConfigsBuilder(int index)

public ScanConfig.Builder getScanConfigsBuilder(int index)

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ScanConfig.Builder

getScanConfigsBuilderList()

public List<ScanConfig.Builder> getScanConfigsBuilderList()

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Returns
Type Description
List<Builder>

getScanConfigsCount()

public int getScanConfigsCount()

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Returns
Type Description
int

getScanConfigsList()

public List<ScanConfig> getScanConfigsList()

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Returns
Type Description
List<ScanConfig>

getScanConfigsOrBuilder(int index)

public ScanConfigOrBuilder getScanConfigsOrBuilder(int index)

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ScanConfigOrBuilder

getScanConfigsOrBuilderList()

public List<? extends ScanConfigOrBuilder> getScanConfigsOrBuilderList()

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Returns
Type Description
List<? extends com.google.containeranalysis.v1beta1.ScanConfigOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListScanConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListScanConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListScanConfigsResponse.Builder
Overrides

removeScanConfigs(int index)

public ListScanConfigsResponse.Builder removeScanConfigs(int index)

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListScanConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListScanConfigsResponse.Builder setNextPageToken(String value)

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListScanConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListScanConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListScanConfigsResponse.Builder

This builder for chaining.

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

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

setScanConfigs(int index, ScanConfig value)

public ListScanConfigsResponse.Builder setScanConfigs(int index, ScanConfig value)

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Parameters
Name Description
index int
value ScanConfig
Returns
Type Description
ListScanConfigsResponse.Builder

setScanConfigs(int index, ScanConfig.Builder builderForValue)

public ListScanConfigsResponse.Builder setScanConfigs(int index, ScanConfig.Builder builderForValue)

The scan configurations requested.

repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;

Parameters
Name Description
index int
builderForValue ScanConfig.Builder
Returns
Type Description
ListScanConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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