Class GetBlueprintRequest.Builder (0.5.0)

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

Request object for GetBlueprint.

Protobuf type google.cloud.telcoautomation.v1.GetBlueprintRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetBlueprintRequest build()
Returns
TypeDescription
GetBlueprintRequest

buildPartial()

public GetBlueprintRequest buildPartial()
Returns
TypeDescription
GetBlueprintRequest

clear()

public GetBlueprintRequest.Builder clear()
Returns
TypeDescription
GetBlueprintRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetBlueprintRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetBlueprintRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetBlueprintRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1.BlueprintView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GetBlueprintRequest.Builder

This builder for chaining.

clone()

public GetBlueprintRequest.Builder clone()
Returns
TypeDescription
GetBlueprintRequest.Builder
Overrides

getDefaultInstanceForType()

public GetBlueprintRequest getDefaultInstanceForType()
Returns
TypeDescription
GetBlueprintRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.BlueprintView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.v1.BlueprintView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetBlueprintRequest other)

public GetBlueprintRequest.Builder mergeFrom(GetBlueprintRequest other)
Parameter
NameDescription
otherGetBlueprintRequest
Returns
TypeDescription
GetBlueprintRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetBlueprintRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetBlueprintRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final GetBlueprintRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.BlueprintView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueBlueprintView

The view to set.

Returns
TypeDescription
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.v1.BlueprintView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
GetBlueprintRequest.Builder

This builder for chaining.