Class CreateBlueprintRequest.Builder (0.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateBlueprintRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateBlueprintRequest.Builder
Overrides

build()

public CreateBlueprintRequest build()
Returns
TypeDescription
CreateBlueprintRequest

buildPartial()

public CreateBlueprintRequest buildPartial()
Returns
TypeDescription
CreateBlueprintRequest

clear()

public CreateBlueprintRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateBlueprintRequest.Builder

clearBlueprintId()

public CreateBlueprintRequest.Builder clearBlueprintId()

Optional. The name of the blueprint.

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

Returns
TypeDescription
CreateBlueprintRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateBlueprintRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateBlueprintRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateBlueprintRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateBlueprintRequest.Builder

This builder for chaining.

clone()

public CreateBlueprintRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Blueprint.Builder

getBlueprintId()

public String getBlueprintId()

Optional. The name of the blueprint.

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

Returns
TypeDescription
String

The blueprintId.

getBlueprintIdBytes()

public ByteString getBlueprintIdBytes()

Optional. The name of the blueprint.

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

Returns
TypeDescription
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
TypeDescription
BlueprintOrBuilder

getDefaultInstanceForType()

public CreateBlueprintRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateBlueprintRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the blueprint field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBlueprint
Returns
TypeDescription
CreateBlueprintRequest.Builder

mergeFrom(CreateBlueprintRequest other)

public CreateBlueprintRequest.Builder mergeFrom(CreateBlueprintRequest other)
Parameter
NameDescription
otherCreateBlueprintRequest
Returns
TypeDescription
CreateBlueprintRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateBlueprintRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateBlueprintRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateBlueprintRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateBlueprintRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateBlueprintRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBlueprint
Returns
TypeDescription
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
NameDescription
builderForValueBlueprint.Builder
Returns
TypeDescription
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
NameDescription
valueString

The blueprintId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for blueprintId to set.

Returns
TypeDescription
CreateBlueprintRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateBlueprintRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateBlueprintRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateBlueprintRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateBlueprintRequest.Builder
Overrides