Class EdgePattern (0.3.0)

public final class EdgePattern extends GeneratedMessage implements EdgePatternOrBuilder

Edge pattern matcher to match the edge direction, labels and properties.

Protobuf type google.cloud.apptopology.v1.EdgePattern

Static Fields

ALIAS_FIELD_NUMBER

public static final int ALIAS_FIELD_NUMBER
Field Value
Type Description
int

DIRECTION_FIELD_NUMBER

public static final int DIRECTION_FIELD_NUMBER
Field Value
Type Description
int

LABEL_PROPERTIES_PATTERN_FIELD_NUMBER

public static final int LABEL_PROPERTIES_PATTERN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EdgePattern getDefaultInstance()
Returns
Type Description
EdgePattern

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EdgePattern.Builder newBuilder()
Returns
Type Description
EdgePattern.Builder

newBuilder(EdgePattern prototype)

public static EdgePattern.Builder newBuilder(EdgePattern prototype)
Parameter
Name Description
prototype EdgePattern
Returns
Type Description
EdgePattern.Builder

parseDelimitedFrom(InputStream input)

public static EdgePattern parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EdgePattern
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EdgePattern parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EdgePattern
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EdgePattern parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EdgePattern
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EdgePattern parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EdgePattern
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EdgePattern parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EdgePattern
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EdgePattern parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EdgePattern
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EdgePattern parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EdgePattern
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EdgePattern parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EdgePattern
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EdgePattern parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EdgePattern
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EdgePattern parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EdgePattern
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EdgePattern parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EdgePattern
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EdgePattern parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EdgePattern
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EdgePattern> parser()
Returns
Type Description
Parser<EdgePattern>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAlias()

public String getAlias()

Optional. Represents an identifier to be referenced in property_matcher_expr. For example, an alias for edge can be referenced as edge.description = "value_1". alias must be unique within the query, otherwise an error will be returned.

string alias = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The alias.

getAliasBytes()

public ByteString getAliasBytes()

Optional. Represents an identifier to be referenced in property_matcher_expr. For example, an alias for edge can be referenced as edge.description = "value_1". alias must be unique within the query, otherwise an error will be returned.

string alias = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for alias.

getDefaultInstanceForType()

public EdgePattern getDefaultInstanceForType()
Returns
Type Description
EdgePattern

getDirection()

public EdgePattern.Direction getDirection()

Required. The direction of the edge to match.

.google.cloud.apptopology.v1.EdgePattern.Direction direction = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EdgePattern.Direction

The direction.

getDirectionValue()

public int getDirectionValue()

Required. The direction of the edge to match.

.google.cloud.apptopology.v1.EdgePattern.Direction direction = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for direction.

getLabelPropertiesPattern()

public LabelPropertiesPattern getLabelPropertiesPattern()

Required. Matcher for labels/properties.

.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LabelPropertiesPattern

The labelPropertiesPattern.

getLabelPropertiesPatternOrBuilder()

public LabelPropertiesPatternOrBuilder getLabelPropertiesPatternOrBuilder()

Required. Matcher for labels/properties.

.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LabelPropertiesPatternOrBuilder

getParserForType()

public Parser<EdgePattern> getParserForType()
Returns
Type Description
Parser<EdgePattern>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasLabelPropertiesPattern()

public boolean hasLabelPropertiesPattern()

Required. Matcher for labels/properties.

.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the labelPropertiesPattern field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EdgePattern.Builder newBuilderForType()
Returns
Type Description
EdgePattern.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected EdgePattern.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EdgePattern.Builder
Overrides

toBuilder()

public EdgePattern.Builder toBuilder()
Returns
Type Description
EdgePattern.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException