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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UptimeCheckConfig.ResourceGroup.Builder newBuilder()
newBuilder(UptimeCheckConfig.ResourceGroup prototype)
public static UptimeCheckConfig.ResourceGroup.Builder newBuilder(UptimeCheckConfig.ResourceGroup prototype)
public static UptimeCheckConfig.ResourceGroup parseDelimitedFrom(InputStream input)
public static UptimeCheckConfig.ResourceGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UptimeCheckConfig.ResourceGroup parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckConfig.ResourceGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UptimeCheckConfig.ResourceGroup parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckConfig.ResourceGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckConfig.ResourceGroup parseFrom(CodedInputStream input)
public static UptimeCheckConfig.ResourceGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckConfig.ResourceGroup parseFrom(InputStream input)
public static UptimeCheckConfig.ResourceGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UptimeCheckConfig.ResourceGroup parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UptimeCheckConfig.ResourceGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UptimeCheckConfig.ResourceGroup> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public UptimeCheckConfig.ResourceGroup getDefaultInstanceForType()
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()
Overrides
getResourceType()
public GroupResourceType getResourceType()
The resource type of the group members.
.google.monitoring.v3.GroupResourceType resource_type = 2;
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UptimeCheckConfig.ResourceGroup.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UptimeCheckConfig.ResourceGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UptimeCheckConfig.ResourceGroup.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides