Class MuteConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
- com.google.cloud.securitycenter.v1.MuteConfig.Builder
-
- All Implemented Interfaces:
MuteConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- MuteConfig
public static final class MuteConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder> implements MuteConfigOrBuilder
A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.
Protobuf typegoogle.cloud.securitycenter.v1.MuteConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MuteConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MuteConfig
build()
MuteConfig
buildPartial()
MuteConfig.Builder
clear()
MuteConfig.Builder
clearCreateTime()
Output only.MuteConfig.Builder
clearDescription()
A description of the mute config.MuteConfig.Builder
clearDisplayName()
Deprecated.google.cloud.securitycenter.v1.MuteConfig.display_name is deprecated.MuteConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MuteConfig.Builder
clearFilter()
Required.MuteConfig.Builder
clearMostRecentEditor()
Output only.MuteConfig.Builder
clearName()
This field will be ignored if provided on config creation.MuteConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MuteConfig.Builder
clearUpdateTime()
Output only.MuteConfig.Builder
clone()
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.MuteConfig
getDefaultInstanceForType()
String
getDescription()
A description of the mute config.com.google.protobuf.ByteString
getDescriptionBytes()
A description of the mute config.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Deprecated.google.cloud.securitycenter.v1.MuteConfig.display_name is deprecated.com.google.protobuf.ByteString
getDisplayNameBytes()
Deprecated.google.cloud.securitycenter.v1.MuteConfig.display_name is deprecated.String
getFilter()
Required.com.google.protobuf.ByteString
getFilterBytes()
Required.String
getMostRecentEditor()
Output only.com.google.protobuf.ByteString
getMostRecentEditorBytes()
Output only.String
getName()
This field will be ignored if provided on config creation.com.google.protobuf.ByteString
getNameBytes()
This field will be ignored if provided on config creation.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MuteConfig.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.MuteConfig.Builder
mergeFrom(MuteConfig other)
MuteConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MuteConfig.Builder
mergeFrom(com.google.protobuf.Message other)
MuteConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MuteConfig.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.MuteConfig.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.MuteConfig.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.MuteConfig.Builder
setDescription(String value)
A description of the mute config.MuteConfig.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
A description of the mute config.MuteConfig.Builder
setDisplayName(String value)
Deprecated.google.cloud.securitycenter.v1.MuteConfig.display_name is deprecated.MuteConfig.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Deprecated.google.cloud.securitycenter.v1.MuteConfig.display_name is deprecated.MuteConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MuteConfig.Builder
setFilter(String value)
Required.MuteConfig.Builder
setFilterBytes(com.google.protobuf.ByteString value)
Required.MuteConfig.Builder
setMostRecentEditor(String value)
Output only.MuteConfig.Builder
setMostRecentEditorBytes(com.google.protobuf.ByteString value)
Output only.MuteConfig.Builder
setName(String value)
This field will be ignored if provided on config creation.MuteConfig.Builder
setNameBytes(com.google.protobuf.ByteString value)
This field will be ignored if provided on config creation.MuteConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MuteConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MuteConfig.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.MuteConfig.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
clear
public MuteConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
getDefaultInstanceForType
public MuteConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MuteConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MuteConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MuteConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
setField
public MuteConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
clearField
public MuteConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
clearOneof
public MuteConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
setRepeatedField
public MuteConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
addRepeatedField
public MuteConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
mergeFrom
public MuteConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MuteConfig.Builder>
-
mergeFrom
public MuteConfig.Builder mergeFrom(MuteConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
mergeFrom
public MuteConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MuteConfig.Builder>
- Throws:
IOException
-
getName
public String getName()
This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}"
string name = 1;
- Specified by:
getName
in interfaceMuteConfigOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}"
string name = 1;
- Specified by:
getNameBytes
in interfaceMuteConfigOrBuilder
- Returns:
- The bytes for name.
-
setName
public MuteConfig.Builder setName(String value)
This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}"
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public MuteConfig.Builder clearName()
This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}"
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public MuteConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
This field will be ignored if provided on config creation. Format "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}"
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
@Deprecated public String getDisplayName()
Deprecated.google.cloud.securitycenter.v1.MuteConfig.display_name is deprecated. See google/cloud/securitycenter/v1/mute_config.proto;l=47The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
- Specified by:
getDisplayName
in interfaceMuteConfigOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
@Deprecated public com.google.protobuf.ByteString getDisplayNameBytes()
Deprecated.google.cloud.securitycenter.v1.MuteConfig.display_name is deprecated. See google/cloud/securitycenter/v1/mute_config.proto;l=47The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
- Specified by:
getDisplayNameBytes
in interfaceMuteConfigOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
@Deprecated public MuteConfig.Builder setDisplayName(String value)
Deprecated.google.cloud.securitycenter.v1.MuteConfig.display_name is deprecated. See google/cloud/securitycenter/v1/mute_config.proto;l=47The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
@Deprecated public MuteConfig.Builder clearDisplayName()
Deprecated.google.cloud.securitycenter.v1.MuteConfig.display_name is deprecated. See google/cloud/securitycenter/v1/mute_config.proto;l=47The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
@Deprecated public MuteConfig.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Deprecated.google.cloud.securitycenter.v1.MuteConfig.display_name is deprecated. See google/cloud/securitycenter/v1/mute_config.proto;l=47The human readable name to be displayed for the mute config.
string display_name = 2 [deprecated = true];
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
A description of the mute config.
string description = 3;
- Specified by:
getDescription
in interfaceMuteConfigOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A description of the mute config.
string description = 3;
- Specified by:
getDescriptionBytes
in interfaceMuteConfigOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public MuteConfig.Builder setDescription(String value)
A description of the mute config.
string description = 3;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public MuteConfig.Builder clearDescription()
A description of the mute config.
string description = 3;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public MuteConfig.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A description of the mute config.
string description = 3;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getFilter
public String getFilter()
Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
string filter = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFilter
in interfaceMuteConfigOrBuilder
- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
string filter = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFilterBytes
in interfaceMuteConfigOrBuilder
- Returns:
- The bytes for filter.
-
setFilter
public MuteConfig.Builder setFilter(String value)
Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
string filter = 4 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public MuteConfig.Builder clearFilter()
Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
string filter = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setFilterBytes
public MuteConfig.Builder setFilterBytes(com.google.protobuf.ByteString value)
Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
string filter = 4 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for filter to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceMuteConfigOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceMuteConfigOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public MuteConfig.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public MuteConfig.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public MuteConfig.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public MuteConfig.Builder clearCreateTime()
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceMuteConfigOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceMuteConfigOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceMuteConfigOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public MuteConfig.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public MuteConfig.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public MuteConfig.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public MuteConfig.Builder clearUpdateTime()
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceMuteConfigOrBuilder
-
getMostRecentEditor
public String getMostRecentEditor()
Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMostRecentEditor
in interfaceMuteConfigOrBuilder
- Returns:
- The mostRecentEditor.
-
getMostRecentEditorBytes
public com.google.protobuf.ByteString getMostRecentEditorBytes()
Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMostRecentEditorBytes
in interfaceMuteConfigOrBuilder
- Returns:
- The bytes for mostRecentEditor.
-
setMostRecentEditor
public MuteConfig.Builder setMostRecentEditor(String value)
Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The mostRecentEditor to set.- Returns:
- This builder for chaining.
-
clearMostRecentEditor
public MuteConfig.Builder clearMostRecentEditor()
Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setMostRecentEditorBytes
public MuteConfig.Builder setMostRecentEditorBytes(com.google.protobuf.ByteString value)
Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
string most_recent_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for mostRecentEditor to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final MuteConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
mergeUnknownFields
public final MuteConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MuteConfig.Builder>
-
-