public static final class Deployable.Builder extends GeneratedMessageV3.Builder<Deployable.Builder> implements DeployableOrBuilder
An artifact that can be deployed in some runtime.
Protobuf type grafeas.v1beta1.deployment.Deployable
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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;
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Deployable.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 | String
The resourceUri to add.
|
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 | ByteString
The bytes of the resourceUri to add.
|
build()
public Deployable build()
buildPartial()
public Deployable buildPartial()
clear()
public Deployable.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Deployable.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Deployable.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResourceUri()
public Deployable.Builder clearResourceUri()
Required. Resource URI for the artifact being deployed.
repeated string resource_uri = 1;
clone()
public Deployable.Builder clone()
Overrides
getDefaultInstanceForType()
public Deployable getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public Deployable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Deployable.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(Deployable other)
public Deployable.Builder mergeFrom(Deployable other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Deployable.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Deployable.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Deployable.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 | int
The index to set the value at.
|
value | String
The resourceUri to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Deployable.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides