public static final class Deployable.Builder extends GeneratedMessage.Builder<Deployable.Builder> implements DeployableOrBuilderAn artifact that can be deployed in some runtime.
Protobuf type grafeas.v1beta1.deployment.Deployable
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Deployable.BuilderImplements
DeployableOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllResourceUri(Iterable<String> values)
public Deployable.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 |
Deployable.Builder |
This builder for chaining. |
addResourceUri(String value)
public Deployable.Builder addResourceUri(String value)Required. Resource URI for the artifact being deployed.
repeated string resource_uri = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceUri to add. |
| Returns | |
|---|---|
| Type | Description |
Deployable.Builder |
This builder for chaining. |
addResourceUriBytes(ByteString value)
public Deployable.Builder addResourceUriBytes(ByteString value)Required. Resource URI for the artifact being deployed.
repeated string resource_uri = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the resourceUri to add. |
| Returns | |
|---|---|
| Type | Description |
Deployable.Builder |
This builder for chaining. |
build()
public Deployable build()| Returns | |
|---|---|
| Type | Description |
Deployable |
|
buildPartial()
public Deployable buildPartial()| Returns | |
|---|---|
| Type | Description |
Deployable |
|
clear()
public Deployable.Builder clear()| Returns | |
|---|---|
| Type | Description |
Deployable.Builder |
|
clearResourceUri()
public Deployable.Builder clearResourceUri()Required. Resource URI for the artifact being deployed.
repeated string resource_uri = 1;
| Returns | |
|---|---|
| Type | Description |
Deployable.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Deployable getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Deployable |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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 | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the resourceUri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Deployable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Deployable.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Deployable.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Deployable.Builder |
|
mergeFrom(Deployable other)
public Deployable.Builder mergeFrom(Deployable other)| Parameter | |
|---|---|
| Name | Description |
other |
Deployable |
| Returns | |
|---|---|
| Type | Description |
Deployable.Builder |
|
setResourceUri(int index, String value)
public Deployable.Builder setResourceUri(int index, String value)Required. Resource URI for the artifact being deployed.
repeated string resource_uri = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe resourceUri to set. |
| Returns | |
|---|---|
| Type | Description |
Deployable.Builder |
This builder for chaining. |