public static final class FloorSetting.Builder extends GeneratedMessageV3.Builder<FloorSetting.Builder> implements FloorSettingOrBuilderMessage describing FloorSetting resource
Protobuf type google.cloud.modelarmor.v1beta.FloorSetting
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FloorSetting.BuilderImplements
FloorSettingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllIntegratedServices(Iterable<? extends FloorSetting.IntegratedService> values)
public FloorSetting.Builder addAllIntegratedServices(Iterable<? extends FloorSetting.IntegratedService> values)Optional. List of integrated services for which the floor setting is applicable.
repeated .google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService integrated_services = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService>The integratedServices to add. |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
This builder for chaining. |
addAllIntegratedServicesValue(Iterable<Integer> values)
public FloorSetting.Builder addAllIntegratedServicesValue(Iterable<Integer> values)Optional. List of integrated services for which the floor setting is applicable.
repeated .google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService integrated_services = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for integratedServices to add. |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
This builder for chaining. |
addIntegratedServices(FloorSetting.IntegratedService value)
public FloorSetting.Builder addIntegratedServices(FloorSetting.IntegratedService value)Optional. List of integrated services for which the floor setting is applicable.
repeated .google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService integrated_services = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FloorSetting.IntegratedServiceThe integratedServices to add. |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
This builder for chaining. |
addIntegratedServicesValue(int value)
public FloorSetting.Builder addIntegratedServicesValue(int value)Optional. List of integrated services for which the floor setting is applicable.
repeated .google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService integrated_services = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for integratedServices to add. |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FloorSetting.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
build()
public FloorSetting build()| Returns | |
|---|---|
| Type | Description |
FloorSetting |
|
buildPartial()
public FloorSetting buildPartial()| Returns | |
|---|---|
| Type | Description |
FloorSetting |
|
clear()
public FloorSetting.Builder clear()| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
clearAiPlatformFloorSetting()
public FloorSetting.Builder clearAiPlatformFloorSetting()Optional. AI Platform floor setting.
optional .google.cloud.modelarmor.v1beta.AiPlatformFloorSetting ai_platform_floor_setting = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
clearCreateTime()
public FloorSetting.Builder clearCreateTime()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
clearEnableFloorSettingEnforcement()
public FloorSetting.Builder clearEnableFloorSettingEnforcement()Optional. Floor Settings enforcement status.
optional bool enable_floor_setting_enforcement = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public FloorSetting.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
clearFilterConfig()
public FloorSetting.Builder clearFilterConfig()Required. ModelArmor filter configuration.
.google.cloud.modelarmor.v1beta.FilterConfig filter_config = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
clearFloorSettingMetadata()
public FloorSetting.Builder clearFloorSettingMetadata()Optional. Metadata for FloorSetting
.google.cloud.modelarmor.v1beta.FloorSetting.FloorSettingMetadata floor_setting_metadata = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
clearIntegratedServices()
public FloorSetting.Builder clearIntegratedServices()Optional. List of integrated services for which the floor setting is applicable.
repeated .google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService integrated_services = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
This builder for chaining. |
clearName()
public FloorSetting.Builder clearName()Identifier. The resource name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FloorSetting.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
clearUpdateTime()
public FloorSetting.Builder clearUpdateTime()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
clone()
public FloorSetting.Builder clone()| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
getAiPlatformFloorSetting()
public AiPlatformFloorSetting getAiPlatformFloorSetting()Optional. AI Platform floor setting.
optional .google.cloud.modelarmor.v1beta.AiPlatformFloorSetting ai_platform_floor_setting = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AiPlatformFloorSetting |
The aiPlatformFloorSetting. |
getAiPlatformFloorSettingBuilder()
public AiPlatformFloorSetting.Builder getAiPlatformFloorSettingBuilder()Optional. AI Platform floor setting.
optional .google.cloud.modelarmor.v1beta.AiPlatformFloorSetting ai_platform_floor_setting = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AiPlatformFloorSetting.Builder |
|
getAiPlatformFloorSettingOrBuilder()
public AiPlatformFloorSettingOrBuilder getAiPlatformFloorSettingOrBuilder()Optional. AI Platform floor setting.
optional .google.cloud.modelarmor.v1beta.AiPlatformFloorSetting ai_platform_floor_setting = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AiPlatformFloorSettingOrBuilder |
|
getCreateTime()
public Timestamp getCreateTime()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public FloorSetting getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FloorSetting |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnableFloorSettingEnforcement()
public boolean getEnableFloorSettingEnforcement()Optional. Floor Settings enforcement status.
optional bool enable_floor_setting_enforcement = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableFloorSettingEnforcement. |
getFilterConfig()
public FilterConfig getFilterConfig()Required. ModelArmor filter configuration.
.google.cloud.modelarmor.v1beta.FilterConfig filter_config = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FilterConfig |
The filterConfig. |
getFilterConfigBuilder()
public FilterConfig.Builder getFilterConfigBuilder()Required. ModelArmor filter configuration.
.google.cloud.modelarmor.v1beta.FilterConfig filter_config = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FilterConfig.Builder |
|
getFilterConfigOrBuilder()
public FilterConfigOrBuilder getFilterConfigOrBuilder()Required. ModelArmor filter configuration.
.google.cloud.modelarmor.v1beta.FilterConfig filter_config = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FilterConfigOrBuilder |
|
getFloorSettingMetadata()
public FloorSetting.FloorSettingMetadata getFloorSettingMetadata()Optional. Metadata for FloorSetting
.google.cloud.modelarmor.v1beta.FloorSetting.FloorSettingMetadata floor_setting_metadata = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FloorSetting.FloorSettingMetadata |
The floorSettingMetadata. |
getFloorSettingMetadataBuilder()
public FloorSetting.FloorSettingMetadata.Builder getFloorSettingMetadataBuilder()Optional. Metadata for FloorSetting
.google.cloud.modelarmor.v1beta.FloorSetting.FloorSettingMetadata floor_setting_metadata = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FloorSetting.FloorSettingMetadata.Builder |
|
getFloorSettingMetadataOrBuilder()
public FloorSetting.FloorSettingMetadataOrBuilder getFloorSettingMetadataOrBuilder()Optional. Metadata for FloorSetting
.google.cloud.modelarmor.v1beta.FloorSetting.FloorSettingMetadata floor_setting_metadata = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FloorSetting.FloorSettingMetadataOrBuilder |
|
getIntegratedServices(int index)
public FloorSetting.IntegratedService getIntegratedServices(int index)Optional. List of integrated services for which the floor setting is applicable.
repeated .google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService integrated_services = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.IntegratedService |
The integratedServices at the given index. |
getIntegratedServicesCount()
public int getIntegratedServicesCount()Optional. List of integrated services for which the floor setting is applicable.
repeated .google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService integrated_services = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of integratedServices. |
getIntegratedServicesList()
public List<FloorSetting.IntegratedService> getIntegratedServicesList()Optional. List of integrated services for which the floor setting is applicable.
repeated .google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService integrated_services = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<IntegratedService> |
A list containing the integratedServices. |
getIntegratedServicesValue(int index)
public int getIntegratedServicesValue(int index)Optional. List of integrated services for which the floor setting is applicable.
repeated .google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService integrated_services = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of integratedServices at the given index. |
getIntegratedServicesValueList()
public List<Integer> getIntegratedServicesValueList()Optional. List of integrated services for which the floor setting is applicable.
repeated .google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService integrated_services = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for integratedServices. |
getName()
public String getName()Identifier. The resource name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. The resource name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasAiPlatformFloorSetting()
public boolean hasAiPlatformFloorSetting()Optional. AI Platform floor setting.
optional .google.cloud.modelarmor.v1beta.AiPlatformFloorSetting ai_platform_floor_setting = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the aiPlatformFloorSetting field is set. |
hasCreateTime()
public boolean hasCreateTime()Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasEnableFloorSettingEnforcement()
public boolean hasEnableFloorSettingEnforcement()Optional. Floor Settings enforcement status.
optional bool enable_floor_setting_enforcement = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enableFloorSettingEnforcement field is set. |
hasFilterConfig()
public boolean hasFilterConfig()Required. ModelArmor filter configuration.
.google.cloud.modelarmor.v1beta.FilterConfig filter_config = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the filterConfig field is set. |
hasFloorSettingMetadata()
public boolean hasFloorSettingMetadata()Optional. Metadata for FloorSetting
.google.cloud.modelarmor.v1beta.FloorSetting.FloorSettingMetadata floor_setting_metadata = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the floorSettingMetadata field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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 |
|
mergeAiPlatformFloorSetting(AiPlatformFloorSetting value)
public FloorSetting.Builder mergeAiPlatformFloorSetting(AiPlatformFloorSetting value)Optional. AI Platform floor setting.
optional .google.cloud.modelarmor.v1beta.AiPlatformFloorSetting ai_platform_floor_setting = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AiPlatformFloorSetting |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
mergeCreateTime(Timestamp value)
public FloorSetting.Builder mergeCreateTime(Timestamp value)Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
mergeFilterConfig(FilterConfig value)
public FloorSetting.Builder mergeFilterConfig(FilterConfig value)Required. ModelArmor filter configuration.
.google.cloud.modelarmor.v1beta.FilterConfig filter_config = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FilterConfig |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
mergeFloorSettingMetadata(FloorSetting.FloorSettingMetadata value)
public FloorSetting.Builder mergeFloorSettingMetadata(FloorSetting.FloorSettingMetadata value)Optional. Metadata for FloorSetting
.google.cloud.modelarmor.v1beta.FloorSetting.FloorSettingMetadata floor_setting_metadata = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FloorSetting.FloorSettingMetadata |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
mergeFrom(FloorSetting other)
public FloorSetting.Builder mergeFrom(FloorSetting other)| Parameter | |
|---|---|
| Name | Description |
other |
FloorSetting |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FloorSetting.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FloorSetting.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FloorSetting.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
mergeUpdateTime(Timestamp value)
public FloorSetting.Builder mergeUpdateTime(Timestamp value)Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setAiPlatformFloorSetting(AiPlatformFloorSetting value)
public FloorSetting.Builder setAiPlatformFloorSetting(AiPlatformFloorSetting value)Optional. AI Platform floor setting.
optional .google.cloud.modelarmor.v1beta.AiPlatformFloorSetting ai_platform_floor_setting = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AiPlatformFloorSetting |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setAiPlatformFloorSetting(AiPlatformFloorSetting.Builder builderForValue)
public FloorSetting.Builder setAiPlatformFloorSetting(AiPlatformFloorSetting.Builder builderForValue)Optional. AI Platform floor setting.
optional .google.cloud.modelarmor.v1beta.AiPlatformFloorSetting ai_platform_floor_setting = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AiPlatformFloorSetting.Builder |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setCreateTime(Timestamp value)
public FloorSetting.Builder setCreateTime(Timestamp value)Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public FloorSetting.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. [Output only] Create timestamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setEnableFloorSettingEnforcement(boolean value)
public FloorSetting.Builder setEnableFloorSettingEnforcement(boolean value)Optional. Floor Settings enforcement status.
optional bool enable_floor_setting_enforcement = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableFloorSettingEnforcement to set. |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public FloorSetting.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setFilterConfig(FilterConfig value)
public FloorSetting.Builder setFilterConfig(FilterConfig value)Required. ModelArmor filter configuration.
.google.cloud.modelarmor.v1beta.FilterConfig filter_config = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FilterConfig |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setFilterConfig(FilterConfig.Builder builderForValue)
public FloorSetting.Builder setFilterConfig(FilterConfig.Builder builderForValue)Required. ModelArmor filter configuration.
.google.cloud.modelarmor.v1beta.FilterConfig filter_config = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FilterConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setFloorSettingMetadata(FloorSetting.FloorSettingMetadata value)
public FloorSetting.Builder setFloorSettingMetadata(FloorSetting.FloorSettingMetadata value)Optional. Metadata for FloorSetting
.google.cloud.modelarmor.v1beta.FloorSetting.FloorSettingMetadata floor_setting_metadata = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FloorSetting.FloorSettingMetadata |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setFloorSettingMetadata(FloorSetting.FloorSettingMetadata.Builder builderForValue)
public FloorSetting.Builder setFloorSettingMetadata(FloorSetting.FloorSettingMetadata.Builder builderForValue)Optional. Metadata for FloorSetting
.google.cloud.modelarmor.v1beta.FloorSetting.FloorSettingMetadata floor_setting_metadata = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FloorSetting.FloorSettingMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setIntegratedServices(int index, FloorSetting.IntegratedService value)
public FloorSetting.Builder setIntegratedServices(int index, FloorSetting.IntegratedService value)Optional. List of integrated services for which the floor setting is applicable.
repeated .google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService integrated_services = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
FloorSetting.IntegratedServiceThe integratedServices to set. |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
This builder for chaining. |
setIntegratedServicesValue(int index, int value)
public FloorSetting.Builder setIntegratedServicesValue(int index, int value)Optional. List of integrated services for which the floor setting is applicable.
repeated .google.cloud.modelarmor.v1beta.FloorSetting.IntegratedService integrated_services = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for integratedServices to set. |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
This builder for chaining. |
setName(String value)
public FloorSetting.Builder setName(String value)Identifier. The resource name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FloorSetting.Builder setNameBytes(ByteString value)Identifier. The resource name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FloorSetting.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FloorSetting.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setUpdateTime(Timestamp value)
public FloorSetting.Builder setUpdateTime(Timestamp value)Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public FloorSetting.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. [Output only] Update timestamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FloorSetting.Builder |
|