Interface UpdateEnvironmentRequestOrBuilder (4.6.0)

public interface UpdateEnvironmentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowLoadToDraftAndDiscardChanges()

public abstract boolean getAllowLoadToDraftAndDiscardChanges()

Optional. This field is used to prevent accidental overwrite of the draft environment, which is an operation that cannot be undone. To confirm that the caller desires this overwrite, this field must be explicitly set to true when updating the draft environment (environment ID = -).

bool allow_load_to_draft_and_discard_changes = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The allowLoadToDraftAndDiscardChanges.

getEnvironment()

public abstract Environment getEnvironment()

Required. The environment to update.

.google.cloud.dialogflow.v2beta1.Environment environment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Environment

The environment.

getEnvironmentOrBuilder()

public abstract EnvironmentOrBuilder getEnvironmentOrBuilder()

Required. The environment to update.

.google.cloud.dialogflow.v2beta1.Environment environment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EnvironmentOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasEnvironment()

public abstract boolean hasEnvironment()

Required. The environment to update.

.google.cloud.dialogflow.v2beta1.Environment environment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the environment field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.