com.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dataform-v1beta1 Show documentation
Show all versions of proto-google-cloud-dataform-v1beta1 Show documentation
Proto library for google-cloud-dataform
/*
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataform/v1beta1/dataform.proto
package com.google.cloud.dataform.v1beta1;
public interface CommitRepositoryChangesRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The repository's name.
*
*
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Required. The repository's name.
*
*
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Required. The changes to commit to the repository.
*
*
*
* .google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the commitMetadata field is set.
*/
boolean hasCommitMetadata();
/**
*
*
*
* Required. The changes to commit to the repository.
*
*
*
* .google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The commitMetadata.
*/
com.google.cloud.dataform.v1beta1.CommitMetadata getCommitMetadata();
/**
*
*
*
* Required. The changes to commit to the repository.
*
*
*
* .google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.dataform.v1beta1.CommitMetadataOrBuilder getCommitMetadataOrBuilder();
/**
*
*
*
* 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];
*
* @return The requiredHeadCommitSha.
*/
java.lang.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];
*
* @return The bytes for requiredHeadCommitSha.
*/
com.google.protobuf.ByteString getRequiredHeadCommitShaBytes();
/**
*
*
*
* 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;
*
*/
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;
*
*/
boolean containsFileOperations(java.lang.String key);
/** Use {@link #getFileOperationsMap()} instead. */
@java.lang.Deprecated
java.util.Map<
java.lang.String,
com.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation>
getFileOperations();
/**
*
*
*
* 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;
*
*/
java.util.Map<
java.lang.String,
com.google.cloud.dataform.v1beta1.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;
*
*/
/* nullable */
com.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation
getFileOperationsOrDefault(
java.lang.String key,
/* nullable */
com.google.cloud.dataform.v1beta1.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;
*
*/
com.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation
getFileOperationsOrThrow(java.lang.String key);
}