Interface CreateFindingRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateFindingRequest
,CreateFindingRequest.Builder
public interface CreateFindingRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Finding
getFinding()
Required.String
getFindingId()
Required.com.google.protobuf.ByteString
getFindingIdBytes()
Required.FindingOrBuilder
getFindingOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasFinding()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
getFindingId
String getFindingId()
Required. Unique identifier provided by the client within the parent scope.
string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The findingId.
-
getFindingIdBytes
com.google.protobuf.ByteString getFindingIdBytes()
Required. Unique identifier provided by the client within the parent scope.
string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for findingId.
-
hasFinding
boolean hasFinding()
Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the finding field is set.
-
getFinding
Finding getFinding()
Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The finding.
-
getFindingOrBuilder
FindingOrBuilder getFindingOrBuilder()
Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
-
-