Class CreateSourceRequest (2.3.2)

public final class CreateSourceRequest extends GeneratedMessageV3 implements CreateSourceRequestOrBuilder

Request message for creating a source.

Protobuf type google.cloud.securitycenter.v1p1beta1.CreateSourceRequest

Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstance()

public static CreateSourceRequest getDefaultInstance()
Returns
Type Description
CreateSourceRequest

getDefaultInstanceForType()

public CreateSourceRequest getDefaultInstanceForType()
Returns
Type Description
CreateSourceRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

getParent()

public String getParent()

Required. Resource name of the new source's parent. Its format should be "organizations/[organization_id]".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of the new source's parent. Its format should be "organizations/[organization_id]".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateSourceRequest> getParserForType()
Returns
Type Description
Parser<CreateSourceRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSource()

public Source getSource()

Required. The Source being created, only the display_name and description will be used. All other fields will be ignored.

.google.cloud.securitycenter.v1p1beta1.Source source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Source

The source.

getSourceOrBuilder()

public SourceOrBuilder getSourceOrBuilder()

Required. The Source being created, only the display_name and description will be used. All other fields will be ignored.

.google.cloud.securitycenter.v1p1beta1.Source source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SourceOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasSource()

public boolean hasSource()

Required. The Source being created, only the display_name and description will be used. All other fields will be ignored.

.google.cloud.securitycenter.v1p1beta1.Source source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the source field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description