public static final class CustomConfig.CustomOutputSpec.Property.Builder extends GeneratedMessageV3.Builder<CustomConfig.CustomOutputSpec.Property.Builder> implements CustomConfig.CustomOutputSpec.PropertyOrBuilder
An individual name-value pair that defines a custom source property.
Protobuf type
google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpec.Property
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomConfig.CustomOutputSpec.Property.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CustomConfig.CustomOutputSpec.Property build()
buildPartial()
public CustomConfig.CustomOutputSpec.Property buildPartial()
clear()
public CustomConfig.CustomOutputSpec.Property.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CustomConfig.CustomOutputSpec.Property.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public CustomConfig.CustomOutputSpec.Property.Builder clearName()
Optional. Name of the property for the custom output.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomConfig.CustomOutputSpec.Property.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clone()
public CustomConfig.CustomOutputSpec.Property.Builder clone()
Overrides
getDefaultInstanceForType()
public CustomConfig.CustomOutputSpec.Property getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getName()
Optional. Name of the property for the custom output.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Optional. Name of the property for the custom output.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CustomConfig.CustomOutputSpec.Property other)
public CustomConfig.CustomOutputSpec.Property.Builder mergeFrom(CustomConfig.CustomOutputSpec.Property other)
public CustomConfig.CustomOutputSpec.Property.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CustomConfig.CustomOutputSpec.Property.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomConfig.CustomOutputSpec.Property.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public CustomConfig.CustomOutputSpec.Property.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public CustomConfig.CustomOutputSpec.Property.Builder setName(String value)
Optional. Name of the property for the custom output.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | String
The name to set.
|
setNameBytes(ByteString value)
public CustomConfig.CustomOutputSpec.Property.Builder setNameBytes(ByteString value)
Optional. Name of the property for the custom output.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomConfig.CustomOutputSpec.Property.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomConfig.CustomOutputSpec.Property.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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
|