Class Service.CloudEndpoints.Builder (3.84.0)

public static final class Service.CloudEndpoints.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.