Interface SetFindingStateRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SetFindingStateRequest
,SetFindingStateRequest.Builder
public interface SetFindingStateRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.com.google.protobuf.Timestamp
getStartTime()
Required.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Required.Finding.State
getState()
Required.int
getStateValue()
Required.boolean
hasStartTime()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}".
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}".
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for name.
-
getStateValue
int getStateValue()
Required. The desired State of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The enum numeric value on the wire for state.
-
getState
Finding.State getState()
Required. The desired State of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The state.
-
hasStartTime
boolean hasStartTime()
Required. The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()
Required. The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Required. The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED];
-
-