Class DeploymentNote.Builder (2.37.0)

public static final class DeploymentNote.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

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
NameDescription
valuesIterable<String>

The resourceUri to add.

Returns
TypeDescription
DeploymentNote.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeploymentNote.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeploymentNote.Builder
Overrides

addResourceUri(String value)

public DeploymentNote.Builder addResourceUri(String value)

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Parameter
NameDescription
valueString

The resourceUri to add.

Returns
TypeDescription
DeploymentNote.Builder

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
NameDescription
valueByteString

The bytes of the resourceUri to add.

Returns
TypeDescription
DeploymentNote.Builder

This builder for chaining.

build()

public DeploymentNote build()
Returns
TypeDescription
DeploymentNote

buildPartial()

public DeploymentNote buildPartial()
Returns
TypeDescription
DeploymentNote

clear()

public DeploymentNote.Builder clear()
Returns
TypeDescription
DeploymentNote.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeploymentNote.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeploymentNote.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeploymentNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeploymentNote.Builder
Overrides

clearResourceUri()

public DeploymentNote.Builder clearResourceUri()

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Returns
TypeDescription
DeploymentNote.Builder

This builder for chaining.

clone()

public DeploymentNote.Builder clone()
Returns
TypeDescription
DeploymentNote.Builder
Overrides

getDefaultInstanceForType()

public DeploymentNote getDefaultInstanceForType()
Returns
TypeDescription
DeploymentNote

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResourceUri(int index)

public String getResourceUri(int index)

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

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
TypeDescription
int

The count of resourceUri.

getResourceUriList()

public ProtocolStringList getResourceUriList()

Required. Resource URI for the artifact being deployed.

repeated string resource_uri = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the resourceUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeploymentNote.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentNote.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeploymentNote.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeploymentNote.Builder
Overrides

mergeFrom(DeploymentNote other)

public DeploymentNote.Builder mergeFrom(DeploymentNote other)
Parameter
NameDescription
otherDeploymentNote
Returns
TypeDescription
DeploymentNote.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeploymentNote.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeploymentNote.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeploymentNote.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeploymentNote.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeploymentNote.Builder
Overrides

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
NameDescription
indexint

The index to set the value at.

valueString

The resourceUri to set.

Returns
TypeDescription
DeploymentNote.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentNote.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeploymentNote.Builder
Overrides