public static final class CreateFindingRequest.Builder extends GeneratedMessageV3.Builder<CreateFindingRequest.Builder> implements CreateFindingRequestOrBuilder
Request message for creating a finding.Protobuf type
google.cloud.securitycenter.v1.CreateFindingRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<CreateFindingRequest.Builder>
public CreateFindingRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CreateFindingRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CreateFindingRequest.Builder>
public CreateFindingRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CreateFindingRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CreateFindingRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CreateFindingRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CreateFindingRequest.Builder>
public CreateFindingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CreateFindingRequest.Builder>
public CreateFindingRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CreateFindingRequest.Builder>
public CreateFindingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CreateFindingRequest.Builder>
public CreateFindingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CreateFindingRequest.Builder>
public CreateFindingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CreateFindingRequest.Builder>
public CreateFindingRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CreateFindingRequest.Builder>
public CreateFindingRequest.Builder mergeFrom(CreateFindingRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CreateFindingRequest.Builder>
public CreateFindingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CreateFindingRequest.Builder>
IOException
public 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) = { ... }
getParent
in interface CreateFindingRequestOrBuilder
public 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) = { ... }
getParentBytes
in interface CreateFindingRequestOrBuilder
public CreateFindingRequest.Builder setParent(String value)
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) = { ... }
value
- The parent to set.public CreateFindingRequest.Builder clearParent()
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) = { ... }
public CreateFindingRequest.Builder setParentBytes(ByteString value)
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) = { ... }
value
- The bytes for parent to set.public String getFindingId()
Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.
string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];
getFindingId
in interface CreateFindingRequestOrBuilder
public ByteString getFindingIdBytes()
Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.
string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];
getFindingIdBytes
in interface CreateFindingRequestOrBuilder
public CreateFindingRequest.Builder setFindingId(String value)
Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.
string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The findingId to set.public CreateFindingRequest.Builder clearFindingId()
Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.
string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateFindingRequest.Builder setFindingIdBytes(ByteString value)
Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.
string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for findingId to set.public 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.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
hasFinding
in interface CreateFindingRequestOrBuilder
public 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.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
getFinding
in interface CreateFindingRequestOrBuilder
public CreateFindingRequest.Builder setFinding(Finding value)
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.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateFindingRequest.Builder setFinding(Finding.Builder builderForValue)
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.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateFindingRequest.Builder mergeFinding(Finding value)
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.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateFindingRequest.Builder clearFinding()
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.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
public Finding.Builder getFindingBuilder()
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.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
public 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.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
getFindingOrBuilder
in interface CreateFindingRequestOrBuilder
public final CreateFindingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CreateFindingRequest.Builder>
public final CreateFindingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CreateFindingRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.