Class ResourceSettingsServiceGrpc (1.42.0)

public final class ResourceSettingsServiceGrpc

An interface to interact with resource settings and setting values throughout the resource hierarchy. Services may surface a number of settings for users to control how their resources behave. Values of settings applied on a given Cloud resource are evaluated hierarchically and inherited by all descendants of that resource. For all requests, returns a google.rpc.Status with google.rpc.Code.PERMISSION_DENIED if the IAM check fails or the parent resource is not in a Cloud Organization. For all requests, returns a google.rpc.Status with google.rpc.Code.INVALID_ARGUMENT if the request is malformed.

Inheritance

java.lang.Object > ResourceSettingsServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ResourceSettingsServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ResourceSettingsServiceGrpc.AsyncService service)
Parameter
Name Description
service ResourceSettingsServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getGetSettingMethod()

public static MethodDescriptor<GetSettingRequest,Setting> getGetSettingMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetSettingRequest,Setting>

getListSettingsMethod()

public static MethodDescriptor<ListSettingsRequest,ListSettingsResponse> getListSettingsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListSettingsRequest,ListSettingsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateSettingMethod()

public static MethodDescriptor<UpdateSettingRequest,Setting> getUpdateSettingMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateSettingRequest,Setting>

newBlockingStub(Channel channel)

public static ResourceSettingsServiceGrpc.ResourceSettingsServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ResourceSettingsServiceGrpc.ResourceSettingsServiceBlockingStub

newFutureStub(Channel channel)

public static ResourceSettingsServiceGrpc.ResourceSettingsServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ResourceSettingsServiceGrpc.ResourceSettingsServiceFutureStub

newStub(Channel channel)

public static ResourceSettingsServiceGrpc.ResourceSettingsServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ResourceSettingsServiceGrpc.ResourceSettingsServiceStub