public static final class CreateScanConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateScanConfigRequest.Builder> implements CreateScanConfigRequestOrBuilder
Request for the CreateScanConfig
method.
Protobuf type google.cloud.websecurityscanner.v1alpha.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()
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearScanConfig()
public CreateScanConfigRequest.Builder clearScanConfig()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1alpha.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
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 [(.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
getScanConfig()
public ScanConfig getScanConfig()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1alpha.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getScanConfigBuilder()
public ScanConfig.Builder getScanConfigBuilder()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1alpha.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getScanConfigOrBuilder()
public ScanConfigOrBuilder getScanConfigOrBuilder()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1alpha.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasScanConfig()
public boolean hasScanConfig()
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1alpha.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
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.v1alpha.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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.v1alpha.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setScanConfig(ScanConfig.Builder builderForValue)
public CreateScanConfigRequest.Builder setScanConfig(ScanConfig.Builder builderForValue)
Required. The ScanConfig to be created.
.google.cloud.websecurityscanner.v1alpha.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateScanConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides