Class GetScanRunRequest.Builder (2.43.0)

public static final class GetScanRunRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetScanRunRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetScanRunRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public GetScanRunRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetScanRunRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetScanRunRequest.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetScanRunRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetScanRunRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetScanRunRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetScanRunRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetScanRunRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetScanRunRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetScanRunRequest.Builder
Overrides