public static final class TargetResourceDetails.Builder extends GeneratedMessageV3.Builder<TargetResourceDetails.Builder> implements TargetResourceDetailsOrBuilderThe details for a target resource.
Protobuf type google.cloud.cloudsecuritycompliance.v1.TargetResourceDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TargetResourceDetails.BuilderImplements
TargetResourceDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetResourceDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
build()
public TargetResourceDetails build()| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails |
|
buildPartial()
public TargetResourceDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails |
|
clear()
public TargetResourceDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
clearCreateTime()
public TargetResourceDetails.Builder clearCreateTime()The create time of the target resource.
.google.protobuf.Timestamp create_time = 4;
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public TargetResourceDetails.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
clearFrameworkDeployment()
public TargetResourceDetails.Builder clearFrameworkDeployment()The framework deployment name for the target resource.
For example,
organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}
string framework_deployment = 1;
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
clearMajorRevisionId()
public TargetResourceDetails.Builder clearMajorRevisionId()The major revision ID of the framework for the target resource.
int64 major_revision_id = 6;
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
clearMinorRevisionId()
public TargetResourceDetails.Builder clearMinorRevisionId()The minor revision ID of the framework for the target resource.
int64 minor_revision_id = 7;
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetResourceDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
clearTargetResource()
public TargetResourceDetails.Builder clearTargetResource() The target resource. For example, organizations/1234567890,
projects/1234567890, or folders/1234567890.
string target_resource = 3;
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
clearTargetResourceDisplayName()
public TargetResourceDetails.Builder clearTargetResourceDisplayName() The display name of the target resource. For example, google.com,
staging-project, or development-folder.
string target_resource_display_name = 2;
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
clearUpdateTime()
public TargetResourceDetails.Builder clearUpdateTime()The update time of the target resource.
.google.protobuf.Timestamp update_time = 5;
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
clone()
public TargetResourceDetails.Builder clone()| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
getCreateTime()
public Timestamp getCreateTime()The create time of the target resource.
.google.protobuf.Timestamp create_time = 4;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()The create time of the target resource.
.google.protobuf.Timestamp create_time = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()The create time of the target resource.
.google.protobuf.Timestamp create_time = 4;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public TargetResourceDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFrameworkDeployment()
public String getFrameworkDeployment()The framework deployment name for the target resource.
For example,
organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}
string framework_deployment = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The frameworkDeployment. |
getFrameworkDeploymentBytes()
public ByteString getFrameworkDeploymentBytes()The framework deployment name for the target resource.
For example,
organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}
string framework_deployment = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for frameworkDeployment. |
getMajorRevisionId()
public long getMajorRevisionId()The major revision ID of the framework for the target resource.
int64 major_revision_id = 6;
| Returns | |
|---|---|
| Type | Description |
long |
The majorRevisionId. |
getMinorRevisionId()
public long getMinorRevisionId()The minor revision ID of the framework for the target resource.
int64 minor_revision_id = 7;
| Returns | |
|---|---|
| Type | Description |
long |
The minorRevisionId. |
getTargetResource()
public String getTargetResource() The target resource. For example, organizations/1234567890,
projects/1234567890, or folders/1234567890.
string target_resource = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The targetResource. |
getTargetResourceBytes()
public ByteString getTargetResourceBytes() The target resource. For example, organizations/1234567890,
projects/1234567890, or folders/1234567890.
string target_resource = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetResource. |
getTargetResourceDisplayName()
public String getTargetResourceDisplayName() The display name of the target resource. For example, google.com,
staging-project, or development-folder.
string target_resource_display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The targetResourceDisplayName. |
getTargetResourceDisplayNameBytes()
public ByteString getTargetResourceDisplayNameBytes() The display name of the target resource. For example, google.com,
staging-project, or development-folder.
string target_resource_display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetResourceDisplayName. |
getUpdateTime()
public Timestamp getUpdateTime()The update time of the target resource.
.google.protobuf.Timestamp update_time = 5;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()The update time of the target resource.
.google.protobuf.Timestamp update_time = 5;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()The update time of the target resource.
.google.protobuf.Timestamp update_time = 5;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()The create time of the target resource.
.google.protobuf.Timestamp create_time = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()The update time of the target resource.
.google.protobuf.Timestamp update_time = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public TargetResourceDetails.Builder mergeCreateTime(Timestamp value)The create time of the target resource.
.google.protobuf.Timestamp create_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
mergeFrom(TargetResourceDetails other)
public TargetResourceDetails.Builder mergeFrom(TargetResourceDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
TargetResourceDetails |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TargetResourceDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TargetResourceDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetResourceDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
mergeUpdateTime(Timestamp value)
public TargetResourceDetails.Builder mergeUpdateTime(Timestamp value)The update time of the target resource.
.google.protobuf.Timestamp update_time = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
setCreateTime(Timestamp value)
public TargetResourceDetails.Builder setCreateTime(Timestamp value)The create time of the target resource.
.google.protobuf.Timestamp create_time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public TargetResourceDetails.Builder setCreateTime(Timestamp.Builder builderForValue)The create time of the target resource.
.google.protobuf.Timestamp create_time = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public TargetResourceDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
setFrameworkDeployment(String value)
public TargetResourceDetails.Builder setFrameworkDeployment(String value)The framework deployment name for the target resource.
For example,
organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}
string framework_deployment = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe frameworkDeployment to set. |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
setFrameworkDeploymentBytes(ByteString value)
public TargetResourceDetails.Builder setFrameworkDeploymentBytes(ByteString value)The framework deployment name for the target resource.
For example,
organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}
string framework_deployment = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for frameworkDeployment to set. |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
setMajorRevisionId(long value)
public TargetResourceDetails.Builder setMajorRevisionId(long value)The major revision ID of the framework for the target resource.
int64 major_revision_id = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe majorRevisionId to set. |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
setMinorRevisionId(long value)
public TargetResourceDetails.Builder setMinorRevisionId(long value)The minor revision ID of the framework for the target resource.
int64 minor_revision_id = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe minorRevisionId to set. |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetResourceDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
setTargetResource(String value)
public TargetResourceDetails.Builder setTargetResource(String value) The target resource. For example, organizations/1234567890,
projects/1234567890, or folders/1234567890.
string target_resource = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetResource to set. |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
setTargetResourceBytes(ByteString value)
public TargetResourceDetails.Builder setTargetResourceBytes(ByteString value) The target resource. For example, organizations/1234567890,
projects/1234567890, or folders/1234567890.
string target_resource = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetResource to set. |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
setTargetResourceDisplayName(String value)
public TargetResourceDetails.Builder setTargetResourceDisplayName(String value) The display name of the target resource. For example, google.com,
staging-project, or development-folder.
string target_resource_display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetResourceDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
setTargetResourceDisplayNameBytes(ByteString value)
public TargetResourceDetails.Builder setTargetResourceDisplayNameBytes(ByteString value) The display name of the target resource. For example, google.com,
staging-project, or development-folder.
string target_resource_display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetResourceDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetResourceDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
setUpdateTime(Timestamp value)
public TargetResourceDetails.Builder setUpdateTime(Timestamp value)The update time of the target resource.
.google.protobuf.Timestamp update_time = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public TargetResourceDetails.Builder setUpdateTime(Timestamp.Builder builderForValue)The update time of the target resource.
.google.protobuf.Timestamp update_time = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
TargetResourceDetails.Builder |
|