- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class Stage.Builder extends GeneratedMessageV3.Builder<Stage.Builder> implements StageOrBuilder
Stage specifies a location to which to deploy.
Protobuf type google.cloud.deploy.v1.Stage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Stage.BuilderImplements
StageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllProfiles(Iterable<String> values)
public Stage.Builder addAllProfiles(Iterable<String> values)
Skaffold profiles to use when rendering the manifest for this stage's
Target
.
repeated string profiles = 2;
Name | Description |
values | Iterable<String> The profiles to add. |
Type | Description |
Stage.Builder | This builder for chaining. |
addProfiles(String value)
public Stage.Builder addProfiles(String value)
Skaffold profiles to use when rendering the manifest for this stage's
Target
.
repeated string profiles = 2;
Name | Description |
value | String The profiles to add. |
Type | Description |
Stage.Builder | This builder for chaining. |
addProfilesBytes(ByteString value)
public Stage.Builder addProfilesBytes(ByteString value)
Skaffold profiles to use when rendering the manifest for this stage's
Target
.
repeated string profiles = 2;
Name | Description |
value | ByteString The bytes of the profiles to add. |
Type | Description |
Stage.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Stage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Stage.Builder |
build()
public Stage build()
Type | Description |
Stage |
buildPartial()
public Stage buildPartial()
Type | Description |
Stage |
clear()
public Stage.Builder clear()
Type | Description |
Stage.Builder |
clearField(Descriptors.FieldDescriptor field)
public Stage.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Stage.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Stage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Stage.Builder |
clearProfiles()
public Stage.Builder clearProfiles()
Skaffold profiles to use when rendering the manifest for this stage's
Target
.
repeated string profiles = 2;
Type | Description |
Stage.Builder | This builder for chaining. |
clearTargetId()
public Stage.Builder clearTargetId()
The target_id to which this stage points. This field refers exclusively to
the last segment of a target name. For example, this field would just be
my-target
(rather than
projects/project/locations/location/targets/my-target
). The location of
the Target
is inferred to be the same as the location of the
DeliveryPipeline
that contains this Stage
.
string target_id = 1;
Type | Description |
Stage.Builder | This builder for chaining. |
clone()
public Stage.Builder clone()
Type | Description |
Stage.Builder |
getDefaultInstanceForType()
public Stage getDefaultInstanceForType()
Type | Description |
Stage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getProfiles(int index)
public String getProfiles(int index)
Skaffold profiles to use when rendering the manifest for this stage's
Target
.
repeated string profiles = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The profiles at the given index. |
getProfilesBytes(int index)
public ByteString getProfilesBytes(int index)
Skaffold profiles to use when rendering the manifest for this stage's
Target
.
repeated string profiles = 2;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the profiles at the given index. |
getProfilesCount()
public int getProfilesCount()
Skaffold profiles to use when rendering the manifest for this stage's
Target
.
repeated string profiles = 2;
Type | Description |
int | The count of profiles. |
getProfilesList()
public ProtocolStringList getProfilesList()
Skaffold profiles to use when rendering the manifest for this stage's
Target
.
repeated string profiles = 2;
Type | Description |
ProtocolStringList | A list containing the profiles. |
getTargetId()
public String getTargetId()
The target_id to which this stage points. This field refers exclusively to
the last segment of a target name. For example, this field would just be
my-target
(rather than
projects/project/locations/location/targets/my-target
). The location of
the Target
is inferred to be the same as the location of the
DeliveryPipeline
that contains this Stage
.
string target_id = 1;
Type | Description |
String | The targetId. |
getTargetIdBytes()
public ByteString getTargetIdBytes()
The target_id to which this stage points. This field refers exclusively to
the last segment of a target name. For example, this field would just be
my-target
(rather than
projects/project/locations/location/targets/my-target
). The location of
the Target
is inferred to be the same as the location of the
DeliveryPipeline
that contains this Stage
.
string target_id = 1;
Type | Description |
ByteString | The bytes for targetId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Stage other)
public Stage.Builder mergeFrom(Stage other)
Name | Description |
other | Stage |
Type | Description |
Stage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Stage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Stage.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Stage.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Stage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Stage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Stage.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Stage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Stage.Builder |
setProfiles(int index, String value)
public Stage.Builder setProfiles(int index, String value)
Skaffold profiles to use when rendering the manifest for this stage's
Target
.
repeated string profiles = 2;
Name | Description |
index | int The index to set the value at. |
value | String The profiles to set. |
Type | Description |
Stage.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Stage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Stage.Builder |
setTargetId(String value)
public Stage.Builder setTargetId(String value)
The target_id to which this stage points. This field refers exclusively to
the last segment of a target name. For example, this field would just be
my-target
(rather than
projects/project/locations/location/targets/my-target
). The location of
the Target
is inferred to be the same as the location of the
DeliveryPipeline
that contains this Stage
.
string target_id = 1;
Name | Description |
value | String The targetId to set. |
Type | Description |
Stage.Builder | This builder for chaining. |
setTargetIdBytes(ByteString value)
public Stage.Builder setTargetIdBytes(ByteString value)
The target_id to which this stage points. This field refers exclusively to
the last segment of a target name. For example, this field would just be
my-target
(rather than
projects/project/locations/location/targets/my-target
). The location of
the Target
is inferred to be the same as the location of the
DeliveryPipeline
that contains this Stage
.
string target_id = 1;
Name | Description |
value | ByteString The bytes for targetId to set. |
Type | Description |
Stage.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Stage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Stage.Builder |