Class TagHoldsGrpc (1.46.0)

public final class TagHoldsGrpc

Allow users to create and manage TagHolds for TagValues. TagHolds represent the use of a Tag Value that is not captured by TagBindings but should still block TagValue deletion (such as a reference in a policy condition). This service provides isolated failure domains by cloud location so that TagHolds can be managed in the same location as their usage.

Inheritance

java.lang.Object > TagHoldsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(TagHoldsGrpc.AsyncService service)

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

getCreateTagHoldMethod()

public static MethodDescriptor<CreateTagHoldRequest,Operation> getCreateTagHoldMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateTagHoldRequest,Operation>

getDeleteTagHoldMethod()

public static MethodDescriptor<DeleteTagHoldRequest,Operation> getDeleteTagHoldMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteTagHoldRequest,Operation>

getListTagHoldsMethod()

public static MethodDescriptor<ListTagHoldsRequest,ListTagHoldsResponse> getListTagHoldsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListTagHoldsRequest,ListTagHoldsResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static TagHoldsGrpc.TagHoldsBlockingStub 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
TagHoldsGrpc.TagHoldsBlockingStub

newFutureStub(Channel channel)

public static TagHoldsGrpc.TagHoldsFutureStub 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
TagHoldsGrpc.TagHoldsFutureStub

newStub(Channel channel)

public static TagHoldsGrpc.TagHoldsStub 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
TagHoldsGrpc.TagHoldsStub