public static final class EdgePattern.Builder extends GeneratedMessage.Builder<EdgePattern.Builder> implements EdgePatternOrBuilderEdge pattern matcher to match the edge direction, labels and properties.
Protobuf type google.cloud.apptopology.v1.EdgePattern
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EdgePattern.BuilderImplements
EdgePatternOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EdgePattern build()| Returns | |
|---|---|
| Type | Description |
EdgePattern |
|
buildPartial()
public EdgePattern buildPartial()| Returns | |
|---|---|
| Type | Description |
EdgePattern |
|
clear()
public EdgePattern.Builder clear()| Returns | |
|---|---|
| Type | Description |
EdgePattern.Builder |
|
clearAlias()
public EdgePattern.Builder clearAlias() 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 |
EdgePattern.Builder |
This builder for chaining. |
clearDirection()
public EdgePattern.Builder clearDirection()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.Builder |
This builder for chaining. |
clearLabelPropertiesPattern()
public EdgePattern.Builder clearLabelPropertiesPattern()Required. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EdgePattern.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getLabelPropertiesPatternBuilder()
public LabelPropertiesPattern.Builder getLabelPropertiesPatternBuilder()Required. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LabelPropertiesPattern.Builder |
|
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 |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(EdgePattern other)
public EdgePattern.Builder mergeFrom(EdgePattern other)| Parameter | |
|---|---|
| Name | Description |
other |
EdgePattern |
| Returns | |
|---|---|
| Type | Description |
EdgePattern.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EdgePattern.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EdgePattern.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EdgePattern.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EdgePattern.Builder |
|
mergeLabelPropertiesPattern(LabelPropertiesPattern value)
public EdgePattern.Builder mergeLabelPropertiesPattern(LabelPropertiesPattern value)Required. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
LabelPropertiesPattern |
| Returns | |
|---|---|
| Type | Description |
EdgePattern.Builder |
|
setAlias(String value)
public EdgePattern.Builder setAlias(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe alias to set. |
| Returns | |
|---|---|
| Type | Description |
EdgePattern.Builder |
This builder for chaining. |
setAliasBytes(ByteString value)
public EdgePattern.Builder setAliasBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for alias to set. |
| Returns | |
|---|---|
| Type | Description |
EdgePattern.Builder |
This builder for chaining. |
setDirection(EdgePattern.Direction value)
public EdgePattern.Builder setDirection(EdgePattern.Direction value)Required. The direction of the edge to match.
.google.cloud.apptopology.v1.EdgePattern.Direction direction = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
EdgePattern.DirectionThe direction to set. |
| Returns | |
|---|---|
| Type | Description |
EdgePattern.Builder |
This builder for chaining. |
setDirectionValue(int value)
public EdgePattern.Builder setDirectionValue(int value)Required. The direction of the edge to match.
.google.cloud.apptopology.v1.EdgePattern.Direction direction = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for direction to set. |
| Returns | |
|---|---|
| Type | Description |
EdgePattern.Builder |
This builder for chaining. |
setLabelPropertiesPattern(LabelPropertiesPattern value)
public EdgePattern.Builder setLabelPropertiesPattern(LabelPropertiesPattern value)Required. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
LabelPropertiesPattern |
| Returns | |
|---|---|
| Type | Description |
EdgePattern.Builder |
|
setLabelPropertiesPattern(LabelPropertiesPattern.Builder builderForValue)
public EdgePattern.Builder setLabelPropertiesPattern(LabelPropertiesPattern.Builder builderForValue)Required. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LabelPropertiesPattern.Builder |
| Returns | |
|---|---|
| Type | Description |
EdgePattern.Builder |
|