public static final class Source.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder> implements SourceOrBuilder
Cloud Security Command Center's (Cloud SCC) 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, etc.Protobuf type
google.cloud.securitycenter.v1beta1.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 |
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() |
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 |
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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, 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/123/sources/456"
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/123/sources/456"
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/123/sources/456"
string name = 1;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/123/sources/456"
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/123/sources/456"
string name = 1;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 start and end with a letter or digit, may contain
letters, digits, spaces, hyphens, and underscores, and can be no longer
than 32 characters. This is captured by the regular expression:
[\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?.
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 start and end with a letter or digit, may contain
letters, digits, spaces, hyphens, and underscores, and can be no longer
than 32 characters. This is captured by the regular expression:
[\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?.
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 start and end with a letter or digit, may contain
letters, digits, spaces, hyphens, and underscores, and can be no longer
than 32 characters. This is captured by the regular expression:
[\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?.
string display_name = 2;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 start and end with a letter or digit, may contain
letters, digits, spaces, hyphens, and underscores, and can be no longer
than 32 characters. This is captured by the regular expression:
[\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?.
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 start and end with a letter or digit, may contain
letters, digits, spaces, hyphens, and underscores, and can be no longer
than 32 characters. This is captured by the regular expression:
[\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?.
string display_name = 2;public String getDescription()
The description of the source (max of 1024 characters). Example: "Cloud 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/insecure libraries."
string description = 3;getDescription in interface SourceOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the source (max of 1024 characters). Example: "Cloud 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/insecure libraries."
string description = 3;getDescriptionBytes in interface SourceOrBuilderpublic Source.Builder setDescription(String value)
The description of the source (max of 1024 characters). Example: "Cloud 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/insecure libraries."
string description = 3;public Source.Builder clearDescription()
The description of the source (max of 1024 characters). Example: "Cloud 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/insecure libraries."
string description = 3;public Source.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the source (max of 1024 characters). Example: "Cloud 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/insecure libraries."
string description = 3;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 © 2019 Google LLC. All rights reserved.