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
Static Fields
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
GCP_ZONE_FIELD_NUMBER
public static final int GCP_ZONE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value
PEER_PROJECT_ID_FIELD_NUMBER
public static final int PEER_PROJECT_ID_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static InternalChecker getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static InternalChecker.Builder newBuilder()
Returns
newBuilder(InternalChecker prototype)
public static InternalChecker.Builder newBuilder(InternalChecker prototype)
Parameter
Returns
public static InternalChecker parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InternalChecker parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static InternalChecker parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InternalChecker parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static InternalChecker parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InternalChecker parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InternalChecker parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InternalChecker parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InternalChecker parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InternalChecker parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static InternalChecker parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InternalChecker parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<InternalChecker> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public InternalChecker getDefaultInstanceForType()
Returns
getDisplayName()
public String getDisplayName()
The checker's human-readable name. The display name
should be unique within a Stackdriver Workspace 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 Stackdriver Workspace 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
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 Stackdriver Workspace 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 Stackdriver Workspace project for the
Uptime check config associated with the internal checker.
string name = 1;
Returns
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
getParserForType()
public Parser<InternalChecker> getParserForType()
Returns
Overrides
getPeerProjectId()
public String getPeerProjectId()
The GCP project ID where the internal checker lives. Not necessary
the same as the Workspace 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 Workspace project.
string peer_project_id = 6;
Returns
Type | Description |
ByteString | The bytes for peerProjectId.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public InternalChecker.State getState()
The current operational state of the internal checker.
.google.monitoring.v3.InternalChecker.State state = 7;
Returns
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.
|
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 InternalChecker.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InternalChecker.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public InternalChecker.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions