Class CreateBlueprintRequest.Builder (0.16.0)

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

Request object for CreateBlueprint.

Protobuf type google.cloud.telcoautomation.v1alpha1.CreateBlueprintRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.v1alpha1.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.

clearField(Descriptors.FieldDescriptor field)

public CreateBlueprintRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateBlueprintRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateBlueprintRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateBlueprintRequest.Builder
Overrides

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.

clone()

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

getBlueprint()

public Blueprint getBlueprint()

Required. The Blueprint to create.

.google.cloud.telcoautomation.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.Blueprint blueprint = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the blueprint field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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.v1alpha1.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateBlueprintRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateBlueprintRequest.Builder
Overrides

setBlueprint(Blueprint value)

public CreateBlueprintRequest.Builder setBlueprint(Blueprint value)

Required. The Blueprint to create.

.google.cloud.telcoautomation.v1alpha1.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.v1alpha1.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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateBlueprintRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateBlueprintRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateBlueprintRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateBlueprintRequest.Builder
Overrides