- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
public static final class CloudWorkspaceId.Builder extends GeneratedMessageV3.Builder<CloudWorkspaceId.Builder> implements CloudWorkspaceIdOrBuilder
A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud workspace is a place associated with a repo where modified files can be stored before they are committed.
Protobuf type google.devtools.source.v1.CloudWorkspaceId
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudWorkspaceId.BuilderImplements
CloudWorkspaceIdOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudWorkspaceId.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CloudWorkspaceId.Builder |
build()
public CloudWorkspaceId build()
Type | Description |
CloudWorkspaceId |
buildPartial()
public CloudWorkspaceId buildPartial()
Type | Description |
CloudWorkspaceId |
clear()
public CloudWorkspaceId.Builder clear()
Type | Description |
CloudWorkspaceId.Builder |
clearField(Descriptors.FieldDescriptor field)
public CloudWorkspaceId.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CloudWorkspaceId.Builder |
clearName()
public CloudWorkspaceId.Builder clearName()
The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method.
string name = 2;
Type | Description |
CloudWorkspaceId.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudWorkspaceId.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CloudWorkspaceId.Builder |
clearRepoId()
public CloudWorkspaceId.Builder clearRepoId()
The ID of the repo containing the workspace.
.google.devtools.source.v1.RepoId repo_id = 1;
Type | Description |
CloudWorkspaceId.Builder |
clone()
public CloudWorkspaceId.Builder clone()
Type | Description |
CloudWorkspaceId.Builder |
getDefaultInstanceForType()
public CloudWorkspaceId getDefaultInstanceForType()
Type | Description |
CloudWorkspaceId |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method.
string name = 2;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method.
string name = 2;
Type | Description |
ByteString | The bytes for name. |
getRepoId()
public RepoId getRepoId()
The ID of the repo containing the workspace.
.google.devtools.source.v1.RepoId repo_id = 1;
Type | Description |
RepoId | The repoId. |
getRepoIdBuilder()
public RepoId.Builder getRepoIdBuilder()
The ID of the repo containing the workspace.
.google.devtools.source.v1.RepoId repo_id = 1;
Type | Description |
RepoId.Builder |
getRepoIdOrBuilder()
public RepoIdOrBuilder getRepoIdOrBuilder()
The ID of the repo containing the workspace.
.google.devtools.source.v1.RepoId repo_id = 1;
Type | Description |
RepoIdOrBuilder |
hasRepoId()
public boolean hasRepoId()
The ID of the repo containing the workspace.
.google.devtools.source.v1.RepoId repo_id = 1;
Type | Description |
boolean | Whether the repoId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CloudWorkspaceId other)
public CloudWorkspaceId.Builder mergeFrom(CloudWorkspaceId other)
Name | Description |
other | CloudWorkspaceId |
Type | Description |
CloudWorkspaceId.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudWorkspaceId.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CloudWorkspaceId.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CloudWorkspaceId.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CloudWorkspaceId.Builder |
mergeRepoId(RepoId value)
public CloudWorkspaceId.Builder mergeRepoId(RepoId value)
The ID of the repo containing the workspace.
.google.devtools.source.v1.RepoId repo_id = 1;
Name | Description |
value | RepoId |
Type | Description |
CloudWorkspaceId.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudWorkspaceId.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CloudWorkspaceId.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CloudWorkspaceId.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CloudWorkspaceId.Builder |
setName(String value)
public CloudWorkspaceId.Builder setName(String value)
The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method.
string name = 2;
Name | Description |
value | String The name to set. |
Type | Description |
CloudWorkspaceId.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public CloudWorkspaceId.Builder setNameBytes(ByteString value)
The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method.
string name = 2;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
CloudWorkspaceId.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudWorkspaceId.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CloudWorkspaceId.Builder |
setRepoId(RepoId value)
public CloudWorkspaceId.Builder setRepoId(RepoId value)
The ID of the repo containing the workspace.
.google.devtools.source.v1.RepoId repo_id = 1;
Name | Description |
value | RepoId |
Type | Description |
CloudWorkspaceId.Builder |
setRepoId(RepoId.Builder builderForValue)
public CloudWorkspaceId.Builder setRepoId(RepoId.Builder builderForValue)
The ID of the repo containing the workspace.
.google.devtools.source.v1.RepoId repo_id = 1;
Name | Description |
builderForValue | RepoId.Builder |
Type | Description |
CloudWorkspaceId.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudWorkspaceId.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CloudWorkspaceId.Builder |