Class DeploymentNote.Builder (2.89.0)

  public 
  
 static 
  
 final 
  
 class 
 DeploymentNote 
 . 
 Builder 
  
 extends 
  
 GeneratedMessage 
 . 
 Builder<DeploymentNote 
 . 
 Builder 
>  
 implements 
  
 DeploymentNoteOrBuilder 
 

An artifact that can be deployed in some runtime.

Protobuf type grafeas.v1.DeploymentNote

Static Methods

getDescriptor()

  public 
  
 static 
  
 final 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptor 
 () 
 
Returns
Type
Description

Methods

addAllResourceUri(Iterable<String> values)

  public 
  
 DeploymentNote 
 . 
 Builder 
  
 addAllResourceUri 
 ( 
 Iterable<String> 
  
 values 
 ) 
 

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Parameter
Name
Description
values
Iterable < String >

The resourceUri to add.

Returns
Type
Description

This builder for chaining.

addResourceUri(String value)

  public 
  
 DeploymentNote 
 . 
 Builder 
  
 addResourceUri 
 ( 
 String 
  
 value 
 ) 
 

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Parameter
Name
Description
value
String

The resourceUri to add.

Returns
Type
Description

This builder for chaining.

addResourceUriBytes(ByteString value)

  public 
  
 DeploymentNote 
 . 
 Builder 
  
 addResourceUriBytes 
 ( 
 ByteString 
  
 value 
 ) 
 

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Parameter
Name
Description
value
ByteString

The bytes of the resourceUri to add.

Returns
Type
Description

This builder for chaining.

build()

  public 
  
 DeploymentNote 
  
 build 
 () 
 
Returns
Type
Description

buildPartial()

  public 
  
 DeploymentNote 
  
 buildPartial 
 () 
 
Returns
Type
Description

clear()

  public 
  
 DeploymentNote 
 . 
 Builder 
  
 clear 
 () 
 
Returns
Type
Description
Overrides

clearResourceUri()

  public 
  
 DeploymentNote 
 . 
 Builder 
  
 clearResourceUri 
 () 
 

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Returns
Type
Description

This builder for chaining.

getDefaultInstanceForType()

  public 
  
 DeploymentNote 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDescriptorForType()

  public 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptorForType 
 () 
 
Returns
Type
Description
Overrides

getResourceUri(int index)

  public 
  
 String 
  
 getResourceUri 
 ( 
 int 
  
 index 
 ) 
 

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Parameter
Name
Description
index
int

The index of the element to return.

Returns
Type
Description

The resourceUri at the given index.

getResourceUriBytes(int index)

  public 
  
 ByteString 
  
 getResourceUriBytes 
 ( 
 int 
  
 index 
 ) 
 

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Parameter
Name
Description
index
int

The index of the value to return.

Returns
Type
Description

The bytes of the resourceUri at the given index.

getResourceUriCount()

  public 
  
 int 
  
 getResourceUriCount 
 () 
 

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Returns
Type
Description
int

The count of resourceUri.

getResourceUriList()

  public 
  
 ProtocolStringList 
  
 getResourceUriList 
 () 
 

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Returns
Type
Description

A list containing the resourceUri.

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessage 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 DeploymentNote 
 . 
 Builder 
  
 mergeFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
extensionRegistry
Returns
Type
Description
Overrides
Exceptions
Type
Description

mergeFrom(Message other)

  public 
  
 DeploymentNote 
 . 
 Builder 
  
 mergeFrom 
 ( 
 Message 
  
 other 
 ) 
 
Parameter
Name
Description
other
Returns
Type
Description
Overrides

mergeFrom(DeploymentNote other)

  public 
  
 DeploymentNote 
 . 
 Builder 
  
 mergeFrom 
 ( 
 DeploymentNote 
  
 other 
 ) 
 
Parameter
Name
Description
Returns
Type
Description

setResourceUri(int index, String value)

  public 
  
 DeploymentNote 
 . 
 Builder 
  
 setResourceUri 
 ( 
 int 
  
 index 
 , 
  
 String 
  
 value 
 ) 
 

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Parameters
Name
Description
index
int

The index to set the value at.

value
String

The resourceUri to set.

Returns
Type
Description

This builder for chaining.

Create a Mobile Website
View Site in Mobile | Classic
Share by: