- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
public static final class UpdateBuildTriggerRequest.Builder extends GeneratedMessageV3.Builder<UpdateBuildTriggerRequest.Builder> implements UpdateBuildTriggerRequestOrBuilder
Request to update an existing BuildTrigger
.
Protobuf type google.devtools.cloudbuild.v1.UpdateBuildTriggerRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateBuildTriggerRequest.BuilderImplements
UpdateBuildTriggerRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateBuildTriggerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
build()
public UpdateBuildTriggerRequest build()
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest |
buildPartial()
public UpdateBuildTriggerRequest buildPartial()
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest |
clear()
public UpdateBuildTriggerRequest.Builder clear()
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateBuildTriggerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateBuildTriggerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
clearProjectId()
public UpdateBuildTriggerRequest.Builder clearProjectId()
Required. ID of the project that owns the trigger.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder | This builder for chaining. |
clearTrigger()
public UpdateBuildTriggerRequest.Builder clearTrigger()
Required. BuildTrigger
to update.
.google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
clearTriggerId()
public UpdateBuildTriggerRequest.Builder clearTriggerId()
Required. ID of the BuildTrigger
to update.
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder | This builder for chaining. |
clearUpdateMask()
public UpdateBuildTriggerRequest.Builder clearUpdateMask()
Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.
.google.protobuf.FieldMask update_mask = 5;
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
clone()
public UpdateBuildTriggerRequest.Builder clone()
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
getDefaultInstanceForType()
public UpdateBuildTriggerRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getProjectId()
public String getProjectId()
Required. ID of the project that owns the trigger.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Required. ID of the project that owns the trigger.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for projectId. |
getTrigger()
public BuildTrigger getTrigger()
Required. BuildTrigger
to update.
.google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
BuildTrigger | The trigger. |
getTriggerBuilder()
public BuildTrigger.Builder getTriggerBuilder()
Required. BuildTrigger
to update.
.google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
BuildTrigger.Builder |
getTriggerId()
public String getTriggerId()
Required. ID of the BuildTrigger
to update.
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The triggerId. |
getTriggerIdBytes()
public ByteString getTriggerIdBytes()
Required. ID of the BuildTrigger
to update.
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for triggerId. |
getTriggerOrBuilder()
public BuildTriggerOrBuilder getTriggerOrBuilder()
Required. BuildTrigger
to update.
.google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
BuildTriggerOrBuilder |
getUpdateMask()
public FieldMask getUpdateMask()
Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.
.google.protobuf.FieldMask update_mask = 5;
Returns | |
---|---|
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.
.google.protobuf.FieldMask update_mask = 5;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.
.google.protobuf.FieldMask update_mask = 5;
Returns | |
---|---|
Type | Description |
FieldMaskOrBuilder |
hasTrigger()
public boolean hasTrigger()
Required. BuildTrigger
to update.
.google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the trigger field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.
.google.protobuf.FieldMask update_mask = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(UpdateBuildTriggerRequest other)
public UpdateBuildTriggerRequest.Builder mergeFrom(UpdateBuildTriggerRequest other)
Parameter | |
---|---|
Name | Description |
other | UpdateBuildTriggerRequest |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateBuildTriggerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateBuildTriggerRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
mergeTrigger(BuildTrigger value)
public UpdateBuildTriggerRequest.Builder mergeTrigger(BuildTrigger value)
Required. BuildTrigger
to update.
.google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | BuildTrigger |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBuildTriggerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
mergeUpdateMask(FieldMask value)
public UpdateBuildTriggerRequest.Builder mergeUpdateMask(FieldMask value)
Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.
.google.protobuf.FieldMask update_mask = 5;
Parameter | |
---|---|
Name | Description |
value | FieldMask |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateBuildTriggerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
setProjectId(String value)
public UpdateBuildTriggerRequest.Builder setProjectId(String value)
Required. ID of the project that owns the trigger.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The projectId to set. |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public UpdateBuildTriggerRequest.Builder setProjectIdBytes(ByteString value)
Required. ID of the project that owns the trigger.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for projectId to set. |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateBuildTriggerRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
setTrigger(BuildTrigger value)
public UpdateBuildTriggerRequest.Builder setTrigger(BuildTrigger value)
Required. BuildTrigger
to update.
.google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | BuildTrigger |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
setTrigger(BuildTrigger.Builder builderForValue)
public UpdateBuildTriggerRequest.Builder setTrigger(BuildTrigger.Builder builderForValue)
Required. BuildTrigger
to update.
.google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue | BuildTrigger.Builder |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
setTriggerId(String value)
public UpdateBuildTriggerRequest.Builder setTriggerId(String value)
Required. ID of the BuildTrigger
to update.
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The triggerId to set. |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder | This builder for chaining. |
setTriggerIdBytes(ByteString value)
public UpdateBuildTriggerRequest.Builder setTriggerIdBytes(ByteString value)
Required. ID of the BuildTrigger
to update.
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for triggerId to set. |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBuildTriggerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
setUpdateMask(FieldMask value)
public UpdateBuildTriggerRequest.Builder setUpdateMask(FieldMask value)
Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.
.google.protobuf.FieldMask update_mask = 5;
Parameter | |
---|---|
Name | Description |
value | FieldMask |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateBuildTriggerRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.
.google.protobuf.FieldMask update_mask = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
UpdateBuildTriggerRequest.Builder |