public final class PushFilter extends GeneratedMessageV3 implements PushFilterOrBuilder
Push contains filter properties for matching GitHub git pushes.
Protobuf type google.devtools.cloudbuild.v1.PushFilter
Static Fields
BRANCH_FIELD_NUMBER
public static final int BRANCH_FIELD_NUMBER
Field Value
INVERT_REGEX_FIELD_NUMBER
public static final int INVERT_REGEX_FIELD_NUMBER
Field Value
TAG_FIELD_NUMBER
public static final int TAG_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PushFilter getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PushFilter.Builder newBuilder()
Returns
newBuilder(PushFilter prototype)
public static PushFilter.Builder newBuilder(PushFilter prototype)
Parameter
Returns
public static PushFilter parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PushFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PushFilter parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PushFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PushFilter parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PushFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PushFilter parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PushFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PushFilter parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PushFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PushFilter parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PushFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PushFilter> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBranch()
public String getBranch()
Returns
Type | Description |
String | The branch.
|
getBranchBytes()
public ByteString getBranchBytes()
Returns
getDefaultInstanceForType()
public PushFilter getDefaultInstanceForType()
Returns
getGitRefCase()
public PushFilter.GitRefCase getGitRefCase()
Returns
getInvertRegex()
public boolean getInvertRegex()
When true, only trigger a build if the revision regex does NOT match the
git_ref regex.
bool invert_regex = 4;
Returns
Type | Description |
boolean | The invertRegex.
|
getParserForType()
public Parser<PushFilter> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTag()
Returns
getTagBytes()
public ByteString getTagBytes()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasBranch()
public boolean hasBranch()
Returns
Type | Description |
boolean | Whether the branch field is set.
|
hasTag()
Returns
Type | Description |
boolean | Whether the tag field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PushFilter.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PushFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PushFilter.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions