Interface SetFindingStateRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SetFindingStateRequest, SetFindingStateRequest.Builder

@Generated public interface SetFindingStateRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    com.google.protobuf.Timestamp
    Required.
    com.google.protobuf.TimestampOrBuilder
    Required.
    Required.
    int
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.v1p1beta1.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.v1p1beta1.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];