Send feedback
  
   
 
  
    
      Class Workspace (0.75.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  Workspace   extends   GeneratedMessageV3   implements   WorkspaceOrBuilder  
   Represents a Dataform Git workspace.
 Protobuf type google.cloud.dataform.v1beta1.Workspace
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   CREATE_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   DATA_ENCRYPTION_STATE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   INTERNAL_METADATA_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   Workspace   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   Workspace . Builder   newBuilder ()  
  
  
    
public   static   Workspace . Builder   newBuilder ( Workspace   prototype )  
  
    
      
        Parameter  
      
        Name Description  
      
        prototypeWorkspace  
     
  
  
  
    
public   static   Workspace   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   Workspace   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Workspace   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   Workspace   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Workspace   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   Workspace   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Workspace   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   Workspace   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Workspace   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   Workspace   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Workspace   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   Workspace   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<Workspace>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   Timestamp   getCreateTime ()  
   Output only. The timestamp of when the workspace was created.
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        Timestamp The createTime.
 
     
  
  
    
public   TimestampOrBuilder   getCreateTimeOrBuilder ()  
   Output only. The timestamp of when the workspace was created.
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
public   DataEncryptionState   getDataEncryptionState ()  
   Output only. A data encryption state of a Git repository if this Workspace
 is protected by a KMS key.
 
 .google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
public   DataEncryptionStateOrBuilder   getDataEncryptionStateOrBuilder ()  
   Output only. A data encryption state of a Git repository if this Workspace
 is protected by a KMS key.
 
 .google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
public   Workspace   getDefaultInstanceForType ()  
  
  
    
public   String   getInternalMetadata ()  
   Output only. All the metadata information that is used internally to serve
 the resource. For example: timestamps, flags, status fields, etc. The
 format of this field is a JSON string.
 optional string internal_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        String The internalMetadata.
 
     
  
  
    
public   ByteString   getInternalMetadataBytes ()  
   Output only. All the metadata information that is used internally to serve
 the resource. For example: timestamps, flags, status fields, etc. The
 format of this field is a JSON string.
 optional string internal_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for internalMetadata.
 
     
  
   Identifier. The workspace's name.
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
    
      
        Returns  
      
        Type Description  
      
        String The name.
 
     
  
  
    
public   ByteString   getNameBytes ()  
   Identifier. The workspace's name.
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for name.
 
     
  
  
    
public   Parser<Workspace>   getParserForType ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   boolean   hasCreateTime ()  
   Output only. The timestamp of when the workspace was created.
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the createTime field is set.
 
     
  
  
    
public   boolean   hasDataEncryptionState ()  
   Output only. A data encryption state of a Git repository if this Workspace
 is protected by a KMS key.
 
 .google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the dataEncryptionState field is set.
 
     
  
  
    
public   boolean   hasInternalMetadata ()  
   Output only. All the metadata information that is used internally to serve
 the resource. For example: timestamps, flags, status fields, etc. The
 format of this field is a JSON string.
 optional string internal_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the internalMetadata field is set.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   Workspace . Builder   newBuilderForType ()  
  
  
    
protected   Workspace . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   Workspace . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-11 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]