public final class CloudWorkspaceSourceContext extends GeneratedMessageV3 implements CloudWorkspaceSourceContextOrBuilder
A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
Protobuf type google.devtools.source.v1.CloudWorkspaceSourceContext
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CloudWorkspaceSourceContextImplements
CloudWorkspaceSourceContextOrBuilderStatic Fields
SNAPSHOT_ID_FIELD_NUMBER
public static final int SNAPSHOT_ID_FIELD_NUMBER
Type | Description |
int |
WORKSPACE_ID_FIELD_NUMBER
public static final int WORKSPACE_ID_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CloudWorkspaceSourceContext getDefaultInstance()
Type | Description |
CloudWorkspaceSourceContext |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static CloudWorkspaceSourceContext.Builder newBuilder()
Type | Description |
CloudWorkspaceSourceContext.Builder |
newBuilder(CloudWorkspaceSourceContext prototype)
public static CloudWorkspaceSourceContext.Builder newBuilder(CloudWorkspaceSourceContext prototype)
Name | Description |
prototype | CloudWorkspaceSourceContext |
Type | Description |
CloudWorkspaceSourceContext.Builder |
parseDelimitedFrom(InputStream input)
public static CloudWorkspaceSourceContext parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CloudWorkspaceSourceContext |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudWorkspaceSourceContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CloudWorkspaceSourceContext |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CloudWorkspaceSourceContext parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CloudWorkspaceSourceContext |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudWorkspaceSourceContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CloudWorkspaceSourceContext |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CloudWorkspaceSourceContext parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CloudWorkspaceSourceContext |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudWorkspaceSourceContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CloudWorkspaceSourceContext |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CloudWorkspaceSourceContext parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CloudWorkspaceSourceContext |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudWorkspaceSourceContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CloudWorkspaceSourceContext |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CloudWorkspaceSourceContext parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CloudWorkspaceSourceContext |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudWorkspaceSourceContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CloudWorkspaceSourceContext |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CloudWorkspaceSourceContext parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CloudWorkspaceSourceContext |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudWorkspaceSourceContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CloudWorkspaceSourceContext |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CloudWorkspaceSourceContext> parser()
Type | Description |
Parser<CloudWorkspaceSourceContext> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public CloudWorkspaceSourceContext getDefaultInstanceForType()
Type | Description |
CloudWorkspaceSourceContext |
getParserForType()
public Parser<CloudWorkspaceSourceContext> getParserForType()
Type | Description |
Parser<CloudWorkspaceSourceContext> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getSnapshotId()
public String getSnapshotId()
The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot.
string snapshot_id = 2;
Type | Description |
String | The snapshotId. |
getSnapshotIdBytes()
public ByteString getSnapshotIdBytes()
The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot.
string snapshot_id = 2;
Type | Description |
ByteString | The bytes for snapshotId. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getWorkspaceId()
public CloudWorkspaceId getWorkspaceId()
The ID of the workspace.
.google.devtools.source.v1.CloudWorkspaceId workspace_id = 1;
Type | Description |
CloudWorkspaceId | The workspaceId. |
getWorkspaceIdOrBuilder()
public CloudWorkspaceIdOrBuilder getWorkspaceIdOrBuilder()
The ID of the workspace.
.google.devtools.source.v1.CloudWorkspaceId workspace_id = 1;
Type | Description |
CloudWorkspaceIdOrBuilder |
hasWorkspaceId()
public boolean hasWorkspaceId()
The ID of the workspace.
.google.devtools.source.v1.CloudWorkspaceId workspace_id = 1;
Type | Description |
boolean | Whether the workspaceId field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public CloudWorkspaceSourceContext.Builder newBuilderForType()
Type | Description |
CloudWorkspaceSourceContext.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CloudWorkspaceSourceContext.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CloudWorkspaceSourceContext.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public CloudWorkspaceSourceContext.Builder toBuilder()
Type | Description |
CloudWorkspaceSourceContext.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |