public static final class WorkstationConfig.HttpOptions extends GeneratedMessage implements WorkstationConfig.HttpOptionsOrBuilderHTTP options for the running workstations.
Protobuf type google.cloud.workstations.v1beta.WorkstationConfig.HttpOptions
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > WorkstationConfig.HttpOptionsImplements
WorkstationConfig.HttpOptionsOrBuilderStatic Fields
ALLOWED_UNAUTHENTICATED_CORS_PREFLIGHT_REQUESTS_FIELD_NUMBER
public static final int ALLOWED_UNAUTHENTICATED_CORS_PREFLIGHT_REQUESTS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DISABLE_LOCALHOST_REPLACEMENT_FIELD_NUMBER
public static final int DISABLE_LOCALHOST_REPLACEMENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static WorkstationConfig.HttpOptions getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static WorkstationConfig.HttpOptions.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions.Builder |
|
newBuilder(WorkstationConfig.HttpOptions prototype)
public static WorkstationConfig.HttpOptions.Builder newBuilder(WorkstationConfig.HttpOptions prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
WorkstationConfig.HttpOptions |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions.Builder |
|
parseDelimitedFrom(InputStream input)
public static WorkstationConfig.HttpOptions parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.HttpOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static WorkstationConfig.HttpOptions parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.HttpOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static WorkstationConfig.HttpOptions parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.HttpOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static WorkstationConfig.HttpOptions parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.HttpOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static WorkstationConfig.HttpOptions parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.HttpOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static WorkstationConfig.HttpOptions parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.HttpOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<WorkstationConfig.HttpOptions> parser()| Returns | |
|---|---|
| Type | Description |
Parser<HttpOptions> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions |
|
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. |
getParserForType()
public Parser<WorkstationConfig.HttpOptions> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<HttpOptions> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public WorkstationConfig.HttpOptions.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected WorkstationConfig.HttpOptions.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions.Builder |
|
toBuilder()
public WorkstationConfig.HttpOptions.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.HttpOptions.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|