public static final class CreateCatalogTemplateRequest.Builder extends GeneratedMessage.Builder<CreateCatalogTemplateRequest.Builder> implements CreateCatalogTemplateRequestOrBuilderMessage for creating a catalog template.
Protobuf type google.cloud.designcenter.v1.CreateCatalogTemplateRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateCatalogTemplateRequest.BuilderImplements
CreateCatalogTemplateRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateCatalogTemplateRequest build()| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest |
|
buildPartial()
public CreateCatalogTemplateRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest |
|
clear()
public CreateCatalogTemplateRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
|
clearCatalogTemplate()
public CreateCatalogTemplateRequest.Builder clearCatalogTemplate()Required. The catalog template to create.
.google.cloud.designcenter.v1.CatalogTemplate catalog_template = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
|
clearCatalogTemplateId()
public CreateCatalogTemplateRequest.Builder clearCatalogTemplateId()Required. The ID of the catalog template to create. The ID is appended to the catalog template's name.
string catalog_template_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
This builder for chaining. |
clearParent()
public CreateCatalogTemplateRequest.Builder clearParent()Required. The parent resource in which the catalog template is created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
This builder for chaining. |
getCatalogTemplate()
public CatalogTemplate getCatalogTemplate()Required. The catalog template to create.
.google.cloud.designcenter.v1.CatalogTemplate catalog_template = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate |
The catalogTemplate. |
getCatalogTemplateBuilder()
public CatalogTemplate.Builder getCatalogTemplateBuilder()Required. The catalog template to create.
.google.cloud.designcenter.v1.CatalogTemplate catalog_template = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate.Builder |
|
getCatalogTemplateId()
public String getCatalogTemplateId()Required. The ID of the catalog template to create. The ID is appended to the catalog template's name.
string catalog_template_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The catalogTemplateId. |
getCatalogTemplateIdBytes()
public ByteString getCatalogTemplateIdBytes()Required. The ID of the catalog template to create. The ID is appended to the catalog template's name.
string catalog_template_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for catalogTemplateId. |
getCatalogTemplateOrBuilder()
public CatalogTemplateOrBuilder getCatalogTemplateOrBuilder()Required. The catalog template to create.
.google.cloud.designcenter.v1.CatalogTemplate catalog_template = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplateOrBuilder |
|
getDefaultInstanceForType()
public CreateCatalogTemplateRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The parent resource in which the catalog template is created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The parent resource in which the catalog template is created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasCatalogTemplate()
public boolean hasCatalogTemplate()Required. The catalog template to create.
.google.cloud.designcenter.v1.CatalogTemplate catalog_template = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the catalogTemplate field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCatalogTemplate(CatalogTemplate value)
public CreateCatalogTemplateRequest.Builder mergeCatalogTemplate(CatalogTemplate value)Required. The catalog template to create.
.google.cloud.designcenter.v1.CatalogTemplate catalog_template = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CatalogTemplate |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
|
mergeFrom(CreateCatalogTemplateRequest other)
public CreateCatalogTemplateRequest.Builder mergeFrom(CreateCatalogTemplateRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateCatalogTemplateRequest |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateCatalogTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateCatalogTemplateRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
|
setCatalogTemplate(CatalogTemplate value)
public CreateCatalogTemplateRequest.Builder setCatalogTemplate(CatalogTemplate value)Required. The catalog template to create.
.google.cloud.designcenter.v1.CatalogTemplate catalog_template = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CatalogTemplate |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
|
setCatalogTemplate(CatalogTemplate.Builder builderForValue)
public CreateCatalogTemplateRequest.Builder setCatalogTemplate(CatalogTemplate.Builder builderForValue)Required. The catalog template to create.
.google.cloud.designcenter.v1.CatalogTemplate catalog_template = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CatalogTemplate.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
|
setCatalogTemplateId(String value)
public CreateCatalogTemplateRequest.Builder setCatalogTemplateId(String value)Required. The ID of the catalog template to create. The ID is appended to the catalog template's name.
string catalog_template_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe catalogTemplateId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
This builder for chaining. |
setCatalogTemplateIdBytes(ByteString value)
public CreateCatalogTemplateRequest.Builder setCatalogTemplateIdBytes(ByteString value)Required. The ID of the catalog template to create. The ID is appended to the catalog template's name.
string catalog_template_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for catalogTemplateId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateCatalogTemplateRequest.Builder setParent(String value)Required. The parent resource in which the catalog template is created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateCatalogTemplateRequest.Builder setParentBytes(ByteString value)Required. The parent resource in which the catalog template is created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRequest.Builder |
This builder for chaining. |