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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListScanConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addScanConfigs(ScanConfig value)
public ListScanConfigsResponse.Builder addScanConfigs(ScanConfig value)
The scan configurations requested.
repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
addScanConfigsBuilder()
public ScanConfig.Builder addScanConfigsBuilder()
The scan configurations requested.
repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;
Returns
addScanConfigsBuilder(int index)
public ScanConfig.Builder addScanConfigsBuilder(int index)
The scan configurations requested.
repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;
Parameter
Returns
build()
public ListScanConfigsResponse build()
Returns
buildPartial()
public ListScanConfigsResponse buildPartial()
Returns
clear()
public ListScanConfigsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListScanConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListScanConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearScanConfigs()
public ListScanConfigsResponse.Builder clearScanConfigs()
The scan configurations requested.
repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;
Returns
clone()
public ListScanConfigsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListScanConfigsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getScanConfigsBuilder(int index)
public ScanConfig.Builder getScanConfigsBuilder(int index)
The scan configurations requested.
repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;
Parameter
Returns
getScanConfigsBuilderList()
public List<ScanConfig.Builder> getScanConfigsBuilderList()
The scan configurations requested.
repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;
Returns
getScanConfigsCount()
public int getScanConfigsCount()
The scan configurations requested.
repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;
Returns
getScanConfigsList()
public List<ScanConfig> getScanConfigsList()
The scan configurations requested.
repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;
Returns
getScanConfigsOrBuilder(int index)
public ScanConfigOrBuilder getScanConfigsOrBuilder(int index)
The scan configurations requested.
repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListScanConfigsResponse other)
public ListScanConfigsResponse.Builder mergeFrom(ListScanConfigsResponse other)
Parameter
Returns
public ListScanConfigsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListScanConfigsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListScanConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeScanConfigs(int index)
public ListScanConfigsResponse.Builder removeScanConfigs(int index)
The scan configurations requested.
repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListScanConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListScanConfigsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListScanConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides