Class CreateScanConfigRequest (2.45.0)

public final class CreateScanConfigRequest extends GeneratedMessageV3 implements CreateScanConfigRequestOrBuilder

Request for the CreateScanConfig method.

Protobuf type google.cloud.websecurityscanner.v1.CreateScanConfigRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

SCAN_CONFIG_FIELD_NUMBER

public static final int SCAN_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateScanConfigRequest getDefaultInstance()
Returns
Type Description
CreateScanConfigRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreateScanConfigRequest.Builder newBuilder()
Returns
Type Description
CreateScanConfigRequest.Builder

newBuilder(CreateScanConfigRequest prototype)

public static CreateScanConfigRequest.Builder newBuilder(CreateScanConfigRequest prototype)
Parameter
Name Description
prototype CreateScanConfigRequest
Returns
Type Description
CreateScanConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateScanConfigRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateScanConfigRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateScanConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateScanConfigRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateScanConfigRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateScanConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateScanConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateScanConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateScanConfigRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateScanConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateScanConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateScanConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateScanConfigRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateScanConfigRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateScanConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateScanConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateScanConfigRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateScanConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateScanConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateScanConfigRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateScanConfigRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateScanConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateScanConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateScanConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateScanConfigRequest> parser()
Returns
Type Description
Parser<CreateScanConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreateScanConfigRequest getDefaultInstanceForType()
Returns
Type Description
CreateScanConfigRequest

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
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateScanConfigRequest> getParserForType()
Returns
Type Description
Parser<CreateScanConfigRequest>
Overrides

getScanConfig()

public ScanConfig getScanConfig()

Required. The ScanConfig to be created.

.google.cloud.websecurityscanner.v1.ScanConfig scan_config = 2;

Returns
Type Description
ScanConfig

The scanConfig.

getScanConfigOrBuilder()

public ScanConfigOrBuilder getScanConfigOrBuilder()

Required. The ScanConfig to be created.

.google.cloud.websecurityscanner.v1.ScanConfig scan_config = 2;

Returns
Type Description
ScanConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateScanConfigRequest.Builder newBuilderForType()
Returns
Type Description
CreateScanConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateScanConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateScanConfigRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreateScanConfigRequest.Builder toBuilder()
Returns
Type Description
CreateScanConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException