Class UptimeCheckConfig.ResourceGroup (3.56.0)

public static final class UptimeCheckConfig.ResourceGroup extends GeneratedMessageV3 implements UptimeCheckConfig.ResourceGroupOrBuilder

The resource submessage for group checks. It can be used instead of a monitored resource, when multiple resources are being monitored.

Protobuf type google.monitoring.v3.UptimeCheckConfig.ResourceGroup

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UptimeCheckConfig.ResourceGroup

Static Fields

GROUP_ID_FIELD_NUMBER

public static final int GROUP_ID_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UptimeCheckConfig.ResourceGroup getDefaultInstance()
Returns
Type Description
UptimeCheckConfig.ResourceGroup

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UptimeCheckConfig.ResourceGroup.Builder newBuilder()
Returns
Type Description
UptimeCheckConfig.ResourceGroup.Builder

newBuilder(UptimeCheckConfig.ResourceGroup prototype)

public static UptimeCheckConfig.ResourceGroup.Builder newBuilder(UptimeCheckConfig.ResourceGroup prototype)
Parameter
Name Description
prototype UptimeCheckConfig.ResourceGroup
Returns
Type Description
UptimeCheckConfig.ResourceGroup.Builder

parseDelimitedFrom(InputStream input)

public static UptimeCheckConfig.ResourceGroup parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UptimeCheckConfig.ResourceGroup
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ResourceGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UptimeCheckConfig.ResourceGroup
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UptimeCheckConfig.ResourceGroup parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UptimeCheckConfig.ResourceGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ResourceGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UptimeCheckConfig.ResourceGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UptimeCheckConfig.ResourceGroup parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UptimeCheckConfig.ResourceGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ResourceGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UptimeCheckConfig.ResourceGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UptimeCheckConfig.ResourceGroup parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UptimeCheckConfig.ResourceGroup
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ResourceGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UptimeCheckConfig.ResourceGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UptimeCheckConfig.ResourceGroup parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UptimeCheckConfig.ResourceGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ResourceGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UptimeCheckConfig.ResourceGroup
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UptimeCheckConfig.ResourceGroup parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UptimeCheckConfig.ResourceGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ResourceGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UptimeCheckConfig.ResourceGroup
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UptimeCheckConfig.ResourceGroup> parser()
Returns
Type Description
Parser<ResourceGroup>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UptimeCheckConfig.ResourceGroup getDefaultInstanceForType()
Returns
Type Description
UptimeCheckConfig.ResourceGroup

getGroupId()

public String getGroupId()

The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].

string group_id = 1;

Returns
Type Description
String

The groupId.

getGroupIdBytes()

public ByteString getGroupIdBytes()

The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].

string group_id = 1;

Returns
Type Description
ByteString

The bytes for groupId.

getParserForType()

public Parser<UptimeCheckConfig.ResourceGroup> getParserForType()
Returns
Type Description
Parser<ResourceGroup>
Overrides

getResourceType()

public GroupResourceType getResourceType()

The resource type of the group members.

.google.monitoring.v3.GroupResourceType resource_type = 2;

Returns
Type Description
GroupResourceType

The resourceType.

getResourceTypeValue()

public int getResourceTypeValue()

The resource type of the group members.

.google.monitoring.v3.GroupResourceType resource_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for resourceType.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UptimeCheckConfig.ResourceGroup.Builder newBuilderForType()
Returns
Type Description
UptimeCheckConfig.ResourceGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UptimeCheckConfig.ResourceGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UptimeCheckConfig.ResourceGroup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UptimeCheckConfig.ResourceGroup.Builder toBuilder()
Returns
Type Description
UptimeCheckConfig.ResourceGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException