public final class InternalChecker extends GeneratedMessageV3 implements InternalCheckerOrBuilder
An internal checker allows Uptime checks to run on private/internal GCP
resources.
Protobuf type google.monitoring.v3.InternalChecker
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>)
Static Fields
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GCP_ZONE_FIELD_NUMBER
public static final int GCP_ZONE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PEER_PROJECT_ID_FIELD_NUMBER
public static final int PEER_PROJECT_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static InternalChecker getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InternalChecker.Builder newBuilder()
newBuilder(InternalChecker prototype)
public static InternalChecker.Builder newBuilder(InternalChecker prototype)
public static InternalChecker parseDelimitedFrom(InputStream input)
public static InternalChecker parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InternalChecker parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InternalChecker parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InternalChecker parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InternalChecker parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InternalChecker parseFrom(CodedInputStream input)
public static InternalChecker parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InternalChecker parseFrom(InputStream input)
public static InternalChecker parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InternalChecker parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InternalChecker parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InternalChecker> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public InternalChecker getDefaultInstanceForType()
getDisplayName()
public String getDisplayName()
The checker's human-readable name. The display name
should be unique within a Cloud Monitoring Metrics Scope in order to make
it easier to identify; however, uniqueness is not enforced.
string display_name = 2;
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The checker's human-readable name. The display name
should be unique within a Cloud Monitoring Metrics Scope in order to make
it easier to identify; however, uniqueness is not enforced.
string display_name = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
getGcpZone()
public String getGcpZone()
The GCP zone the Uptime check should egress from. Only respected for
internal Uptime checks, where internal_network is specified.
string gcp_zone = 4;
Returns |
---|
Type | Description |
String | The gcpZone.
|
getGcpZoneBytes()
public ByteString getGcpZoneBytes()
The GCP zone the Uptime check should egress from. Only respected for
internal Uptime checks, where internal_network is specified.
string gcp_zone = 4;
Returns |
---|
Type | Description |
ByteString | The bytes for gcpZone.
|
getName()
A unique resource name for this InternalChecker. The format is:
projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
[PROJECT_ID_OR_NUMBER]
is the Cloud Monitoring Metrics Scope project for
the Uptime check config associated with the internal checker.
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
A unique resource name for this InternalChecker. The format is:
projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
[PROJECT_ID_OR_NUMBER]
is the Cloud Monitoring Metrics Scope project for
the Uptime check config associated with the internal checker.
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getNetwork()
public String getNetwork()
The GCP VPC network where the
internal resource lives (ex: "default").
string network = 3;
Returns |
---|
Type | Description |
String | The network.
|
getNetworkBytes()
public ByteString getNetworkBytes()
The GCP VPC network where the
internal resource lives (ex: "default").
string network = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for network.
|
getParserForType()
public Parser<InternalChecker> getParserForType()
Overrides
getPeerProjectId()
public String getPeerProjectId()
The GCP project ID where the internal checker lives. Not necessary
the same as the Metrics Scope project.
string peer_project_id = 6;
Returns |
---|
Type | Description |
String | The peerProjectId.
|
getPeerProjectIdBytes()
public ByteString getPeerProjectIdBytes()
The GCP project ID where the internal checker lives. Not necessary
the same as the Metrics Scope project.
string peer_project_id = 6;
Returns |
---|
Type | Description |
ByteString | The bytes for peerProjectId.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getState()
public InternalChecker.State getState()
The current operational state of the internal checker.
.google.monitoring.v3.InternalChecker.State state = 7;
getStateValue()
public int getStateValue()
The current operational state of the internal checker.
.google.monitoring.v3.InternalChecker.State state = 7;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InternalChecker.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InternalChecker.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public InternalChecker.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides