Class UptimeCheckConfig.ResourceGroup (3.19.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
TypeDescription
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UptimeCheckConfig.ResourceGroup getDefaultInstance()
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UptimeCheckConfig.ResourceGroup.Builder newBuilder()
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup.Builder

newBuilder(UptimeCheckConfig.ResourceGroup prototype)

public static UptimeCheckConfig.ResourceGroup.Builder newBuilder(UptimeCheckConfig.ResourceGroup prototype)
Parameter
NameDescription
prototypeUptimeCheckConfig.ResourceGroup
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup.Builder

parseDelimitedFrom(InputStream input)

public static UptimeCheckConfig.ResourceGroup parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ResourceGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UptimeCheckConfig.ResourceGroup parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ResourceGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UptimeCheckConfig.ResourceGroup parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ResourceGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UptimeCheckConfig.ResourceGroup parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ResourceGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UptimeCheckConfig.ResourceGroup parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ResourceGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UptimeCheckConfig.ResourceGroup parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ResourceGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UptimeCheckConfig.ResourceGroup getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for groupId.

getParserForType()

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

getResourceType()

public GroupResourceType getResourceType()

The resource type of the group members.

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

Returns
TypeDescription
GroupResourceType

The resourceType.

getResourceTypeValue()

public int getResourceTypeValue()

The resource type of the group members.

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

Returns
TypeDescription
int

The enum numeric value on the wire for resourceType.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UptimeCheckConfig.ResourceGroup.Builder newBuilderForType()
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UptimeCheckConfig.ResourceGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UptimeCheckConfig.ResourceGroup.Builder toBuilder()
Returns
TypeDescription
UptimeCheckConfig.ResourceGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException