Class CustomConfig.CustomOutputSpec.Property.Builder (0.3.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomConfig.CustomOutputSpec.Property.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder
Overrides

build()

public CustomConfig.CustomOutputSpec.Property build()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property

buildPartial()

public CustomConfig.CustomOutputSpec.Property buildPartial()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property

clear()

public CustomConfig.CustomOutputSpec.Property.Builder clear()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CustomConfig.CustomOutputSpec.Property.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder
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];

Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomConfig.CustomOutputSpec.Property.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder
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];

Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder

clone()

public CustomConfig.CustomOutputSpec.Property.Builder clone()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder
Overrides

getDefaultInstanceForType()

public CustomConfig.CustomOutputSpec.Property getDefaultInstanceForType()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Optional. Name of the property for the custom output.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the valueExpression field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CustomConfig.CustomOutputSpec.Property other)

public CustomConfig.CustomOutputSpec.Property.Builder mergeFrom(CustomConfig.CustomOutputSpec.Property other)
Parameter
NameDescription
otherCustomConfig.CustomOutputSpec.Property
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomConfig.CustomOutputSpec.Property.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CustomConfig.CustomOutputSpec.Property.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomConfig.CustomOutputSpec.Property.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder
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
NameDescription
valuecom.google.type.Expr
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CustomConfig.CustomOutputSpec.Property.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CustomConfig.CustomOutputSpec.Property.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomConfig.CustomOutputSpec.Property.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder
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
NameDescription
valuecom.google.type.Expr
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Expr.Builder
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder