public static final class NodePattern.Builder extends GeneratedMessage.Builder<NodePattern.Builder> implements NodePatternOrBuilderNode pattern matcher to match the node id, labels and properties.
Protobuf type google.cloud.apptopology.v1.NodePattern
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NodePattern.BuilderImplements
NodePatternOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NodePattern build()| Returns | |
|---|---|
| Type | Description |
NodePattern |
|
buildPartial()
public NodePattern buildPartial()| Returns | |
|---|---|
| Type | Description |
NodePattern |
|
clear()
public NodePattern.Builder clear()| Returns | |
|---|---|
| Type | Description |
NodePattern.Builder |
|
clearAlias()
public NodePattern.Builder clearAlias() Optional. Represents an identifier to be referenced in
property_matcher_expr. For example, an alias for app can be referenced
as app.Base/location="us-central1". alias must be unique within the
query, otherwise an error will be returned.
string alias = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NodePattern.Builder |
This builder for chaining. |
clearLabelPropertiesPattern()
public NodePattern.Builder clearLabelPropertiesPattern()Optional. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NodePattern.Builder |
|
getAlias()
public String getAlias() Optional. Represents an identifier to be referenced in
property_matcher_expr. For example, an alias for app can be referenced
as app.Base/location="us-central1". alias must be unique within the
query, otherwise an error will be returned.
string alias = 1 [(.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 app can be referenced
as app.Base/location="us-central1". alias must be unique within the
query, otherwise an error will be returned.
string alias = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for alias. |
getDefaultInstanceForType()
public NodePattern getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NodePattern |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLabelPropertiesPattern()
public LabelPropertiesPattern getLabelPropertiesPattern()Optional. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LabelPropertiesPattern |
The labelPropertiesPattern. |
getLabelPropertiesPatternBuilder()
public LabelPropertiesPattern.Builder getLabelPropertiesPatternBuilder()Optional. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LabelPropertiesPattern.Builder |
|
getLabelPropertiesPatternOrBuilder()
public LabelPropertiesPatternOrBuilder getLabelPropertiesPatternOrBuilder()Optional. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
LabelPropertiesPatternOrBuilder |
|
hasLabelPropertiesPattern()
public boolean hasLabelPropertiesPattern()Optional. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 3 [(.google.api.field_behavior) = OPTIONAL];
| 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(NodePattern other)
public NodePattern.Builder mergeFrom(NodePattern other)| Parameter | |
|---|---|
| Name | Description |
other |
NodePattern |
| Returns | |
|---|---|
| Type | Description |
NodePattern.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodePattern.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NodePattern.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NodePattern.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NodePattern.Builder |
|
mergeLabelPropertiesPattern(LabelPropertiesPattern value)
public NodePattern.Builder mergeLabelPropertiesPattern(LabelPropertiesPattern value)Optional. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
LabelPropertiesPattern |
| Returns | |
|---|---|
| Type | Description |
NodePattern.Builder |
|
setAlias(String value)
public NodePattern.Builder setAlias(String value) Optional. Represents an identifier to be referenced in
property_matcher_expr. For example, an alias for app can be referenced
as app.Base/location="us-central1". alias must be unique within the
query, otherwise an error will be returned.
string alias = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe alias to set. |
| Returns | |
|---|---|
| Type | Description |
NodePattern.Builder |
This builder for chaining. |
setAliasBytes(ByteString value)
public NodePattern.Builder setAliasBytes(ByteString value) Optional. Represents an identifier to be referenced in
property_matcher_expr. For example, an alias for app can be referenced
as app.Base/location="us-central1". alias must be unique within the
query, otherwise an error will be returned.
string alias = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for alias to set. |
| Returns | |
|---|---|
| Type | Description |
NodePattern.Builder |
This builder for chaining. |
setLabelPropertiesPattern(LabelPropertiesPattern value)
public NodePattern.Builder setLabelPropertiesPattern(LabelPropertiesPattern value)Optional. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
LabelPropertiesPattern |
| Returns | |
|---|---|
| Type | Description |
NodePattern.Builder |
|
setLabelPropertiesPattern(LabelPropertiesPattern.Builder builderForValue)
public NodePattern.Builder setLabelPropertiesPattern(LabelPropertiesPattern.Builder builderForValue)Optional. Matcher for labels/properties.
.google.cloud.apptopology.v1.LabelPropertiesPattern label_properties_pattern = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LabelPropertiesPattern.Builder |
| Returns | |
|---|---|
| Type | Description |
NodePattern.Builder |
|