public static final class Service.Builder extends GeneratedMessage.Builder<Service.Builder> implements ServiceOrBuilderMessage describing Service resource.
Protobuf type google.cloud.commerceproducer.v1beta.Service
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Service.BuilderImplements
ServiceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearName()
public Service.Builder clearName()Identifier. Name of resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Service.Builder |
This builder for chaining. |
clearTitle()
public Service.Builder clearTitle()Output only. Title of the service.
Not included for SERVICE_VIEW_BASIC.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Service.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Service getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Service |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Identifier. Name of resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. Name of resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTitle()
public String getTitle()Output only. Title of the service.
Not included for SERVICE_VIEW_BASIC.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public ByteString getTitleBytes()Output only. Title of the service.
Not included for SERVICE_VIEW_BASIC.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Service.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Service.Builder |
|
setName(String value)
public Service.Builder setName(String value)Identifier. Name of resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Service.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Service.Builder setNameBytes(ByteString value)Identifier. Name of resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Service.Builder |
This builder for chaining. |
setTitle(String value)
public Service.Builder setTitle(String value)Output only. Title of the service.
Not included for SERVICE_VIEW_BASIC.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe title to set. |
| Returns | |
|---|---|
| Type | Description |
Service.Builder |
This builder for chaining. |
setTitleBytes(ByteString value)
public Service.Builder setTitleBytes(ByteString value)Output only. Title of the service.
Not included for SERVICE_VIEW_BASIC.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for title to set. |
| Returns | |
|---|---|
| Type | Description |
Service.Builder |
This builder for chaining. |