Class Service.CloudEndpoints.Builder (3.49.0)

public static final class Service.CloudEndpoints.Builder extends GeneratedMessageV3.Builder<Service.CloudEndpoints.Builder> implements Service.CloudEndpointsOrBuilder

Cloud Endpoints service. Learn more at https://cloud.google.com/endpoints.

Protobuf type google.monitoring.v3.Service.CloudEndpoints

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearService()

public Service.CloudEndpoints.Builder clearService()

The name of the Cloud Endpoints service underlying this service. Corresponds to the service resource label in the api monitored resource.

string service = 1;

Returns
Type Description
Service.CloudEndpoints.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getService()

public String getService()

The name of the Cloud Endpoints service underlying this service. Corresponds to the service resource label in the api monitored resource.

string service = 1;

Returns
Type Description
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

The name of the Cloud Endpoints service underlying this service. Corresponds to the service resource label in the api monitored resource.

string service = 1;

Returns
Type Description
ByteString

The bytes for service.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Service.CloudEndpoints other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setService(String value)

public Service.CloudEndpoints.Builder setService(String value)

The name of the Cloud Endpoints service underlying this service. Corresponds to the service resource label in the api monitored resource.

string service = 1;

Parameter
Name Description
value String

The service to set.

Returns
Type Description
Service.CloudEndpoints.Builder

This builder for chaining.

setServiceBytes(ByteString value)

public Service.CloudEndpoints.Builder setServiceBytes(ByteString value)

The name of the Cloud Endpoints service underlying this service. Corresponds to the service resource label in the api monitored resource.

string service = 1;

Parameter
Name Description
value ByteString

The bytes for service to set.

Returns
Type Description
Service.CloudEndpoints.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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