Class InternalChecker

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

Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

GCP_ZONE_FIELD_NUMBER

public static final int GCP_ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

PEER_PROJECT_ID_FIELD_NUMBER

public static final int PEER_PROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static InternalChecker getDefaultInstance()
Returns
TypeDescription
InternalChecker

getDefaultInstanceForType()

public InternalChecker getDefaultInstanceForType()
Returns
TypeDescription
InternalChecker

getDescriptor()

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

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for gcpZone.

getName()

public String 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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getNetwork()

public String getNetwork()

The GCP VPC network where the internal resource lives (ex: "default").

string network = 3;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

The GCP VPC network where the internal resource lives (ex: "default").

string network = 3;

Returns
TypeDescription
ByteString

The bytes for network.

getParserForType()

public Parser<InternalChecker> getParserForType()
Returns
TypeDescription
Parser<InternalChecker>
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
TypeDescription
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
TypeDescription
ByteString

The bytes for peerProjectId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public InternalChecker.State getState()

The current operational state of the internal checker.

.google.monitoring.v3.InternalChecker.State state = 7;

Returns
TypeDescription
InternalChecker.State

The state.

getStateValue()

public int getStateValue()

The current operational state of the internal checker.

.google.monitoring.v3.InternalChecker.State state = 7;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

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

newBuilder()

public static InternalChecker.Builder newBuilder()
Returns
TypeDescription
InternalChecker.Builder

newBuilder(InternalChecker prototype)

public static InternalChecker.Builder newBuilder(InternalChecker prototype)
Parameter
NameDescription
prototypeInternalChecker
Returns
TypeDescription
InternalChecker.Builder

newBuilderForType()

public InternalChecker.Builder newBuilderForType()
Returns
TypeDescription
InternalChecker.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

public static InternalChecker parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InternalChecker
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static InternalChecker parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InternalChecker
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static InternalChecker parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InternalChecker
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static InternalChecker parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InternalChecker
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static InternalChecker parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InternalChecker
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<InternalChecker> parser()
Returns
TypeDescription
Parser<InternalChecker>

toBuilder()

public InternalChecker.Builder toBuilder()
Returns
TypeDescription
InternalChecker.Builder

writeTo(CodedOutputStream output)

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