Class RuntimeAccessConfig.Builder (0.15.0)

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

Specifies the login configuration for Runtime

Protobuf type google.events.cloud.notebooks.v1.RuntimeAccessConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeAccessConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeAccessConfig.Builder
Overrides

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.events.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType access_type = 1;

Returns
Type Description
RuntimeAccessConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RuntimeAccessConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RuntimeAccessConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeAccessConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RuntimeAccessConfig.Builder
Overrides

clearProxyUri()

public RuntimeAccessConfig.Builder clearProxyUri()

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

string proxy_uri = 3;

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.

clone()

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

getAccessType()

public RuntimeAccessConfig.RuntimeAccessType getAccessType()

The type of access mode this instance.

.google.events.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.events.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;

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;

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeAccessConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.events.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.events.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.

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeAccessConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeAccessConfig.Builder
Overrides

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;

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;

Parameter
Name Description
value ByteString

The bytes for proxyUri to set.

Returns
Type Description
RuntimeAccessConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuntimeAccessConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RuntimeAccessConfig.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeAccessConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeAccessConfig.Builder
Overrides