Class Service.Telemetry.Builder (3.3.6)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Service.Telemetry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Service.Telemetry.Builder
Overrides

build()

public Service.Telemetry build()
Returns
TypeDescription
Service.Telemetry

buildPartial()

public Service.Telemetry buildPartial()
Returns
TypeDescription
Service.Telemetry

clear()

public Service.Telemetry.Builder clear()
Returns
TypeDescription
Service.Telemetry.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Service.Telemetry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Service.Telemetry.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Service.Telemetry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Service.Telemetry.Builder

This builder for chaining.

clone()

public Service.Telemetry.Builder clone()
Returns
TypeDescription
Service.Telemetry.Builder
Overrides

getDefaultInstanceForType()

public Service.Telemetry getDefaultInstanceForType()
Returns
TypeDescription
Service.Telemetry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for resourceName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Service.Telemetry other)

public Service.Telemetry.Builder mergeFrom(Service.Telemetry other)
Parameter
NameDescription
otherService.Telemetry
Returns
TypeDescription
Service.Telemetry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Service.Telemetry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service.Telemetry.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Service.Telemetry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Service.Telemetry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Service.Telemetry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Service.Telemetry.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Service.Telemetry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resourceName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resourceName to set.

Returns
TypeDescription
Service.Telemetry.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Service.Telemetry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Service.Telemetry.Builder
Overrides