public static final class AlertPolicy.Documentation.Link.Builder extends com.google.protobuf.GeneratedMessageV3.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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AlertPolicy.Documentation.Link.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AlertPolicy.Documentation.Link.Builder |
clearUrl()
The url of a webpage.
|
AlertPolicy.Documentation.Link.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AlertPolicy.Documentation.Link.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AlertPolicy.Documentation.Link.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Documentation.Link.Builder>public AlertPolicy.Documentation.Link.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Documentation.Link.Builder>public AlertPolicy.Documentation.Link.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Documentation.Link.Builder>public AlertPolicy.Documentation.Link.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Documentation.Link.Builder>public AlertPolicy.Documentation.Link.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Documentation.Link.Builder>public AlertPolicy.Documentation.Link.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Documentation.Link.Builder>public 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.GeneratedMessageV3.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.public final AlertPolicy.Documentation.Link.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Documentation.Link.Builder>public final AlertPolicy.Documentation.Link.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Documentation.Link.Builder>Copyright © 2024 Google LLC. All rights reserved.