Class Workspace.Builder (0.16.0)

public static final class Workspace.Builder extends GeneratedMessageV3.Builder<Workspace.Builder> implements WorkspaceOrBuilder

Represents a Dataform Git workspace.

Protobuf type google.cloud.dataform.v1alpha2.Workspace

Implements

WorkspaceOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Workspace build()
Returns
Type Description
Workspace

buildPartial()

public Workspace buildPartial()
Returns
Type Description
Workspace

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Workspace.Builder clearName()

Output only. The workspace's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Workspace.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public Workspace getDefaultInstanceForType()
Returns
Type Description
Workspace

getDescriptorForType()

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

getName()

public String getName()

Output only. The workspace's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The workspace's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Workspace other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Workspace.Builder setName(String value)

Output only. The workspace's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Workspace.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Workspace.Builder setNameBytes(ByteString value)

Output only. The workspace's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Workspace.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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