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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeploymentNote.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
build()
public DeploymentNote build()
Returns
buildPartial()
public DeploymentNote buildPartial()
Returns
clear()
public DeploymentNote.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeploymentNote.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DeploymentNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResourceUri()
public DeploymentNote.Builder clearResourceUri()
Required. Resource URI for the artifact being deployed.
repeated string resource_uri = 1;
Returns
clone()
public DeploymentNote.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DeploymentNote getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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 |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public DeploymentNote.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeploymentNote.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(DeploymentNote other)
public DeploymentNote.Builder mergeFrom(DeploymentNote other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeploymentNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DeploymentNote.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeploymentNote.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Name | Description |
index | int
The index to set the value at.
|
value | String
The resourceUri to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final DeploymentNote.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides