public static final class Predeploy.Builder extends GeneratedMessage.Builder<Predeploy.Builder> implements PredeployOrBuilderPredeploy contains the predeploy job configuration information.
Protobuf type google.cloud.deploy.v1.Predeploy
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Predeploy.BuilderImplements
PredeployOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addActions(String value)
public Predeploy.Builder addActions(String value)Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job.
repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe actions to add. |
| Returns | |
|---|---|
| Type | Description |
Predeploy.Builder |
This builder for chaining. |
addActionsBytes(ByteString value)
public Predeploy.Builder addActionsBytes(ByteString value)Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job.
repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the actions to add. |
| Returns | |
|---|---|
| Type | Description |
Predeploy.Builder |
This builder for chaining. |
addAllActions(Iterable<String> values)
public Predeploy.Builder addAllActions(Iterable<String> values)Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job.
repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The actions to add. |
| Returns | |
|---|---|
| Type | Description |
Predeploy.Builder |
This builder for chaining. |
build()
public Predeploy build()| Returns | |
|---|---|
| Type | Description |
Predeploy |
|
buildPartial()
public Predeploy buildPartial()| Returns | |
|---|---|
| Type | Description |
Predeploy |
|
clear()
public Predeploy.Builder clear()| Returns | |
|---|---|
| Type | Description |
Predeploy.Builder |
|
clearActions()
public Predeploy.Builder clearActions()Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job.
repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Predeploy.Builder |
This builder for chaining. |
getActions(int index)
public String getActions(int index)Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job.
repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The actions at the given index. |
getActionsBytes(int index)
public ByteString getActionsBytes(int index)Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job.
repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the actions at the given index. |
getActionsCount()
public int getActionsCount()Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job.
repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of actions. |
getActionsList()
public ProtocolStringList getActionsList()Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job.
repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the actions. |
getDefaultInstanceForType()
public Predeploy getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Predeploy |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Predeploy other)
public Predeploy.Builder mergeFrom(Predeploy other)| Parameter | |
|---|---|
| Name | Description |
other |
Predeploy |
| Returns | |
|---|---|
| Type | Description |
Predeploy.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Predeploy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Predeploy.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Predeploy.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Predeploy.Builder |
|
setActions(int index, String value)
public Predeploy.Builder setActions(int index, String value)Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job.
repeated string actions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe actions to set. |
| Returns | |
|---|---|
| Type | Description |
Predeploy.Builder |
This builder for chaining. |