public static final class Source.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder> implements SourceOrBuilder
Security Command Center finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, and other tools.Protobuf type
google.cloud.securitycenter.v1.Source| Modifier and Type | Method and Description |
|---|---|
Source.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Source |
build() |
Source |
buildPartial() |
Source.Builder |
clear() |
Source.Builder |
clearCanonicalName()
The canonical name of the finding.
|
Source.Builder |
clearDescription()
The description of the source (max of 1024 characters).
|
Source.Builder |
clearDisplayName()
The source's display name.
|
Source.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Source.Builder |
clearName()
The relative resource name of this source.
|
Source.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Source.Builder |
clone() |
String |
getCanonicalName()
The canonical name of the finding.
|
com.google.protobuf.ByteString |
getCanonicalNameBytes()
The canonical name of the finding.
|
Source |
getDefaultInstanceForType() |
String |
getDescription()
The description of the source (max of 1024 characters).
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The description of the source (max of 1024 characters).
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
The source's display name.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The source's display name.
|
String |
getName()
The relative resource name of this source.
|
com.google.protobuf.ByteString |
getNameBytes()
The relative resource name of this source.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Source.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Source.Builder |
mergeFrom(com.google.protobuf.Message other) |
Source.Builder |
mergeFrom(Source other) |
Source.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Source.Builder |
setCanonicalName(String value)
The canonical name of the finding.
|
Source.Builder |
setCanonicalNameBytes(com.google.protobuf.ByteString value)
The canonical name of the finding.
|
Source.Builder |
setDescription(String value)
The description of the source (max of 1024 characters).
|
Source.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the source (max of 1024 characters).
|
Source.Builder |
setDisplayName(String value)
The source's display name.
|
Source.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
The source's display name.
|
Source.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Source.Builder |
setName(String value)
The relative resource name of this source.
|
Source.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The relative resource name of this source.
|
Source.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Source.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Source build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Source buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Source.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Source.Builder>public Source.Builder mergeFrom(Source other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Source.Builder>IOExceptionpublic String getName()
The relative resource name of this source. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name
Example:
"organizations/{organization_id}/sources/{source_id}"
string name = 1;getName in interface SourceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The relative resource name of this source. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name
Example:
"organizations/{organization_id}/sources/{source_id}"
string name = 1;getNameBytes in interface SourceOrBuilderpublic Source.Builder setName(String value)
The relative resource name of this source. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name
Example:
"organizations/{organization_id}/sources/{source_id}"
string name = 1;value - The name to set.public Source.Builder clearName()
The relative resource name of this source. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name
Example:
"organizations/{organization_id}/sources/{source_id}"
string name = 1;public Source.Builder setNameBytes(com.google.protobuf.ByteString value)
The relative resource name of this source. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name
Example:
"organizations/{organization_id}/sources/{source_id}"
string name = 1;value - The bytes for name to set.public String getDisplayName()
The source's display name. A source's display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must have a length between 1 and 64 characters (inclusive).
string display_name = 2;getDisplayName in interface SourceOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The source's display name. A source's display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must have a length between 1 and 64 characters (inclusive).
string display_name = 2;getDisplayNameBytes in interface SourceOrBuilderpublic Source.Builder setDisplayName(String value)
The source's display name. A source's display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must have a length between 1 and 64 characters (inclusive).
string display_name = 2;value - The displayName to set.public Source.Builder clearDisplayName()
The source's display name. A source's display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must have a length between 1 and 64 characters (inclusive).
string display_name = 2;public Source.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The source's display name. A source's display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must have a length between 1 and 64 characters (inclusive).
string display_name = 2;value - The bytes for displayName to set.public String getDescription()
The description of the source (max of 1024 characters). Example: "Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated or insecure libraries."
string description = 3;getDescription in interface SourceOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the source (max of 1024 characters). Example: "Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated or insecure libraries."
string description = 3;getDescriptionBytes in interface SourceOrBuilderpublic Source.Builder setDescription(String value)
The description of the source (max of 1024 characters). Example: "Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated or insecure libraries."
string description = 3;value - The description to set.public Source.Builder clearDescription()
The description of the source (max of 1024 characters). Example: "Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated or insecure libraries."
string description = 3;public Source.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the source (max of 1024 characters). Example: "Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated or insecure libraries."
string description = 3;value - The bytes for description to set.public String getCanonicalName()
The canonical name of the finding. It's either
"organizations/{organization_id}/sources/{source_id}",
"folders/{folder_id}/sources/{source_id}" or
"projects/{project_number}/sources/{source_id}",
depending on the closest CRM ancestor of the resource associated with the
finding.
string canonical_name = 14;getCanonicalName in interface SourceOrBuilderpublic com.google.protobuf.ByteString getCanonicalNameBytes()
The canonical name of the finding. It's either
"organizations/{organization_id}/sources/{source_id}",
"folders/{folder_id}/sources/{source_id}" or
"projects/{project_number}/sources/{source_id}",
depending on the closest CRM ancestor of the resource associated with the
finding.
string canonical_name = 14;getCanonicalNameBytes in interface SourceOrBuilderpublic Source.Builder setCanonicalName(String value)
The canonical name of the finding. It's either
"organizations/{organization_id}/sources/{source_id}",
"folders/{folder_id}/sources/{source_id}" or
"projects/{project_number}/sources/{source_id}",
depending on the closest CRM ancestor of the resource associated with the
finding.
string canonical_name = 14;value - The canonicalName to set.public Source.Builder clearCanonicalName()
The canonical name of the finding. It's either
"organizations/{organization_id}/sources/{source_id}",
"folders/{folder_id}/sources/{source_id}" or
"projects/{project_number}/sources/{source_id}",
depending on the closest CRM ancestor of the resource associated with the
finding.
string canonical_name = 14;public Source.Builder setCanonicalNameBytes(com.google.protobuf.ByteString value)
The canonical name of the finding. It's either
"organizations/{organization_id}/sources/{source_id}",
"folders/{folder_id}/sources/{source_id}" or
"projects/{project_number}/sources/{source_id}",
depending on the closest CRM ancestor of the resource associated with the
finding.
string canonical_name = 14;value - The bytes for canonicalName to set.public final Source.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public final Source.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>Copyright © 2024 Google LLC. All rights reserved.