Class CustomConfig.CustomOutputSpec.Property (0.2.0)

public static final class CustomConfig.CustomOutputSpec.Property extends GeneratedMessageV3 implements CustomConfig.CustomOutputSpec.PropertyOrBuilder

An individual name-value pair that defines a custom source property.

Protobuf type google.cloud.securityposture.v1.CustomConfig.CustomOutputSpec.Property

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CustomConfig.CustomOutputSpec.Property

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_EXPRESSION_FIELD_NUMBER

public static final int VALUE_EXPRESSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CustomConfig.CustomOutputSpec.Property getDefaultInstance()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property

getDescriptor()

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

newBuilder()

public static CustomConfig.CustomOutputSpec.Property.Builder newBuilder()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder

newBuilder(CustomConfig.CustomOutputSpec.Property prototype)

public static CustomConfig.CustomOutputSpec.Property.Builder newBuilder(CustomConfig.CustomOutputSpec.Property prototype)
Parameter
NameDescription
prototypeCustomConfig.CustomOutputSpec.Property
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder

parseDelimitedFrom(InputStream input)

public static CustomConfig.CustomOutputSpec.Property parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec.Property parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CustomConfig.CustomOutputSpec.Property parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec.Property parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomConfig.CustomOutputSpec.Property parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec.Property parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomConfig.CustomOutputSpec.Property parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static CustomConfig.CustomOutputSpec.Property parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec.Property parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CustomConfig.CustomOutputSpec.Property parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomConfig.CustomOutputSpec.Property parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CustomConfig.CustomOutputSpec.Property> parser()
Returns
TypeDescription
Parser<Property>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getName()

public String getName()

Required. Name of the property for the custom output.

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

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

The bytes for name.

getParserForType()

public Parser<CustomConfig.CustomOutputSpec.Property> getParserForType()
Returns
TypeDescription
Parser<Property>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CustomConfig.CustomOutputSpec.Property.Builder newBuilderForType()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomConfig.CustomOutputSpec.Property.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CustomConfig.CustomOutputSpec.Property.Builder toBuilder()
Returns
TypeDescription
CustomConfig.CustomOutputSpec.Property.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException