public final class SafetySetting extends GeneratedMessageV3 implements SafetySettingOrBuilder
Impostazioni di sicurezza.
Tipo di protobuf google.cloud.vertexai.v1.SafetySetting
Membri ereditati
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Campi statici
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
Valore campo |
Tipo |
Description |
int |
|
THRESHOLD_FIELD_NUMBER
public static final int THRESHOLD_FIELD_NUMBER
Valore campo |
Tipo |
Description |
int |
|
Metodi statici
getDefaultInstance()
public static SafetySetting getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SafetySetting.Builder newBuilder()
newBuilder(SafetySetting prototype)
public static SafetySetting.Builder newBuilder(SafetySetting prototype)
public static SafetySetting parseDelimitedFrom(InputStream input)
public static SafetySetting parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SafetySetting parseFrom(byte[] data)
Parametro |
Nome |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SafetySetting parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SafetySetting parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SafetySetting parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SafetySetting parseFrom(CodedInputStream input)
public static SafetySetting parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SafetySetting parseFrom(InputStream input)
public static SafetySetting parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SafetySetting parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SafetySetting parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SafetySetting> parser()
Metodi
è uguale a(obj oggetto)
public boolean equals(Object obj)
Parametro |
Nome |
Description |
obj |
Object
|
Restituisce |
Tipo |
Description |
boolean |
|
Sostituzioni
getCategory()
public HarmCategory getCategory()
Obbligatorio. Categoria danno.
.google.cloud.vertexai.v1.HarmCategory category = 1 [(.google.api.field_behavior) = REQUIRED];
getCategoryValue()
public int getCategoryValue()
Obbligatorio. Categoria danno.
.google.cloud.vertexai.v1.HarmCategory category = 1 [(.google.api.field_behavior) = REQUIRED];
Restituisce |
Tipo |
Description |
int |
Il valore numerico enum sul cavo per la categoria.
|
getDefaultInstanceForType()
public SafetySetting getDefaultInstanceForType()
getParserForType()
public Parser<SafetySetting> getParserForType()
Sostituzioni
getSerializedSize()
public int getSerializedSize()
Restituisce |
Tipo |
Description |
int |
|
Sostituzioni
getThreshold()
public SafetySetting.HarmBlockThreshold getThreshold()
Obbligatorio. La soglia del blocco dei danni.
.google.cloud.vertexai.v1.SafetySetting.HarmBlockThreshold threshold = 2 [(.google.api.field_behavior) = REQUIRED];
getThresholdValue()
public int getThresholdValue()
Obbligatorio. La soglia del blocco dei danni.
.google.cloud.vertexai.v1.SafetySetting.HarmBlockThreshold threshold = 2 [(.google.api.field_behavior) = REQUIRED];
Restituisce |
Tipo |
Description |
int |
Il valore numerico enum sul cavo per la soglia.
|
hashCode()
Restituisce |
Tipo |
Description |
int |
|
Sostituzioni
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Sostituzioni
isInitialized()
public final boolean isInitialized()
Restituisce |
Tipo |
Description |
boolean |
|
Sostituzioni
newBuilderForType()
public SafetySetting.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SafetySetting.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Sostituzioni
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Restituisce |
Tipo |
Description |
Object |
|
Sostituzioni
toBuilder()
public SafetySetting.Builder toBuilder()
writeTo(output di CodedOutputStream)
public void writeTo(CodedOutputStream output)
Sostituzioni