Class CommitRepositoryChangesRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataform.v1.CommitRepositoryChangesRequest
All Implemented Interfaces:
CommitRepositoryChangesRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class CommitRepositoryChangesRequest extends com.google.protobuf.GeneratedMessage implements CommitRepositoryChangesRequestOrBuilder
 `CommitRepositoryChanges` request message.
 
Protobuf type google.cloud.dataform.v1.CommitRepositoryChangesRequest
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • COMMIT_METADATA_FIELD_NUMBER

      public static final int COMMIT_METADATA_FIELD_NUMBER
      See Also:
    • REQUIRED_HEAD_COMMIT_SHA_FIELD_NUMBER

      public static final int REQUIRED_HEAD_COMMIT_SHA_FIELD_NUMBER
      See Also:
    • FILE_OPERATIONS_FIELD_NUMBER

      public static final int FILE_OPERATIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Required. The repository's name.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface CommitRepositoryChangesRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The repository's name.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface CommitRepositoryChangesRequestOrBuilder
      Returns:
      The bytes for name.
    • hasCommitMetadata

      public boolean hasCommitMetadata()
       Required. The changes to commit to the repository.
       
      .google.cloud.dataform.v1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasCommitMetadata in interface CommitRepositoryChangesRequestOrBuilder
      Returns:
      Whether the commitMetadata field is set.
    • getCommitMetadata

      public CommitMetadata getCommitMetadata()
       Required. The changes to commit to the repository.
       
      .google.cloud.dataform.v1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCommitMetadata in interface CommitRepositoryChangesRequestOrBuilder
      Returns:
      The commitMetadata.
    • getCommitMetadataOrBuilder

      public CommitMetadataOrBuilder getCommitMetadataOrBuilder()
       Required. The changes to commit to the repository.
       
      .google.cloud.dataform.v1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCommitMetadataOrBuilder in interface CommitRepositoryChangesRequestOrBuilder
    • getRequiredHeadCommitSha

      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];
      Specified by:
      getRequiredHeadCommitSha in interface CommitRepositoryChangesRequestOrBuilder
      Returns:
      The requiredHeadCommitSha.
    • getRequiredHeadCommitShaBytes

      public com.google.protobuf.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];
      Specified by:
      getRequiredHeadCommitShaBytes in interface CommitRepositoryChangesRequestOrBuilder
      Returns:
      The bytes for requiredHeadCommitSha.
    • getFileOperationsCount

      public int getFileOperationsCount()
      Description copied from interface: CommitRepositoryChangesRequestOrBuilder
       Optional. 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.v1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFileOperationsCount in interface CommitRepositoryChangesRequestOrBuilder
    • containsFileOperations

      public boolean containsFileOperations(String key)
       Optional. 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.v1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsFileOperations in interface CommitRepositoryChangesRequestOrBuilder
    • getFileOperations

      Deprecated.
      Specified by:
      getFileOperations in interface CommitRepositoryChangesRequestOrBuilder
    • getFileOperationsMap

       Optional. 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.v1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFileOperationsMap in interface CommitRepositoryChangesRequestOrBuilder
    • getFileOperationsOrDefault

       Optional. 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.v1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFileOperationsOrDefault in interface CommitRepositoryChangesRequestOrBuilder
    • getFileOperationsOrThrow

      public CommitRepositoryChangesRequest.FileOperation getFileOperationsOrThrow(String key)
       Optional. 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.v1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFileOperationsOrThrow in interface CommitRepositoryChangesRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CommitRepositoryChangesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CommitRepositoryChangesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CommitRepositoryChangesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CommitRepositoryChangesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CommitRepositoryChangesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CommitRepositoryChangesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CommitRepositoryChangesRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CommitRepositoryChangesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CommitRepositoryChangesRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CommitRepositoryChangesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CommitRepositoryChangesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CommitRepositoryChangesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public CommitRepositoryChangesRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CommitRepositoryChangesRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CommitRepositoryChangesRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CommitRepositoryChangesRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CommitRepositoryChangesRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<CommitRepositoryChangesRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public CommitRepositoryChangesRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder