Class GetBlueprintRequest.Builder (0.13.0)

public static final class GetBlueprintRequest.Builder extends GeneratedMessageV3.Builder<GetBlueprintRequest.Builder> implements GetBlueprintRequestOrBuilder

Request object for GetBlueprint.

Protobuf type google.cloud.telcoautomation.v1alpha1.GetBlueprintRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetBlueprintRequest build()
Returns
Type Description
GetBlueprintRequest

buildPartial()

public GetBlueprintRequest buildPartial()
Returns
Type Description
GetBlueprintRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetBlueprintRequest.Builder clearName()

Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned.

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

Returns
Type Description
GetBlueprintRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearView()

public GetBlueprintRequest.Builder clearView()

Optional. Defines the type of view of the blueprint. When field is not present BLUEPRINT_VIEW_BASIC is considered as default.

.google.cloud.telcoautomation.v1alpha1.BlueprintView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GetBlueprintRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetBlueprintRequest getDefaultInstanceForType()
Returns
Type Description
GetBlueprintRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned.

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

Returns
Type Description
ByteString

The bytes for name.

getView()

public BlueprintView getView()

Optional. Defines the type of view of the blueprint. When field is not present BLUEPRINT_VIEW_BASIC is considered as default.

.google.cloud.telcoautomation.v1alpha1.BlueprintView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BlueprintView

The view.

getViewValue()

public int getViewValue()

Optional. Defines the type of view of the blueprint. When field is not present BLUEPRINT_VIEW_BASIC is considered as default.

.google.cloud.telcoautomation.v1alpha1.BlueprintView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetBlueprintRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetBlueprintRequest.Builder setName(String value)

Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetBlueprintRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetBlueprintRequest.Builder setNameBytes(ByteString value)

Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetBlueprintRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(BlueprintView value)

public GetBlueprintRequest.Builder setView(BlueprintView value)

Optional. Defines the type of view of the blueprint. When field is not present BLUEPRINT_VIEW_BASIC is considered as default.

.google.cloud.telcoautomation.v1alpha1.BlueprintView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BlueprintView

The view to set.

Returns
Type Description
GetBlueprintRequest.Builder

This builder for chaining.

setViewValue(int value)

public GetBlueprintRequest.Builder setViewValue(int value)

Optional. Defines the type of view of the blueprint. When field is not present BLUEPRINT_VIEW_BASIC is considered as default.

.google.cloud.telcoautomation.v1alpha1.BlueprintView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
GetBlueprintRequest.Builder

This builder for chaining.