Class Service.CloudEndpoints.Builder (3.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Service.CloudEndpoints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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: https://cloud.google.com/monitoring/api/resources#tag_api

string service = 1;

Returns
TypeDescription
Service.CloudEndpoints.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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: https://cloud.google.com/monitoring/api/resources#tag_api

string service = 1;

Returns
TypeDescription
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: https://cloud.google.com/monitoring/api/resources#tag_api

string service = 1;

Returns
TypeDescription
ByteString

The bytes for service.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Service.CloudEndpoints other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Service.CloudEndpoints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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: https://cloud.google.com/monitoring/api/resources#tag_api

string service = 1;

Parameter
NameDescription
valueString

The service to set.

Returns
TypeDescription
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: https://cloud.google.com/monitoring/api/resources#tag_api

string service = 1;

Parameter
NameDescription
valueByteString

The bytes for service to set.

Returns
TypeDescription
Service.CloudEndpoints.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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