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
Static Fields
GROUP_ID_FIELD_NUMBER
public static final int GROUP_ID_FIELD_NUMBER
Field Value
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UptimeCheckConfig.ResourceGroup getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UptimeCheckConfig.ResourceGroup.Builder newBuilder()
Returns
newBuilder(UptimeCheckConfig.ResourceGroup prototype)
public static UptimeCheckConfig.ResourceGroup.Builder newBuilder(UptimeCheckConfig.ResourceGroup prototype)
Parameter
Returns
public static UptimeCheckConfig.ResourceGroup parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UptimeCheckConfig.ResourceGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UptimeCheckConfig.ResourceGroup parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckConfig.ResourceGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UptimeCheckConfig.ResourceGroup parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckConfig.ResourceGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UptimeCheckConfig.ResourceGroup parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UptimeCheckConfig.ResourceGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UptimeCheckConfig.ResourceGroup parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UptimeCheckConfig.ResourceGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UptimeCheckConfig.ResourceGroup parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckConfig.ResourceGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UptimeCheckConfig.ResourceGroup> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UptimeCheckConfig.ResourceGroup getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<UptimeCheckConfig.ResourceGroup> getParserForType()
Returns
Overrides
getResourceType()
public GroupResourceType getResourceType()
The resource type of the group members.
.google.monitoring.v3.GroupResourceType resource_type = 2;
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UptimeCheckConfig.ResourceGroup.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UptimeCheckConfig.ResourceGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UptimeCheckConfig.ResourceGroup.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions