public final class UpdateBuildTriggerRequest extends GeneratedMessageV3 implements UpdateBuildTriggerRequestOrBuilder
Request to update an existing BuildTrigger
.
Protobuf type google.devtools.cloudbuild.v1.UpdateBuildTriggerRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRIGGER_FIELD_NUMBER
public static final int TRIGGER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRIGGER_ID_FIELD_NUMBER
public static final int TRIGGER_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UpdateBuildTriggerRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateBuildTriggerRequest.Builder newBuilder()
newBuilder(UpdateBuildTriggerRequest prototype)
public static UpdateBuildTriggerRequest.Builder newBuilder(UpdateBuildTriggerRequest prototype)
public static UpdateBuildTriggerRequest parseDelimitedFrom(InputStream input)
public static UpdateBuildTriggerRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateBuildTriggerRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateBuildTriggerRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateBuildTriggerRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateBuildTriggerRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateBuildTriggerRequest parseFrom(CodedInputStream input)
public static UpdateBuildTriggerRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateBuildTriggerRequest parseFrom(InputStream input)
public static UpdateBuildTriggerRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateBuildTriggerRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateBuildTriggerRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateBuildTriggerRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public UpdateBuildTriggerRequest getDefaultInstanceForType()
getParserForType()
public Parser<UpdateBuildTriggerRequest> getParserForType()
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTrigger()
public BuildTrigger getTrigger()
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];
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.
|
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;
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateBuildTriggerRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateBuildTriggerRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UpdateBuildTriggerRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides