public static final class WorkstationConfig.HttpOptions.Builder extends GeneratedMessage.Builder<WorkstationConfig.HttpOptions.Builder> implements WorkstationConfig.HttpOptionsOrBuilder
HTTP options for the running workstations.
Protobuf type google.cloud.workstations.v1beta.WorkstationConfig.HttpOptions
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public WorkstationConfig.HttpOptions build()
buildPartial()
public WorkstationConfig.HttpOptions buildPartial()
clear()
public WorkstationConfig.HttpOptions.Builder clear()
Overrides
clearAllowedUnauthenticatedCorsPreflightRequests()
public WorkstationConfig.HttpOptions.Builder clearAllowedUnauthenticatedCorsPreflightRequests()
Optional. By default, the workstations service makes sure that all
requests to the workstation are authenticated. CORS preflight requests do
not include cookies or custom headers, and so are considered
unauthenticated and blocked by the workstations service. Enabling this
option allows these unauthenticated CORS preflight requests through to
the workstation, where it becomes the responsibility of the destination
server in the workstation to validate the request.
bool allowed_unauthenticated_cors_preflight_requests = 1 [(.google.api.field_behavior) = OPTIONAL];
clearDisableLocalhostReplacement()
public WorkstationConfig.HttpOptions.Builder clearDisableLocalhostReplacement()
Optional. By default, the workstations service replaces references to
localhost, 127.0.0.1, and 0.0.0.0 with the workstation's hostname in http
responses from the workstation so that applications under development run
properly on the workstation. This may intefere with some applications,
and so this option allows that behavior to be disabled.
bool disable_localhost_replacement = 2 [(.google.api.field_behavior) = OPTIONAL];
getAllowedUnauthenticatedCorsPreflightRequests()
public boolean getAllowedUnauthenticatedCorsPreflightRequests()
Optional. By default, the workstations service makes sure that all
requests to the workstation are authenticated. CORS preflight requests do
not include cookies or custom headers, and so are considered
unauthenticated and blocked by the workstations service. Enabling this
option allows these unauthenticated CORS preflight requests through to
the workstation, where it becomes the responsibility of the destination
server in the workstation to validate the request.
bool allowed_unauthenticated_cors_preflight_requests = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The allowedUnauthenticatedCorsPreflightRequests.
|
getDefaultInstanceForType()
public WorkstationConfig.HttpOptions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDisableLocalhostReplacement()
public boolean getDisableLocalhostReplacement()
Optional. By default, the workstations service replaces references to
localhost, 127.0.0.1, and 0.0.0.0 with the workstation's hostname in http
responses from the workstation so that applications under development run
properly on the workstation. This may intefere with some applications,
and so this option allows that behavior to be disabled.
bool disable_localhost_replacement = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The disableLocalhostReplacement.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WorkstationConfig.HttpOptions other)
public WorkstationConfig.HttpOptions.Builder mergeFrom(WorkstationConfig.HttpOptions other)
public WorkstationConfig.HttpOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WorkstationConfig.HttpOptions.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setAllowedUnauthenticatedCorsPreflightRequests(boolean value)
public WorkstationConfig.HttpOptions.Builder setAllowedUnauthenticatedCorsPreflightRequests(boolean value)
Optional. By default, the workstations service makes sure that all
requests to the workstation are authenticated. CORS preflight requests do
not include cookies or custom headers, and so are considered
unauthenticated and blocked by the workstations service. Enabling this
option allows these unauthenticated CORS preflight requests through to
the workstation, where it becomes the responsibility of the destination
server in the workstation to validate the request.
bool allowed_unauthenticated_cors_preflight_requests = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
boolean
The allowedUnauthenticatedCorsPreflightRequests to set.
|
setDisableLocalhostReplacement(boolean value)
public WorkstationConfig.HttpOptions.Builder setDisableLocalhostReplacement(boolean value)
Optional. By default, the workstations service replaces references to
localhost, 127.0.0.1, and 0.0.0.0 with the workstation's hostname in http
responses from the workstation so that applications under development run
properly on the workstation. This may intefere with some applications,
and so this option allows that behavior to be disabled.
bool disable_localhost_replacement = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
boolean
The disableLocalhostReplacement to set.
|