public static final class SetFindingStateRequest.Builder extends GeneratedMessageV3.Builder<SetFindingStateRequest.Builder> implements SetFindingStateRequestOrBuilder
Request message for updating a finding's state.
Protobuf type google.cloud.securitycenter.v1beta1.SetFindingStateRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SetFindingStateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SetFindingStateRequest build()
Returns
buildPartial()
public SetFindingStateRequest buildPartial()
Returns
clear()
public SetFindingStateRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SetFindingStateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public SetFindingStateRequest.Builder clearName()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SetFindingStateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearStartTime()
public SetFindingStateRequest.Builder clearStartTime()
Required. The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearState()
public SetFindingStateRequest.Builder clearState()
Required. The desired State of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public SetFindingStateRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SetFindingStateRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Returns
getStartTime()
public Timestamp getStartTime()
Required. The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Required. The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Required. The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getState()
public Finding.State getState()
Required. The desired State of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getStateValue()
public int getStateValue()
Required. The desired State of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
hasStartTime()
public boolean hasStartTime()
Required. The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SetFindingStateRequest other)
public SetFindingStateRequest.Builder mergeFrom(SetFindingStateRequest other)
Parameter
Returns
public SetFindingStateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SetFindingStateRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeStartTime(Timestamp value)
public SetFindingStateRequest.Builder mergeStartTime(Timestamp value)
Required. The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SetFindingStateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SetFindingStateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public SetFindingStateRequest.Builder setName(String value)
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public SetFindingStateRequest.Builder setNameBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SetFindingStateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStartTime(Timestamp value)
public SetFindingStateRequest.Builder setStartTime(Timestamp value)
Required. The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setStartTime(Timestamp.Builder builderForValue)
public SetFindingStateRequest.Builder setStartTime(Timestamp.Builder builderForValue)
Required. The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setState(Finding.State value)
public SetFindingStateRequest.Builder setState(Finding.State value)
Required. The desired State of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setStateValue(int value)
public SetFindingStateRequest.Builder setStateValue(int value)
Required. The desired State of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | int
The enum numeric value on the wire for state to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SetFindingStateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides