public static final class Predeploy.Builder extends GeneratedMessageV3.Builder<Predeploy.Builder> implements PredeployOrBuilder
Predeploy contains the predeploy job configuration information.
Protobuf type google.cloud.deploy.v1.Predeploy
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()
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 | String
The actions to add.
|
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 | ByteString
The bytes of the actions to add.
|
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];
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Predeploy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Predeploy buildPartial()
clear()
public Predeploy.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public Predeploy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Predeploy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Predeploy.Builder clone()
Overrides
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 | int
The 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 | int
The 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];
getDefaultInstanceForType()
public Predeploy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Predeploy other)
public Predeploy.Builder mergeFrom(Predeploy other)
public Predeploy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Predeploy.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Predeploy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 | int
The index to set the value at.
|
value | String
The actions to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Predeploy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Predeploy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Predeploy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides