Class Service.Custom.Builder (3.50.0)

public static final class Service.Custom.Builder extends GeneratedMessageV3.Builder<Service.Custom.Builder> implements Service.CustomOrBuilder

Use a custom service to designate a service that you want to monitor when none of the other service types (like App Engine, Cloud Run, or a GKE type) matches your intended service.

Protobuf type google.monitoring.v3.Service.Custom

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Service.Custom.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Service.Custom.Builder
Overrides

build()

public Service.Custom build()
Returns
Type Description
Service.Custom

buildPartial()

public Service.Custom buildPartial()
Returns
Type Description
Service.Custom

clear()

public Service.Custom.Builder clear()
Returns
Type Description
Service.Custom.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Service.Custom.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Service.Custom.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Service.Custom.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Service.Custom.Builder
Overrides

clone()

public Service.Custom.Builder clone()
Returns
Type Description
Service.Custom.Builder
Overrides

getDefaultInstanceForType()

public Service.Custom getDefaultInstanceForType()
Returns
Type Description
Service.Custom

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Service.Custom other)

public Service.Custom.Builder mergeFrom(Service.Custom other)
Parameter
Name Description
other Service.Custom
Returns
Type Description
Service.Custom.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Service.Custom.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Service.Custom.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Service.Custom.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Service.Custom.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Service.Custom.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Service.Custom.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Service.Custom.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Service.Custom.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Service.Custom.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Service.Custom.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Service.Custom.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Service.Custom.Builder
Overrides