Class ListScanConfigsResponse.Builder (2.4.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.containeranalysis.v1beta1.ScanConfig>
Returns
TypeDescription
ListScanConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListScanConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueScanConfig
Returns
TypeDescription
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
NameDescription
builderForValueScanConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueScanConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueScanConfig.Builder
Returns
TypeDescription
ListScanConfigsResponse.Builder

addScanConfigsBuilder()

public ScanConfig.Builder addScanConfigsBuilder()

The scan configurations requested.

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

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

build()

public ListScanConfigsResponse build()
Returns
TypeDescription
ListScanConfigsResponse

buildPartial()

public ListScanConfigsResponse buildPartial()
Returns
TypeDescription
ListScanConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScanConfigs()

public ListScanConfigsResponse.Builder clearScanConfigs()

The scan configurations requested.

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

Returns
TypeDescription
ListScanConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListScanConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListScanConfigsResponse

getDescriptorForType()

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

getScanConfigsBuilder(int index)

public ScanConfig.Builder getScanConfigsBuilder(int index)

The scan configurations requested.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ScanConfig.Builder

getScanConfigsBuilderList()

public List<ScanConfig.Builder> getScanConfigsBuilderList()

The scan configurations requested.

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

Returns
TypeDescription
List<Builder>

getScanConfigsCount()

public int getScanConfigsCount()

The scan configurations requested.

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

Returns
TypeDescription
int

getScanConfigsList()

public List<ScanConfig> getScanConfigsList()

The scan configurations requested.

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

Returns
TypeDescription
List<ScanConfig>

getScanConfigsOrBuilder(int index)

public ScanConfigOrBuilder getScanConfigsOrBuilder(int index)

The scan configurations requested.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ScanConfigOrBuilder

getScanConfigsOrBuilderList()

public List<? extends ScanConfigOrBuilder> getScanConfigsOrBuilderList()

The scan configurations requested.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListScanConfigsResponse other)

public ListScanConfigsResponse.Builder mergeFrom(ListScanConfigsResponse other)
Parameter
NameDescription
otherListScanConfigsResponse
Returns
TypeDescription
ListScanConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueScanConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueScanConfig.Builder
Returns
TypeDescription
ListScanConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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