/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder clearScanConfigs() { if (scanConfigsBuilder_ == null) { scanConfigs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { scanConfigsBuilder_.clear(); } return this; } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder addScanConfigs( int index, com.google.containeranalysis.v1beta1.ScanConfig value) { if (scanConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScanConfigsIsMutable(); scanConfigs_.add(index, value); onChanged(); } else { scanConfigsBuilder_.addMessage(index, value); } return this; } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder addScanConfigs(com.google.containeranalysis.v1beta1.ScanConfig value) { if (scanConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScanConfigsIsMutable(); scanConfigs_.add(value); onChanged(); } else { scanConfigsBuilder_.addMessage(value); } return this; } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder addAllScanConfigs( java.lang.Iterable<? extends com.google.containeranalysis.v1beta1.ScanConfig> values) { if (scanConfigsBuilder_ == null) { ensureScanConfigsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, scanConfigs_); onChanged(); } else { scanConfigsBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder addScanConfigs( com.google.containeranalysis.v1beta1.ScanConfig.Builder builderForValue) { if (scanConfigsBuilder_ == null) { ensureScanConfigsIsMutable(); scanConfigs_.add(builderForValue.build()); onChanged(); } else { scanConfigsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder setScanConfigs( int index, com.google.containeranalysis.v1beta1.ScanConfig.Builder builderForValue) { if (scanConfigsBuilder_ == null) { ensureScanConfigsIsMutable(); scanConfigs_.set(index, builderForValue.build()); onChanged(); } else { scanConfigsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * 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. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder addScanConfigs( int index, com.google.containeranalysis.v1beta1.ScanConfig.Builder builderForValue) { if (scanConfigsBuilder_ == null) { ensureScanConfigsIsMutable(); scanConfigs_.add(index, builderForValue.build()); onChanged(); } else { scanConfigsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * 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. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; }
/** * * * <pre> * 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. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder setScanConfigs( int index, com.google.containeranalysis.v1beta1.ScanConfig value) { if (scanConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScanConfigsIsMutable(); scanConfigs_.set(index, value); onChanged(); } else { scanConfigsBuilder_.setMessage(index, value); } return this; } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder addScanConfigs( int index, com.google.containeranalysis.v1beta1.ScanConfig.Builder builderForValue) { if (scanConfigsBuilder_ == null) { ensureScanConfigsIsMutable(); scanConfigs_.add(index, builderForValue.build()); onChanged(); } else { scanConfigsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder removeScanConfigs(int index) { if (scanConfigsBuilder_ == null) { ensureScanConfigsIsMutable(); scanConfigs_.remove(index); onChanged(); } else { scanConfigsBuilder_.remove(index); } return this; } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder addAllScanConfigs( java.lang.Iterable<? extends com.google.containeranalysis.v1beta1.ScanConfig> values) { if (scanConfigsBuilder_ == null) { ensureScanConfigsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, scanConfigs_); onChanged(); } else { scanConfigsBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * 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. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; }
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder addScanConfigs( com.google.containeranalysis.v1beta1.ScanConfig.Builder builderForValue) { if (scanConfigsBuilder_ == null) { ensureScanConfigsIsMutable(); scanConfigs_.add(builderForValue.build()); onChanged(); } else { scanConfigsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public Builder setScanConfigs( int index, com.google.containeranalysis.v1beta1.ScanConfig.Builder builderForValue) { if (scanConfigsBuilder_ == null) { ensureScanConfigsIsMutable(); scanConfigs_.set(index, builderForValue.build()); onChanged(); } else { scanConfigsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * 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. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /**
/** * * * <pre> * 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. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /**