public static final class CreateScanConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateScanConfigRequest.Builder> implements CreateScanConfigRequestOrBuilder
Request for the CreateScanConfig
method.
Protobuf type google.cloud.websecurityscanner.v1.CreateScanConfigRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateScanConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateScanConfigRequest build()
Returns
buildPartial()
public CreateScanConfigRequest buildPartial()
Returns
clear()
public CreateScanConfigRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateScanConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateScanConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateScanConfigRequest.Builder clearParent()
Required. The parent resource name where the scan is created, which should be a
project resource name in the format 'projects/{projectId}'.
string parent = 1;
Returns
clearScanConfig()
public CreateScanConfigRequest.Builder clearScanConfig()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1.ScanConfig scan_config = 2;
Returns
clone()
public CreateScanConfigRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateScanConfigRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getParent()
public String getParent()
Required. The parent resource name where the scan is created, which should be a
project resource name in the format 'projects/{projectId}'.
string parent = 1;
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource name where the scan is created, which should be a
project resource name in the format 'projects/{projectId}'.
string parent = 1;
Returns
getScanConfig()
public ScanConfig getScanConfig()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1.ScanConfig scan_config = 2;
Returns
getScanConfigBuilder()
public ScanConfig.Builder getScanConfigBuilder()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1.ScanConfig scan_config = 2;
Returns
getScanConfigOrBuilder()
public ScanConfigOrBuilder getScanConfigOrBuilder()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1.ScanConfig scan_config = 2;
Returns
hasScanConfig()
public boolean hasScanConfig()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1.ScanConfig scan_config = 2;
Returns
Type | Description |
boolean | Whether the scanConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateScanConfigRequest other)
public CreateScanConfigRequest.Builder mergeFrom(CreateScanConfigRequest other)
Parameter
Returns
public CreateScanConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateScanConfigRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeScanConfig(ScanConfig value)
public CreateScanConfigRequest.Builder mergeScanConfig(ScanConfig value)
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1.ScanConfig scan_config = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateScanConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateScanConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateScanConfigRequest.Builder setParent(String value)
Required. The parent resource name where the scan is created, which should be a
project resource name in the format 'projects/{projectId}'.
string parent = 1;
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public CreateScanConfigRequest.Builder setParentBytes(ByteString value)
Required. The parent resource name where the scan is created, which should be a
project resource name in the format 'projects/{projectId}'.
string parent = 1;
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateScanConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setScanConfig(ScanConfig value)
public CreateScanConfigRequest.Builder setScanConfig(ScanConfig value)
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1.ScanConfig scan_config = 2;
Parameter
Returns
setScanConfig(ScanConfig.Builder builderForValue)
public CreateScanConfigRequest.Builder setScanConfig(ScanConfig.Builder builderForValue)
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1.ScanConfig scan_config = 2;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateScanConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides