Class Service.Builder (0.3.0)

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

Service is an App Hub data model that contains a discovered service, which represents a network/api interface that exposes some functionality to clients for consumption over the network.

Protobuf type google.cloud.apphub.v1.Service

Implements

ServiceOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Service build()
Returns
TypeDescription
Service

buildPartial()

public Service buildPartial()
Returns
TypeDescription
Service

clear()

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

clearAttributes()

public Service.Builder clearAttributes()

Optional. Consumer provided attributes.

.google.cloud.apphub.v1.Attributes attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Service.Builder

clearCreateTime()

public Service.Builder clearCreateTime()

Output only. Create time.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Service.Builder

clearDescription()

public Service.Builder clearDescription()

Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Service.Builder

This builder for chaining.

clearDiscoveredService()

public Service.Builder clearDiscoveredService()

Required. Immutable. The resource name of the original discovered service.

string discovered_service = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
Service.Builder

This builder for chaining.

clearDisplayName()

public Service.Builder clearDisplayName()

Optional. User-defined name for the Service. Can have a maximum length of 63 characters.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Service.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Service.Builder clearName()

Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
TypeDescription
Service.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Service.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Service.Builder
Overrides

clearServiceProperties()

public Service.Builder clearServiceProperties()

Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceProperties service_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Service.Builder

clearServiceReference()

public Service.Builder clearServiceReference()

Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceReference service_reference = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Service.Builder

clearState()

public Service.Builder clearState()

Output only. Service state.

.google.cloud.apphub.v1.Service.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Service.Builder

This builder for chaining.

clearUid()

public Service.Builder clearUid()

Output only. A universally unique identifier (UUID) for the Service in the UUID4 format.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
TypeDescription
Service.Builder

This builder for chaining.

clearUpdateTime()

public Service.Builder clearUpdateTime()

Output only. Update time.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Service.Builder

clone()

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

getAttributes()

public Attributes getAttributes()

Optional. Consumer provided attributes.

.google.cloud.apphub.v1.Attributes attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Attributes

The attributes.

getAttributesBuilder()

public Attributes.Builder getAttributesBuilder()

Optional. Consumer provided attributes.

.google.cloud.apphub.v1.Attributes attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Attributes.Builder

getAttributesOrBuilder()

public AttributesOrBuilder getAttributesOrBuilder()

Optional. Consumer provided attributes.

.google.cloud.apphub.v1.Attributes attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AttributesOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. Create time.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Create time.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Create time.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Service getDefaultInstanceForType()
Returns
TypeDescription
Service

getDescription()

public String getDescription()

Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDiscoveredService()

public String getDiscoveredService()

Required. Immutable. The resource name of the original discovered service.

string discovered_service = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The discoveredService.

getDiscoveredServiceBytes()

public ByteString getDiscoveredServiceBytes()

Required. Immutable. The resource name of the original discovered service.

string discovered_service = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for discoveredService.

getDisplayName()

public String getDisplayName()

Optional. User-defined name for the Service. Can have a maximum length of 63 characters.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. User-defined name for the Service. Can have a maximum length of 63 characters.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for displayName.

getName()

public String getName()

Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
TypeDescription
ByteString

The bytes for name.

getServiceProperties()

public ServiceProperties getServiceProperties()

Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceProperties service_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ServiceProperties

The serviceProperties.

getServicePropertiesBuilder()

public ServiceProperties.Builder getServicePropertiesBuilder()

Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceProperties service_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ServiceProperties.Builder

getServicePropertiesOrBuilder()

public ServicePropertiesOrBuilder getServicePropertiesOrBuilder()

Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceProperties service_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ServicePropertiesOrBuilder

getServiceReference()

public ServiceReference getServiceReference()

Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceReference service_reference = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ServiceReference

The serviceReference.

getServiceReferenceBuilder()

public ServiceReference.Builder getServiceReferenceBuilder()

Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceReference service_reference = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ServiceReference.Builder

getServiceReferenceOrBuilder()

public ServiceReferenceOrBuilder getServiceReferenceOrBuilder()

Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceReference service_reference = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ServiceReferenceOrBuilder

getState()

public Service.State getState()

Output only. Service state.

.google.cloud.apphub.v1.Service.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Service.State

The state.

getStateValue()

public int getStateValue()

Output only. Service state.

.google.cloud.apphub.v1.Service.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUid()

public String getUid()

Output only. A universally unique identifier (UUID) for the Service in the UUID4 format.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
TypeDescription
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. A universally unique identifier (UUID) for the Service in the UUID4 format.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
TypeDescription
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Update time.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Update time.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update time.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasAttributes()

public boolean hasAttributes()

Optional. Consumer provided attributes.

.google.cloud.apphub.v1.Attributes attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the attributes field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Create time.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasServiceProperties()

public boolean hasServiceProperties()

Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceProperties service_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the serviceProperties field is set.

hasServiceReference()

public boolean hasServiceReference()

Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceReference service_reference = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the serviceReference field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Update time.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAttributes(Attributes value)

public Service.Builder mergeAttributes(Attributes value)

Optional. Consumer provided attributes.

.google.cloud.apphub.v1.Attributes attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueAttributes
Returns
TypeDescription
Service.Builder

mergeCreateTime(Timestamp value)

public Service.Builder mergeCreateTime(Timestamp value)

Output only. Create time.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Service.Builder

mergeFrom(Service other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeServiceProperties(ServiceProperties value)

public Service.Builder mergeServiceProperties(ServiceProperties value)

Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceProperties service_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueServiceProperties
Returns
TypeDescription
Service.Builder

mergeServiceReference(ServiceReference value)

public Service.Builder mergeServiceReference(ServiceReference value)

Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceReference service_reference = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueServiceReference
Returns
TypeDescription
Service.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Service.Builder mergeUpdateTime(Timestamp value)

Output only. Update time.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Service.Builder

setAttributes(Attributes value)

public Service.Builder setAttributes(Attributes value)

Optional. Consumer provided attributes.

.google.cloud.apphub.v1.Attributes attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueAttributes
Returns
TypeDescription
Service.Builder

setAttributes(Attributes.Builder builderForValue)

public Service.Builder setAttributes(Attributes.Builder builderForValue)

Optional. Consumer provided attributes.

.google.cloud.apphub.v1.Attributes attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueAttributes.Builder
Returns
TypeDescription
Service.Builder

setCreateTime(Timestamp value)

public Service.Builder setCreateTime(Timestamp value)

Output only. Create time.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Service.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Service.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Create time.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Service.Builder

setDescription(String value)

public Service.Builder setDescription(String value)

Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Service.Builder setDescriptionBytes(ByteString value)

Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setDiscoveredService(String value)

public Service.Builder setDiscoveredService(String value)

Required. Immutable. The resource name of the original discovered service.

string discovered_service = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The discoveredService to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setDiscoveredServiceBytes(ByteString value)

public Service.Builder setDiscoveredServiceBytes(ByteString value)

Required. Immutable. The resource name of the original discovered service.

string discovered_service = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for discoveredService to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setDisplayName(String value)

public Service.Builder setDisplayName(String value)

Optional. User-defined name for the Service. Can have a maximum length of 63 characters.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Service.Builder setDisplayNameBytes(ByteString value)

Optional. User-defined name for the Service. Can have a maximum length of 63 characters.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Service.Builder setName(String value)

Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Service.Builder setNameBytes(ByteString value)

Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

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

public Service.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Service.Builder
Overrides

setServiceProperties(ServiceProperties value)

public Service.Builder setServiceProperties(ServiceProperties value)

Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceProperties service_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueServiceProperties
Returns
TypeDescription
Service.Builder

setServiceProperties(ServiceProperties.Builder builderForValue)

public Service.Builder setServiceProperties(ServiceProperties.Builder builderForValue)

Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceProperties service_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueServiceProperties.Builder
Returns
TypeDescription
Service.Builder

setServiceReference(ServiceReference value)

public Service.Builder setServiceReference(ServiceReference value)

Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceReference service_reference = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueServiceReference
Returns
TypeDescription
Service.Builder

setServiceReference(ServiceReference.Builder builderForValue)

public Service.Builder setServiceReference(ServiceReference.Builder builderForValue)

Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

.google.cloud.apphub.v1.ServiceReference service_reference = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueServiceReference.Builder
Returns
TypeDescription
Service.Builder

setState(Service.State value)

public Service.Builder setState(Service.State value)

Output only. Service state.

.google.cloud.apphub.v1.Service.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueService.State

The state to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setStateValue(int value)

public Service.Builder setStateValue(int value)

Output only. Service state.

.google.cloud.apphub.v1.Service.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setUid(String value)

public Service.Builder setUid(String value)

Output only. A universally unique identifier (UUID) for the Service in the UUID4 format.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Parameter
NameDescription
valueString

The uid to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setUidBytes(ByteString value)

public Service.Builder setUidBytes(ByteString value)

Output only. A universally unique identifier (UUID) for the Service in the UUID4 format.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Parameter
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
Service.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Service.Builder setUpdateTime(Timestamp value)

Output only. Update time.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Service.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Service.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Update time.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Service.Builder