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>)
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