public static final class StopScanRunRequest.Builder extends GeneratedMessageV3.Builder<StopScanRunRequest.Builder> implements StopScanRunRequestOrBuilder
Request for the StopScanRun
method.
Protobuf type google.cloud.websecurityscanner.v1.StopScanRunRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StopScanRunRequest.BuilderImplements
StopScanRunRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StopScanRunRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StopScanRunRequest.Builder |
build()
public StopScanRunRequest build()
Type | Description |
StopScanRunRequest |
buildPartial()
public StopScanRunRequest buildPartial()
Type | Description |
StopScanRunRequest |
clear()
public StopScanRunRequest.Builder clear()
Type | Description |
StopScanRunRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public StopScanRunRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
StopScanRunRequest.Builder |
clearName()
public StopScanRunRequest.Builder clearName()
Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
string name = 1;
Type | Description |
StopScanRunRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StopScanRunRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
StopScanRunRequest.Builder |
clone()
public StopScanRunRequest.Builder clone()
Type | Description |
StopScanRunRequest.Builder |
getDefaultInstanceForType()
public StopScanRunRequest getDefaultInstanceForType()
Type | Description |
StopScanRunRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(StopScanRunRequest other)
public StopScanRunRequest.Builder mergeFrom(StopScanRunRequest other)
Name | Description |
other | StopScanRunRequest |
Type | Description |
StopScanRunRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StopScanRunRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StopScanRunRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public StopScanRunRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
StopScanRunRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StopScanRunRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StopScanRunRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StopScanRunRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StopScanRunRequest.Builder |
setName(String value)
public StopScanRunRequest.Builder setName(String value)
Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
StopScanRunRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public StopScanRunRequest.Builder setNameBytes(ByteString value)
Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
StopScanRunRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StopScanRunRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
StopScanRunRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StopScanRunRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StopScanRunRequest.Builder |