Class RuntimeAccessConfig.Builder (1.81.0)

public static final class RuntimeAccessConfig.Builder extends GeneratedMessage.Builder<RuntimeAccessConfig.Builder> implements RuntimeAccessConfigOrBuilder

Specifies the login configuration for Runtime

Protobuf type google.cloud.notebooks.v1.RuntimeAccessConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public RuntimeAccessConfig build()
Returns
Type Description
RuntimeAccessConfig

buildPartial()

public RuntimeAccessConfig buildPartial()
Returns
Type Description
RuntimeAccessConfig

clear()

public RuntimeAccessConfig.Builder clear()
Returns
Type Description
RuntimeAccessConfig.Builder
Overrides

clearAccessType()

public RuntimeAccessConfig.Builder clearAccessType()

The type of access mode this instance.

.google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;

Returns
Type Description
RuntimeAccessConfig.Builder

This builder for chaining.

clearProxyUri()

public RuntimeAccessConfig.Builder clearProxyUri()

Output only. The proxy endpoint that is used to access the runtime.

string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RuntimeAccessConfig.Builder

This builder for chaining.

clearRuntimeOwner()

public RuntimeAccessConfig.Builder clearRuntimeOwner()

The owner of this runtime after creation. Format: alias@example.com Currently supports one owner only.

string runtime_owner = 2;

Returns
Type Description
RuntimeAccessConfig.Builder

This builder for chaining.

getAccessType()

public RuntimeAccessConfig.RuntimeAccessType getAccessType()

The type of access mode this instance.

.google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;

Returns
Type Description
RuntimeAccessConfig.RuntimeAccessType

The accessType.

getAccessTypeValue()

public int getAccessTypeValue()

The type of access mode this instance.

.google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for accessType.

getDefaultInstanceForType()

public RuntimeAccessConfig getDefaultInstanceForType()
Returns
Type Description
RuntimeAccessConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProxyUri()

public String getProxyUri()

Output only. The proxy endpoint that is used to access the runtime.

string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The proxyUri.

getProxyUriBytes()

public ByteString getProxyUriBytes()

Output only. The proxy endpoint that is used to access the runtime.

string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for proxyUri.

getRuntimeOwner()

public String getRuntimeOwner()

The owner of this runtime after creation. Format: alias@example.com Currently supports one owner only.

string runtime_owner = 2;

Returns
Type Description
String

The runtimeOwner.

getRuntimeOwnerBytes()

public ByteString getRuntimeOwnerBytes()

The owner of this runtime after creation. Format: alias@example.com Currently supports one owner only.

string runtime_owner = 2;

Returns
Type Description
ByteString

The bytes for runtimeOwner.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RuntimeAccessConfig other)

public RuntimeAccessConfig.Builder mergeFrom(RuntimeAccessConfig other)
Parameter
Name Description
other RuntimeAccessConfig
Returns
Type Description
RuntimeAccessConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeAccessConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeAccessConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RuntimeAccessConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RuntimeAccessConfig.Builder
Overrides

setAccessType(RuntimeAccessConfig.RuntimeAccessType value)

public RuntimeAccessConfig.Builder setAccessType(RuntimeAccessConfig.RuntimeAccessType value)

The type of access mode this instance.

.google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;

Parameter
Name Description
value RuntimeAccessConfig.RuntimeAccessType

The accessType to set.

Returns
Type Description
RuntimeAccessConfig.Builder

This builder for chaining.

setAccessTypeValue(int value)

public RuntimeAccessConfig.Builder setAccessTypeValue(int value)

The type of access mode this instance.

.google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for accessType to set.

Returns
Type Description
RuntimeAccessConfig.Builder

This builder for chaining.

setProxyUri(String value)

public RuntimeAccessConfig.Builder setProxyUri(String value)

Output only. The proxy endpoint that is used to access the runtime.

string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The proxyUri to set.

Returns
Type Description
RuntimeAccessConfig.Builder

This builder for chaining.

setProxyUriBytes(ByteString value)

public RuntimeAccessConfig.Builder setProxyUriBytes(ByteString value)

Output only. The proxy endpoint that is used to access the runtime.

string proxy_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for proxyUri to set.

Returns
Type Description
RuntimeAccessConfig.Builder

This builder for chaining.

setRuntimeOwner(String value)

public RuntimeAccessConfig.Builder setRuntimeOwner(String value)

The owner of this runtime after creation. Format: alias@example.com Currently supports one owner only.

string runtime_owner = 2;

Parameter
Name Description
value String

The runtimeOwner to set.

Returns
Type Description
RuntimeAccessConfig.Builder

This builder for chaining.

setRuntimeOwnerBytes(ByteString value)

public RuntimeAccessConfig.Builder setRuntimeOwnerBytes(ByteString value)

The owner of this runtime after creation. Format: alias@example.com Currently supports one owner only.

string runtime_owner = 2;

Parameter
Name Description
value ByteString

The bytes for runtimeOwner to set.

Returns
Type Description
RuntimeAccessConfig.Builder

This builder for chaining.