public static final class Asset.SecurityCenterProperties.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder> implements Asset.SecurityCenterPropertiesOrBuilder
Cloud SCC managed properties. These properties are managed by Cloud SCC and cannot be modified by the user.Protobuf type
google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties| Modifier and Type | Method and Description |
|---|---|
Asset.SecurityCenterProperties.Builder |
addAllResourceOwners(Iterable<String> values)
Owners of the Google Cloud resource.
|
Asset.SecurityCenterProperties.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Asset.SecurityCenterProperties.Builder |
addResourceOwners(String value)
Owners of the Google Cloud resource.
|
Asset.SecurityCenterProperties.Builder |
addResourceOwnersBytes(com.google.protobuf.ByteString value)
Owners of the Google Cloud resource.
|
Asset.SecurityCenterProperties |
build() |
Asset.SecurityCenterProperties |
buildPartial() |
Asset.SecurityCenterProperties.Builder |
clear() |
Asset.SecurityCenterProperties.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Asset.SecurityCenterProperties.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Asset.SecurityCenterProperties.Builder |
clearResourceName()
The full resource name of the GCP resource this asset
represents.
|
Asset.SecurityCenterProperties.Builder |
clearResourceOwners()
Owners of the Google Cloud resource.
|
Asset.SecurityCenterProperties.Builder |
clearResourceParent()
The full resource name of the immediate parent of the resource.
|
Asset.SecurityCenterProperties.Builder |
clearResourceProject()
The full resource name of the project the resource belongs to.
|
Asset.SecurityCenterProperties.Builder |
clearResourceType()
The type of the GCP resource.
|
Asset.SecurityCenterProperties.Builder |
clone() |
Asset.SecurityCenterProperties |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getResourceName()
The full resource name of the GCP resource this asset
represents.
|
com.google.protobuf.ByteString |
getResourceNameBytes()
The full resource name of the GCP resource this asset
represents.
|
String |
getResourceOwners(int index)
Owners of the Google Cloud resource.
|
com.google.protobuf.ByteString |
getResourceOwnersBytes(int index)
Owners of the Google Cloud resource.
|
int |
getResourceOwnersCount()
Owners of the Google Cloud resource.
|
com.google.protobuf.ProtocolStringList |
getResourceOwnersList()
Owners of the Google Cloud resource.
|
String |
getResourceParent()
The full resource name of the immediate parent of the resource.
|
com.google.protobuf.ByteString |
getResourceParentBytes()
The full resource name of the immediate parent of the resource.
|
String |
getResourceProject()
The full resource name of the project the resource belongs to.
|
com.google.protobuf.ByteString |
getResourceProjectBytes()
The full resource name of the project the resource belongs to.
|
String |
getResourceType()
The type of the GCP resource.
|
com.google.protobuf.ByteString |
getResourceTypeBytes()
The type of the GCP resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Asset.SecurityCenterProperties.Builder |
mergeFrom(Asset.SecurityCenterProperties other) |
Asset.SecurityCenterProperties.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Asset.SecurityCenterProperties.Builder |
mergeFrom(com.google.protobuf.Message other) |
Asset.SecurityCenterProperties.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Asset.SecurityCenterProperties.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Asset.SecurityCenterProperties.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Asset.SecurityCenterProperties.Builder |
setResourceName(String value)
The full resource name of the GCP resource this asset
represents.
|
Asset.SecurityCenterProperties.Builder |
setResourceNameBytes(com.google.protobuf.ByteString value)
The full resource name of the GCP resource this asset
represents.
|
Asset.SecurityCenterProperties.Builder |
setResourceOwners(int index,
String value)
Owners of the Google Cloud resource.
|
Asset.SecurityCenterProperties.Builder |
setResourceParent(String value)
The full resource name of the immediate parent of the resource.
|
Asset.SecurityCenterProperties.Builder |
setResourceParentBytes(com.google.protobuf.ByteString value)
The full resource name of the immediate parent of the resource.
|
Asset.SecurityCenterProperties.Builder |
setResourceProject(String value)
The full resource name of the project the resource belongs to.
|
Asset.SecurityCenterProperties.Builder |
setResourceProjectBytes(com.google.protobuf.ByteString value)
The full resource name of the project the resource belongs to.
|
Asset.SecurityCenterProperties.Builder |
setResourceType(String value)
The type of the GCP resource.
|
Asset.SecurityCenterProperties.Builder |
setResourceTypeBytes(com.google.protobuf.ByteString value)
The type of the GCP resource.
|
Asset.SecurityCenterProperties.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<Asset.SecurityCenterProperties.Builder>public Asset.SecurityCenterProperties.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.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<Asset.SecurityCenterProperties.Builder>public Asset.SecurityCenterProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Asset.SecurityCenterProperties build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Asset.SecurityCenterProperties buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Asset.SecurityCenterProperties.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>public Asset.SecurityCenterProperties.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<Asset.SecurityCenterProperties.Builder>public Asset.SecurityCenterProperties.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>public Asset.SecurityCenterProperties.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>public Asset.SecurityCenterProperties.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<Asset.SecurityCenterProperties.Builder>public Asset.SecurityCenterProperties.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<Asset.SecurityCenterProperties.Builder>public Asset.SecurityCenterProperties.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Asset.SecurityCenterProperties.Builder>public Asset.SecurityCenterProperties.Builder mergeFrom(Asset.SecurityCenterProperties other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>public Asset.SecurityCenterProperties.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<Asset.SecurityCenterProperties.Builder>IOExceptionpublic String getResourceName()
The full resource name of the GCP resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_name = 1;getResourceName in interface Asset.SecurityCenterPropertiesOrBuilderpublic com.google.protobuf.ByteString getResourceNameBytes()
The full resource name of the GCP resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_name = 1;getResourceNameBytes in interface Asset.SecurityCenterPropertiesOrBuilderpublic Asset.SecurityCenterProperties.Builder setResourceName(String value)
The full resource name of the GCP resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_name = 1;public Asset.SecurityCenterProperties.Builder clearResourceName()
The full resource name of the GCP resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_name = 1;public Asset.SecurityCenterProperties.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
The full resource name of the GCP resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_name = 1;public String getResourceType()
The type of the GCP resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Cloud SCC and/or the producer of the resource and is immutable after create time.
string resource_type = 2;getResourceType in interface Asset.SecurityCenterPropertiesOrBuilderpublic com.google.protobuf.ByteString getResourceTypeBytes()
The type of the GCP resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Cloud SCC and/or the producer of the resource and is immutable after create time.
string resource_type = 2;getResourceTypeBytes in interface Asset.SecurityCenterPropertiesOrBuilderpublic Asset.SecurityCenterProperties.Builder setResourceType(String value)
The type of the GCP resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Cloud SCC and/or the producer of the resource and is immutable after create time.
string resource_type = 2;public Asset.SecurityCenterProperties.Builder clearResourceType()
The type of the GCP resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Cloud SCC and/or the producer of the resource and is immutable after create time.
string resource_type = 2;public Asset.SecurityCenterProperties.Builder setResourceTypeBytes(com.google.protobuf.ByteString value)
The type of the GCP resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Cloud SCC and/or the producer of the resource and is immutable after create time.
string resource_type = 2;public String getResourceParent()
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_parent = 3;getResourceParent in interface Asset.SecurityCenterPropertiesOrBuilderpublic com.google.protobuf.ByteString getResourceParentBytes()
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_parent = 3;getResourceParentBytes in interface Asset.SecurityCenterPropertiesOrBuilderpublic Asset.SecurityCenterProperties.Builder setResourceParent(String value)
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_parent = 3;public Asset.SecurityCenterProperties.Builder clearResourceParent()
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_parent = 3;public Asset.SecurityCenterProperties.Builder setResourceParentBytes(com.google.protobuf.ByteString value)
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_parent = 3;public String getResourceProject()
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_project = 4;getResourceProject in interface Asset.SecurityCenterPropertiesOrBuilderpublic com.google.protobuf.ByteString getResourceProjectBytes()
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_project = 4;getResourceProjectBytes in interface Asset.SecurityCenterPropertiesOrBuilderpublic Asset.SecurityCenterProperties.Builder setResourceProject(String value)
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_project = 4;public Asset.SecurityCenterProperties.Builder clearResourceProject()
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_project = 4;public Asset.SecurityCenterProperties.Builder setResourceProjectBytes(com.google.protobuf.ByteString value)
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_project = 4;public com.google.protobuf.ProtocolStringList getResourceOwnersList()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;getResourceOwnersList in interface Asset.SecurityCenterPropertiesOrBuilderpublic int getResourceOwnersCount()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;getResourceOwnersCount in interface Asset.SecurityCenterPropertiesOrBuilderpublic String getResourceOwners(int index)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;getResourceOwners in interface Asset.SecurityCenterPropertiesOrBuilderpublic com.google.protobuf.ByteString getResourceOwnersBytes(int index)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;getResourceOwnersBytes in interface Asset.SecurityCenterPropertiesOrBuilderpublic Asset.SecurityCenterProperties.Builder setResourceOwners(int index, String value)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;public Asset.SecurityCenterProperties.Builder addResourceOwners(String value)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;public Asset.SecurityCenterProperties.Builder addAllResourceOwners(Iterable<String> values)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;public Asset.SecurityCenterProperties.Builder clearResourceOwners()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;public Asset.SecurityCenterProperties.Builder addResourceOwnersBytes(com.google.protobuf.ByteString value)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;public final Asset.SecurityCenterProperties.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>public final Asset.SecurityCenterProperties.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>Copyright © 2019 Google LLC. All rights reserved.