public final class SetFindingStateRequest extends GeneratedMessageV3 implements SetFindingStateRequestOrBuilder
Request message for updating a finding's state.
Protobuf type google.cloud.securitycenter.v1.SetFindingStateRequest
Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static SetFindingStateRequest getDefaultInstance()
Returns
getDefaultInstanceForType()
public SetFindingStateRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getName()
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Returns
getParserForType()
public Parser<SetFindingStateRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
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.v1.Finding.State state = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getStateValue()
public int getStateValue()
Required. The desired State of the finding.
.google.cloud.securitycenter.v1.Finding.State state = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static SetFindingStateRequest.Builder newBuilder()
Returns
newBuilder(SetFindingStateRequest prototype)
public static SetFindingStateRequest.Builder newBuilder(SetFindingStateRequest prototype)
Parameter
Returns
newBuilderForType()
public SetFindingStateRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SetFindingStateRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static SetFindingStateRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SetFindingStateRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SetFindingStateRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SetFindingStateRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SetFindingStateRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SetFindingStateRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SetFindingStateRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SetFindingStateRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SetFindingStateRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SetFindingStateRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SetFindingStateRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SetFindingStateRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SetFindingStateRequest> parser()
Returns
toBuilder()
public SetFindingStateRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions