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.PropertyStatic Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
VALUE_EXPRESSION_FIELD_NUMBER
public static final int VALUE_EXPRESSION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CustomConfig.CustomOutputSpec.Property getDefaultInstance()
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CustomConfig.CustomOutputSpec.Property.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
newBuilder(CustomConfig.CustomOutputSpec.Property prototype)
public static CustomConfig.CustomOutputSpec.Property.Builder newBuilder(CustomConfig.CustomOutputSpec.Property prototype)
Parameter | |
---|---|
Name | Description |
prototype |
CustomConfig.CustomOutputSpec.Property |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
parseDelimitedFrom(InputStream input)
public static CustomConfig.CustomOutputSpec.Property parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.CustomOutputSpec.Property parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CustomConfig.CustomOutputSpec.Property parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.CustomOutputSpec.Property parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CustomConfig.CustomOutputSpec.Property parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.CustomOutputSpec.Property parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CustomConfig.CustomOutputSpec.Property parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.CustomOutputSpec.Property parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CustomConfig.CustomOutputSpec.Property parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.CustomOutputSpec.Property parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CustomConfig.CustomOutputSpec.Property parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomConfig.CustomOutputSpec.Property parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CustomConfig.CustomOutputSpec.Property> parser()
Returns | |
---|---|
Type | Description |
Parser<Property> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public CustomConfig.CustomOutputSpec.Property getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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. |
getParserForType()
public Parser<CustomConfig.CustomOutputSpec.Property> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Property> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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. |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CustomConfig.CustomOutputSpec.Property.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomConfig.CustomOutputSpec.Property.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CustomConfig.CustomOutputSpec.Property.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CustomConfig.CustomOutputSpec.Property.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |