Class RuleActionsPair (0.14.0)

public final class RuleActionsPair extends GeneratedMessageV3 implements RuleActionsPairOrBuilder

Represents a rule and outputs of associated actions.

Protobuf type google.cloud.contentwarehouse.v1.RuleActionsPair

Static Fields

ACTION_OUTPUTS_FIELD_NUMBER

public static final int ACTION_OUTPUTS_FIELD_NUMBER
Field Value
TypeDescription
int

RULE_FIELD_NUMBER

public static final int RULE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RuleActionsPair getDefaultInstance()
Returns
TypeDescription
RuleActionsPair

getDescriptor()

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

newBuilder()

public static RuleActionsPair.Builder newBuilder()
Returns
TypeDescription
RuleActionsPair.Builder

newBuilder(RuleActionsPair prototype)

public static RuleActionsPair.Builder newBuilder(RuleActionsPair prototype)
Parameter
NameDescription
prototypeRuleActionsPair
Returns
TypeDescription
RuleActionsPair.Builder

parseDelimitedFrom(InputStream input)

public static RuleActionsPair parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RuleActionsPair
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuleActionsPair parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleActionsPair
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RuleActionsPair parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RuleActionsPair
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static RuleActionsPair parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RuleActionsPair
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RuleActionsPair parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleActionsPair
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RuleActionsPair parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RuleActionsPair
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RuleActionsPair parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleActionsPair
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RuleActionsPair parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RuleActionsPair
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuleActionsPair parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleActionsPair
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RuleActionsPair parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RuleActionsPair
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RuleActionsPair parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuleActionsPair
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RuleActionsPair> parser()
Returns
TypeDescription
Parser<RuleActionsPair>

Methods

equals(Object obj)

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

getActionOutputs(int index)

public ActionOutput getActionOutputs(int index)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionOutput

getActionOutputsCount()

public int getActionOutputsCount()

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Returns
TypeDescription
int

getActionOutputsList()

public List<ActionOutput> getActionOutputsList()

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Returns
TypeDescription
List<ActionOutput>

getActionOutputsOrBuilder(int index)

public ActionOutputOrBuilder getActionOutputsOrBuilder(int index)

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionOutputOrBuilder

getActionOutputsOrBuilderList()

public List<? extends ActionOutputOrBuilder> getActionOutputsOrBuilderList()

Outputs of executing the actions associated with the above rule.

repeated .google.cloud.contentwarehouse.v1.ActionOutput action_outputs = 2;

Returns
TypeDescription
List<? extends com.google.cloud.contentwarehouse.v1.ActionOutputOrBuilder>

getDefaultInstanceForType()

public RuleActionsPair getDefaultInstanceForType()
Returns
TypeDescription
RuleActionsPair

getParserForType()

public Parser<RuleActionsPair> getParserForType()
Returns
TypeDescription
Parser<RuleActionsPair>
Overrides

getRule()

public Rule getRule()

Represents the rule.

.google.cloud.contentwarehouse.v1.Rule rule = 1;

Returns
TypeDescription
Rule

The rule.

getRuleOrBuilder()

public RuleOrBuilder getRuleOrBuilder()

Represents the rule.

.google.cloud.contentwarehouse.v1.Rule rule = 1;

Returns
TypeDescription
RuleOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasRule()

public boolean hasRule()

Represents the rule.

.google.cloud.contentwarehouse.v1.Rule rule = 1;

Returns
TypeDescription
boolean

Whether the rule 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 RuleActionsPair.Builder newBuilderForType()
Returns
TypeDescription
RuleActionsPair.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RuleActionsPair.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RuleActionsPair.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public RuleActionsPair.Builder toBuilder()
Returns
TypeDescription
RuleActionsPair.Builder

writeTo(CodedOutputStream output)

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