Send feedback
Class CommitRepositoryChangesRequest (0.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.33.0 keyboard_arrow_down
public final class CommitRepositoryChangesRequest extends GeneratedMessageV3 implements CommitRepositoryChangesRequestOrBuilder
CommitRepositoryChanges
request message.
Protobuf type google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest
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
public static final int COMMIT_METADATA_FIELD_NUMBER
Field Value
Type
Description
int
public static final int FILE_OPERATIONS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int REQUIRED_HEAD_COMMIT_SHA_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static CommitRepositoryChangesRequest getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static CommitRepositoryChangesRequest . Builder newBuilder ()
public static CommitRepositoryChangesRequest . Builder newBuilder ( CommitRepositoryChangesRequest prototype )
public static CommitRepositoryChangesRequest parseDelimitedFrom ( InputStream input )
public static CommitRepositoryChangesRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CommitRepositoryChangesRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static CommitRepositoryChangesRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static CommitRepositoryChangesRequest parseFrom ( ByteString data )
public static CommitRepositoryChangesRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CommitRepositoryChangesRequest parseFrom ( CodedInputStream input )
public static CommitRepositoryChangesRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CommitRepositoryChangesRequest parseFrom ( InputStream input )
public static CommitRepositoryChangesRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CommitRepositoryChangesRequest parseFrom ( ByteBuffer data )
public static CommitRepositoryChangesRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<CommitRepositoryChangesRequest> parser ()
Methods
public boolean containsFileOperations ( String key )
A map to the path of the file to the operation. The path is the full file
path including filename, from repository root.
map<string, .google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3;
Parameter
Name
Description
key
String
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public CommitMetadata getCommitMetadata ()
Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
public CommitMetadataOrBuilder getCommitMetadataOrBuilder ()
Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
public CommitRepositoryChangesRequest getDefaultInstanceForType ()
public Map<String , CommitRepositoryChangesRequest . FileOperation > getFileOperations ()
public int getFileOperationsCount ()
A map to the path of the file to the operation. The path is the full file
path including filename, from repository root.
map<string, .google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3;
Returns
Type
Description
int
public Map<String , CommitRepositoryChangesRequest . FileOperation > getFileOperationsMap ()
A map to the path of the file to the operation. The path is the full file
path including filename, from repository root.
map<string, .google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3;
public CommitRepositoryChangesRequest . FileOperation getFileOperationsOrDefault ( String key , CommitRepositoryChangesRequest . FileOperation defaultValue )
A map to the path of the file to the operation. The path is the full file
path including filename, from repository root.
map<string, .google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3;
public CommitRepositoryChangesRequest . FileOperation getFileOperationsOrThrow ( String key )
A map to the path of the file to the operation. The path is the full file
path including filename, from repository root.
map<string, .google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3;
Parameter
Name
Description
key
String
Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The name.
public ByteString getNameBytes ()
Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for name.
public Parser<CommitRepositoryChangesRequest> getParserForType ()
Overrides
public String getRequiredHeadCommitSha ()
Optional. The commit SHA which must be the repository's current HEAD before
applying this commit; otherwise this request will fail. If unset, no
validation on the current HEAD commit SHA is performed.
string required_head_commit_sha = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The requiredHeadCommitSha.
public ByteString getRequiredHeadCommitShaBytes ()
Optional. The commit SHA which must be the repository's current HEAD before
applying this commit; otherwise this request will fail. If unset, no
validation on the current HEAD commit SHA is performed.
string required_head_commit_sha = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for requiredHeadCommitSha.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public boolean hasCommitMetadata ()
Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the commitMetadata field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
protected MapField internalGetMapField ( int number )
Parameter
Name
Description
number
int
Overrides
public final boolean isInitialized ()
Overrides
public CommitRepositoryChangesRequest . Builder newBuilderForType ()
protected CommitRepositoryChangesRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public CommitRepositoryChangesRequest . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]