public final class SetFindingStateRequest extends com.google.protobuf.GeneratedMessageV3 implements SetFindingStateRequestOrBuilder
Request message for updating a finding's state.Protobuf type
google.cloud.securitycenter.v1.SetFindingStateRequest| Modifier and Type | Class and Description |
|---|---|
static class |
SetFindingStateRequest.Builder
Request message for updating a finding's state.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static SetFindingStateRequest |
getDefaultInstance() |
SetFindingStateRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
The relative resource name of the finding.
|
com.google.protobuf.ByteString |
getNameBytes()
The relative resource name of the finding.
|
com.google.protobuf.Parser<SetFindingStateRequest> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTime()
The time at which the updated state takes effect.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The time at which the updated state takes effect.
|
Finding.State |
getState()
The desired State of the finding.
|
int |
getStateValue()
The desired State of the finding.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasStartTime()
The time at which the updated state takes effect.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SetFindingStateRequest.Builder |
newBuilder() |
static SetFindingStateRequest.Builder |
newBuilder(SetFindingStateRequest prototype) |
SetFindingStateRequest.Builder |
newBuilderForType() |
protected SetFindingStateRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static SetFindingStateRequest |
parseDelimitedFrom(InputStream input) |
static SetFindingStateRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetFindingStateRequest |
parseFrom(byte[] data) |
static SetFindingStateRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetFindingStateRequest |
parseFrom(ByteBuffer data) |
static SetFindingStateRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetFindingStateRequest |
parseFrom(com.google.protobuf.ByteString data) |
static SetFindingStateRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetFindingStateRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SetFindingStateRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SetFindingStateRequest |
parseFrom(InputStream input) |
static SetFindingStateRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SetFindingStateRequest> |
parser() |
SetFindingStateRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/123/sources/456/finding/789".
string name = 1;getName in interface SetFindingStateRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/123/sources/456/finding/789".
string name = 1;getNameBytes in interface SetFindingStateRequestOrBuilderpublic int getStateValue()
The desired State of the finding.
.google.cloud.securitycenter.v1.Finding.State state = 2;getStateValue in interface SetFindingStateRequestOrBuilderpublic Finding.State getState()
The desired State of the finding.
.google.cloud.securitycenter.v1.Finding.State state = 2;getState in interface SetFindingStateRequestOrBuilderpublic boolean hasStartTime()
The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3;hasStartTime in interface SetFindingStateRequestOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3;getStartTime in interface SetFindingStateRequestOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The time at which the updated state takes effect.
.google.protobuf.Timestamp start_time = 3;getStartTimeOrBuilder in interface SetFindingStateRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SetFindingStateRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetFindingStateRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetFindingStateRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetFindingStateRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetFindingStateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetFindingStateRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SetFindingStateRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static SetFindingStateRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SetFindingStateRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SetFindingStateRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SetFindingStateRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SetFindingStateRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SetFindingStateRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SetFindingStateRequest.Builder newBuilder()
public static SetFindingStateRequest.Builder newBuilder(SetFindingStateRequest prototype)
public SetFindingStateRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SetFindingStateRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SetFindingStateRequest getDefaultInstance()
public static com.google.protobuf.Parser<SetFindingStateRequest> parser()
public com.google.protobuf.Parser<SetFindingStateRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SetFindingStateRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.