@java.lang.Override public com.google.containeranalysis.v1beta1.ScanConfig getDefaultInstanceForType() { return com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance(); }
/** * * * <pre> * The updated scan configuration. * </pre> * * <code>.google.devtools.containeranalysis.v1beta1.ScanConfig scan_config = 2;</code> */ public com.google.containeranalysis.v1beta1.ScanConfig getScanConfig() { return scanConfig_ == null ? com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance() : scanConfig_; } /**
/** * * * <pre> * The updated scan configuration. * </pre> * * <code>.google.devtools.containeranalysis.v1beta1.ScanConfig scan_config = 2;</code> */ public com.google.containeranalysis.v1beta1.ScanConfigOrBuilder getScanConfigOrBuilder() { if (scanConfigBuilder_ != null) { return scanConfigBuilder_.getMessageOrBuilder(); } else { return scanConfig_ == null ? com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance() : scanConfig_; } } /**
/** * * * <pre> * The updated scan configuration. * </pre> * * <code>.google.devtools.containeranalysis.v1beta1.ScanConfig scan_config = 2;</code> */ public com.google.containeranalysis.v1beta1.ScanConfig getScanConfig() { if (scanConfigBuilder_ == null) { return scanConfig_ == null ? com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance() : scanConfig_; } else { return scanConfigBuilder_.getMessage(); } } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public com.google.containeranalysis.v1beta1.ScanConfig.Builder addScanConfigsBuilder() { return getScanConfigsFieldBuilder() .addBuilder(com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance()); } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public com.google.containeranalysis.v1beta1.ScanConfig.Builder addScanConfigsBuilder( int index) { return getScanConfigsFieldBuilder() .addBuilder(index, com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance()); } /**
/** * * * <pre> * Output only. The name of the scan configuration in the form of * `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`. * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * * * <pre> * Output only. A human-readable description of what the scan configuration * does. * </pre> * * <code>string description = 2;</code> */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.containeranalysis.v1beta1.ScanConfig other) { if (other == com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
.setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance())) .setSchemaDescriptor( new ContainerAnalysisV1Beta1MethodDescriptorSupplier("UpdateScanConfig"))
.setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance())) .setSchemaDescriptor( new ContainerAnalysisV1Beta1MethodDescriptorSupplier("GetScanConfig"))
@java.lang.Override public com.google.containeranalysis.v1beta1.ScanConfig getDefaultInstanceForType() { return com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance(); }
/** * * * <pre> * The updated scan configuration. * </pre> * * <code>.google.devtools.containeranalysis.v1beta1.ScanConfig scan_config = 2;</code> */ public com.google.containeranalysis.v1beta1.ScanConfig getScanConfig() { return scanConfig_ == null ? com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance() : scanConfig_; } /**
/** * * * <pre> * The updated scan configuration. * </pre> * * <code>.google.devtools.containeranalysis.v1beta1.ScanConfig scan_config = 2;</code> */ public com.google.containeranalysis.v1beta1.ScanConfig getScanConfig() { if (scanConfigBuilder_ == null) { return scanConfig_ == null ? com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance() : scanConfig_; } else { return scanConfigBuilder_.getMessage(); } } /**
/** * * * <pre> * The updated scan configuration. * </pre> * * <code>.google.devtools.containeranalysis.v1beta1.ScanConfig scan_config = 2;</code> */ public com.google.containeranalysis.v1beta1.ScanConfigOrBuilder getScanConfigOrBuilder() { if (scanConfigBuilder_ != null) { return scanConfigBuilder_.getMessageOrBuilder(); } else { return scanConfig_ == null ? com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance() : scanConfig_; } } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public com.google.containeranalysis.v1beta1.ScanConfig.Builder addScanConfigsBuilder() { return getScanConfigsFieldBuilder() .addBuilder(com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance()); } /**
/** * * * <pre> * The scan configurations requested. * </pre> * * <code>repeated .google.devtools.containeranalysis.v1beta1.ScanConfig scan_configs = 1;</code> */ public com.google.containeranalysis.v1beta1.ScanConfig.Builder addScanConfigsBuilder( int index) { return getScanConfigsFieldBuilder() .addBuilder(index, com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance()); } /**
/** * * * <pre> * Output only. The name of the scan configuration in the form of * `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`. * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * * * <pre> * Output only. A human-readable description of what the scan configuration * does. * </pre> * * <code>string description = 2;</code> */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.containeranalysis.v1beta1.ScanConfig other) { if (other == com.google.containeranalysis.v1beta1.ScanConfig.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }