public final class PullGitCommitsRequest extends GeneratedMessageV3 implements PullGitCommitsRequestOrBuilder
PullGitCommits
request message.
Protobuf type google.cloud.dataform.v1alpha2.PullGitCommitsRequest
Static Fields
public static final int AUTHOR_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
public static final int REMOTE_BRANCH_FIELD_NUMBER
Field Value
Static Methods
public static PullGitCommitsRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static PullGitCommitsRequest.Builder newBuilder()
Returns
public static PullGitCommitsRequest.Builder newBuilder(PullGitCommitsRequest prototype)
Parameter
Returns
public static PullGitCommitsRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PullGitCommitsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PullGitCommitsRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
public static PullGitCommitsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PullGitCommitsRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static PullGitCommitsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PullGitCommitsRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PullGitCommitsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PullGitCommitsRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PullGitCommitsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PullGitCommitsRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static PullGitCommitsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<PullGitCommitsRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public CommitAuthor getAuthor()
Required. The author of any merge commit which may be created as a result of merging
fetched Git commits into this workspace.
.google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public CommitAuthorOrBuilder getAuthorOrBuilder()
Required. The author of any merge commit which may be created as a result of merging
fetched Git commits into this workspace.
.google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public PullGitCommitsRequest getDefaultInstanceForType()
Returns
Required. The workspace'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 workspace's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public Parser<PullGitCommitsRequest> getParserForType()
Returns
Overrides
public String getRemoteBranch()
Optional. The name of the branch in the Git remote from which to pull commits.
If left unset, the repository's default branch name will be used.
string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The remoteBranch.
|
public ByteString getRemoteBranchBytes()
Optional. The name of the branch in the Git remote from which to pull commits.
If left unset, the repository's default branch name will be used.
string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for remoteBranch.
|
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasAuthor()
Required. The author of any merge commit which may be created as a result of merging
fetched Git commits into this workspace.
.google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
boolean |
Whether the author field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public PullGitCommitsRequest.Builder newBuilderForType()
Returns
protected PullGitCommitsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public PullGitCommitsRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions