Class Artifacts.ArtifactObjects (3.17.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.17.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  Artifacts . ArtifactObjects   extends   GeneratedMessageV3   implements   Artifacts . ArtifactObjectsOrBuilder  
   Files in the workspace to upload to Cloud Storage upon successful
 completion of all build steps.
 Protobuf type google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects
Static Fields
   
  LOCATION_FIELD_NUMBER 
  
    
public   static   final   int   LOCATION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PATHS_FIELD_NUMBER 
  
    
public   static   final   int   PATHS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  TIMING_FIELD_NUMBER 
  
    
public   static   final   int   TIMING_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   Artifacts . ArtifactObjects   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   Artifacts . ArtifactObjects . Builder   newBuilder ()  
  
  newBuilder(Artifacts.ArtifactObjects prototype) 
  
    
public   static   Artifacts . ArtifactObjects . Builder   newBuilder ( Artifacts . ArtifactObjects   prototype )  
  
  
  
    
public   static   Artifacts . ArtifactObjects   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   Artifacts . ArtifactObjects   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   Artifacts . ArtifactObjects   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Artifacts . ArtifactObjects   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   Artifacts . ArtifactObjects   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Artifacts . ArtifactObjects   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Artifacts . ArtifactObjects   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   Artifacts . ArtifactObjects   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Artifacts . ArtifactObjects   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   Artifacts . ArtifactObjects   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   Artifacts . ArtifactObjects   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Artifacts . ArtifactObjects   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<Artifacts . ArtifactObjects >  parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   Artifacts . ArtifactObjects   getDefaultInstanceForType ()  
  
  getLocation() 
  
    
public   String   getLocation ()  
   Cloud Storage bucket and optional object path, in the form
 "gs://bucket/path/to/somewhere/". (see Bucket Name
 Requirements ).
 Files in the workspace matching any path pattern will be uploaded to
 Cloud Storage with this location as a prefix.
 string location = 1;
    
      
        Returns  
      
        Type Description  
      
        String The location.
 
     
  
  getLocationBytes() 
  
    
public   ByteString   getLocationBytes ()  
   Cloud Storage bucket and optional object path, in the form
 "gs://bucket/path/to/somewhere/". (see Bucket Name
 Requirements ).
 Files in the workspace matching any path pattern will be uploaded to
 Cloud Storage with this location as a prefix.
 string location = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for location.
 
     
  
  getParserForType() 
  
    
public   Parser<Artifacts . ArtifactObjects >  getParserForType ()  
  
  Overrides 
  
  getPaths(int index) 
  
    
public   String   getPaths ( int   index )  
   Path globs used to match files in the build's workspace.
 repeated string paths = 2;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The paths at the given index.
 
     
  
  getPathsBytes(int index) 
  
    
public   ByteString   getPathsBytes ( int   index )  
   Path globs used to match files in the build's workspace.
 repeated string paths = 2;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the paths at the given index.
 
     
  
  getPathsCount() 
  
    
public   int   getPathsCount ()  
   Path globs used to match files in the build's workspace.
 repeated string paths = 2;
    
      
        Returns  
      
        Type Description  
      
        int The count of paths.
 
     
  
  getPathsList() 
  
    
public   ProtocolStringList   getPathsList ()  
   Path globs used to match files in the build's workspace.
 repeated string paths = 2;
getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getTiming() 
  
    
public   TimeSpan   getTiming ()  
   Output only. Stores timing information for pushing all artifact objects.
 
 .google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        TimeSpan The timing.
 
     
  
  getTimingOrBuilder() 
  
    
public   TimeSpanOrBuilder   getTimingOrBuilder ()  
   Output only. Stores timing information for pushing all artifact objects.
 
 .google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  
  Overrides 
  
  hasTiming() 
  
    
public   boolean   hasTiming ()  
   Output only. Stores timing information for pushing all artifact objects.
 
 .google.devtools.cloudbuild.v1.TimeSpan timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the timing field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   Artifacts . ArtifactObjects . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   Artifacts . ArtifactObjects . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   Artifacts . ArtifactObjects . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]