Class AlertPolicy.Documentation.Link (3.53.0)

public static final class AlertPolicy.Documentation.Link extends GeneratedMessageV3 implements AlertPolicy.Documentation.LinkOrBuilder

Links to content such as playbooks, repositories, and other resources.

Protobuf type google.monitoring.v3.AlertPolicy.Documentation.Link

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AlertPolicy.Documentation.Link

Static Fields

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int
public static final int URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

public static AlertPolicy.Documentation.Link getDefaultInstance()
Returns
Type Description
AlertPolicy.Documentation.Link
public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor
public static AlertPolicy.Documentation.Link.Builder newBuilder()
Returns
Type Description
AlertPolicy.Documentation.Link.Builder
public static AlertPolicy.Documentation.Link.Builder newBuilder(AlertPolicy.Documentation.Link prototype)
Parameter
Name Description
prototype AlertPolicy.Documentation.Link
Returns
Type Description
AlertPolicy.Documentation.Link.Builder
public static AlertPolicy.Documentation.Link parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AlertPolicy.Documentation.Link
Exceptions
Type Description
IOException
public static AlertPolicy.Documentation.Link parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlertPolicy.Documentation.Link
Exceptions
Type Description
IOException
public static AlertPolicy.Documentation.Link parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AlertPolicy.Documentation.Link
Exceptions
Type Description
InvalidProtocolBufferException
public static AlertPolicy.Documentation.Link parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlertPolicy.Documentation.Link
Exceptions
Type Description
InvalidProtocolBufferException
public static AlertPolicy.Documentation.Link parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AlertPolicy.Documentation.Link
Exceptions
Type Description
InvalidProtocolBufferException
public static AlertPolicy.Documentation.Link parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlertPolicy.Documentation.Link
Exceptions
Type Description
InvalidProtocolBufferException
public static AlertPolicy.Documentation.Link parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AlertPolicy.Documentation.Link
Exceptions
Type Description
IOException
public static AlertPolicy.Documentation.Link parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlertPolicy.Documentation.Link
Exceptions
Type Description
IOException
public static AlertPolicy.Documentation.Link parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AlertPolicy.Documentation.Link
Exceptions
Type Description
IOException
public static AlertPolicy.Documentation.Link parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlertPolicy.Documentation.Link
Exceptions
Type Description
IOException
public static AlertPolicy.Documentation.Link parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AlertPolicy.Documentation.Link
Exceptions
Type Description
InvalidProtocolBufferException
public static AlertPolicy.Documentation.Link parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlertPolicy.Documentation.Link
Exceptions
Type Description
InvalidProtocolBufferException
public static Parser<AlertPolicy.Documentation.Link> parser()
Returns
Type Description
Parser<Link>

Methods

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
public AlertPolicy.Documentation.Link getDefaultInstanceForType()
Returns
Type Description
AlertPolicy.Documentation.Link
public 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;

Returns
Type Description
String

The displayName.

public 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;

Returns
Type Description
ByteString

The bytes for displayName.

public Parser<AlertPolicy.Documentation.Link> getParserForType()
Returns
Type Description
Parser<Link>
Overrides
public int getSerializedSize()
Returns
Type Description
int
Overrides
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;

Returns
Type Description
String

The url.

public 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;

Returns
Type Description
ByteString

The bytes for url.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public AlertPolicy.Documentation.Link.Builder newBuilderForType()
Returns
Type Description
AlertPolicy.Documentation.Link.Builder
protected AlertPolicy.Documentation.Link.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AlertPolicy.Documentation.Link.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
public AlertPolicy.Documentation.Link.Builder toBuilder()
Returns
Type Description
AlertPolicy.Documentation.Link.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException