Class Service.Builder (0.18.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Service build()
Returns
Type Description
Service

buildPartial()

public Service buildPartial()
Returns
Type Description
Service

clear()

public Service.Builder clear()
Returns
Type Description
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
Type Description
Service.Builder

clearCreateTime()

public Service.Builder clearCreateTime()

Output only. Create time.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
Service.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Service.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
Service.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Service.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Service.Builder

clone()

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

getAttributes()

public Attributes getAttributes()

Optional. Consumer provided attributes.

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

Returns
Type Description
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
Type Description
Attributes.Builder

getAttributesOrBuilder()

public AttributesOrBuilder getAttributesOrBuilder()

Optional. Consumer provided attributes.

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

Returns
Type Description
AttributesOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. Create time.

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

Returns
Type Description
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
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Create time.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Service getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update time.

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

Returns
Type Description
TimestampOrBuilder

hasAttributes()

public boolean hasAttributes()

Optional. Consumer provided attributes.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Attributes
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
Service.Builder

mergeFrom(Service other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Service.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value ServiceProperties
Returns
Type Description
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
Name Description
value ServiceReference
Returns
Type Description
Service.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Service.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value Attributes
Returns
Type Description
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
Name Description
builderForValue Attributes.Builder
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value String

The description to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
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
Name Description
value String

The discoveredService to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for discoveredService to set.

Returns
Type Description
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
Name Description
value String

The displayName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Service.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Service.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value ServiceProperties
Returns
Type Description
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
Name Description
builderForValue ServiceProperties.Builder
Returns
Type Description
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
Name Description
value ServiceReference
Returns
Type Description
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
Name Description
builderForValue ServiceReference.Builder
Returns
Type Description
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
Name Description
value Service.State

The state to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value String

The uid to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
Service.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Service.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Service.Builder