@java.lang.Override public com.google.logging.v2.GetSinkRequest getDefaultInstanceForType() { return com.google.logging.v2.GetSinkRequest.getDefaultInstance(); }
/** * * * <pre> * Required. The resource name of the sink: * "projects/[PROJECT_ID]/sinks/[SINK_ID]" * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" * "folders/[FOLDER_ID]/sinks/[SINK_ID]" * Example: `"projects/my-project-id/sinks/my-sink-id"`. * </pre> * * <code>string sink_name = 1;</code> */ public Builder clearSinkName() { sinkName_ = getDefaultInstance().getSinkName(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.logging.v2.GetSinkRequest other) { if (other == com.google.logging.v2.GetSinkRequest.getDefaultInstance()) return this; if (!other.getSinkName().isEmpty()) { sinkName_ = other.sinkName_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor< com.google.logging.v2.GetSinkRequest, com.google.logging.v2.LogSink> getGetSinkMethodHelper() { io.grpc.MethodDescriptor<com.google.logging.v2.GetSinkRequest, com.google.logging.v2.LogSink> getGetSinkMethod; if ((getGetSinkMethod = ConfigServiceV2Grpc.getGetSinkMethod) == null) { synchronized (ConfigServiceV2Grpc.class) { if ((getGetSinkMethod = ConfigServiceV2Grpc.getGetSinkMethod) == null) { ConfigServiceV2Grpc.getGetSinkMethod = getGetSinkMethod = io.grpc.MethodDescriptor .<com.google.logging.v2.GetSinkRequest, com.google.logging.v2.LogSink> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName("google.logging.v2.ConfigServiceV2", "GetSink")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.logging.v2.GetSinkRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.logging.v2.LogSink.getDefaultInstance())) .setSchemaDescriptor(new ConfigServiceV2MethodDescriptorSupplier("GetSink")) .build(); } } } return getGetSinkMethod; }
private static io.grpc.MethodDescriptor< com.google.logging.v2.GetSinkRequest, com.google.logging.v2.LogSink> getGetSinkMethodHelper() { io.grpc.MethodDescriptor<com.google.logging.v2.GetSinkRequest, com.google.logging.v2.LogSink> getGetSinkMethod; if ((getGetSinkMethod = ConfigServiceV2Grpc.getGetSinkMethod) == null) { synchronized (ConfigServiceV2Grpc.class) { if ((getGetSinkMethod = ConfigServiceV2Grpc.getGetSinkMethod) == null) { ConfigServiceV2Grpc.getGetSinkMethod = getGetSinkMethod = io.grpc.MethodDescriptor .<com.google.logging.v2.GetSinkRequest, com.google.logging.v2.LogSink> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName("google.logging.v2.ConfigServiceV2", "GetSink")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.logging.v2.GetSinkRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.logging.v2.LogSink.getDefaultInstance())) .setSchemaDescriptor(new ConfigServiceV2MethodDescriptorSupplier("GetSink")) .build(); } } } return getGetSinkMethod; }