public static final class CustomConfig.CustomOutputSpec.Property.Builder extends GeneratedMessage.Builder<CustomConfig.CustomOutputSpec.Property.Builder> implements CustomConfig.CustomOutputSpec.PropertyOrBuilderAn individual name-value pair that defines a custom source property.
Protobuf type
google.cloud.securityposture.v1.CustomConfig.CustomOutputSpec.Property
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CustomConfig.CustomOutputSpec.Property.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CustomConfig.CustomOutputSpec.Property build()| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property |
|
buildPartial()
public CustomConfig.CustomOutputSpec.Property buildPartial()| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property |
|
clear()
public CustomConfig.CustomOutputSpec.Property.Builder clear()| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
|
clearName()
public CustomConfig.CustomOutputSpec.Property.Builder clearName()Required. Name of the property for the custom output.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
This builder for chaining. |
clearValueExpression()
public CustomConfig.CustomOutputSpec.Property.Builder clearValueExpression()Optional. The CEL expression for the custom output. A resource property can be specified to return the value of the property or a text string enclosed in quotation marks.
.google.type.Expr value_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
|
getDefaultInstanceForType()
public CustomConfig.CustomOutputSpec.Property getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. Name of the property for the custom output.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. Name of the property for the custom output.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getValueExpression()
public Expr getValueExpression()Optional. The CEL expression for the custom output. A resource property can be specified to return the value of the property or a text string enclosed in quotation marks.
.google.type.Expr value_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.Expr |
The valueExpression. |
getValueExpressionBuilder()
public Expr.Builder getValueExpressionBuilder()Optional. The CEL expression for the custom output. A resource property can be specified to return the value of the property or a text string enclosed in quotation marks.
.google.type.Expr value_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.Expr.Builder |
|
getValueExpressionOrBuilder()
public ExprOrBuilder getValueExpressionOrBuilder()Optional. The CEL expression for the custom output. A resource property can be specified to return the value of the property or a text string enclosed in quotation marks.
.google.type.Expr value_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.ExprOrBuilder |
|
hasValueExpression()
public boolean hasValueExpression()Optional. The CEL expression for the custom output. A resource property can be specified to return the value of the property or a text string enclosed in quotation marks.
.google.type.Expr value_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the valueExpression field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CustomConfig.CustomOutputSpec.Property other)
public CustomConfig.CustomOutputSpec.Property.Builder mergeFrom(CustomConfig.CustomOutputSpec.Property other)| Parameter | |
|---|---|
| Name | Description |
other |
CustomConfig.CustomOutputSpec.Property |
| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomConfig.CustomOutputSpec.Property.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CustomConfig.CustomOutputSpec.Property.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
|
mergeValueExpression(Expr value)
public CustomConfig.CustomOutputSpec.Property.Builder mergeValueExpression(Expr value)Optional. The CEL expression for the custom output. A resource property can be specified to return the value of the property or a text string enclosed in quotation marks.
.google.type.Expr value_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Expr |
| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
|
setName(String value)
public CustomConfig.CustomOutputSpec.Property.Builder setName(String value)Required. Name of the property for the custom output.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public CustomConfig.CustomOutputSpec.Property.Builder setNameBytes(ByteString value)Required. Name of the property for the custom output.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
This builder for chaining. |
setValueExpression(Expr value)
public CustomConfig.CustomOutputSpec.Property.Builder setValueExpression(Expr value)Optional. The CEL expression for the custom output. A resource property can be specified to return the value of the property or a text string enclosed in quotation marks.
.google.type.Expr value_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Expr |
| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
|
setValueExpression(Expr.Builder builderForValue)
public CustomConfig.CustomOutputSpec.Property.Builder setValueExpression(Expr.Builder builderForValue)Optional. The CEL expression for the custom output. A resource property can be specified to return the value of the property or a text string enclosed in quotation marks.
.google.type.Expr value_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.Expr.Builder |
| Returns | |
|---|---|
| Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
|