public static final class InternalChecker.Builder extends GeneratedMessageV3.Builder<InternalChecker.Builder> implements InternalCheckerOrBuilderAn 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()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InternalChecker.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| InternalChecker.Builder |
build()
public InternalChecker build()| Type | Description |
| InternalChecker |
buildPartial()
public InternalChecker buildPartial()| Type | Description |
| InternalChecker |
clear()
public InternalChecker.Builder clear()| 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;
| Type | Description |
| InternalChecker.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InternalChecker.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| 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;
| 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;
| 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;
| Type | Description |
| InternalChecker.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InternalChecker.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| 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;
| 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;
| Type | Description |
| InternalChecker.Builder | This builder for chaining. |
clone()
public InternalChecker.Builder clone()| Type | Description |
| InternalChecker.Builder |
getDefaultInstanceForType()
public InternalChecker getDefaultInstanceForType()| Type | Description |
| InternalChecker |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| Type | Description |
| String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()The GCP VPC network where the internal resource lives (ex: "default").
string network = 3;
| 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;
| 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;
| 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;
| 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;
| Type | Description |
| int | The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(InternalChecker other)
public InternalChecker.Builder mergeFrom(InternalChecker other)| Name | Description |
| other | InternalChecker |
| Type | Description |
| InternalChecker.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InternalChecker.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| InternalChecker.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public InternalChecker.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| InternalChecker.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InternalChecker.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| 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;
| Name | Description |
| value | StringThe displayName to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for displayName to set. |
| Type | Description |
| InternalChecker.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InternalChecker.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| 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;
| Name | Description |
| value | StringThe gcpZone to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for gcpZone to set. |
| 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;
| Name | Description |
| value | StringThe name to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for name to set. |
| 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;
| Name | Description |
| value | StringThe network to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for network to set. |
| 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;
| Name | Description |
| value | StringThe peerProjectId to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for peerProjectId to set. |
| 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)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| 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;
| Name | Description |
| value | InternalChecker.StateThe state to set. |
| 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;
| Name | Description |
| value | intThe enum numeric value on the wire for state to set. |
| Type | Description |
| InternalChecker.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InternalChecker.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| InternalChecker.Builder |