public static final class SecurityProfile.Builder extends GeneratedMessage.Builder<SecurityProfile.Builder> implements SecurityProfileOrBuilderSecurityProfile is a resource that defines the behavior for one of many ProfileTypes.
Protobuf type google.cloud.networksecurity.v1.SecurityProfile
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SecurityProfile.BuilderImplements
SecurityProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SecurityProfile build()| Returns | |
|---|---|
| Type | Description |
SecurityProfile |
|
buildPartial()
public SecurityProfile buildPartial()| Returns | |
|---|---|
| Type | Description |
SecurityProfile |
|
clear()
public SecurityProfile.Builder clear()| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
clearCreateTime()
public SecurityProfile.Builder clearCreateTime()Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
clearCustomInterceptProfile()
public SecurityProfile.Builder clearCustomInterceptProfile()The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
clearCustomMirroringProfile()
public SecurityProfile.Builder clearCustomMirroringProfile()The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
clearDescription()
public SecurityProfile.Builder clearDescription()Optional. An optional description of the profile. Max length 512 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
This builder for chaining. |
clearEtag()
public SecurityProfile.Builder clearEtag()Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
This builder for chaining. |
clearLabels()
public SecurityProfile.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
clearName()
public SecurityProfile.Builder clearName() Immutable. Identifier. Name of the SecurityProfile resource. It matches
pattern
projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
This builder for chaining. |
clearProfile()
public SecurityProfile.Builder clearProfile()| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
clearThreatPreventionProfile()
public SecurityProfile.Builder clearThreatPreventionProfile()The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
clearType()
public SecurityProfile.Builder clearType()Immutable. The single ProfileType that the SecurityProfile resource configures.
.google.cloud.networksecurity.v1.SecurityProfile.ProfileType type = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
This builder for chaining. |
clearUpdateTime()
public SecurityProfile.Builder clearUpdateTime()Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
clearUrlFilteringProfile()
public SecurityProfile.Builder clearUrlFilteringProfile()The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCreateTime()
public Timestamp getCreateTime()Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getCustomInterceptProfile()
public CustomInterceptProfile getCustomInterceptProfile()The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;
| Returns | |
|---|---|
| Type | Description |
CustomInterceptProfile |
The customInterceptProfile. |
getCustomInterceptProfileBuilder()
public CustomInterceptProfile.Builder getCustomInterceptProfileBuilder()The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;
| Returns | |
|---|---|
| Type | Description |
CustomInterceptProfile.Builder |
|
getCustomInterceptProfileOrBuilder()
public CustomInterceptProfileOrBuilder getCustomInterceptProfileOrBuilder()The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;
| Returns | |
|---|---|
| Type | Description |
CustomInterceptProfileOrBuilder |
|
getCustomMirroringProfile()
public CustomMirroringProfile getCustomMirroringProfile()The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;
| Returns | |
|---|---|
| Type | Description |
CustomMirroringProfile |
The customMirroringProfile. |
getCustomMirroringProfileBuilder()
public CustomMirroringProfile.Builder getCustomMirroringProfileBuilder()The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;
| Returns | |
|---|---|
| Type | Description |
CustomMirroringProfile.Builder |
|
getCustomMirroringProfileOrBuilder()
public CustomMirroringProfileOrBuilder getCustomMirroringProfileOrBuilder()The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;
| Returns | |
|---|---|
| Type | Description |
CustomMirroringProfileOrBuilder |
|
getDefaultInstanceForType()
public SecurityProfile getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SecurityProfile |
|
getDescription()
public String getDescription()Optional. An optional description of the profile. Max length 512 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. An optional description of the profile. Max length 512 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEtag()
public String getEtag()Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for etag. |
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName() Immutable. Identifier. Name of the SecurityProfile resource. It matches
pattern
projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Immutable. Identifier. Name of the SecurityProfile resource. It matches
pattern
projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getProfileCase()
public SecurityProfile.ProfileCase getProfileCase()| Returns | |
|---|---|
| Type | Description |
SecurityProfile.ProfileCase |
|
getThreatPreventionProfile()
public ThreatPreventionProfile getThreatPreventionProfile()The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile |
The threatPreventionProfile. |
getThreatPreventionProfileBuilder()
public ThreatPreventionProfile.Builder getThreatPreventionProfileBuilder()The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
getThreatPreventionProfileOrBuilder()
public ThreatPreventionProfileOrBuilder getThreatPreventionProfileOrBuilder()The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfileOrBuilder |
|
getType()
public SecurityProfile.ProfileType getType()Immutable. The single ProfileType that the SecurityProfile resource configures.
.google.cloud.networksecurity.v1.SecurityProfile.ProfileType type = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.ProfileType |
The type. |
getTypeValue()
public int getTypeValue()Immutable. The single ProfileType that the SecurityProfile resource configures.
.google.cloud.networksecurity.v1.SecurityProfile.ProfileType type = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getUrlFilteringProfile()
public UrlFilteringProfile getUrlFilteringProfile()The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;
| Returns | |
|---|---|
| Type | Description |
UrlFilteringProfile |
The urlFilteringProfile. |
getUrlFilteringProfileBuilder()
public UrlFilteringProfile.Builder getUrlFilteringProfileBuilder()The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;
| Returns | |
|---|---|
| Type | Description |
UrlFilteringProfile.Builder |
|
getUrlFilteringProfileOrBuilder()
public UrlFilteringProfileOrBuilder getUrlFilteringProfileOrBuilder()The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;
| Returns | |
|---|---|
| Type | Description |
UrlFilteringProfileOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasCustomInterceptProfile()
public boolean hasCustomInterceptProfile()The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customInterceptProfile field is set. |
hasCustomMirroringProfile()
public boolean hasCustomMirroringProfile()The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customMirroringProfile field is set. |
hasThreatPreventionProfile()
public boolean hasThreatPreventionProfile()The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the threatPreventionProfile field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
hasUrlFilteringProfile()
public boolean hasUrlFilteringProfile()The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the urlFilteringProfile field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public SecurityProfile.Builder mergeCreateTime(Timestamp value)Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
mergeCustomInterceptProfile(CustomInterceptProfile value)
public SecurityProfile.Builder mergeCustomInterceptProfile(CustomInterceptProfile value)The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomInterceptProfile |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
mergeCustomMirroringProfile(CustomMirroringProfile value)
public SecurityProfile.Builder mergeCustomMirroringProfile(CustomMirroringProfile value)The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomMirroringProfile |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
mergeFrom(SecurityProfile other)
public SecurityProfile.Builder mergeFrom(SecurityProfile other)| Parameter | |
|---|---|
| Name | Description |
other |
SecurityProfile |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SecurityProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SecurityProfile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
mergeThreatPreventionProfile(ThreatPreventionProfile value)
public SecurityProfile.Builder mergeThreatPreventionProfile(ThreatPreventionProfile value)The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ThreatPreventionProfile |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
mergeUpdateTime(Timestamp value)
public SecurityProfile.Builder mergeUpdateTime(Timestamp value)Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
mergeUrlFilteringProfile(UrlFilteringProfile value)
public SecurityProfile.Builder mergeUrlFilteringProfile(UrlFilteringProfile value)The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
UrlFilteringProfile |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
putAllLabels(Map<String,String> values)
public SecurityProfile.Builder putAllLabels(Map<String,String> values)Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
putLabels(String key, String value)
public SecurityProfile.Builder putLabels(String key, String value)Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
removeLabels(String key)
public SecurityProfile.Builder removeLabels(String key)Optional. Labels as key value pairs.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
setCreateTime(Timestamp value)
public SecurityProfile.Builder setCreateTime(Timestamp value)Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public SecurityProfile.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Resource creation timestamp.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
setCustomInterceptProfile(CustomInterceptProfile value)
public SecurityProfile.Builder setCustomInterceptProfile(CustomInterceptProfile value)The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomInterceptProfile |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
setCustomInterceptProfile(CustomInterceptProfile.Builder builderForValue)
public SecurityProfile.Builder setCustomInterceptProfile(CustomInterceptProfile.Builder builderForValue)The custom TPPI configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomInterceptProfile custom_intercept_profile = 10;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CustomInterceptProfile.Builder |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
setCustomMirroringProfile(CustomMirroringProfile value)
public SecurityProfile.Builder setCustomMirroringProfile(CustomMirroringProfile value)The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomMirroringProfile |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
setCustomMirroringProfile(CustomMirroringProfile.Builder builderForValue)
public SecurityProfile.Builder setCustomMirroringProfile(CustomMirroringProfile.Builder builderForValue)The custom Packet Mirroring v2 configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.CustomMirroringProfile custom_mirroring_profile = 9;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CustomMirroringProfile.Builder |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
setDescription(String value)
public SecurityProfile.Builder setDescription(String value)Optional. An optional description of the profile. Max length 512 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public SecurityProfile.Builder setDescriptionBytes(ByteString value)Optional. An optional description of the profile. Max length 512 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
This builder for chaining. |
setEtag(String value)
public SecurityProfile.Builder setEtag(String value)Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe etag to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public SecurityProfile.Builder setEtagBytes(ByteString value)Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for etag to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
This builder for chaining. |
setName(String value)
public SecurityProfile.Builder setName(String value) Immutable. Identifier. Name of the SecurityProfile resource. It matches
pattern
projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SecurityProfile.Builder setNameBytes(ByteString value) Immutable. Identifier. Name of the SecurityProfile resource. It matches
pattern
projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
This builder for chaining. |
setThreatPreventionProfile(ThreatPreventionProfile value)
public SecurityProfile.Builder setThreatPreventionProfile(ThreatPreventionProfile value)The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ThreatPreventionProfile |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
setThreatPreventionProfile(ThreatPreventionProfile.Builder builderForValue)
public SecurityProfile.Builder setThreatPreventionProfile(ThreatPreventionProfile.Builder builderForValue)The threat prevention configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.ThreatPreventionProfile threat_prevention_profile = 7;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ThreatPreventionProfile.Builder |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
setType(SecurityProfile.ProfileType value)
public SecurityProfile.Builder setType(SecurityProfile.ProfileType value)Immutable. The single ProfileType that the SecurityProfile resource configures.
.google.cloud.networksecurity.v1.SecurityProfile.ProfileType type = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
SecurityProfile.ProfileTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
This builder for chaining. |
setTypeValue(int value)
public SecurityProfile.Builder setTypeValue(int value)Immutable. The single ProfileType that the SecurityProfile resource configures.
.google.cloud.networksecurity.v1.SecurityProfile.ProfileType type = 6 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public SecurityProfile.Builder setUpdateTime(Timestamp value)Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public SecurityProfile.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Last resource update timestamp.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
setUrlFilteringProfile(UrlFilteringProfile value)
public SecurityProfile.Builder setUrlFilteringProfile(UrlFilteringProfile value)The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
UrlFilteringProfile |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|
setUrlFilteringProfile(UrlFilteringProfile.Builder builderForValue)
public SecurityProfile.Builder setUrlFilteringProfile(UrlFilteringProfile.Builder builderForValue)The URL filtering configuration for the SecurityProfile.
.google.cloud.networksecurity.v1.UrlFilteringProfile url_filtering_profile = 12;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UrlFilteringProfile.Builder |
| Returns | |
|---|---|
| Type | Description |
SecurityProfile.Builder |
|