Class CreateBlueprintRequest.Builder (0.55.0)

public static final class CreateBlueprintRequest.Builder extends GeneratedMessage.Builder<CreateBlueprintRequest.Builder> implements CreateBlueprintRequestOrBuilder

Request object for CreateBlueprint.

Protobuf type google.cloud.telcoautomation.v1.CreateBlueprintRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CreateBlueprintRequest build()
Returns
Type Description
CreateBlueprintRequest

buildPartial()

public CreateBlueprintRequest buildPartial()
Returns
Type Description
CreateBlueprintRequest

clear()

public CreateBlueprintRequest.Builder clear()
Returns
Type Description
CreateBlueprintRequest.Builder
Overrides

clearBlueprint()

public CreateBlueprintRequest.Builder clearBlueprint()

Required. The Blueprint to create.

.google.cloud.telcoautomation.v1.Blueprint blueprint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateBlueprintRequest.Builder

clearBlueprintId()

public CreateBlueprintRequest.Builder clearBlueprintId()

Optional. The name of the blueprint.

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

Returns
Type Description
CreateBlueprintRequest.Builder

This builder for chaining.

clearParent()

public CreateBlueprintRequest.Builder clearParent()

Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateBlueprintRequest.Builder

This builder for chaining.

getBlueprint()

public Blueprint getBlueprint()

Required. The Blueprint to create.

.google.cloud.telcoautomation.v1.Blueprint blueprint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Blueprint

The blueprint.

getBlueprintBuilder()

public Blueprint.Builder getBlueprintBuilder()

Required. The Blueprint to create.

.google.cloud.telcoautomation.v1.Blueprint blueprint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Blueprint.Builder

getBlueprintId()

public String getBlueprintId()

Optional. The name of the blueprint.

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

Returns
Type Description
String

The blueprintId.

getBlueprintIdBytes()

public ByteString getBlueprintIdBytes()

Optional. The name of the blueprint.

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

Returns
Type Description
ByteString

The bytes for blueprintId.

getBlueprintOrBuilder()

public BlueprintOrBuilder getBlueprintOrBuilder()

Required. The Blueprint to create.

.google.cloud.telcoautomation.v1.Blueprint blueprint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BlueprintOrBuilder

getDefaultInstanceForType()

public CreateBlueprintRequest getDefaultInstanceForType()
Returns
Type Description
CreateBlueprintRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasBlueprint()

public boolean hasBlueprint()

Required. The Blueprint to create.

.google.cloud.telcoautomation.v1.Blueprint blueprint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the blueprint field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBlueprint(Blueprint value)

public CreateBlueprintRequest.Builder mergeBlueprint(Blueprint value)

Required. The Blueprint to create.

.google.cloud.telcoautomation.v1.Blueprint blueprint = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Blueprint
Returns
Type Description
CreateBlueprintRequest.Builder

mergeFrom(CreateBlueprintRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateBlueprintRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateBlueprintRequest.Builder
Overrides

setBlueprint(Blueprint value)

public CreateBlueprintRequest.Builder setBlueprint(Blueprint value)

Required. The Blueprint to create.

.google.cloud.telcoautomation.v1.Blueprint blueprint = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Blueprint
Returns
Type Description
CreateBlueprintRequest.Builder

setBlueprint(Blueprint.Builder builderForValue)

public CreateBlueprintRequest.Builder setBlueprint(Blueprint.Builder builderForValue)

Required. The Blueprint to create.

.google.cloud.telcoautomation.v1.Blueprint blueprint = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Blueprint.Builder
Returns
Type Description
CreateBlueprintRequest.Builder

setBlueprintId(String value)

public CreateBlueprintRequest.Builder setBlueprintId(String value)

Optional. The name of the blueprint.

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

Parameter
Name Description
value String

The blueprintId to set.

Returns
Type Description
CreateBlueprintRequest.Builder

This builder for chaining.

setBlueprintIdBytes(ByteString value)

public CreateBlueprintRequest.Builder setBlueprintIdBytes(ByteString value)

Optional. The name of the blueprint.

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

Parameter
Name Description
value ByteString

The bytes for blueprintId to set.

Returns
Type Description
CreateBlueprintRequest.Builder

This builder for chaining.

setParent(String value)

public CreateBlueprintRequest.Builder setParent(String value)

Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateBlueprintRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateBlueprintRequest.Builder setParentBytes(ByteString value)

Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateBlueprintRequest.Builder

This builder for chaining.