public static final class AlertPolicy.Documentation.Link.Builder extends com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.Documentation.Link.Builder> implements AlertPolicy.Documentation.LinkOrBuilder
Links to content such as playbooks, repositories, and other resources.Protobuf type
google.monitoring.v3.AlertPolicy.Documentation.Link| Modifier and Type | Method and Description |
|---|---|
AlertPolicy.Documentation.Link |
build() |
AlertPolicy.Documentation.Link |
buildPartial() |
AlertPolicy.Documentation.Link.Builder |
clear() |
AlertPolicy.Documentation.Link.Builder |
clearDisplayName()
A short display name for the link.
|
AlertPolicy.Documentation.Link.Builder |
clearUrl()
The url of a webpage.
|
AlertPolicy.Documentation.Link |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
A short display name for the link.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
A short display name for the link.
|
String |
getUrl()
The url of a webpage.
|
com.google.protobuf.ByteString |
getUrlBytes()
The url of a webpage.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AlertPolicy.Documentation.Link.Builder |
mergeFrom(AlertPolicy.Documentation.Link other) |
AlertPolicy.Documentation.Link.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AlertPolicy.Documentation.Link.Builder |
mergeFrom(com.google.protobuf.Message other) |
AlertPolicy.Documentation.Link.Builder |
setDisplayName(String value)
A short display name for the link.
|
AlertPolicy.Documentation.Link.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
A short display name for the link.
|
AlertPolicy.Documentation.Link.Builder |
setUrl(String value)
The url of a webpage.
|
AlertPolicy.Documentation.Link.Builder |
setUrlBytes(com.google.protobuf.ByteString value)
The url of a webpage.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.Documentation.Link.Builder>public AlertPolicy.Documentation.Link.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.Documentation.Link.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.Documentation.Link.Builder>public AlertPolicy.Documentation.Link getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AlertPolicy.Documentation.Link build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AlertPolicy.Documentation.Link buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AlertPolicy.Documentation.Link.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AlertPolicy.Documentation.Link.Builder>public AlertPolicy.Documentation.Link.Builder mergeFrom(AlertPolicy.Documentation.Link other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.Documentation.Link.Builder>public AlertPolicy.Documentation.Link.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AlertPolicy.Documentation.Link.Builder>IOExceptionpublic String getDisplayName()
A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook".
string display_name = 1;getDisplayName in interface AlertPolicy.Documentation.LinkOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook".
string display_name = 1;getDisplayNameBytes in interface AlertPolicy.Documentation.LinkOrBuilderpublic AlertPolicy.Documentation.Link.Builder setDisplayName(String value)
A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook".
string display_name = 1;value - The displayName to set.public AlertPolicy.Documentation.Link.Builder clearDisplayName()
A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook".
string display_name = 1;public AlertPolicy.Documentation.Link.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook".
string display_name = 1;value - The bytes for displayName to set.public String getUrl()
The url of a webpage.
A url can be templatized by using variables
in the path or the query parameters. The total length of a URL should
not exceed 2083 characters before and after variable expansion.
Example: "https://my_domain.com/playbook?name=${resource.name}"
string url = 2;getUrl in interface AlertPolicy.Documentation.LinkOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
The url of a webpage.
A url can be templatized by using variables
in the path or the query parameters. The total length of a URL should
not exceed 2083 characters before and after variable expansion.
Example: "https://my_domain.com/playbook?name=${resource.name}"
string url = 2;getUrlBytes in interface AlertPolicy.Documentation.LinkOrBuilderpublic AlertPolicy.Documentation.Link.Builder setUrl(String value)
The url of a webpage.
A url can be templatized by using variables
in the path or the query parameters. The total length of a URL should
not exceed 2083 characters before and after variable expansion.
Example: "https://my_domain.com/playbook?name=${resource.name}"
string url = 2;value - The url to set.public AlertPolicy.Documentation.Link.Builder clearUrl()
The url of a webpage.
A url can be templatized by using variables
in the path or the query parameters. The total length of a URL should
not exceed 2083 characters before and after variable expansion.
Example: "https://my_domain.com/playbook?name=${resource.name}"
string url = 2;public AlertPolicy.Documentation.Link.Builder setUrlBytes(com.google.protobuf.ByteString value)
The url of a webpage.
A url can be templatized by using variables
in the path or the query parameters. The total length of a URL should
not exceed 2083 characters before and after variable expansion.
Example: "https://my_domain.com/playbook?name=${resource.name}"
string url = 2;value - The bytes for url to set.Copyright © 2026 Google LLC. All rights reserved.