public static final class CreateScanConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateScanConfigRequest.Builder> implements CreateScanConfigRequestOrBuilder
Request for the CreateScanConfig
method.
Protobuf type google.cloud.websecurityscanner.v1beta.CreateScanConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateScanConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateScanConfigRequest build()
buildPartial()
public CreateScanConfigRequest buildPartial()
clear()
public CreateScanConfigRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateScanConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateScanConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearScanConfig()
public CreateScanConfigRequest.Builder clearScanConfig()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateScanConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateScanConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getScanConfig()
public ScanConfig getScanConfig()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
getScanConfigBuilder()
public ScanConfig.Builder getScanConfigBuilder()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
getScanConfigOrBuilder()
public ScanConfigOrBuilder getScanConfigOrBuilder()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
hasScanConfig()
public boolean hasScanConfig()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the scanConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateScanConfigRequest other)
public CreateScanConfigRequest.Builder mergeFrom(CreateScanConfigRequest other)
public CreateScanConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateScanConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeScanConfig(ScanConfig value)
public CreateScanConfigRequest.Builder mergeScanConfig(ScanConfig value)
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateScanConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateScanConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateScanConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setScanConfig(ScanConfig value)
public CreateScanConfigRequest.Builder setScanConfig(ScanConfig value)
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
setScanConfig(ScanConfig.Builder builderForValue)
public CreateScanConfigRequest.Builder setScanConfig(ScanConfig.Builder builderForValue)
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateScanConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides