Class GetScanRunRequest.Builder (2.85.0)

public static final class GetScanRunRequest.Builder extends GeneratedMessage.Builder<GetScanRunRequest.Builder> implements GetScanRunRequestOrBuilder

Request for the GetScanRun method.

Protobuf type google.cloud.websecurityscanner.v1.GetScanRunRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetScanRunRequest build()
Returns
Type Description
GetScanRunRequest

buildPartial()

public GetScanRunRequest buildPartial()
Returns
Type Description
GetScanRunRequest

clear()

public GetScanRunRequest.Builder clear()
Returns
Type Description
GetScanRunRequest.Builder
Overrides

clearName()

public GetScanRunRequest.Builder clearName()

Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

string name = 1;

Returns
Type Description
GetScanRunRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetScanRunRequest getDefaultInstanceForType()
Returns
Type Description
GetScanRunRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetScanRunRequest other)

public GetScanRunRequest.Builder mergeFrom(GetScanRunRequest other)
Parameter
Name Description
other GetScanRunRequest
Returns
Type Description
GetScanRunRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetScanRunRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetScanRunRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetScanRunRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetScanRunRequest.Builder
Overrides

setName(String value)

public GetScanRunRequest.Builder setName(String value)

Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetScanRunRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetScanRunRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetScanRunRequest.Builder

This builder for chaining.