Class DiscardBlueprintChangesRequest.Builder (0.6.0)

public static final class DiscardBlueprintChangesRequest.Builder extends GeneratedMessageV3.Builder<DiscardBlueprintChangesRequest.Builder> implements DiscardBlueprintChangesRequestOrBuilder

Request object for DiscardBlueprintChanges.

Protobuf type google.cloud.telcoautomation.v1.DiscardBlueprintChangesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiscardBlueprintChangesRequest build()
Returns
TypeDescription
DiscardBlueprintChangesRequest

buildPartial()

public DiscardBlueprintChangesRequest buildPartial()
Returns
TypeDescription
DiscardBlueprintChangesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DiscardBlueprintChangesRequest.Builder clearName()

Required. The name of the blueprint of which changes are being discarded.

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

Returns
TypeDescription
DiscardBlueprintChangesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscardBlueprintChangesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DiscardBlueprintChangesRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public DiscardBlueprintChangesRequest getDefaultInstanceForType()
Returns
TypeDescription
DiscardBlueprintChangesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the blueprint of which changes are being discarded.

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 of which changes are being discarded.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DiscardBlueprintChangesRequest other)

public DiscardBlueprintChangesRequest.Builder mergeFrom(DiscardBlueprintChangesRequest other)
Parameter
NameDescription
otherDiscardBlueprintChangesRequest
Returns
TypeDescription
DiscardBlueprintChangesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DiscardBlueprintChangesRequest.Builder setName(String value)

Required. The name of the blueprint of which changes are being discarded.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DiscardBlueprintChangesRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DiscardBlueprintChangesRequest.Builder setNameBytes(ByteString value)

Required. The name of the blueprint of which changes are being discarded.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DiscardBlueprintChangesRequest.Builder

This builder for chaining.

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

public DiscardBlueprintChangesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DiscardBlueprintChangesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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