- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
public static final class InternalChecker.Builder extends GeneratedMessageV3.Builder<InternalChecker.Builder> implements InternalCheckerOrBuilder
An internal checker allows Uptime checks to run on private/internal GCP resources.
Protobuf type google.monitoring.v3.InternalChecker
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InternalChecker.BuilderImplements
InternalCheckerOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InternalChecker.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder |
build()
public InternalChecker build()
Returns | |
---|---|
Type | Description |
InternalChecker |
buildPartial()
public InternalChecker buildPartial()
Returns | |
---|---|
Type | Description |
InternalChecker |
clear()
public InternalChecker.Builder clear()
Returns | |
---|---|
Type | Description |
InternalChecker.Builder |
clearDisplayName()
public InternalChecker.Builder clearDisplayName()
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 |
InternalChecker.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InternalChecker.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder |
clearGcpZone()
public InternalChecker.Builder clearGcpZone()
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 |
InternalChecker.Builder | This builder for chaining. |
clearName()
public InternalChecker.Builder clearName()
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 |
InternalChecker.Builder | This builder for chaining. |
clearNetwork()
public InternalChecker.Builder clearNetwork()
The GCP VPC network where the internal resource lives (ex: "default").
string network = 3;
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InternalChecker.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder |
clearPeerProjectId()
public InternalChecker.Builder clearPeerProjectId()
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 |
InternalChecker.Builder | This builder for chaining. |
clearState()
public InternalChecker.Builder clearState()
The current operational state of the internal checker.
.google.monitoring.v3.InternalChecker.State state = 7;
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
clone()
public InternalChecker.Builder clone()
Returns | |
---|---|
Type | Description |
InternalChecker.Builder |
getDefaultInstanceForType()
public InternalChecker getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InternalChecker |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 | |
---|---|
Type | Description |
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 | |
---|---|
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 | |
---|---|
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. |
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. |
getState()
public InternalChecker.State getState()
The current operational state of the internal checker.
.google.monitoring.v3.InternalChecker.State state = 7;
Returns | |
---|---|
Type | Description |
InternalChecker.State | The state. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(InternalChecker other)
public InternalChecker.Builder mergeFrom(InternalChecker other)
Parameter | |
---|---|
Name | Description |
other | InternalChecker |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InternalChecker.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InternalChecker.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InternalChecker.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder |
setDisplayName(String value)
public InternalChecker.Builder setDisplayName(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public InternalChecker.Builder setDisplayNameBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InternalChecker.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder |
setGcpZone(String value)
public InternalChecker.Builder setGcpZone(String value)
The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
string gcp_zone = 4;
Parameter | |
---|---|
Name | Description |
value | String The gcpZone to set. |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
setGcpZoneBytes(ByteString value)
public InternalChecker.Builder setGcpZoneBytes(ByteString value)
The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
string gcp_zone = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for gcpZone to set. |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
setName(String value)
public InternalChecker.Builder setName(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public InternalChecker.Builder setNameBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
setNetwork(String value)
public InternalChecker.Builder setNetwork(String value)
The GCP VPC network where the internal resource lives (ex: "default").
string network = 3;
Parameter | |
---|---|
Name | Description |
value | String The network to set. |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
setNetworkBytes(ByteString value)
public InternalChecker.Builder setNetworkBytes(ByteString value)
The GCP VPC network where the internal resource lives (ex: "default").
string network = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for network to set. |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
setPeerProjectId(String value)
public InternalChecker.Builder setPeerProjectId(String value)
The GCP project ID where the internal checker lives. Not necessary the same as the Workspace project.
string peer_project_id = 6;
Parameter | |
---|---|
Name | Description |
value | String The peerProjectId to set. |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
setPeerProjectIdBytes(ByteString value)
public InternalChecker.Builder setPeerProjectIdBytes(ByteString value)
The GCP project ID where the internal checker lives. Not necessary the same as the Workspace project.
string peer_project_id = 6;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for peerProjectId to set. |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InternalChecker.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder |
setState(InternalChecker.State value)
public InternalChecker.Builder setState(InternalChecker.State value)
The current operational state of the internal checker.
.google.monitoring.v3.InternalChecker.State state = 7;
Parameter | |
---|---|
Name | Description |
value | InternalChecker.State The state to set. |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
setStateValue(int value)
public InternalChecker.Builder setStateValue(int value)
The current operational state of the internal checker.
.google.monitoring.v3.InternalChecker.State state = 7;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InternalChecker.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InternalChecker.Builder |