Class Service.Telemetry.Builder (3.56.0)

public static final class Service.Telemetry.Builder extends GeneratedMessageV3.Builder<Service.Telemetry.Builder> implements Service.TelemetryOrBuilder

Configuration for how to query telemetry on a Service.

Protobuf type google.monitoring.v3.Service.Telemetry

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResourceName()

public Service.Telemetry.Builder clearResourceName()

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

string resource_name = 1;

Returns
Type Description
Service.Telemetry.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getResourceName()

public String getResourceName()

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

string resource_name = 1;

Returns
Type Description
String

The resourceName.

getResourceNameBytes()

public ByteString getResourceNameBytes()

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

string resource_name = 1;

Returns
Type Description
ByteString

The bytes for resourceName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Service.Telemetry other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResourceName(String value)

public Service.Telemetry.Builder setResourceName(String value)

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

string resource_name = 1;

Parameter
Name Description
value String

The resourceName to set.

Returns
Type Description
Service.Telemetry.Builder

This builder for chaining.

setResourceNameBytes(ByteString value)

public Service.Telemetry.Builder setResourceNameBytes(ByteString value)

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

string resource_name = 1;

Parameter
Name Description
value ByteString

The bytes for resourceName to set.

Returns
Type Description
Service.Telemetry.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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