public final class SinkSettings extends GeneratedMessageV3 implements SinkSettingsOrBuilder
Sink Settings for Security Command Center
Protobuf type google.cloud.securitycenter.settings.v1beta1.SinkSettings
Static Fields
LOGGING_SINK_PROJECT_FIELD_NUMBER
public static final int LOGGING_SINK_PROJECT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SinkSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SinkSettings.Builder newBuilder()
newBuilder(SinkSettings prototype)
public static SinkSettings.Builder newBuilder(SinkSettings prototype)
public static SinkSettings parseDelimitedFrom(InputStream input)
public static SinkSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SinkSettings parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SinkSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SinkSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SinkSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SinkSettings parseFrom(CodedInputStream input)
public static SinkSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SinkSettings parseFrom(InputStream input)
public static SinkSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SinkSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SinkSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SinkSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public SinkSettings getDefaultInstanceForType()
getLoggingSinkProject()
public String getLoggingSinkProject()
The resource name of the project to send logs to. This project must be
part of the same organization where the Security Center API is
enabled. The format is projects/{project}
. If it is empty, we do
not output logs. If a project ID is provided it will be normalized to a
project number.
string logging_sink_project = 1;
Returns |
---|
Type | Description |
String | The loggingSinkProject.
|
getLoggingSinkProjectBytes()
public ByteString getLoggingSinkProjectBytes()
The resource name of the project to send logs to. This project must be
part of the same organization where the Security Center API is
enabled. The format is projects/{project}
. If it is empty, we do
not output logs. If a project ID is provided it will be normalized to a
project number.
string logging_sink_project = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for loggingSinkProject.
|
getParserForType()
public Parser<SinkSettings> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SinkSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SinkSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SinkSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides