Package com.google.monitoring.v3
Class UptimeCheckIp.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
- com.google.monitoring.v3.UptimeCheckIp.Builder
-
- All Implemented Interfaces:
UptimeCheckIpOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- UptimeCheckIp
public static final class UptimeCheckIp.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder> implements UptimeCheckIpOrBuilder
Contains the region, location, and list of IP addresses where checkers in the location run from.
Protobuf typegoogle.monitoring.v3.UptimeCheckIp
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UptimeCheckIp.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UptimeCheckIp
build()
UptimeCheckIp
buildPartial()
UptimeCheckIp.Builder
clear()
UptimeCheckIp.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UptimeCheckIp.Builder
clearIpAddress()
The IP address from which the Uptime check originates.UptimeCheckIp.Builder
clearLocation()
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.UptimeCheckIp.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UptimeCheckIp.Builder
clearRegion()
A broad region category in which the IP address is located.UptimeCheckIp.Builder
clone()
UptimeCheckIp
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getIpAddress()
The IP address from which the Uptime check originates.com.google.protobuf.ByteString
getIpAddressBytes()
The IP address from which the Uptime check originates.String
getLocation()
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.com.google.protobuf.ByteString
getLocationBytes()
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.UptimeCheckRegion
getRegion()
A broad region category in which the IP address is located.int
getRegionValue()
A broad region category in which the IP address is located.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UptimeCheckIp.Builder
mergeFrom(UptimeCheckIp other)
UptimeCheckIp.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UptimeCheckIp.Builder
mergeFrom(com.google.protobuf.Message other)
UptimeCheckIp.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UptimeCheckIp.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UptimeCheckIp.Builder
setIpAddress(String value)
The IP address from which the Uptime check originates.UptimeCheckIp.Builder
setIpAddressBytes(com.google.protobuf.ByteString value)
The IP address from which the Uptime check originates.UptimeCheckIp.Builder
setLocation(String value)
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.UptimeCheckIp.Builder
setLocationBytes(com.google.protobuf.ByteString value)
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.UptimeCheckIp.Builder
setRegion(UptimeCheckRegion value)
A broad region category in which the IP address is located.UptimeCheckIp.Builder
setRegionValue(int value)
A broad region category in which the IP address is located.UptimeCheckIp.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
UptimeCheckIp.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
clear
public UptimeCheckIp.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
getDefaultInstanceForType
public UptimeCheckIp getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UptimeCheckIp build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UptimeCheckIp buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UptimeCheckIp.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
setField
public UptimeCheckIp.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
clearField
public UptimeCheckIp.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
clearOneof
public UptimeCheckIp.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
setRepeatedField
public UptimeCheckIp.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
addRepeatedField
public UptimeCheckIp.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
mergeFrom
public UptimeCheckIp.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UptimeCheckIp.Builder>
-
mergeFrom
public UptimeCheckIp.Builder mergeFrom(UptimeCheckIp other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
mergeFrom
public UptimeCheckIp.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UptimeCheckIp.Builder>
- Throws:
IOException
-
getRegionValue
public int getRegionValue()
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;
- Specified by:
getRegionValue
in interfaceUptimeCheckIpOrBuilder
- Returns:
- The enum numeric value on the wire for region.
-
setRegionValue
public UptimeCheckIp.Builder setRegionValue(int value)
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;
- Parameters:
value
- The enum numeric value on the wire for region to set.- Returns:
- This builder for chaining.
-
getRegion
public UptimeCheckRegion getRegion()
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;
- Specified by:
getRegion
in interfaceUptimeCheckIpOrBuilder
- Returns:
- The region.
-
setRegion
public UptimeCheckIp.Builder setRegion(UptimeCheckRegion value)
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;
- Parameters:
value
- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public UptimeCheckIp.Builder clearRegion()
A broad region category in which the IP address is located.
.google.monitoring.v3.UptimeCheckRegion region = 1;
- Returns:
- This builder for chaining.
-
getLocation
public String getLocation()
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
string location = 2;
- Specified by:
getLocation
in interfaceUptimeCheckIpOrBuilder
- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
string location = 2;
- Specified by:
getLocationBytes
in interfaceUptimeCheckIpOrBuilder
- Returns:
- The bytes for location.
-
setLocation
public UptimeCheckIp.Builder setLocation(String value)
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
string location = 2;
- Parameters:
value
- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
public UptimeCheckIp.Builder clearLocation()
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
string location = 2;
- Returns:
- This builder for chaining.
-
setLocationBytes
public UptimeCheckIp.Builder setLocationBytes(com.google.protobuf.ByteString value)
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
string location = 2;
- Parameters:
value
- The bytes for location to set.- Returns:
- This builder for chaining.
-
getIpAddress
public String getIpAddress()
The IP address from which the Uptime check originates. This is a fully specified IP address (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not rely on the IP addresses being in IPv4 format indefinitely, and should support interpreting this field in either IPv4 or IPv6 format.
string ip_address = 3;
- Specified by:
getIpAddress
in interfaceUptimeCheckIpOrBuilder
- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()
The IP address from which the Uptime check originates. This is a fully specified IP address (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not rely on the IP addresses being in IPv4 format indefinitely, and should support interpreting this field in either IPv4 or IPv6 format.
string ip_address = 3;
- Specified by:
getIpAddressBytes
in interfaceUptimeCheckIpOrBuilder
- Returns:
- The bytes for ipAddress.
-
setIpAddress
public UptimeCheckIp.Builder setIpAddress(String value)
The IP address from which the Uptime check originates. This is a fully specified IP address (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not rely on the IP addresses being in IPv4 format indefinitely, and should support interpreting this field in either IPv4 or IPv6 format.
string ip_address = 3;
- Parameters:
value
- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
public UptimeCheckIp.Builder clearIpAddress()
The IP address from which the Uptime check originates. This is a fully specified IP address (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not rely on the IP addresses being in IPv4 format indefinitely, and should support interpreting this field in either IPv4 or IPv6 format.
string ip_address = 3;
- Returns:
- This builder for chaining.
-
setIpAddressBytes
public UptimeCheckIp.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
The IP address from which the Uptime check originates. This is a fully specified IP address (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not rely on the IP addresses being in IPv4 format indefinitely, and should support interpreting this field in either IPv4 or IPv6 format.
string ip_address = 3;
- Parameters:
value
- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UptimeCheckIp.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
mergeUnknownFields
public final UptimeCheckIp.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckIp.Builder>
-
-