public static final class CreateCatalogTemplateRevisionRequest.Builder extends GeneratedMessage.Builder<CreateCatalogTemplateRevisionRequest.Builder> implements CreateCatalogTemplateRevisionRequestOrBuilderMessage for creating a template revisions request.
Protobuf type google.cloud.designcenter.v1.CreateCatalogTemplateRevisionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateCatalogTemplateRevisionRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateCatalogTemplateRevisionRequest build()| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest |
|
buildPartial()
public CreateCatalogTemplateRevisionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest |
|
clear()
public CreateCatalogTemplateRevisionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
|
clearCatalogTemplateRevision()
public CreateCatalogTemplateRevisionRequest.Builder clearCatalogTemplateRevision()Required. The template revision to create.
.google.cloud.designcenter.v1.CatalogTemplateRevision catalog_template_revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
|
clearCatalogTemplateRevisionId()
public CreateCatalogTemplateRevisionRequest.Builder clearCatalogTemplateRevisionId()Required. The ID of the template revision to create.
string catalog_template_revision_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
This builder for chaining. |
clearParent()
public CreateCatalogTemplateRevisionRequest.Builder clearParent() Required. The parent in which the catalog template revisions request is
created in following format:
projects/$project/locations/$location/spaces/$space/templates/$template
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
This builder for chaining. |
getCatalogTemplateRevision()
public CatalogTemplateRevision getCatalogTemplateRevision()Required. The template revision to create.
.google.cloud.designcenter.v1.CatalogTemplateRevision catalog_template_revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplateRevision |
The catalogTemplateRevision. |
getCatalogTemplateRevisionBuilder()
public CatalogTemplateRevision.Builder getCatalogTemplateRevisionBuilder()Required. The template revision to create.
.google.cloud.designcenter.v1.CatalogTemplateRevision catalog_template_revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplateRevision.Builder |
|
getCatalogTemplateRevisionId()
public String getCatalogTemplateRevisionId()Required. The ID of the template revision to create.
string catalog_template_revision_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The catalogTemplateRevisionId. |
getCatalogTemplateRevisionIdBytes()
public ByteString getCatalogTemplateRevisionIdBytes()Required. The ID of the template revision to create.
string catalog_template_revision_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for catalogTemplateRevisionId. |
getCatalogTemplateRevisionOrBuilder()
public CatalogTemplateRevisionOrBuilder getCatalogTemplateRevisionOrBuilder()Required. The template revision to create.
.google.cloud.designcenter.v1.CatalogTemplateRevision catalog_template_revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CatalogTemplateRevisionOrBuilder |
|
getDefaultInstanceForType()
public CreateCatalogTemplateRevisionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent in which the catalog template revisions request is
created in following format:
projects/$project/locations/$location/spaces/$space/templates/$template
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 in which the catalog template revisions request is
created in following format:
projects/$project/locations/$location/spaces/$space/templates/$template
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasCatalogTemplateRevision()
public boolean hasCatalogTemplateRevision()Required. The template revision to create.
.google.cloud.designcenter.v1.CatalogTemplateRevision catalog_template_revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the catalogTemplateRevision field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCatalogTemplateRevision(CatalogTemplateRevision value)
public CreateCatalogTemplateRevisionRequest.Builder mergeCatalogTemplateRevision(CatalogTemplateRevision value)Required. The template revision to create.
.google.cloud.designcenter.v1.CatalogTemplateRevision catalog_template_revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CatalogTemplateRevision |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
|
mergeFrom(CreateCatalogTemplateRevisionRequest other)
public CreateCatalogTemplateRevisionRequest.Builder mergeFrom(CreateCatalogTemplateRevisionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateCatalogTemplateRevisionRequest |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateCatalogTemplateRevisionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateCatalogTemplateRevisionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
|
setCatalogTemplateRevision(CatalogTemplateRevision value)
public CreateCatalogTemplateRevisionRequest.Builder setCatalogTemplateRevision(CatalogTemplateRevision value)Required. The template revision to create.
.google.cloud.designcenter.v1.CatalogTemplateRevision catalog_template_revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CatalogTemplateRevision |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
|
setCatalogTemplateRevision(CatalogTemplateRevision.Builder builderForValue)
public CreateCatalogTemplateRevisionRequest.Builder setCatalogTemplateRevision(CatalogTemplateRevision.Builder builderForValue)Required. The template revision to create.
.google.cloud.designcenter.v1.CatalogTemplateRevision catalog_template_revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CatalogTemplateRevision.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
|
setCatalogTemplateRevisionId(String value)
public CreateCatalogTemplateRevisionRequest.Builder setCatalogTemplateRevisionId(String value)Required. The ID of the template revision to create.
string catalog_template_revision_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe catalogTemplateRevisionId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
This builder for chaining. |
setCatalogTemplateRevisionIdBytes(ByteString value)
public CreateCatalogTemplateRevisionRequest.Builder setCatalogTemplateRevisionIdBytes(ByteString value)Required. The ID of the template revision to create.
string catalog_template_revision_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for catalogTemplateRevisionId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateCatalogTemplateRevisionRequest.Builder setParent(String value) Required. The parent in which the catalog template revisions request is
created in following format:
projects/$project/locations/$location/spaces/$space/templates/$template
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCatalogTemplateRevisionRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateCatalogTemplateRevisionRequest.Builder setParentBytes(ByteString value) Required. The parent in which the catalog template revisions request is
created in following format:
projects/$project/locations/$location/spaces/$space/templates/$template
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 |
CreateCatalogTemplateRevisionRequest.Builder |
This builder for chaining. |