public static final class RuntimeConfig.Builder extends GeneratedMessageV3.Builder<RuntimeConfig.Builder> implements RuntimeConfigOrBuilderRuntimeConfig represents the runtimes where the application is deployed.
 Protobuf type google.cloud.developerconnect.v1.RuntimeConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RuntimeConfig.BuilderImplements
RuntimeConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RuntimeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
build()
public RuntimeConfig build()| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig | |
buildPartial()
public RuntimeConfig buildPartial()| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig | |
clear()
public RuntimeConfig.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
clearAppHubWorkload()
public RuntimeConfig.Builder clearAppHubWorkload()Output only. App Hub Workload.
 
 .google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
clearDerivedFrom()
public RuntimeConfig.Builder clearDerivedFrom()| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
clearField(Descriptors.FieldDescriptor field)
public RuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
clearGkeWorkload()
public RuntimeConfig.Builder clearGkeWorkload()Output only. Google Kubernetes Engine runtime.
 
 .google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
clearOneof(Descriptors.OneofDescriptor oneof)
public RuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
clearRuntime()
public RuntimeConfig.Builder clearRuntime()| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
clearState()
public RuntimeConfig.Builder clearState()Output only. The state of the Runtime.
 
 .google.cloud.developerconnect.v1.RuntimeConfig.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | This builder for chaining. | 
clearUri()
public RuntimeConfig.Builder clearUri()Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.
 
 string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | This builder for chaining. | 
clone()
public RuntimeConfig.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
getAppHubWorkload()
public AppHubWorkload getAppHubWorkload()Output only. App Hub Workload.
 
 .google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| AppHubWorkload | The appHubWorkload. | 
getAppHubWorkloadBuilder()
public AppHubWorkload.Builder getAppHubWorkloadBuilder()Output only. App Hub Workload.
 
 .google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| AppHubWorkload.Builder | |
getAppHubWorkloadOrBuilder()
public AppHubWorkloadOrBuilder getAppHubWorkloadOrBuilder()Output only. App Hub Workload.
 
 .google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| AppHubWorkloadOrBuilder | |
getDefaultInstanceForType()
public RuntimeConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig | |
getDerivedFromCase()
public RuntimeConfig.DerivedFromCase getDerivedFromCase()| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.DerivedFromCase | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getGkeWorkload()
public GKEWorkload getGkeWorkload()Output only. Google Kubernetes Engine runtime.
 
 .google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| GKEWorkload | The gkeWorkload. | 
getGkeWorkloadBuilder()
public GKEWorkload.Builder getGkeWorkloadBuilder()Output only. Google Kubernetes Engine runtime.
 
 .google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| GKEWorkload.Builder | |
getGkeWorkloadOrBuilder()
public GKEWorkloadOrBuilder getGkeWorkloadOrBuilder()Output only. Google Kubernetes Engine runtime.
 
 .google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| GKEWorkloadOrBuilder | |
getRuntimeCase()
public RuntimeConfig.RuntimeCase getRuntimeCase()| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.RuntimeCase | |
getState()
public RuntimeConfig.State getState()Output only. The state of the Runtime.
 
 .google.cloud.developerconnect.v1.RuntimeConfig.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.State | The state. | 
getStateValue()
public int getStateValue()Output only. The state of the Runtime.
 
 .google.cloud.developerconnect.v1.RuntimeConfig.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for state. | 
getUri()
public String getUri()Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.
 
 string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
| String | The uri. | 
getUriBytes()
public ByteString getUriBytes()Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.
 
 string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for uri. | 
hasAppHubWorkload()
public boolean hasAppHubWorkload()Output only. App Hub Workload.
 
 .google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the appHubWorkload field is set. | 
hasGkeWorkload()
public boolean hasGkeWorkload()Output only. Google Kubernetes Engine runtime.
 
 .google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the gkeWorkload field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeAppHubWorkload(AppHubWorkload value)
public RuntimeConfig.Builder mergeAppHubWorkload(AppHubWorkload value)Output only. App Hub Workload.
 
 .google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | AppHubWorkload | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
mergeFrom(RuntimeConfig other)
public RuntimeConfig.Builder mergeFrom(RuntimeConfig other)| Parameter | |
|---|---|
| Name | Description | 
| other | RuntimeConfig | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RuntimeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public RuntimeConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
mergeGkeWorkload(GKEWorkload value)
public RuntimeConfig.Builder mergeGkeWorkload(GKEWorkload value)Output only. Google Kubernetes Engine runtime.
 
 .google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | GKEWorkload | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
setAppHubWorkload(AppHubWorkload value)
public RuntimeConfig.Builder setAppHubWorkload(AppHubWorkload value)Output only. App Hub Workload.
 
 .google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | AppHubWorkload | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
setAppHubWorkload(AppHubWorkload.Builder builderForValue)
public RuntimeConfig.Builder setAppHubWorkload(AppHubWorkload.Builder builderForValue)Output only. App Hub Workload.
 
 .google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | AppHubWorkload.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public RuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
setGkeWorkload(GKEWorkload value)
public RuntimeConfig.Builder setGkeWorkload(GKEWorkload value)Output only. Google Kubernetes Engine runtime.
 
 .google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | GKEWorkload | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
setGkeWorkload(GKEWorkload.Builder builderForValue)
public RuntimeConfig.Builder setGkeWorkload(GKEWorkload.Builder builderForValue)Output only. Google Kubernetes Engine runtime.
 
 .google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | GKEWorkload.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RuntimeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
setState(RuntimeConfig.State value)
public RuntimeConfig.Builder setState(RuntimeConfig.State value)Output only. The state of the Runtime.
 
 .google.cloud.developerconnect.v1.RuntimeConfig.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | RuntimeConfig.StateThe state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | This builder for chaining. | 
setStateValue(int value)
public RuntimeConfig.Builder setStateValue(int value)Output only. The state of the Runtime.
 
 .google.cloud.developerconnect.v1.RuntimeConfig.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | |
setUri(String value)
public RuntimeConfig.Builder setUri(String value)Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.
 
 string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe uri to set. | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | This builder for chaining. | 
setUriBytes(ByteString value)
public RuntimeConfig.Builder setUriBytes(ByteString value)Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.
 
 string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for uri to set. | 
| Returns | |
|---|---|
| Type | Description | 
| RuntimeConfig.Builder | This builder for chaining. |