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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateBuildTriggerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateBuildTriggerRequest build()
buildPartial()
public UpdateBuildTriggerRequest buildPartial()
clear()
public UpdateBuildTriggerRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateBuildTriggerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateBuildTriggerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProjectId()
public UpdateBuildTriggerRequest.Builder clearProjectId()
Required. ID of the project that owns the trigger.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
clearTrigger()
public UpdateBuildTriggerRequest.Builder clearTrigger()
Required. BuildTrigger
to update.
.google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
clearTriggerId()
public UpdateBuildTriggerRequest.Builder clearTriggerId()
Required. ID of the BuildTrigger
to update.
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateBuildTriggerRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateBuildTriggerRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
getTriggerBuilder()
public BuildTrigger.Builder getTriggerBuilder()
Required. BuildTrigger
to update.
.google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
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];
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateBuildTriggerRequest other)
public UpdateBuildTriggerRequest.Builder mergeFrom(UpdateBuildTriggerRequest other)
public UpdateBuildTriggerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateBuildTriggerRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBuildTriggerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateBuildTriggerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateBuildTriggerRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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];
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBuildTriggerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides