Class TagHoldsGrpc (1.18.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
TypeDescription
String

Static Methods

bindService(TagHoldsGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(TagHoldsGrpc.AsyncService service)
Parameter
NameDescription
serviceTagHoldsGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateTagHoldMethod()

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

getDeleteTagHoldMethod()

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

getListTagHoldsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TagHoldsGrpc.TagHoldsStub