- 2.60.0 (latest)
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class Asset.Builder extends GeneratedMessageV3.Builder<Asset.Builder> implements AssetOrBuilder
Security Command Center representation of a Google Cloud resource.
The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.
Protobuf type google.cloud.securitycenter.v1beta1.Asset
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Asset.BuilderImplements
AssetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Asset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Asset.Builder |
build()
public Asset build()
Returns | |
---|---|
Type | Description |
Asset |
buildPartial()
public Asset buildPartial()
Returns | |
---|---|
Type | Description |
Asset |
clear()
public Asset.Builder clear()
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearCreateTime()
public Asset.Builder clearCreateTime()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearField(Descriptors.FieldDescriptor field)
public Asset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearName()
public Asset.Builder clearName()
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".
string name = 1;
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Asset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearResourceProperties()
public Asset.Builder clearResourceProperties()
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearSecurityCenterProperties()
public Asset.Builder clearSecurityCenterProperties()
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties security_center_properties = 2;
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearSecurityMarks()
public Asset.Builder clearSecurityMarks()
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8;
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearUpdateTime()
public Asset.Builder clearUpdateTime()
The time at which the asset was last updated, added, or deleted in Security Command Center.
.google.protobuf.Timestamp update_time = 10;
Returns | |
---|---|
Type | Description |
Asset.Builder |
clone()
public Asset.Builder clone()
Returns | |
---|---|
Type | Description |
Asset.Builder |
containsResourceProperties(String key)
public boolean containsResourceProperties(String key)
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Asset getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Asset |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMutableResourceProperties()
public Map<String,Value> getMutableResourceProperties()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,Value> |
getName()
public String getName()
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getResourceProperties()
public Map<String,Value> getResourceProperties()
Use #getResourcePropertiesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,Value> |
getResourcePropertiesCount()
public int getResourcePropertiesCount()
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;
Returns | |
---|---|
Type | Description |
int |
getResourcePropertiesMap()
public Map<String,Value> getResourcePropertiesMap()
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;
Returns | |
---|---|
Type | Description |
Map<String,Value> |
getResourcePropertiesOrDefault(String key, Value defaultValue)
public Value getResourcePropertiesOrDefault(String key, Value defaultValue)
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | Value |
Returns | |
---|---|
Type | Description |
Value |
getResourcePropertiesOrThrow(String key)
public Value getResourcePropertiesOrThrow(String key)
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Value |
getSecurityCenterProperties()
public Asset.SecurityCenterProperties getSecurityCenterProperties()
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties security_center_properties = 2;
Returns | |
---|---|
Type | Description |
Asset.SecurityCenterProperties | The securityCenterProperties. |
getSecurityCenterPropertiesBuilder()
public Asset.SecurityCenterProperties.Builder getSecurityCenterPropertiesBuilder()
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties security_center_properties = 2;
Returns | |
---|---|
Type | Description |
Asset.SecurityCenterProperties.Builder |
getSecurityCenterPropertiesOrBuilder()
public Asset.SecurityCenterPropertiesOrBuilder getSecurityCenterPropertiesOrBuilder()
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties security_center_properties = 2;
Returns | |
---|---|
Type | Description |
Asset.SecurityCenterPropertiesOrBuilder |
getSecurityMarks()
public SecurityMarks getSecurityMarks()
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8;
Returns | |
---|---|
Type | Description |
SecurityMarks | The securityMarks. |
getSecurityMarksBuilder()
public SecurityMarks.Builder getSecurityMarksBuilder()
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8;
Returns | |
---|---|
Type | Description |
SecurityMarks.Builder |
getSecurityMarksOrBuilder()
public SecurityMarksOrBuilder getSecurityMarksOrBuilder()
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8;
Returns | |
---|---|
Type | Description |
SecurityMarksOrBuilder |
getUpdateTime()
public Timestamp getUpdateTime()
The time at which the asset was last updated, added, or deleted in Security Command Center.
.google.protobuf.Timestamp update_time = 10;
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
The time at which the asset was last updated, added, or deleted in Security Command Center.
.google.protobuf.Timestamp update_time = 10;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The time at which the asset was last updated, added, or deleted in Security Command Center.
.google.protobuf.Timestamp update_time = 10;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasSecurityCenterProperties()
public boolean hasSecurityCenterProperties()
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties security_center_properties = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the securityCenterProperties field is set. |
hasSecurityMarks()
public boolean hasSecurityMarks()
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8;
Returns | |
---|---|
Type | Description |
boolean | Whether the securityMarks field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
The time at which the asset was last updated, added, or deleted in Security Command Center.
.google.protobuf.Timestamp update_time = 10;
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Asset.Builder mergeCreateTime(Timestamp value)
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeFrom(Asset other)
public Asset.Builder mergeFrom(Asset other)
Parameter | |
---|---|
Name | Description |
other | Asset |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Asset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Asset.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Asset.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeSecurityCenterProperties(Asset.SecurityCenterProperties value)
public Asset.Builder mergeSecurityCenterProperties(Asset.SecurityCenterProperties value)
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties security_center_properties = 2;
Parameter | |
---|---|
Name | Description |
value | Asset.SecurityCenterProperties |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeSecurityMarks(SecurityMarks value)
public Asset.Builder mergeSecurityMarks(SecurityMarks value)
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8;
Parameter | |
---|---|
Name | Description |
value | SecurityMarks |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Asset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeUpdateTime(Timestamp value)
public Asset.Builder mergeUpdateTime(Timestamp value)
The time at which the asset was last updated, added, or deleted in Security Command Center.
.google.protobuf.Timestamp update_time = 10;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Asset.Builder |
putAllResourceProperties(Map<String,Value> values)
public Asset.Builder putAllResourceProperties(Map<String,Value> values)
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;
Parameter | |
---|---|
Name | Description |
values | Map<String,Value> |
Returns | |
---|---|
Type | Description |
Asset.Builder |
putResourceProperties(String key, Value value)
public Asset.Builder putResourceProperties(String key, Value value)
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;
Parameters | |
---|---|
Name | Description |
key | String |
value | Value |
Returns | |
---|---|
Type | Description |
Asset.Builder |
removeResourceProperties(String key)
public Asset.Builder removeResourceProperties(String key)
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setCreateTime(Timestamp value)
public Asset.Builder setCreateTime(Timestamp value)
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Asset.Builder setCreateTime(Timestamp.Builder builderForValue)
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Asset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setName(String value)
public Asset.Builder setName(String value)
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Asset.Builder setNameBytes(ByteString value)
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Asset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setSecurityCenterProperties(Asset.SecurityCenterProperties value)
public Asset.Builder setSecurityCenterProperties(Asset.SecurityCenterProperties value)
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties security_center_properties = 2;
Parameter | |
---|---|
Name | Description |
value | Asset.SecurityCenterProperties |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setSecurityCenterProperties(Asset.SecurityCenterProperties.Builder builderForValue)
public Asset.Builder setSecurityCenterProperties(Asset.SecurityCenterProperties.Builder builderForValue)
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties security_center_properties = 2;
Parameter | |
---|---|
Name | Description |
builderForValue | Asset.SecurityCenterProperties.Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setSecurityMarks(SecurityMarks value)
public Asset.Builder setSecurityMarks(SecurityMarks value)
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8;
Parameter | |
---|---|
Name | Description |
value | SecurityMarks |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setSecurityMarks(SecurityMarks.Builder builderForValue)
public Asset.Builder setSecurityMarks(SecurityMarks.Builder builderForValue)
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1beta1.SecurityMarks security_marks = 8;
Parameter | |
---|---|
Name | Description |
builderForValue | SecurityMarks.Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Asset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setUpdateTime(Timestamp value)
public Asset.Builder setUpdateTime(Timestamp value)
The time at which the asset was last updated, added, or deleted in Security Command Center.
.google.protobuf.Timestamp update_time = 10;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Asset.Builder setUpdateTime(Timestamp.Builder builderForValue)
The time at which the asset was last updated, added, or deleted in Security Command Center.
.google.protobuf.Timestamp update_time = 10;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |