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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Workspace.BuilderImplements
WorkspaceOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public Workspace.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Workspace.Builder |
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 |
clone()
public Workspace.Builder clone()
Returns | |
---|---|
Type | Description |
Workspace.Builder |
getDefaultInstanceForType()
public Workspace getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Workspace |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Workspace.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Workspace.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Workspace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Workspace.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final Workspace.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Workspace.Builder |